From 38b1ab1d6785c36694245b19ce6a85ee6869b04a Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Thu, 21 Sep 2023 20:28:23 +0200 Subject: [PATCH 1/9] Bump deps, compile on GHC 9.4, implement first pass at proto3 json support --- .../discrimination-ieee754.cabal | 6 +- discrimination-ieee754/package.yaml | 2 +- proto-lens-arbitrary/package.yaml | 6 +- .../proto-lens-arbitrary.cabal | 8 +- .../src/Data/ProtoLens/Arbitrary.hs | 4 +- .../proto-lens-benchmarks.cabal | 4 +- proto-lens-discrimination/package.yaml | 8 +- .../proto-lens-discrimination.cabal | 19 +- .../src/Data/ProtoLens/Discrimination.hs | 2 +- proto-lens-json/Changelog.md | 5 + proto-lens-json/LICENSE | 30 +++ proto-lens-json/Setup.hs | 2 + proto-lens-json/package.yaml | 30 +++ proto-lens-json/proto-lens-json.cabal | 46 +++++ proto-lens-json/src/Data/ProtoLens/Json.hs | 178 ++++++++++++++++++ proto-lens-optparse/package.yaml | 2 +- proto-lens-optparse/proto-lens-optparse.cabal | 2 +- proto-lens-protobuf-types/package.yaml | 8 +- .../proto-lens-protobuf-types.cabal | 10 +- proto-lens-protoc/Changelog.md | 6 + .../app/Data/ProtoLens/Compiler/Generate.hs | 29 ++- proto-lens-protoc/package.yaml | 8 +- proto-lens-protoc/proto-lens-protoc.cabal | 12 +- proto-lens-runtime/package.yaml | 4 +- proto-lens-runtime/proto-lens-runtime.cabal | 4 +- proto-lens-setup/package.yaml | 8 +- proto-lens-setup/proto-lens-setup.cabal | 10 +- .../proto-lens-tests-dep.cabal | 3 +- proto-lens-tests/proto-lens-tests.cabal | 30 ++- proto-lens/Changelog.md | 4 + proto-lens/package.yaml | 4 +- proto-lens/proto-lens.cabal | 4 +- proto-lens/src/Data/ProtoLens/Labels.hs | 1 + proto-lens/src/Data/ProtoLens/Message.hs | 40 +++- proto-lens/src/Data/ProtoLens/TextFormat.hs | 4 +- stack.yaml | 7 +- 36 files changed, 470 insertions(+), 80 deletions(-) create mode 100644 proto-lens-json/Changelog.md create mode 100644 proto-lens-json/LICENSE create mode 100644 proto-lens-json/Setup.hs create mode 100644 proto-lens-json/package.yaml create mode 100644 proto-lens-json/proto-lens-json.cabal create mode 100644 proto-lens-json/src/Data/ProtoLens/Json.hs diff --git a/discrimination-ieee754/discrimination-ieee754.cabal b/discrimination-ieee754/discrimination-ieee754.cabal index 8c9a0117..fbb9fd27 100644 --- a/discrimination-ieee754/discrimination-ieee754.cabal +++ b/discrimination-ieee754/discrimination-ieee754.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -31,7 +31,7 @@ library hs-source-dirs: src build-depends: - base >=4.10 && <4.17 + base >=4.10 && <4.19 , contravariant >=1.3 && <1.6 , data-binary-ieee754 ==0.4.* , discrimination >=0.3 && <0.6 @@ -46,7 +46,7 @@ test-suite test test build-depends: QuickCheck - , base >=4.10 && <4.17 + , base >=4.10 && <4.19 , contravariant >=1.3 && <1.6 , data-binary-ieee754 ==0.4.* , discrimination >=0.3 && <0.6 diff --git a/discrimination-ieee754/package.yaml b/discrimination-ieee754/package.yaml index ba2f4586..84e1956e 100644 --- a/discrimination-ieee754/package.yaml +++ b/discrimination-ieee754/package.yaml @@ -12,7 +12,7 @@ license: BSD3 github: google/proto-lens/discrimination-ieee754 dependencies: - - base >= 4.10 && < 4.17 + - base >= 4.10 && < 4.19 - data-binary-ieee754 >= 0.4 && < 0.5 - contravariant >= 1.3 && < 1.6 - discrimination >= 0.3 && < 0.6 diff --git a/proto-lens-arbitrary/package.yaml b/proto-lens-arbitrary/package.yaml index 7cb75593..315a518d 100644 --- a/proto-lens-arbitrary/package.yaml +++ b/proto-lens-arbitrary/package.yaml @@ -15,10 +15,10 @@ extra-source-files: dependencies: - proto-lens >= 0.4 && < 0.8 - - base >= 4.10 && < 4.17 - - bytestring >= 0.10 && < 0.12 + - base >= 4.10 && < 4.19 + - bytestring >= 0.10 && < 0.13 - containers >= 0.5 && < 0.7 - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 - lens-family >= 1.2 && < 2.2 - QuickCheck >= 2.8 && < 2.15 diff --git a/proto-lens-arbitrary/proto-lens-arbitrary.cabal b/proto-lens-arbitrary/proto-lens-arbitrary.cabal index 470a1613..1c95512b 100644 --- a/proto-lens-arbitrary/proto-lens-arbitrary.cabal +++ b/proto-lens-arbitrary/proto-lens-arbitrary.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -34,10 +34,10 @@ library src build-depends: QuickCheck >=2.8 && <2.15 - , base >=4.10 && <4.17 - , bytestring >=0.10 && <0.12 + , base >=4.10 && <4.19 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , lens-family >=1.2 && <2.2 , proto-lens >=0.4 && <0.8 - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 diff --git a/proto-lens-arbitrary/src/Data/ProtoLens/Arbitrary.hs b/proto-lens-arbitrary/src/Data/ProtoLens/Arbitrary.hs index 112653c0..d0ff28d0 100644 --- a/proto-lens-arbitrary/src/Data/ProtoLens/Arbitrary.hs +++ b/proto-lens-arbitrary/src/Data/ProtoLens/Arbitrary.hs @@ -60,7 +60,7 @@ arbitraryField (FieldDescriptor _ ftd fa) = case fa of PlainField _ l -> setGen l fieldGen OptionalField l -> setGen l (maybeGen fieldGen) RepeatedField _ l -> setGen l (listOf fieldGen) - MapField keyLens valueLens mapLens -> + MapField _ _ keyLens valueLens mapLens -> setGen mapLens (mapGen keyLens valueLens fieldGen) where fieldGen = arbitraryFieldValue ftd @@ -131,7 +131,7 @@ shrinkField (FieldDescriptor _ ftd fa) = case fa of PlainField _ l -> l fieldShrinker OptionalField l -> l (shrinkMaybe fieldShrinker) RepeatedField _ l -> l (shrinkList fieldShrinker) - MapField keyLens valueLens mapLens -> + MapField _ _ keyLens valueLens mapLens -> mapLens (shrinkMap keyLens valueLens fieldShrinker) where fieldShrinker = shrinkFieldValue ftd diff --git a/proto-lens-benchmarks/proto-lens-benchmarks.cabal b/proto-lens-benchmarks/proto-lens-benchmarks.cabal index 2820c374..fcc5742e 100644 --- a/proto-lens-benchmarks/proto-lens-benchmarks.cabal +++ b/proto-lens-benchmarks/proto-lens-benchmarks.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -32,6 +32,8 @@ library Data.ProtoLens.BenchmarkUtil other-modules: Paths_proto_lens_benchmarks + autogen-modules: + Paths_proto_lens_benchmarks hs-source-dirs: src ghc-options: -O2 -rtsopts diff --git a/proto-lens-discrimination/package.yaml b/proto-lens-discrimination/package.yaml index 15b99800..7f298bc7 100644 --- a/proto-lens-discrimination/package.yaml +++ b/proto-lens-discrimination/package.yaml @@ -15,22 +15,22 @@ extra-source-files: custom-setup: dependencies: - - base >= 4.10 && < 4.17 + - base >= 4.10 && < 4.19 - Cabal - proto-lens-setup >= 0.4 && < 0.5 build-tools: proto-lens-protoc:proto-lens-protoc dependencies: - - base >= 4.11 && < 4.17 - - bytestring >= 0.10 && < 0.12 + - base >= 4.11 && < 4.19 + - bytestring >= 0.10 && < 0.13 - contravariant >= 1.3 && < 1.6 - containers >= 0.5 && < 0.7 - discrimination >= 0.3 && < 0.6 - discrimination-ieee754 == 0.1.* - lens-family >= 1.2 && < 2.2 - proto-lens >= 0.6 && < 0.8 - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 library: source-dirs: src diff --git a/proto-lens-discrimination/proto-lens-discrimination.cabal b/proto-lens-discrimination/proto-lens-discrimination.cabal index fbcc62fe..fddef6d9 100644 --- a/proto-lens-discrimination/proto-lens-discrimination.cabal +++ b/proto-lens-discrimination/proto-lens-discrimination.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -29,7 +29,7 @@ source-repository head custom-setup setup-depends: Cabal - , base >=4.10 && <4.17 + , base >=4.10 && <4.19 , proto-lens-setup ==0.4.* library @@ -39,20 +39,22 @@ library Data.ProtoLens.Discrimination other-modules: Paths_proto_lens_discrimination + autogen-modules: + Paths_proto_lens_discrimination hs-source-dirs: src build-tool-depends: proto-lens-protoc:proto-lens-protoc build-depends: - base >=4.11 && <4.17 - , bytestring >=0.10 && <0.12 + base >=4.11 && <4.19 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , contravariant >=1.3 && <1.6 , discrimination >=0.3 && <0.6 , discrimination-ieee754 ==0.1.* , lens-family >=1.2 && <2.2 , proto-lens >=0.6 && <0.8 - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 test-suite discrimination_test @@ -65,6 +67,7 @@ test-suite discrimination_test Proto.Map Proto.Map_Fields autogen-modules: + Paths_proto_lens_discrimination Proto.Enum Proto.Enum_Fields Proto.Map @@ -76,8 +79,8 @@ test-suite discrimination_test build-depends: HUnit >=1.3 && <1.7 , QuickCheck >=2.8 && <2.15 - , base >=4.11 && <4.17 - , bytestring >=0.10 && <0.12 + , base >=4.11 && <4.19 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , contravariant >=1.3 && <1.6 , discrimination >=0.3 && <0.6 @@ -90,5 +93,5 @@ test-suite discrimination_test , test-framework ==0.8.* , test-framework-hunit ==0.3.* , test-framework-quickcheck2 ==0.3.* - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 diff --git a/proto-lens-discrimination/src/Data/ProtoLens/Discrimination.hs b/proto-lens-discrimination/src/Data/ProtoLens/Discrimination.hs index cda8f36f..72984c4b 100644 --- a/proto-lens-discrimination/src/Data/ProtoLens/Discrimination.hs +++ b/proto-lens-discrimination/src/Data/ProtoLens/Discrimination.hs @@ -150,7 +150,7 @@ discFieldAccessor discList discMaybe c f = case f of PlainField _ l -> view l >$< c OptionalField l -> view l >$< discMaybe c RepeatedField _ l -> view l >$< discList c - MapField k v l -> view l >$< discProtoMapAssocs discList c k v + MapField _ _ k v l -> view l >$< discProtoMapAssocs discList c k v -- Unpack a ByteString into a Word16 and the remainder, or the leftover 0 or 1 -- bytes at the end. diff --git a/proto-lens-json/Changelog.md b/proto-lens-json/Changelog.md new file mode 100644 index 00000000..cd82b9a9 --- /dev/null +++ b/proto-lens-json/Changelog.md @@ -0,0 +1,5 @@ +# Changelog for `proto-lens-json` + +## 0.1.0.0 +Initial version. + diff --git a/proto-lens-json/LICENSE b/proto-lens-json/LICENSE new file mode 100644 index 00000000..69058533 --- /dev/null +++ b/proto-lens-json/LICENSE @@ -0,0 +1,30 @@ +Copyright (c) 2016, Google Inc. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of Google Inc. nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/proto-lens-json/Setup.hs b/proto-lens-json/Setup.hs new file mode 100644 index 00000000..9a994af6 --- /dev/null +++ b/proto-lens-json/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/proto-lens-json/package.yaml b/proto-lens-json/package.yaml new file mode 100644 index 00000000..1f5f6de2 --- /dev/null +++ b/proto-lens-json/package.yaml @@ -0,0 +1,30 @@ +name: proto-lens-json +version: "0.0.1.0" +synopsis: JSON instances for proto-lens. +description: > + The proto-lens-json allows generating arbitrary messages for + use with Aeson. +category: Data +author: Ian Duncan +maintainer: ian@iankduncan.com +copyright: Google Inc. +license: BSD3 +github: google/proto-lens/proto-lens-json +extra-source-files: + - Changelog.md + +dependencies: + - proto-lens >= 0.4 && < 0.9 + - base >= 4.10 && < 4.19 + - bytestring >= 0.10 && < 0.13 + - containers >= 0.5 && < 0.7 + - text >= 1.2 && < 2.2 + - lens-family >= 1.2 && < 2.2 + - aeson >= 2.0 && < 2.3 + - base64 >= 0.4.2 && < 0.5 + - proto-lens-protobuf-types >= 0.7 && < 0.9 + - time +library: + source-dirs: src + exposed-modules: + - Data.ProtoLens.Json diff --git a/proto-lens-json/proto-lens-json.cabal b/proto-lens-json/proto-lens-json.cabal new file mode 100644 index 00000000..6f386d3e --- /dev/null +++ b/proto-lens-json/proto-lens-json.cabal @@ -0,0 +1,46 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.35.2. +-- +-- see: https://github.com/sol/hpack + +name: proto-lens-json +version: 0.0.1.0 +synopsis: JSON instances for proto-lens. +description: The proto-lens-json allows generating arbitrary messages for use with Aeson. +category: Data +homepage: https://github.com/google/proto-lens#readme +bug-reports: https://github.com/google/proto-lens/issues +author: Ian Duncan +maintainer: ian@iankduncan.com +copyright: Google Inc. +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + Changelog.md + +source-repository head + type: git + location: https://github.com/google/proto-lens + subdir: proto-lens-json + +library + exposed-modules: + Data.ProtoLens.Json + other-modules: + Paths_proto_lens_json + hs-source-dirs: + src + build-depends: + aeson >=2.0 && <2.3 + , base >=4.10 && <4.19 + , base64 >=0.4.2 && <0.5 + , bytestring >=0.10 && <0.13 + , containers >=0.5 && <0.7 + , lens-family >=1.2 && <2.2 + , proto-lens >=0.4 && <0.9 + , proto-lens-protobuf-types >=0.7 && <0.9 + , text >=1.2 && <2.2 + , time + default-language: Haskell2010 diff --git a/proto-lens-json/src/Data/ProtoLens/Json.hs b/proto-lens-json/src/Data/ProtoLens/Json.hs new file mode 100644 index 00000000..ed147c91 --- /dev/null +++ b/proto-lens-json/src/Data/ProtoLens/Json.hs @@ -0,0 +1,178 @@ +-- Copyright 2023 Google Inc. All Rights Reserved. +-- +-- Use of this source code is governed by a BSD-style +-- license that can be found in the LICENSE file or at +-- https://developers.google.com/open-source/licenses/bsd + +{-# LANGUAGE DeriveFunctor #-} +{-# LANGUAGE GADTs #-} +{-# LANGUAGE LambdaCase #-} +{-# LANGUAGE RankNTypes #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE NumericUnderscores #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE LambdaCase #-} +{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE TypeApplications #-} +-- | ToJSON/FromJSON instances for protocol buffer Messages to use with aeson. +module Data.ProtoLens.Json where +import Control.Applicative +import Control.Monad +import Data.Aeson +import Data.ByteString.Base64 (decodeBase64) +import Lens.Family2 +import Data.Fixed +import Data.ProtoLens +import qualified Data.Text as T +import Data.Aeson.Types (Parser) +import Data.Dynamic +import Data.Proxy +import Data.Aeson.Key (fromText) +import qualified Data.Map.Strict as M +import qualified Data.Text.Encoding as T +import Data.Map.Strict +import Data.Time.Clock.System +import Proto.Google.Protobuf.Duration +import qualified Proto.Google.Protobuf.Duration_Fields as Duration +import Proto.Google.Protobuf.Empty +import Proto.Google.Protobuf.Timestamp +import qualified Proto.Google.Protobuf.Timestamp_Fields as Timestamp + +newtype JsonMessage a = JsonMessage { unJsonMessage :: a } + deriving (Eq, Show, Ord) + +instance Functor JsonMessage where + fmap f (JsonMessage a) = JsonMessage (f a) + +instance Applicative JsonMessage where + pure = JsonMessage + (JsonMessage f) <*> (JsonMessage a) = JsonMessage (f a) + +-- | N.B. if you want to use this instance, make sure that you use the generated +-- types for Duration, Timestamp, etc. from proto-lens-protobuf-types instead of generating your own. +instance (Typeable a, Message a) => FromJSON (JsonMessage a) where + parseJSON = fmap JsonMessage . case jsonParseOverrides M.!? messageName (Proxy :: Proxy a) of + Nothing -> defaultParser + Just dynParser -> case fromDynamic dynParser of + Nothing -> defaultParser + Just parser -> (parser :: Value -> Parser a) + where + defaultParser :: Value -> Parser a + defaultParser = withObject (T.unpack $ messageName (Proxy :: Proxy a)) $ \o -> parseJsonMessage o + +-- These are special cases outlined in the proto3 JSON spec +jsonParseOverrides :: Map T.Text Dynamic +jsonParseOverrides = M.fromList + [ ("google.protobuf.Duration", toDyn durationParser) + , ("google.protobuf.Timestamp", toDyn timestampParser) + , ("google.protobuf.Empty", toDyn emptyParser) + -- TODO not sure if we can support this one. + -- "google.protobuf.Any" + ] + where + durationParser :: Value -> Parser Duration + durationParser = withText "google.protobuf.Duration" $ \t -> case parseDuration t of + Nothing -> fail $ "Invalid duration: " <> T.unpack t + Just d -> pure d + timestampParser :: Value -> Parser Timestamp + timestampParser t = do + MkSystemTime{..} <- utcToSystemTime <$> parseJSON t + pure $ defMessage + & Timestamp.seconds .~ systemSeconds + & Timestamp.nanos .~ fromIntegral systemNanoseconds + emptyParser :: Value -> Parser Empty + emptyParser = withObject "google.protobuf.Empty" $ \_ -> pure defMessage + +-- | Generated output always contains 0, 3, 6, or 9 fractional digits, depending on required precision, followed by the suffix "s". +-- Accepted are any fractional digits (also none) as long as they fit into nano-seconds precision and the suffix "s" is required. +parseDuration :: T.Text -> Maybe Duration +parseDuration t = case reads @Nano (T.unpack t) of + [(n, "s")] -> Just $ fromNanos n + _ -> Nothing + where + fromNanos :: Nano -> Duration + fromNanos (MkFixed n) = let (secs, nanos) = divMod n 1_000_000_000 in defMessage + & Duration.seconds .~ fromIntegral secs + & Duration.nanos .~ fromIntegral nanos + +parseJsonMessage :: forall a. Message a => Object -> Parser a +parseJsonMessage o = foldM (parseField o) defMessage (allFields @a) + +parseField :: Object -> a -> FieldDescriptor a -> Parser a +parseField o msg (FieldDescriptor n ftd fa) = case fa of + PlainField fieldReq lens_ -> do + case fieldReq of + Required -> (o .: camelK <|> o .: plainK) >>= jsonFieldValue ftd >>= \x -> pure $ msg & lens_ .~ x + Optional -> do + mVal <- (o .:? camelK <|> o .:? plainK) + case mVal of + Nothing -> pure msg + Just val -> jsonFieldValue ftd val >>= \x -> pure $ msg & lens_ .~ x + OptionalField lens_ -> do + mVal <- (o .:? camelK <|> o .:? plainK) + case mVal of + Nothing -> pure msg + Just val -> jsonFieldValue ftd val >>= \x -> pure $ msg & lens_ .~ Just x + RepeatedField _ lens_ -> do + arr <- (o .: camelK <|> o .: plainK) + case arr of + -- Null is treated as an empty list + Null -> pure msg + _ -> do + vals <- traverse (jsonFieldValue ftd) =<< parseJSON arr + pure $ msg & lens_ .~ vals + MapField kTy valDetails _entryK _entryVal lens_ -> do + m <- (o .: camelK <|> o .: plainK) >>= mapKeyScalarValue kTy + m' <- traverse (jsonFieldValue valDetails) m + pure $ msg & lens_ .~ m' + where + plainK = fromText (T.pack n) + camelK = fromText (T.pack $ camelTo2 '_' n) + +jsonFieldValue :: forall value. (Typeable value) => FieldTypeDescriptor value -> Value -> Parser value +jsonFieldValue fdt = case fdt of + MessageField _ -> case jsonParseOverrides M.!? messageName (Proxy @value) of + Nothing -> withObject (T.unpack $ messageName (Proxy @value)) parseJsonMessage + Just override -> case fromDynamic override of + Nothing -> withObject (T.unpack $ messageName (Proxy @value)) parseJsonMessage + Just parser -> (parser :: Value -> Parser value) + ScalarField f -> jsonScalarFieldValue f + +mapKeyScalarValue :: FromJSON value => MapKey key -> Value -> Parser (Map key value) +mapKeyScalarValue = \case + MapInt32Key -> parseJSON + MapInt64Key -> parseJSON + MapUInt32Key -> parseJSON + MapUInt64Key -> parseJSON + MapSInt32Key -> parseJSON + MapSInt64Key -> parseJSON + MapFixed32Key -> parseJSON + MapFixed64Key -> parseJSON + MapSFixed32Key -> parseJSON + MapSFixed64Key -> parseJSON + MapBoolKey -> parseJSON + MapStringKey -> parseJSON + +jsonScalarFieldValue :: ScalarField value -> Value -> Parser value +jsonScalarFieldValue = \case + EnumField -> \v -> parseJSON v >>= \str -> case readEnum str of + Nothing -> fail ("Invalid enum value: " <> str) + Just val -> pure val + Int32Field -> parseJSON + Int64Field -> parseJSON + UInt32Field -> parseJSON + UInt64Field -> parseJSON + SInt32Field -> parseJSON + SInt64Field -> parseJSON + Fixed32Field -> parseJSON + Fixed64Field -> parseJSON + SFixed32Field -> parseJSON + SFixed64Field -> parseJSON + FloatField -> parseJSON + DoubleField -> parseJSON + BoolField -> parseJSON + StringField -> parseJSON + BytesField -> withText "bytes" $ \t -> case decodeBase64 (T.encodeUtf8 t) of + Left e -> fail $ T.unpack e + Right bs -> pure bs diff --git a/proto-lens-optparse/package.yaml b/proto-lens-optparse/package.yaml index dbb2daad..1f6f099c 100644 --- a/proto-lens-optparse/package.yaml +++ b/proto-lens-optparse/package.yaml @@ -18,7 +18,7 @@ dependencies: - proto-lens >= 0.1 && < 0.8 - base >= 4.10 && < 4.19 - optparse-applicative >= 0.13 && < 0.18 - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 library: source-dirs: src diff --git a/proto-lens-optparse/proto-lens-optparse.cabal b/proto-lens-optparse/proto-lens-optparse.cabal index 45188bf4..f09a87b3 100644 --- a/proto-lens-optparse/proto-lens-optparse.cabal +++ b/proto-lens-optparse/proto-lens-optparse.cabal @@ -36,5 +36,5 @@ library base >=4.10 && <4.19 , optparse-applicative >=0.13 && <0.18 , proto-lens >=0.1 && <0.8 - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 diff --git a/proto-lens-protobuf-types/package.yaml b/proto-lens-protobuf-types/package.yaml index 640ede10..a1b482d8 100644 --- a/proto-lens-protobuf-types/package.yaml +++ b/proto-lens-protobuf-types/package.yaml @@ -1,5 +1,5 @@ name: proto-lens-protobuf-types -version: '0.7.1.2' +version: '0.8.0.0' synopsis: Basic protocol buffer message types. description: > This package provides bindings standard protocol message types, @@ -23,18 +23,18 @@ extra-source-files: custom-setup: dependencies: - - base >= 4.10 && < 4.17 + - base >= 4.10 && < 4.19 - Cabal - proto-lens-setup == 0.4.* build-tools: proto-lens-protoc:proto-lens-protoc dependencies: - - base >= 4.10 && < 4.17 + - base >= 4.10 && < 4.19 - lens-family >= 1.2 && < 2.2 - proto-lens == 0.7.* - proto-lens-runtime == 0.7.* - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 library: source-dirs: src diff --git a/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal b/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal index c25f9205..374d0607 100644 --- a/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal +++ b/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal @@ -1,11 +1,11 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.35.0. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack name: proto-lens-protobuf-types -version: 0.7.1.2 +version: 0.8.0.0 synopsis: Basic protocol buffer message types. description: This package provides bindings standard protocol message types, for use with the proto-lens library. category: Data @@ -36,7 +36,7 @@ source-repository head custom-setup setup-depends: Cabal - , base >=4.10 && <4.17 + , base >=4.10 && <4.19 , proto-lens-setup ==0.4.* library @@ -81,9 +81,9 @@ library build-tool-depends: proto-lens-protoc:proto-lens-protoc build-depends: - base >=4.10 && <4.17 + base >=4.10 && <4.19 , lens-family >=1.2 && <2.2 , proto-lens ==0.7.* , proto-lens-runtime ==0.7.* - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 diff --git a/proto-lens-protoc/Changelog.md b/proto-lens-protoc/Changelog.md index 43b81531..5765af84 100644 --- a/proto-lens-protoc/Changelog.md +++ b/proto-lens-protoc/Changelog.md @@ -1,5 +1,11 @@ # Changelog for `proto-lens-protoc` +## Unreleased + +### Breaking Changes +- Introduce MapField constructor field indicating key type. +- Support GHC 9.4 + ## v0.7.1.1 - Relax upper bounds for ghc-9.2 diff --git a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs index 5d7ac56f..1ab25ca8 100644 --- a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs +++ b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs @@ -1017,16 +1017,16 @@ fieldDescriptorExpr env n f = @::@ (var "Data.ProtoLens.FieldTypeDescriptor" @@ hsFieldType env (plainFieldInfo f))) - @@ fieldAccessorExpr f) + @@ fieldAccessorExpr env f) -- TODO: why is this type sig needed? @::@ (var "Data.ProtoLens.FieldDescriptor" @@ var (unqual n)) where fd = fieldDescriptor $ plainFieldInfo f -fieldAccessorExpr :: PlainFieldInfo -> HsExpr' +fieldAccessorExpr :: Env RdrNameStr -> PlainFieldInfo -> HsExpr' -- (PlainField Required foo), (OptionalField foo), etc... -fieldAccessorExpr (PlainFieldInfo kind f) = accessorCon @@ fieldOfExp hsFieldName +fieldAccessorExpr env (PlainFieldInfo kind f) = accessorCon @@ fieldOfExp hsFieldName where accessorCon = case kind of @@ -1038,6 +1038,11 @@ fieldAccessorExpr (PlainFieldInfo kind f) = accessorCon @@ fieldOfExp hsFieldNam -> var "Data.ProtoLens.OptionalField" MapField entry -> var "Data.ProtoLens.MapField" + @@ mapKeyDescriptorExpr (fieldDescriptor (keyField entry) ^. #type') + @@ (fieldTypeDescriptorExpr (fieldDescriptor (valueField entry) ^. #type') + @::@ + (var "Data.ProtoLens.FieldTypeDescriptor" + @@ hsFieldType env (valueField entry))) @@ fieldOfExp (overloadedField $ keyField entry) @@ fieldOfExp (overloadedField $ valueField entry) RepeatedField packed -> @@ -1080,6 +1085,24 @@ fieldTypeDescriptorExpr = \case mk x y = var (fromString ("Data.ProtoLens." ++ x)) @@ var (fromString ("Data.ProtoLens." ++ y)) +mapKeyDescriptorExpr :: FieldDescriptorProto'Type -> HsExpr' +mapKeyDescriptorExpr = \case + FieldDescriptorProto'TYPE_INT64 -> mk "MapInt64Key" + FieldDescriptorProto'TYPE_UINT64 -> mk "MapUInt64Key" + FieldDescriptorProto'TYPE_INT32 -> mk "MapInt32Key" + FieldDescriptorProto'TYPE_FIXED64 -> mk "MapFixed64Key" + FieldDescriptorProto'TYPE_FIXED32 -> mk "MapFixed32Key" + FieldDescriptorProto'TYPE_BOOL -> mk "MapBoolKey" + FieldDescriptorProto'TYPE_STRING -> mk "MapStringKey" + FieldDescriptorProto'TYPE_UINT32 -> mk "MapUInt32Key" + FieldDescriptorProto'TYPE_SFIXED32 -> mk "MapSFixed32Key" + FieldDescriptorProto'TYPE_SFIXED64 -> mk "MapSFixed64Key" + FieldDescriptorProto'TYPE_SINT32 -> mk "MapSInt32Key" + FieldDescriptorProto'TYPE_SINT64 -> mk "MapSInt64Key" + ty -> error ("Unexpected map key type: " ++ show ty) + where + mk x = var (fromString ("Data.ProtoLens." ++ x)) + -- | Generate the implementation of NFData.rnf for the given message. -- -- instance NFData Bar where diff --git a/proto-lens-protoc/package.yaml b/proto-lens-protoc/package.yaml index d4dc516c..c24134f3 100644 --- a/proto-lens-protoc/package.yaml +++ b/proto-lens-protoc/package.yaml @@ -17,7 +17,7 @@ extra-source-files: - Changelog.md dependencies: - - base >= 4.9 && < 4.17 + - base >= 4.9 && < 4.19 - filepath >= 1.4 && < 1.6 library: @@ -30,9 +30,9 @@ executables: main: protoc-gen-haskell.hs source-dirs: app dependencies: - - bytestring >= 0.10 && < 0.12 + - bytestring >= 0.10 && < 0.13 - containers >= 0.5 && < 0.7 - - ghc >= 8.2 && < 9.3 + - ghc >= 8.2 && < 9.8 - ghc-paths == 0.1.* - ghc-source-gen >= 0.4 && < 0.5 - lens-family >= 1.2 && < 2.2 @@ -40,4 +40,4 @@ executables: - proto-lens == 0.7.* - proto-lens-protoc - proto-lens-runtime == 0.7.* - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 diff --git a/proto-lens-protoc/proto-lens-protoc.cabal b/proto-lens-protoc/proto-lens-protoc.cabal index b1db73dd..324cdf12 100644 --- a/proto-lens-protoc/proto-lens-protoc.cabal +++ b/proto-lens-protoc/proto-lens-protoc.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -34,7 +34,7 @@ library hs-source-dirs: src build-depends: - base >=4.9 && <4.17 + base >=4.9 && <4.19 , filepath >=1.4 && <1.6 default-language: Haskell2010 @@ -55,11 +55,11 @@ executable proto-lens-protoc hs-source-dirs: app build-depends: - base >=4.9 && <4.17 - , bytestring >=0.10 && <0.12 + base >=4.9 && <4.19 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , filepath >=1.4 && <1.6 - , ghc >=8.2 && <9.3 + , ghc >=8.2 && <9.8 , ghc-paths ==0.1.* , ghc-source-gen ==0.4.* , lens-family >=1.2 && <2.2 @@ -67,5 +67,5 @@ executable proto-lens-protoc , proto-lens ==0.7.* , proto-lens-protoc , proto-lens-runtime ==0.7.* - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 diff --git a/proto-lens-runtime/package.yaml b/proto-lens-runtime/package.yaml index 3a723a45..107697c2 100644 --- a/proto-lens-runtime/package.yaml +++ b/proto-lens-runtime/package.yaml @@ -17,13 +17,13 @@ extra-source-files: library: dependencies: - base >= 4.10 && < 4.19 - - bytestring >= 0.10 && < 0.12 + - bytestring >= 0.10 && < 0.13 - containers >= 0.5 && < 0.7 - deepseq == 1.4.* - filepath >= 1.4 && < 1.6 - lens-family >= 1.2 && < 2.2 - proto-lens == 0.7.* - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 - vector >= 0.11 && < 0.14 diff --git a/proto-lens-runtime/proto-lens-runtime.cabal b/proto-lens-runtime/proto-lens-runtime.cabal index 5197fbc1..7b1b0727 100644 --- a/proto-lens-runtime/proto-lens-runtime.cabal +++ b/proto-lens-runtime/proto-lens-runtime.cabal @@ -54,12 +54,12 @@ library , Text.Read as Data.ProtoLens.Runtime.Text.Read build-depends: base >=4.10 && <4.19 - , bytestring >=0.10 && <0.12 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , deepseq ==1.4.* , filepath >=1.4 && <1.6 , lens-family >=1.2 && <2.2 , proto-lens ==0.7.* - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 , vector >=0.11 && <0.14 default-language: Haskell2010 diff --git a/proto-lens-setup/package.yaml b/proto-lens-setup/package.yaml index 0d1af878..37971c84 100644 --- a/proto-lens-setup/package.yaml +++ b/proto-lens-setup/package.yaml @@ -50,10 +50,10 @@ extra-source-files: library: source-dirs: src dependencies: - - base >= 4.10 && < 4.17 - - bytestring >= 0.10 && < 0.12 + - base >= 4.10 && < 4.19 + - bytestring >= 0.10 && < 0.13 - containers >= 0.5 && < 0.7 - - Cabal >= 2.0 && < 3.7 + - Cabal >= 2.0 && < 3.9 - deepseq == 1.4.* - directory >= 1.2 && < 1.4 - filepath >= 1.4 && < 1.6 @@ -63,7 +63,7 @@ library: # make this a build-tool dependency. - proto-lens-protoc >= 0.4 && < 0.8 - temporary >= 1.2 && < 1.4 - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 exposed-modules: - Data.ProtoLens.Setup diff --git a/proto-lens-setup/proto-lens-setup.cabal b/proto-lens-setup/proto-lens-setup.cabal index cadcb19e..fb72cbd3 100644 --- a/proto-lens-setup/proto-lens-setup.cabal +++ b/proto-lens-setup/proto-lens-setup.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -68,9 +68,9 @@ library hs-source-dirs: src build-depends: - Cabal >=2.0 && <3.7 - , base >=4.10 && <4.17 - , bytestring >=0.10 && <0.12 + Cabal >=2.0 && <3.9 + , base >=4.10 && <4.19 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , deepseq ==1.4.* , directory >=1.2 && <1.4 @@ -78,5 +78,5 @@ library , process >=1.2 && <1.7 , proto-lens-protoc >=0.4 && <0.8 , temporary >=1.2 && <1.4 - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 default-language: Haskell2010 diff --git a/proto-lens-tests-dep/proto-lens-tests-dep.cabal b/proto-lens-tests-dep/proto-lens-tests-dep.cabal index e2119ea5..0857cfdd 100644 --- a/proto-lens-tests-dep/proto-lens-tests-dep.cabal +++ b/proto-lens-tests-dep/proto-lens-tests-dep.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -38,6 +38,7 @@ library other-modules: Paths_proto_lens_tests_dep autogen-modules: + Paths_proto_lens_tests_dep Proto.TestDep.Foo Proto.TestDep.Foo_Fields build-tool-depends: diff --git a/proto-lens-tests/proto-lens-tests.cabal b/proto-lens-tests/proto-lens-tests.cabal index 1d0406eb..89258ba3 100644 --- a/proto-lens-tests/proto-lens-tests.cabal +++ b/proto-lens-tests/proto-lens-tests.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack @@ -30,6 +30,7 @@ library other-modules: Paths_proto_lens_tests autogen-modules: + Paths_proto_lens_tests Proto.Lib hs-source-dirs: src @@ -58,6 +59,7 @@ test-suite any_test Proto.Any Proto.Any_Fields autogen-modules: + Paths_proto_lens_tests Proto.Any Proto.Any_Fields hs-source-dirs: @@ -89,6 +91,7 @@ test-suite canonical_test Proto.Canonical Proto.Canonical_Fields autogen-modules: + Paths_proto_lens_tests Proto.Canonical Proto.Canonical_Fields hs-source-dirs: @@ -118,6 +121,7 @@ test-suite combinators_test Paths_proto_lens_tests Proto.Combinators Proto.Combinators_Fields autogen-modules: + Paths_proto_lens_tests Proto.Combinators Proto.Combinators_Fields hs-source-dirs: tests @@ -146,6 +150,7 @@ test-suite decode_delimited_test Proto.DecodeDelimited Proto.DecodeDelimited_Fields autogen-modules: + Paths_proto_lens_tests Proto.DecodeDelimited Proto.DecodeDelimited_Fields hs-source-dirs: @@ -177,6 +182,7 @@ test-suite dependent_test Paths_proto_lens_tests Proto.Dependent autogen-modules: + Paths_proto_lens_tests Proto.Dependent hs-source-dirs: tests @@ -205,6 +211,7 @@ test-suite descriptor_test Paths_proto_lens_tests Proto.Descriptor autogen-modules: + Paths_proto_lens_tests Proto.Descriptor hs-source-dirs: tests @@ -236,6 +243,7 @@ test-suite enum_test Proto.Enum_Fields Proto.EnumOnly autogen-modules: + Paths_proto_lens_tests Proto.Enum Proto.Enum_Fields Proto.EnumOnly @@ -268,6 +276,7 @@ test-suite group_test Proto.Group Proto.Group_Fields autogen-modules: + Paths_proto_lens_tests Proto.Group Proto.Group_Fields hs-source-dirs: @@ -303,6 +312,7 @@ test-suite imports_test Proto.ImportsTransitive2 Proto.Nested autogen-modules: + Paths_proto_lens_tests Proto.Empty Proto.Enum Proto.Imports @@ -339,6 +349,7 @@ test-suite labels_test Proto.Canonical Proto.Canonical_Fields autogen-modules: + Paths_proto_lens_tests Proto.Canonical Proto.Canonical_Fields hs-source-dirs: @@ -370,6 +381,7 @@ test-suite map_test Proto.Map Proto.Map_Fields autogen-modules: + Paths_proto_lens_tests Proto.Map Proto.Map_Fields hs-source-dirs: @@ -400,6 +412,7 @@ test-suite message_set_test Proto.MessageSet Proto.MessageSet_Fields autogen-modules: + Paths_proto_lens_tests Proto.MessageSet Proto.MessageSet_Fields hs-source-dirs: @@ -430,6 +443,7 @@ test-suite names_test Proto.Names Proto.Names_Fields autogen-modules: + Paths_proto_lens_tests Proto.Names Proto.Names_Fields hs-source-dirs: @@ -460,6 +474,7 @@ test-suite no_package_test Proto.NoPackage Proto.NoPackage_Fields autogen-modules: + Paths_proto_lens_tests Proto.NoPackage Proto.NoPackage_Fields hs-source-dirs: @@ -490,6 +505,7 @@ test-suite oneof_test Proto.Oneof Proto.Oneof_Fields autogen-modules: + Paths_proto_lens_tests Proto.Oneof Proto.Oneof_Fields hs-source-dirs: @@ -520,6 +536,7 @@ test-suite optional_test Proto.Optional Proto.Optional_Fields autogen-modules: + Paths_proto_lens_tests Proto.Optional Proto.Optional_Fields hs-source-dirs: @@ -550,6 +567,7 @@ test-suite package-deps_test Proto.PackageDeps Proto.PackageDeps_Fields autogen-modules: + Paths_proto_lens_tests Proto.PackageDeps Proto.PackageDeps_Fields hs-source-dirs: @@ -581,6 +599,7 @@ test-suite packed_test Proto.Packed Proto.Packed_Fields autogen-modules: + Paths_proto_lens_tests Proto.Packed Proto.Packed_Fields hs-source-dirs: @@ -610,6 +629,7 @@ test-suite pathological_test Paths_proto_lens_tests Proto.Pathological autogen-modules: + Paths_proto_lens_tests Proto.Pathological hs-source-dirs: tests @@ -639,6 +659,7 @@ test-suite proto3_optional_test Proto.TestProto3Optional Proto.TestProto3Optional_Fields autogen-modules: + Paths_proto_lens_tests Proto.TestProto3Optional Proto.TestProto3Optional_Fields hs-source-dirs: @@ -670,6 +691,7 @@ test-suite proto3_test Proto.Proto3 Proto.Proto3_Fields autogen-modules: + Paths_proto_lens_tests Proto.Proto3 Proto.Proto3_Fields hs-source-dirs: @@ -700,6 +722,7 @@ test-suite raw_fields_test Proto.RawFields Proto.RawFields_Fields autogen-modules: + Paths_proto_lens_tests Proto.RawFields Proto.RawFields_Fields hs-source-dirs: @@ -730,6 +753,7 @@ test-suite repeated_test Proto.Repeated Proto.Repeated_Fields autogen-modules: + Paths_proto_lens_tests Proto.Repeated Proto.Repeated_Fields hs-source-dirs: @@ -761,6 +785,7 @@ test-suite required_test Proto.Required Proto.Required_Fields autogen-modules: + Paths_proto_lens_tests Proto.Required Proto.Required_Fields hs-source-dirs: @@ -792,6 +817,7 @@ test-suite service_test Proto.Service Proto.Service_Fields autogen-modules: + Paths_proto_lens_tests Proto.Service Proto.Service_Fields hs-source-dirs: @@ -824,6 +850,7 @@ test-suite text-format_test Proto.TextFormat Proto.TextFormat_Fields autogen-modules: + Paths_proto_lens_tests Proto.TextFormat Proto.TextFormat_Fields hs-source-dirs: @@ -855,6 +882,7 @@ test-suite unknown_fields_test Proto.UnknownFields Proto.UnknownFields_Fields autogen-modules: + Paths_proto_lens_tests Proto.UnknownFields Proto.UnknownFields_Fields hs-source-dirs: diff --git a/proto-lens/Changelog.md b/proto-lens/Changelog.md index c53959c1..57340b87 100644 --- a/proto-lens/Changelog.md +++ b/proto-lens/Changelog.md @@ -1,5 +1,9 @@ # Changelog for `proto-lens` +## Unreleased + +### Breaking Changes +- Introduce MapField constructor field indicating key type. ## v0.7.1.2 - Support GHC 9.4 diff --git a/proto-lens/package.yaml b/proto-lens/package.yaml index 0eb55af8..c8b2b442 100644 --- a/proto-lens/package.yaml +++ b/proto-lens/package.yaml @@ -35,7 +35,7 @@ library: - Data.ProtoLens.TextFormat.Parser dependencies: - base >= 4.10 && < 4.19 - - bytestring >= 0.10 && < 0.12 + - bytestring >= 0.10 && < 0.13 - containers >= 0.5 && < 0.7 - deepseq == 1.4.* - ghc-prim >= 0.4 && < 0.11 @@ -45,7 +45,7 @@ library: - primitive >= 0.6 && < 0.9 - profunctors >= 5.2 && < 6.0 - tagged == 0.8.* - - text >= 1.2 && < 2.1 + - text >= 1.2 && < 2.2 - transformers >= 0.4 && < 0.7 - vector >= 0.11 && < 0.14 diff --git a/proto-lens/proto-lens.cabal b/proto-lens/proto-lens.cabal index c59cce4e..2ebdec84 100644 --- a/proto-lens/proto-lens.cabal +++ b/proto-lens/proto-lens.cabal @@ -59,7 +59,7 @@ library src build-depends: base >=4.10 && <4.19 - , bytestring >=0.10 && <0.12 + , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.7 , deepseq ==1.4.* , ghc-prim >=0.4 && <0.11 @@ -69,7 +69,7 @@ library , primitive >=0.6 && <0.9 , profunctors >=5.2 && <6.0 , tagged ==0.8.* - , text >=1.2 && <2.1 + , text >=1.2 && <2.2 , transformers >=0.4 && <0.7 , vector >=0.11 && <0.14 default-language: Haskell2010 diff --git a/proto-lens/src/Data/ProtoLens/Labels.hs b/proto-lens/src/Data/ProtoLens/Labels.hs index 96a4cab9..f5396b69 100644 --- a/proto-lens/src/Data/ProtoLens/Labels.hs +++ b/proto-lens/src/Data/ProtoLens/Labels.hs @@ -3,6 +3,7 @@ {-# LANGUAGE MagicHash #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE TypeFamilies #-} +{-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} #if __GLASGOW_HASKELL__ >= 802 {-# LANGUAGE ScopedTypeVariables #-} diff --git a/proto-lens/src/Data/ProtoLens/Message.hs b/proto-lens/src/Data/ProtoLens/Message.hs index 0e567ca7..c6829ac2 100644 --- a/proto-lens/src/Data/ProtoLens/Message.hs +++ b/proto-lens/src/Data/ProtoLens/Message.hs @@ -26,6 +26,7 @@ module Data.ProtoLens.Message ( Packing(..), FieldTypeDescriptor(..), ScalarField(..), + MapKey(..), MessageOrGroup(..), FieldDefault(..), MessageEnum(..), @@ -54,8 +55,8 @@ import Data.Int import qualified Data.Map as Map import Data.Map (Map) import Data.Maybe (fromMaybe) -import Data.Proxy (Proxy(..)) import qualified Data.Text as T +import Data.Typeable import Data.Word import Lens.Family2 (Lens', over, set) import Lens.Family2.Unchecked (lens) @@ -132,7 +133,7 @@ type FieldSet = [TaggedValue] -- 'fieldsByTextFormatName'. -- (Haddock doesn't support per-argument docs for GADTs.) data FieldDescriptor msg where - FieldDescriptor :: String + FieldDescriptor :: Typeable value => String -> FieldTypeDescriptor value -> FieldAccessor msg value -> FieldDescriptor msg @@ -149,21 +150,25 @@ isRequired _ = False -- | A Lens for accessing the value of an individual field in a protocol buffer -- message. data FieldAccessor msg value where - -- A field which is stored in the proto as just a value. Used for + -- | A field which is stored in the proto as just a value. Used for -- required fields and proto3 optional scalar fields. PlainField :: WireDefault value -> Lens' msg value -> FieldAccessor msg value - -- An optional field where the "unset" and "default" values are + -- | An optional field where the "unset" and "default" values are -- distinguishable. In particular: proto2 optional fields, proto3 -- messages, and "oneof" fields. OptionalField :: Lens' msg (Maybe value) -> FieldAccessor msg value RepeatedField :: Packing -> Lens' msg [value] -> FieldAccessor msg value - -- A proto "map" field is serialized as a repeated field of an + -- | A proto "map" field is serialized as a repeated field of an -- autogenerated "entry" type, where each entry contains a single key/value -- pair. This constructor provides lenses for accessing the key and value -- of each entry, so that we can covert between a list of entries and a Map. - MapField :: (Ord key, Message entry) => Lens' entry key -> Lens' entry value - -> Lens' msg (Map key value) -> FieldAccessor msg entry + -- + -- It also provides metadata for the key and value types to enable + -- writing generalized instances. + MapField :: (Typeable key, Typeable value, Ord key, Message entry) => MapKey key -> FieldTypeDescriptor value + -> Lens' entry key -> Lens' entry value -> Lens' msg (Map key value) + -> FieldAccessor msg entry -- | The default value (if any) for a 'PlainField' on the wire. data WireDefault value where @@ -240,6 +245,27 @@ data ScalarField t where deriving instance Show (ScalarField value) +-- | The proto3 spec says: +-- +-- The key_type can be any integral or string type (so, any scalar type except for floating point types and bytes). +-- Note that enum is not a valid key_type. The value_type can be any type except another map. +-- +-- https://protobuf.dev/programming-guides/proto3/#maps +data MapKey t where + MapInt32Key :: MapKey Int32 + MapInt64Key :: MapKey Int64 + MapUInt32Key :: MapKey Word32 + MapUInt64Key :: MapKey Word64 + MapSInt32Key :: MapKey Int32 + MapSInt64Key :: MapKey Int64 + MapFixed32Key :: MapKey Word32 + MapFixed64Key :: MapKey Word64 + MapSFixed32Key :: MapKey Int32 + MapSFixed64Key :: MapKey Int64 + MapBoolKey :: MapKey Bool + MapStringKey :: MapKey T.Text + + matchAnyMessage :: forall value . FieldTypeDescriptor value -> Maybe (AnyMessageDescriptor value) matchAnyMessage (MessageField _) | messageName (Proxy @value) == "google.protobuf.Any" diff --git a/proto-lens/src/Data/ProtoLens/TextFormat.hs b/proto-lens/src/Data/ProtoLens/TextFormat.hs index 43f9c23d..8bd8ea8f 100644 --- a/proto-lens/src/Data/ProtoLens/TextFormat.hs +++ b/proto-lens/src/Data/ProtoLens/TextFormat.hs @@ -105,7 +105,7 @@ pprintField reg msg (FieldDescriptor name typeDescr accessor) OptionalField f -> catMaybes [msg ^. f] -- TODO: better printing for packed fields RepeatedField _ f -> msg ^. f - MapField k v f -> pairToMsg <$> Map.assocs (msg ^. f) + MapField _ _ k v f -> pairToMsg <$> Map.assocs (msg ^. f) where pairToMsg (x,y) = defMessage & k .~ x & v .~ y @@ -265,7 +265,7 @@ modifyField :: FieldAccessor msg value -> value -> msg -> msg modifyField (PlainField _ f) value = set f value modifyField (OptionalField f) value = set f (Just value) modifyField (RepeatedField _ f) value = over f (value :) -modifyField (MapField key value f) mapElem +modifyField (MapField _ _ key value f) mapElem = over f (Map.insert (mapElem ^. key) (mapElem ^. value)) makeValue diff --git a/stack.yaml b/stack.yaml index f4ee30b6..e8cf57f0 100644 --- a/stack.yaml +++ b/stack.yaml @@ -4,7 +4,7 @@ # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd -resolver: lts-20.0 +resolver: lts-21.12 packages: - discrimination-ieee754 @@ -12,6 +12,7 @@ packages: - proto-lens-arbitrary - proto-lens-benchmarks - proto-lens-discrimination +- proto-lens-json - proto-lens-optparse - proto-lens-protobuf-types - proto-lens-protoc @@ -22,3 +23,7 @@ packages: ghc-options: "$locals": -Wall -Werror + +extra-deps: +- git: git@github.com:circuithub/ghc-source-gen.git + commit: 7a6aac047b706508e85ba2054b5bedbecfd7eb7a \ No newline at end of file From b933f300fea04b814478134c1fab8e4762f6c60e Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Mon, 25 Sep 2023 17:27:07 +0200 Subject: [PATCH 2/9] Move proto-lens-protobuf-types codegen into script so that it can compuile without a hard protobuf compiler dependency --- .../generate-haskell-modules | 21 + proto-lens-protobuf-types/package.yaml | 8 - .../proto-lens-protobuf-types.cabal | 19 +- .../src/Proto/Google/Protobuf/Any.hs | 385 + .../src/Proto/Google/Protobuf/Any_Fields.hs | 39 + .../src/Proto/Google/Protobuf/Api.hs | 1417 ++ .../src/Proto/Google/Protobuf/Api_Fields.hs | 121 + .../Proto/Google/Protobuf/Compiler/Plugin.hs | 1559 ++ .../Google/Protobuf/Compiler/Plugin_Fields.hs | 207 + .../src/Proto/Google/Protobuf/Descriptor.hs | 12745 ++++++++++++++++ .../Google/Protobuf/Descriptor_Fields.hs | 1052 ++ .../src/Proto/Google/Protobuf/Duration.hs | 337 + .../Proto/Google/Protobuf/Duration_Fields.hs | 39 + .../src/Proto/Google/Protobuf/Empty.hs | 177 + .../src/Proto/Google/Protobuf/Empty_Fields.hs | 29 + .../src/Proto/Google/Protobuf/FieldMask.hs | 446 + .../Proto/Google/Protobuf/FieldMask_Fields.hs | 40 + .../Proto/Google/Protobuf/SourceContext.hs | 230 + .../Google/Protobuf/SourceContext_Fields.hs | 35 + .../src/Proto/Google/Protobuf/Struct.hs | 1198 ++ .../Proto/Google/Protobuf/Struct_Fields.hs | 139 + .../src/Proto/Google/Protobuf/Timestamp.hs | 367 + .../Proto/Google/Protobuf/Timestamp_Fields.hs | 39 + .../src/Proto/Google/Protobuf/Type.hs | 2667 ++++ .../src/Proto/Google/Protobuf/Type_Fields.hs | 154 + .../src/Proto/Google/Protobuf/Wrappers.hs | 1236 ++ .../Proto/Google/Protobuf/Wrappers_Fields.hs | 34 + 27 files changed, 24723 insertions(+), 17 deletions(-) create mode 100755 proto-lens-protobuf-types/generate-haskell-modules create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs create mode 100644 proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers_Fields.hs diff --git a/proto-lens-protobuf-types/generate-haskell-modules b/proto-lens-protobuf-types/generate-haskell-modules new file mode 100755 index 00000000..fa3fc6f5 --- /dev/null +++ b/proto-lens-protobuf-types/generate-haskell-modules @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +shopt -s globstar + +set -x +stack exec -- protoc \ + --plugin=protoc-gen-haskell=`which proto-lens-protoc` \ + --haskell_out=$PWD/src \ + --proto_path=$PWD/proto-src \ + $PWD/proto-src/google/protobuf/any.proto \ + $PWD/proto-src/google/protobuf/api.proto \ + $PWD/proto-src/google/protobuf/descriptor.proto \ + $PWD/proto-src/google/protobuf/duration.proto \ + $PWD/proto-src/google/protobuf/empty.proto \ + $PWD/proto-src/google/protobuf/field_mask.proto \ + $PWD/proto-src/google/protobuf/source_context.proto \ + $PWD/proto-src/google/protobuf/struct.proto \ + $PWD/proto-src/google/protobuf/timestamp.proto \ + $PWD/proto-src/google/protobuf/type.proto \ + $PWD/proto-src/google/protobuf/wrappers.proto \ + $PWD/proto-src/google/protobuf/compiler/plugin.proto diff --git a/proto-lens-protobuf-types/package.yaml b/proto-lens-protobuf-types/package.yaml index a1b482d8..b21546a8 100644 --- a/proto-lens-protobuf-types/package.yaml +++ b/proto-lens-protobuf-types/package.yaml @@ -21,14 +21,6 @@ extra-source-files: - proto-src/google/protobuf/struct.proto - proto-src/google/protobuf/timestamp.proto -custom-setup: - dependencies: - - base >= 4.10 && < 4.19 - - Cabal - - proto-lens-setup == 0.4.* - -build-tools: proto-lens-protoc:proto-lens-protoc - dependencies: - base >= 4.10 && < 4.19 - lens-family >= 1.2 && < 2.2 diff --git a/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal b/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal index 374d0607..1dea7c08 100644 --- a/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal +++ b/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal @@ -16,7 +16,7 @@ maintainer: proto-lens@googlegroups.com copyright: Google Inc. license: BSD3 license-file: LICENSE -build-type: Custom +build-type: Simple extra-source-files: Changelog.md proto-src/google/protobuf/any.proto @@ -33,12 +33,6 @@ source-repository head location: https://github.com/google/proto-lens subdir: proto-lens-protobuf-types -custom-setup - setup-depends: - Cabal - , base >=4.10 && <4.19 - , proto-lens-setup ==0.4.* - library exposed-modules: Data.ProtoLens.Any @@ -59,6 +53,15 @@ library Proto.Google.Protobuf.Struct_Fields Proto.Google.Protobuf.Timestamp Proto.Google.Protobuf.Timestamp_Fields + other-modules: + Proto.Google.Protobuf.Api + Proto.Google.Protobuf.Api_Fields + Proto.Google.Protobuf.FieldMask + Proto.Google.Protobuf.FieldMask_Fields + Proto.Google.Protobuf.SourceContext + Proto.Google.Protobuf.SourceContext_Fields + Proto.Google.Protobuf.Type + Proto.Google.Protobuf.Type_Fields autogen-modules: Proto.Google.Protobuf.Any Proto.Google.Protobuf.Any_Fields @@ -78,8 +81,6 @@ library Proto.Google.Protobuf.Timestamp_Fields hs-source-dirs: src - build-tool-depends: - proto-lens-protoc:proto-lens-protoc build-depends: base >=4.10 && <4.19 , lens-family >=1.2 && <2.2 diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs new file mode 100644 index 00000000..98299716 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs @@ -0,0 +1,385 @@ +{- This file was auto-generated from google/protobuf/any.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Any ( + Any() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.Any_Fields.typeUrl' @:: Lens' Any Data.Text.Text@ + * 'Proto.Google.Protobuf.Any_Fields.value' @:: Lens' Any Data.ByteString.ByteString@ -} +data Any + = Any'_constructor {_Any'typeUrl :: !Data.Text.Text, + _Any'value :: !Data.ByteString.ByteString, + _Any'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Any where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Any "typeUrl" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Any'typeUrl (\ x__ y__ -> x__ {_Any'typeUrl = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Any "value" Data.ByteString.ByteString where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Any'value (\ x__ y__ -> x__ {_Any'value = y__})) + Prelude.id +instance Data.ProtoLens.Message Any where + messageName _ = Data.Text.pack "google.protobuf.Any" + packedMessageDescriptor _ + = "\n\ + \\ETXAny\DC2\EM\n\ + \\btype_url\CAN\SOH \SOH(\tR\atypeUrl\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\fR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + typeUrl__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type_url" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"typeUrl")) :: + Data.ProtoLens.FieldDescriptor Any + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField :: + Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor Any + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, typeUrl__field_descriptor), + (Data.ProtoLens.Tag 2, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Any'_unknownFields (\ x__ y__ -> x__ {_Any'_unknownFields = y__}) + defMessage + = Any'_constructor + {_Any'typeUrl = Data.ProtoLens.fieldDefault, + _Any'value = Data.ProtoLens.fieldDefault, _Any'_unknownFields = []} + parseMessage + = let + loop :: Any -> Data.ProtoLens.Encoding.Bytes.Parser Any + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "type_url" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"typeUrl") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getBytes + (Prelude.fromIntegral len)) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Any" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"typeUrl") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData Any where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Any'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Any'typeUrl x__) (Control.DeepSeq.deepseq (_Any'value x__) ())) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\EMgoogle/protobuf/any.proto\DC2\SIgoogle.protobuf\"6\n\ + \\ETXAny\DC2\EM\n\ + \\btype_url\CAN\SOH \SOH(\tR\atypeUrl\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\fR\ENQvalueBv\n\ + \\DC3com.google.protobufB\bAnyProtoP\SOHZ,google.golang.org/protobuf/types/known/anypb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\249*\n\ + \\a\DC2\ENQ\RS\NUL\157\SOH\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NULC\n\ + \\t\n\ + \\STX\b\v\DC2\ETX#\NULC\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX$\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL)\n\ + \\t\n\ + \\STX\b\b\DC2\ETX%\NUL)\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX&\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX'\NUL!\n\ + \\253\DLE\n\ + \\STX\EOT\NUL\DC2\ENQ|\NUL\157\SOH\SOH\SUB\239\DLE `Any` contains an arbitrary serialized protocol buffer message along with a\n\ + \ URL that describes the type of the serialized message.\n\ + \\n\ + \ Protobuf library provides support to pack/unpack Any values in the form\n\ + \ of utility functions or additional generated methods of the Any type.\n\ + \\n\ + \ Example 1: Pack and unpack a message in C++.\n\ + \\n\ + \ Foo foo = ...;\n\ + \ Any any;\n\ + \ any.PackFrom(foo);\n\ + \ ...\n\ + \ if (any.UnpackTo(&foo)) {\n\ + \ ...\n\ + \ }\n\ + \\n\ + \ Example 2: Pack and unpack a message in Java.\n\ + \\n\ + \ Foo foo = ...;\n\ + \ Any any = Any.pack(foo);\n\ + \ ...\n\ + \ if (any.is(Foo.class)) {\n\ + \ foo = any.unpack(Foo.class);\n\ + \ }\n\ + \\n\ + \ Example 3: Pack and unpack a message in Python.\n\ + \\n\ + \ foo = Foo(...)\n\ + \ any = Any()\n\ + \ any.Pack(foo)\n\ + \ ...\n\ + \ if any.Is(Foo.DESCRIPTOR):\n\ + \ any.Unpack(foo)\n\ + \ ...\n\ + \\n\ + \ Example 4: Pack and unpack a message in Go\n\ + \\n\ + \ foo := &pb.Foo{...}\n\ + \ any, err := anypb.New(foo)\n\ + \ if err != nil {\n\ + \ ...\n\ + \ }\n\ + \ ...\n\ + \ foo := &pb.Foo{}\n\ + \ if err := any.UnmarshalTo(foo); err != nil {\n\ + \ ...\n\ + \ }\n\ + \\n\ + \ The pack methods provided by protobuf library will by default use\n\ + \ 'type.googleapis.com/full.type.name' as the type URL and the unpack\n\ + \ methods only use the fully qualified type name after the last '/'\n\ + \ in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n\ + \ name \"y.z\".\n\ + \\n\ + \\n\ + \ JSON\n\ + \ ====\n\ + \ The JSON representation of an `Any` value uses the regular\n\ + \ representation of the deserialized, embedded message, with an\n\ + \ additional field `@type` which contains the type URL. Example:\n\ + \\n\ + \ package google.profile;\n\ + \ message Person {\n\ + \ string first_name = 1;\n\ + \ string last_name = 2;\n\ + \ }\n\ + \\n\ + \ {\n\ + \ \"@type\": \"type.googleapis.com/google.profile.Person\",\n\ + \ \"firstName\": ,\n\ + \ \"lastName\": \n\ + \ }\n\ + \\n\ + \ If the embedded message type is well-known and has a custom JSON\n\ + \ representation, that representation will be embedded adding a field\n\ + \ `value` which holds the custom JSON in addition to the `@type`\n\ + \ field. Example (for message [google.protobuf.Duration][]):\n\ + \\n\ + \ {\n\ + \ \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n\ + \ \"value\": \"1.212s\"\n\ + \ }\n\ + \\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX|\b\v\n\ + \\215\n\ + \\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\EOT\153\SOH\STX\SYN\SUB\200\n\ + \ A URL/resource name that uniquely identifies the type of the serialized\n\ + \ protocol buffer message. This string must contain at least\n\ + \ one \"/\" character. The last segment of the URL's path must represent\n\ + \ the fully qualified name of the type (as in\n\ + \ `path/google.protobuf.Duration`). The name should be in a canonical form\n\ + \ (e.g., leading \".\" is not accepted).\n\ + \\n\ + \ In practice, teams usually precompile into the binary all types that they\n\ + \ expect it to use in the context of Any. However, for URLs which use the\n\ + \ scheme `http`, `https`, or no scheme, one can optionally set up a type\n\ + \ server that maps type URLs to message definitions as follows:\n\ + \\n\ + \ * If no scheme is provided, `https` is assumed.\n\ + \ * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n\ + \ value in binary format, or produce an error.\n\ + \ * Applications are allowed to cache lookup results based on the\n\ + \ URL, or have them precompiled into a binary to avoid any\n\ + \ lookup. Therefore, binary compatibility needs to be preserved\n\ + \ on changes to types. (Use versioned type names to manage\n\ + \ breaking changes.)\n\ + \\n\ + \ Note: this functionality is not currently available in the official\n\ + \ protobuf release, and it is not used for type URLs beginning with\n\ + \ type.googleapis.com.\n\ + \\n\ + \ Schemes other than `http`, `https` (or the empty scheme) might be\n\ + \ used with implementation specific semantics.\n\ + \\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\153\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\153\SOH\t\DC1\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\153\SOH\DC4\NAK\n\ + \W\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\EOT\156\SOH\STX\DC2\SUBI Must be a valid serialized protocol buffer of the above specified type.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\EOT\156\SOH\STX\a\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\EOT\156\SOH\b\r\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\EOT\156\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any_Fields.hs new file mode 100644 index 00000000..6fef4c4b --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any_Fields.hs @@ -0,0 +1,39 @@ +{- This file was auto-generated from google/protobuf/any.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Any_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +typeUrl :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "typeUrl" a) => + Lens.Family2.LensLike' f s a +typeUrl = Data.ProtoLens.Field.field @"typeUrl" +value :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => + Lens.Family2.LensLike' f s a +value = Data.ProtoLens.Field.field @"value" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs new file mode 100644 index 00000000..1d2236ef --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs @@ -0,0 +1,1417 @@ +{- This file was auto-generated from google/protobuf/api.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Api ( + Api(), Method(), Mixin() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +import qualified Proto.Google.Protobuf.SourceContext +import qualified Proto.Google.Protobuf.Type +{- | Fields : + + * 'Proto.Google.Protobuf.Api_Fields.name' @:: Lens' Api Data.Text.Text@ + * 'Proto.Google.Protobuf.Api_Fields.methods' @:: Lens' Api [Method]@ + * 'Proto.Google.Protobuf.Api_Fields.vec'methods' @:: Lens' Api (Data.Vector.Vector Method)@ + * 'Proto.Google.Protobuf.Api_Fields.options' @:: Lens' Api [Proto.Google.Protobuf.Type.Option]@ + * 'Proto.Google.Protobuf.Api_Fields.vec'options' @:: Lens' Api (Data.Vector.Vector Proto.Google.Protobuf.Type.Option)@ + * 'Proto.Google.Protobuf.Api_Fields.version' @:: Lens' Api Data.Text.Text@ + * 'Proto.Google.Protobuf.Api_Fields.sourceContext' @:: Lens' Api Proto.Google.Protobuf.SourceContext.SourceContext@ + * 'Proto.Google.Protobuf.Api_Fields.maybe'sourceContext' @:: Lens' Api (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext)@ + * 'Proto.Google.Protobuf.Api_Fields.mixins' @:: Lens' Api [Mixin]@ + * 'Proto.Google.Protobuf.Api_Fields.vec'mixins' @:: Lens' Api (Data.Vector.Vector Mixin)@ + * 'Proto.Google.Protobuf.Api_Fields.syntax' @:: Lens' Api Proto.Google.Protobuf.Type.Syntax@ -} +data Api + = Api'_constructor {_Api'name :: !Data.Text.Text, + _Api'methods :: !(Data.Vector.Vector Method), + _Api'options :: !(Data.Vector.Vector Proto.Google.Protobuf.Type.Option), + _Api'version :: !Data.Text.Text, + _Api'sourceContext :: !(Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext), + _Api'mixins :: !(Data.Vector.Vector Mixin), + _Api'syntax :: !Proto.Google.Protobuf.Type.Syntax, + _Api'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Api where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Api "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'name (\ x__ y__ -> x__ {_Api'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Api "methods" [Method] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'methods (\ x__ y__ -> x__ {_Api'methods = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Api "vec'methods" (Data.Vector.Vector Method) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'methods (\ x__ y__ -> x__ {_Api'methods = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Api "options" [Proto.Google.Protobuf.Type.Option] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'options (\ x__ y__ -> x__ {_Api'options = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Api "vec'options" (Data.Vector.Vector Proto.Google.Protobuf.Type.Option) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'options (\ x__ y__ -> x__ {_Api'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Api "version" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'version (\ x__ y__ -> x__ {_Api'version = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Api "sourceContext" Proto.Google.Protobuf.SourceContext.SourceContext where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'sourceContext (\ x__ y__ -> x__ {_Api'sourceContext = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField Api "maybe'sourceContext" (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'sourceContext (\ x__ y__ -> x__ {_Api'sourceContext = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Api "mixins" [Mixin] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'mixins (\ x__ y__ -> x__ {_Api'mixins = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Api "vec'mixins" (Data.Vector.Vector Mixin) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'mixins (\ x__ y__ -> x__ {_Api'mixins = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Api "syntax" Proto.Google.Protobuf.Type.Syntax where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Api'syntax (\ x__ y__ -> x__ {_Api'syntax = y__})) + Prelude.id +instance Data.ProtoLens.Message Api where + messageName _ = Data.Text.pack "google.protobuf.Api" + packedMessageDescriptor _ + = "\n\ + \\ETXApi\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC21\n\ + \\amethods\CAN\STX \ETX(\v2\ETB.google.protobuf.MethodR\amethods\DC21\n\ + \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2\CAN\n\ + \\aversion\CAN\EOT \SOH(\tR\aversion\DC2E\n\ + \\SOsource_context\CAN\ENQ \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2.\n\ + \\ACKmixins\CAN\ACK \ETX(\v2\SYN.google.protobuf.MixinR\ACKmixins\DC2/\n\ + \\ACKsyntax\CAN\a \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Api + methods__field_descriptor + = Data.ProtoLens.FieldDescriptor + "methods" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Method) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"methods")) :: + Data.ProtoLens.FieldDescriptor Api + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Type.Option) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"options")) :: + Data.ProtoLens.FieldDescriptor Api + version__field_descriptor + = Data.ProtoLens.FieldDescriptor + "version" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) :: + Data.ProtoLens.FieldDescriptor Api + sourceContext__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_context" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.SourceContext.SourceContext) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'sourceContext")) :: + Data.ProtoLens.FieldDescriptor Api + mixins__field_descriptor + = Data.ProtoLens.FieldDescriptor + "mixins" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Mixin) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"mixins")) :: + Data.ProtoLens.FieldDescriptor Api + syntax__field_descriptor + = Data.ProtoLens.FieldDescriptor + "syntax" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Type.Syntax) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"syntax")) :: + Data.ProtoLens.FieldDescriptor Api + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, methods__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor), + (Data.ProtoLens.Tag 4, version__field_descriptor), + (Data.ProtoLens.Tag 5, sourceContext__field_descriptor), + (Data.ProtoLens.Tag 6, mixins__field_descriptor), + (Data.ProtoLens.Tag 7, syntax__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Api'_unknownFields (\ x__ y__ -> x__ {_Api'_unknownFields = y__}) + defMessage + = Api'_constructor + {_Api'name = Data.ProtoLens.fieldDefault, + _Api'methods = Data.Vector.Generic.empty, + _Api'options = Data.Vector.Generic.empty, + _Api'version = Data.ProtoLens.fieldDefault, + _Api'sourceContext = Prelude.Nothing, + _Api'mixins = Data.Vector.Generic.empty, + _Api'syntax = Data.ProtoLens.fieldDefault, + _Api'_unknownFields = []} + parseMessage + = let + loop :: + Api + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Method + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Mixin + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Type.Option + -> Data.ProtoLens.Encoding.Bytes.Parser Api + loop x mutable'methods mutable'mixins mutable'options + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'methods <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'methods) + frozen'mixins <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'mixins) + frozen'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'options) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'methods") frozen'methods + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'mixins") frozen'mixins + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'options") frozen'options x)))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'methods mutable'mixins mutable'options + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "methods" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'methods y) + loop x v mutable'mixins mutable'options + 26 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "options" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'options y) + loop x mutable'methods mutable'mixins v + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "version" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x) + mutable'methods mutable'mixins mutable'options + 42 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "source_context" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"sourceContext") y x) + mutable'methods mutable'mixins mutable'options + 50 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "mixins" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'mixins y) + loop x mutable'methods v mutable'options + 56 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "syntax" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + mutable'methods mutable'mixins mutable'options + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'methods mutable'mixins mutable'options + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'methods <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'mixins <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'methods mutable'mixins + mutable'options) + "Api" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'methods") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'options") _x)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'sourceContext") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 42) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'mixins") _x)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"syntax") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 56) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) +instance Control.DeepSeq.NFData Api where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Api'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Api'name x__) + (Control.DeepSeq.deepseq + (_Api'methods x__) + (Control.DeepSeq.deepseq + (_Api'options x__) + (Control.DeepSeq.deepseq + (_Api'version x__) + (Control.DeepSeq.deepseq + (_Api'sourceContext x__) + (Control.DeepSeq.deepseq + (_Api'mixins x__) + (Control.DeepSeq.deepseq (_Api'syntax x__) ()))))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Api_Fields.name' @:: Lens' Method Data.Text.Text@ + * 'Proto.Google.Protobuf.Api_Fields.requestTypeUrl' @:: Lens' Method Data.Text.Text@ + * 'Proto.Google.Protobuf.Api_Fields.requestStreaming' @:: Lens' Method Prelude.Bool@ + * 'Proto.Google.Protobuf.Api_Fields.responseTypeUrl' @:: Lens' Method Data.Text.Text@ + * 'Proto.Google.Protobuf.Api_Fields.responseStreaming' @:: Lens' Method Prelude.Bool@ + * 'Proto.Google.Protobuf.Api_Fields.options' @:: Lens' Method [Proto.Google.Protobuf.Type.Option]@ + * 'Proto.Google.Protobuf.Api_Fields.vec'options' @:: Lens' Method (Data.Vector.Vector Proto.Google.Protobuf.Type.Option)@ + * 'Proto.Google.Protobuf.Api_Fields.syntax' @:: Lens' Method Proto.Google.Protobuf.Type.Syntax@ -} +data Method + = Method'_constructor {_Method'name :: !Data.Text.Text, + _Method'requestTypeUrl :: !Data.Text.Text, + _Method'requestStreaming :: !Prelude.Bool, + _Method'responseTypeUrl :: !Data.Text.Text, + _Method'responseStreaming :: !Prelude.Bool, + _Method'options :: !(Data.Vector.Vector Proto.Google.Protobuf.Type.Option), + _Method'syntax :: !Proto.Google.Protobuf.Type.Syntax, + _Method'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Method where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Method "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'name (\ x__ y__ -> x__ {_Method'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Method "requestTypeUrl" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'requestTypeUrl + (\ x__ y__ -> x__ {_Method'requestTypeUrl = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Method "requestStreaming" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'requestStreaming + (\ x__ y__ -> x__ {_Method'requestStreaming = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Method "responseTypeUrl" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'responseTypeUrl + (\ x__ y__ -> x__ {_Method'responseTypeUrl = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Method "responseStreaming" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'responseStreaming + (\ x__ y__ -> x__ {_Method'responseStreaming = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Method "options" [Proto.Google.Protobuf.Type.Option] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'options (\ x__ y__ -> x__ {_Method'options = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Method "vec'options" (Data.Vector.Vector Proto.Google.Protobuf.Type.Option) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'options (\ x__ y__ -> x__ {_Method'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Method "syntax" Proto.Google.Protobuf.Type.Syntax where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Method'syntax (\ x__ y__ -> x__ {_Method'syntax = y__})) + Prelude.id +instance Data.ProtoLens.Message Method where + messageName _ = Data.Text.pack "google.protobuf.Method" + packedMessageDescriptor _ + = "\n\ + \\ACKMethod\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2(\n\ + \\DLErequest_type_url\CAN\STX \SOH(\tR\SOrequestTypeUrl\DC2+\n\ + \\DC1request_streaming\CAN\ETX \SOH(\bR\DLErequestStreaming\DC2*\n\ + \\DC1response_type_url\CAN\EOT \SOH(\tR\SIresponseTypeUrl\DC2-\n\ + \\DC2response_streaming\CAN\ENQ \SOH(\bR\DC1responseStreaming\DC21\n\ + \\aoptions\CAN\ACK \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2/\n\ + \\ACKsyntax\CAN\a \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Method + requestTypeUrl__field_descriptor + = Data.ProtoLens.FieldDescriptor + "request_type_url" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"requestTypeUrl")) :: + Data.ProtoLens.FieldDescriptor Method + requestStreaming__field_descriptor + = Data.ProtoLens.FieldDescriptor + "request_streaming" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"requestStreaming")) :: + Data.ProtoLens.FieldDescriptor Method + responseTypeUrl__field_descriptor + = Data.ProtoLens.FieldDescriptor + "response_type_url" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"responseTypeUrl")) :: + Data.ProtoLens.FieldDescriptor Method + responseStreaming__field_descriptor + = Data.ProtoLens.FieldDescriptor + "response_streaming" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"responseStreaming")) :: + Data.ProtoLens.FieldDescriptor Method + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Type.Option) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"options")) :: + Data.ProtoLens.FieldDescriptor Method + syntax__field_descriptor + = Data.ProtoLens.FieldDescriptor + "syntax" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Type.Syntax) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"syntax")) :: + Data.ProtoLens.FieldDescriptor Method + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, requestTypeUrl__field_descriptor), + (Data.ProtoLens.Tag 3, requestStreaming__field_descriptor), + (Data.ProtoLens.Tag 4, responseTypeUrl__field_descriptor), + (Data.ProtoLens.Tag 5, responseStreaming__field_descriptor), + (Data.ProtoLens.Tag 6, options__field_descriptor), + (Data.ProtoLens.Tag 7, syntax__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Method'_unknownFields + (\ x__ y__ -> x__ {_Method'_unknownFields = y__}) + defMessage + = Method'_constructor + {_Method'name = Data.ProtoLens.fieldDefault, + _Method'requestTypeUrl = Data.ProtoLens.fieldDefault, + _Method'requestStreaming = Data.ProtoLens.fieldDefault, + _Method'responseTypeUrl = Data.ProtoLens.fieldDefault, + _Method'responseStreaming = Data.ProtoLens.fieldDefault, + _Method'options = Data.Vector.Generic.empty, + _Method'syntax = Data.ProtoLens.fieldDefault, + _Method'_unknownFields = []} + parseMessage + = let + loop :: + Method + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Type.Option + -> Data.ProtoLens.Encoding.Bytes.Parser Method + loop x mutable'options + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'options) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'options") frozen'options x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'options + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "request_type_url" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"requestTypeUrl") y x) + mutable'options + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "request_streaming" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"requestStreaming") y x) + mutable'options + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "response_type_url" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"responseTypeUrl") y x) + mutable'options + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "response_streaming" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"responseStreaming") y x) + mutable'options + 50 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "options" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'options y) + loop x v + 56 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "syntax" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + mutable'options + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'options + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'options) + "Method" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view + (Data.ProtoLens.Field.field @"requestTypeUrl") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view + (Data.ProtoLens.Field.field @"requestStreaming") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view + (Data.ProtoLens.Field.field @"responseTypeUrl") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view + (Data.ProtoLens.Field.field @"responseStreaming") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'options") _x)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"syntax") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 56) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) +instance Control.DeepSeq.NFData Method where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Method'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Method'name x__) + (Control.DeepSeq.deepseq + (_Method'requestTypeUrl x__) + (Control.DeepSeq.deepseq + (_Method'requestStreaming x__) + (Control.DeepSeq.deepseq + (_Method'responseTypeUrl x__) + (Control.DeepSeq.deepseq + (_Method'responseStreaming x__) + (Control.DeepSeq.deepseq + (_Method'options x__) + (Control.DeepSeq.deepseq (_Method'syntax x__) ()))))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Api_Fields.name' @:: Lens' Mixin Data.Text.Text@ + * 'Proto.Google.Protobuf.Api_Fields.root' @:: Lens' Mixin Data.Text.Text@ -} +data Mixin + = Mixin'_constructor {_Mixin'name :: !Data.Text.Text, + _Mixin'root :: !Data.Text.Text, + _Mixin'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Mixin where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Mixin "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Mixin'name (\ x__ y__ -> x__ {_Mixin'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Mixin "root" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Mixin'root (\ x__ y__ -> x__ {_Mixin'root = y__})) + Prelude.id +instance Data.ProtoLens.Message Mixin where + messageName _ = Data.Text.pack "google.protobuf.Mixin" + packedMessageDescriptor _ + = "\n\ + \\ENQMixin\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\DC2\n\ + \\EOTroot\CAN\STX \SOH(\tR\EOTroot" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Mixin + root__field_descriptor + = Data.ProtoLens.FieldDescriptor + "root" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"root")) :: + Data.ProtoLens.FieldDescriptor Mixin + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, root__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Mixin'_unknownFields + (\ x__ y__ -> x__ {_Mixin'_unknownFields = y__}) + defMessage + = Mixin'_constructor + {_Mixin'name = Data.ProtoLens.fieldDefault, + _Mixin'root = Data.ProtoLens.fieldDefault, + _Mixin'_unknownFields = []} + parseMessage + = let + loop :: Mixin -> Data.ProtoLens.Encoding.Bytes.Parser Mixin + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "root" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"root") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Mixin" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"root") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData Mixin where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Mixin'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Mixin'name x__) (Control.DeepSeq.deepseq (_Mixin'root x__) ())) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\EMgoogle/protobuf/api.proto\DC2\SIgoogle.protobuf\SUB$google/protobuf/source_context.proto\SUB\SUBgoogle/protobuf/type.proto\"\193\STX\n\ + \\ETXApi\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC21\n\ + \\amethods\CAN\STX \ETX(\v2\ETB.google.protobuf.MethodR\amethods\DC21\n\ + \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2\CAN\n\ + \\aversion\CAN\EOT \SOH(\tR\aversion\DC2E\n\ + \\SOsource_context\CAN\ENQ \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2.\n\ + \\ACKmixins\CAN\ACK \ETX(\v2\SYN.google.protobuf.MixinR\ACKmixins\DC2/\n\ + \\ACKsyntax\CAN\a \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\"\178\STX\n\ + \\ACKMethod\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2(\n\ + \\DLErequest_type_url\CAN\STX \SOH(\tR\SOrequestTypeUrl\DC2+\n\ + \\DC1request_streaming\CAN\ETX \SOH(\bR\DLErequestStreaming\DC2*\n\ + \\DC1response_type_url\CAN\EOT \SOH(\tR\SIresponseTypeUrl\DC2-\n\ + \\DC2response_streaming\CAN\ENQ \SOH(\bR\DC1responseStreaming\DC21\n\ + \\aoptions\CAN\ACK \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2/\n\ + \\ACKsyntax\CAN\a \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\"/\n\ + \\ENQMixin\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\DC2\n\ + \\EOTroot\CAN\STX \SOH(\tR\EOTrootBv\n\ + \\DC3com.google.protobufB\bApiProtoP\SOHZ,google.golang.org/protobuf/types/known/apipb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\129<\n\ + \\a\DC2\ENQ\RS\NUL\207\SOH\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\t\n\ + \\STX\ETX\NUL\DC2\ETX\"\NUL.\n\ + \\t\n\ + \\STX\ETX\SOH\DC2\ETX#\NUL$\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX%\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX&\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL)\n\ + \\t\n\ + \\STX\b\b\DC2\ETX'\NUL)\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX(\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX)\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX)\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX*\NULC\n\ + \\t\n\ + \\STX\b\v\DC2\ETX*\NULC\n\ + \\171\EOT\n\ + \\STX\EOT\NUL\DC2\EOT5\NUL`\SOH\SUB\158\EOT Api is a light-weight descriptor for an API Interface.\n\ + \\n\ + \ Interfaces are also described as \"protocol buffer services\" in some contexts,\n\ + \ such as by the \"service\" keyword in a .proto file, but they are different\n\ + \ from API Services, which represent a concrete implementation of an interface\n\ + \ as opposed to simply a description of methods and bindings. They are also\n\ + \ sometimes simply referred to as \"APIs\" in other contexts, such as the name of\n\ + \ this message itself. See https://cloud.google.com/apis/design/glossary for\n\ + \ detailed terminology.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX5\b\v\n\ + \{\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX8\STX\DC2\SUBn The fully qualified name of this interface, including package name\n\ + \ followed by the interface's simple name.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX8\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX8\t\r\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX8\DLE\DC1\n\ + \C\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETX;\STX\RS\SUB6 The methods of this interface, in unspecified order.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX;\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX;\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX;\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX;\FS\GS\n\ + \6\n\ + \\EOT\EOT\NUL\STX\STX\DC2\ETX>\STX\RS\SUB) Any metadata attached to the interface.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX>\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX>\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX>\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX>\FS\GS\n\ + \\130\b\n\ + \\EOT\EOT\NUL\STX\ETX\DC2\ETXU\STX\NAK\SUB\244\a A version string for this interface. If specified, must have the form\n\ + \ `major-version.minor-version`, as in `1.10`. If the minor version is\n\ + \ omitted, it defaults to zero. If the entire version field is empty, the\n\ + \ major version is derived from the package name, as outlined below. If the\n\ + \ field is not empty, the version in the package name will be verified to be\n\ + \ consistent with what is provided here.\n\ + \\n\ + \ The versioning schema uses [semantic\n\ + \ versioning](http://semver.org) where the major version number\n\ + \ indicates a breaking change and the minor version an additive,\n\ + \ non-breaking change. Both version numbers are signals to users\n\ + \ what to expect from different versions, and should be carefully\n\ + \ chosen based on the product plan.\n\ + \\n\ + \ The major version is also reflected in the package name of the\n\ + \ interface, which must end in `v`, as in\n\ + \ `google.feature.v1`. For major versions 0 and 1, the suffix can\n\ + \ be omitted. Zero major versions must only be used for\n\ + \ experimental, non-GA interfaces.\n\ + \\n\ + \\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETXU\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETXU\t\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETXU\DC3\DC4\n\ + \[\n\ + \\EOT\EOT\NUL\STX\EOT\DC2\ETXY\STX#\SUBN Source context for the protocol buffer service represented by this\n\ + \ message.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETXY\STX\SI\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETXY\DLE\RS\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETXY!\"\n\ + \2\n\ + \\EOT\EOT\NUL\STX\ENQ\DC2\ETX\\\STX\FS\SUB% Included interfaces. See [Mixin][].\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\EOT\DC2\ETX\\\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX\\\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX\\\DC1\ETB\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX\\\SUB\ESC\n\ + \0\n\ + \\EOT\EOT\NUL\STX\ACK\DC2\ETX_\STX\DC4\SUB# The source syntax of the service.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX_\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX_\t\SI\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX_\DC2\DC3\n\ + \=\n\ + \\STX\EOT\SOH\DC2\EOTc\NULx\SOH\SUB1 Method represents a method of an API interface.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\SOH\SOH\DC2\ETXc\b\SO\n\ + \.\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXe\STX\DC2\SUB! The simple name of this method.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXe\STX\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXe\t\r\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXe\DLE\DC1\n\ + \/\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXh\STX\RS\SUB\" A URL of the input message type.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXh\STX\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXh\t\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXh\FS\GS\n\ + \0\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXk\STX\GS\SUB# If true, the request is streamed.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXk\STX\ACK\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXk\a\CAN\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXk\ESC\FS\n\ + \2\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXn\STX\US\SUB% The URL of the output message type.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXn\STX\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXn\t\SUB\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXn\GS\RS\n\ + \1\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXq\STX\RS\SUB$ If true, the response is streamed.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXq\STX\ACK\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXq\a\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXq\FS\GS\n\ + \3\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\ETXt\STX\RS\SUB& Any metadata attached to the method.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETXt\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXt\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXt\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXt\FS\GS\n\ + \0\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\ETXw\STX\DC4\SUB# The source syntax of this method.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXw\STX\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXw\t\SI\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXw\DC2\DC3\n\ + \\202\DC3\n\ + \\STX\EOT\STX\DC2\ACK\200\SOH\NUL\207\SOH\SOH\SUB\187\DC3 Declares an API Interface to be included in this interface. The including\n\ + \ interface must redeclare all the methods from the included interface, but\n\ + \ documentation and options are inherited as follows:\n\ + \\n\ + \ - If after comment and whitespace stripping, the documentation\n\ + \ string of the redeclared method is empty, it will be inherited\n\ + \ from the original method.\n\ + \\n\ + \ - Each annotation belonging to the service config (http,\n\ + \ visibility) which is not set in the redeclared method will be\n\ + \ inherited.\n\ + \\n\ + \ - If an http annotation is inherited, the path pattern will be\n\ + \ modified as follows. Any version prefix will be replaced by the\n\ + \ version of the including interface plus the [root][] path if\n\ + \ specified.\n\ + \\n\ + \ Example of a simple mixin:\n\ + \\n\ + \ package google.acl.v1;\n\ + \ service AccessControl {\n\ + \ // Get the underlying ACL object.\n\ + \ rpc GetAcl(GetAclRequest) returns (Acl) {\n\ + \ option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n\ + \ }\n\ + \ }\n\ + \\n\ + \ package google.storage.v2;\n\ + \ service Storage {\n\ + \ rpc GetAcl(GetAclRequest) returns (Acl);\n\ + \\n\ + \ // Get a data record.\n\ + \ rpc GetData(GetDataRequest) returns (Data) {\n\ + \ option (google.api.http).get = \"/v2/{resource=**}\";\n\ + \ }\n\ + \ }\n\ + \\n\ + \ Example of a mixin configuration:\n\ + \\n\ + \ apis:\n\ + \ - name: google.storage.v2.Storage\n\ + \ mixins:\n\ + \ - name: google.acl.v1.AccessControl\n\ + \\n\ + \ The mixin construct implies that all methods in `AccessControl` are\n\ + \ also declared with same name and request/response types in\n\ + \ `Storage`. A documentation generator or annotation processor will\n\ + \ see the effective `Storage.GetAcl` method after inheriting\n\ + \ documentation and annotations as follows:\n\ + \\n\ + \ service Storage {\n\ + \ // Get the underlying ACL object.\n\ + \ rpc GetAcl(GetAclRequest) returns (Acl) {\n\ + \ option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n\ + \ }\n\ + \ ...\n\ + \ }\n\ + \\n\ + \ Note how the version in the path pattern changed from `v1` to `v2`.\n\ + \\n\ + \ If the `root` field in the mixin is specified, it should be a\n\ + \ relative path under which inherited HTTP paths are placed. Example:\n\ + \\n\ + \ apis:\n\ + \ - name: google.storage.v2.Storage\n\ + \ mixins:\n\ + \ - name: google.acl.v1.AccessControl\n\ + \ root: acls\n\ + \\n\ + \ This implies the following inherited HTTP annotation:\n\ + \\n\ + \ service Storage {\n\ + \ // Get the underlying ACL object.\n\ + \ rpc GetAcl(GetAclRequest) returns (Acl) {\n\ + \ option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n\ + \ }\n\ + \ ...\n\ + \ }\n\ + \\n\ + \\v\n\ + \\ETX\EOT\STX\SOH\DC2\EOT\200\SOH\b\r\n\ + \L\n\ + \\EOT\EOT\STX\STX\NUL\DC2\EOT\202\SOH\STX\DC2\SUB> The fully qualified name of the interface which is included.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\202\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\202\SOH\t\r\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\202\SOH\DLE\DC1\n\ + \[\n\ + \\EOT\EOT\STX\STX\SOH\DC2\EOT\206\SOH\STX\DC2\SUBM If non-empty specifies a path under which inherited HTTP paths\n\ + \ are rooted.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\EOT\206\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\206\SOH\t\r\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\206\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api_Fields.hs new file mode 100644 index 00000000..119d741d --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api_Fields.hs @@ -0,0 +1,121 @@ +{- This file was auto-generated from google/protobuf/api.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Api_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +import qualified Proto.Google.Protobuf.SourceContext +import qualified Proto.Google.Protobuf.Type +maybe'sourceContext :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'sourceContext" a) => + Lens.Family2.LensLike' f s a +maybe'sourceContext + = Data.ProtoLens.Field.field @"maybe'sourceContext" +methods :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "methods" a) => + Lens.Family2.LensLike' f s a +methods = Data.ProtoLens.Field.field @"methods" +mixins :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "mixins" a) => + Lens.Family2.LensLike' f s a +mixins = Data.ProtoLens.Field.field @"mixins" +name :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) => + Lens.Family2.LensLike' f s a +name = Data.ProtoLens.Field.field @"name" +options :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "options" a) => + Lens.Family2.LensLike' f s a +options = Data.ProtoLens.Field.field @"options" +requestStreaming :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "requestStreaming" a) => + Lens.Family2.LensLike' f s a +requestStreaming = Data.ProtoLens.Field.field @"requestStreaming" +requestTypeUrl :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "requestTypeUrl" a) => + Lens.Family2.LensLike' f s a +requestTypeUrl = Data.ProtoLens.Field.field @"requestTypeUrl" +responseStreaming :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "responseStreaming" a) => + Lens.Family2.LensLike' f s a +responseStreaming = Data.ProtoLens.Field.field @"responseStreaming" +responseTypeUrl :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "responseTypeUrl" a) => + Lens.Family2.LensLike' f s a +responseTypeUrl = Data.ProtoLens.Field.field @"responseTypeUrl" +root :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "root" a) => + Lens.Family2.LensLike' f s a +root = Data.ProtoLens.Field.field @"root" +sourceContext :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "sourceContext" a) => + Lens.Family2.LensLike' f s a +sourceContext = Data.ProtoLens.Field.field @"sourceContext" +syntax :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "syntax" a) => + Lens.Family2.LensLike' f s a +syntax = Data.ProtoLens.Field.field @"syntax" +vec'methods :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'methods" a) => + Lens.Family2.LensLike' f s a +vec'methods = Data.ProtoLens.Field.field @"vec'methods" +vec'mixins :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'mixins" a) => + Lens.Family2.LensLike' f s a +vec'mixins = Data.ProtoLens.Field.field @"vec'mixins" +vec'options :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'options" a) => + Lens.Family2.LensLike' f s a +vec'options = Data.ProtoLens.Field.field @"vec'options" +version :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) => + Lens.Family2.LensLike' f s a +version = Data.ProtoLens.Field.field @"version" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs new file mode 100644 index 00000000..5b601f79 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs @@ -0,0 +1,1559 @@ +{- This file was auto-generated from google/protobuf/compiler/plugin.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Compiler.Plugin ( + CodeGeneratorRequest(), CodeGeneratorResponse(), + CodeGeneratorResponse'Feature(..), CodeGeneratorResponse'Feature(), + CodeGeneratorResponse'File(), Version() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +import qualified Proto.Google.Protobuf.Descriptor +{- | Fields : + + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.fileToGenerate' @:: Lens' CodeGeneratorRequest [Data.Text.Text]@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'fileToGenerate' @:: Lens' CodeGeneratorRequest (Data.Vector.Vector Data.Text.Text)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.parameter' @:: Lens' CodeGeneratorRequest Data.Text.Text@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'parameter' @:: Lens' CodeGeneratorRequest (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.protoFile' @:: Lens' CodeGeneratorRequest [Proto.Google.Protobuf.Descriptor.FileDescriptorProto]@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'protoFile' @:: Lens' CodeGeneratorRequest (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.compilerVersion' @:: Lens' CodeGeneratorRequest Version@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'compilerVersion' @:: Lens' CodeGeneratorRequest (Prelude.Maybe Version)@ -} +data CodeGeneratorRequest + = CodeGeneratorRequest'_constructor {_CodeGeneratorRequest'fileToGenerate :: !(Data.Vector.Vector Data.Text.Text), + _CodeGeneratorRequest'parameter :: !(Prelude.Maybe Data.Text.Text), + _CodeGeneratorRequest'protoFile :: !(Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto), + _CodeGeneratorRequest'compilerVersion :: !(Prelude.Maybe Version), + _CodeGeneratorRequest'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show CodeGeneratorRequest where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "fileToGenerate" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'fileToGenerate + (\ x__ y__ -> x__ {_CodeGeneratorRequest'fileToGenerate = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "vec'fileToGenerate" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'fileToGenerate + (\ x__ y__ -> x__ {_CodeGeneratorRequest'fileToGenerate = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "parameter" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'parameter + (\ x__ y__ -> x__ {_CodeGeneratorRequest'parameter = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "maybe'parameter" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'parameter + (\ x__ y__ -> x__ {_CodeGeneratorRequest'parameter = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "protoFile" [Proto.Google.Protobuf.Descriptor.FileDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'protoFile + (\ x__ y__ -> x__ {_CodeGeneratorRequest'protoFile = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "vec'protoFile" (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'protoFile + (\ x__ y__ -> x__ {_CodeGeneratorRequest'protoFile = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "compilerVersion" Version where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'compilerVersion + (\ x__ y__ -> x__ {_CodeGeneratorRequest'compilerVersion = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "maybe'compilerVersion" (Prelude.Maybe Version) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'compilerVersion + (\ x__ y__ -> x__ {_CodeGeneratorRequest'compilerVersion = y__})) + Prelude.id +instance Data.ProtoLens.Message CodeGeneratorRequest where + messageName _ + = Data.Text.pack "google.protobuf.compiler.CodeGeneratorRequest" + packedMessageDescriptor _ + = "\n\ + \\DC4CodeGeneratorRequest\DC2(\n\ + \\DLEfile_to_generate\CAN\SOH \ETX(\tR\SOfileToGenerate\DC2\FS\n\ + \\tparameter\CAN\STX \SOH(\tR\tparameter\DC2C\n\ + \\n\ + \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2L\n\ + \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + fileToGenerate__field_descriptor + = Data.ProtoLens.FieldDescriptor + "file_to_generate" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"fileToGenerate")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorRequest + parameter__field_descriptor + = Data.ProtoLens.FieldDescriptor + "parameter" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'parameter")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorRequest + protoFile__field_descriptor + = Data.ProtoLens.FieldDescriptor + "proto_file" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Descriptor.FileDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"protoFile")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorRequest + compilerVersion__field_descriptor + = Data.ProtoLens.FieldDescriptor + "compiler_version" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Version) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'compilerVersion")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorRequest + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, fileToGenerate__field_descriptor), + (Data.ProtoLens.Tag 2, parameter__field_descriptor), + (Data.ProtoLens.Tag 15, protoFile__field_descriptor), + (Data.ProtoLens.Tag 3, compilerVersion__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'_unknownFields + (\ x__ y__ -> x__ {_CodeGeneratorRequest'_unknownFields = y__}) + defMessage + = CodeGeneratorRequest'_constructor + {_CodeGeneratorRequest'fileToGenerate = Data.Vector.Generic.empty, + _CodeGeneratorRequest'parameter = Prelude.Nothing, + _CodeGeneratorRequest'protoFile = Data.Vector.Generic.empty, + _CodeGeneratorRequest'compilerVersion = Prelude.Nothing, + _CodeGeneratorRequest'_unknownFields = []} + parseMessage + = let + loop :: + CodeGeneratorRequest + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Descriptor.FileDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorRequest + loop x mutable'fileToGenerate mutable'protoFile + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'fileToGenerate <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'fileToGenerate) + frozen'protoFile <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'protoFile) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'fileToGenerate") + frozen'fileToGenerate + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'protoFile") frozen'protoFile x))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "file_to_generate" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'fileToGenerate y) + loop x v mutable'protoFile + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "parameter" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"parameter") y x) + mutable'fileToGenerate mutable'protoFile + 122 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "proto_file" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'protoFile y) + loop x mutable'fileToGenerate v + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "compiler_version" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"compilerVersion") y x) + mutable'fileToGenerate mutable'protoFile + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'fileToGenerate mutable'protoFile + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'fileToGenerate <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'protoFile <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'fileToGenerate mutable'protoFile) + "CodeGeneratorRequest" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'fileToGenerate") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'parameter") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 122) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'protoFile") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'compilerVersion") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) +instance Control.DeepSeq.NFData CodeGeneratorRequest where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_CodeGeneratorRequest'_unknownFields x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorRequest'fileToGenerate x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorRequest'parameter x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorRequest'protoFile x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorRequest'compilerVersion x__) ())))) +{- | Fields : + + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.error' @:: Lens' CodeGeneratorResponse Data.Text.Text@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'error' @:: Lens' CodeGeneratorResponse (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.supportedFeatures' @:: Lens' CodeGeneratorResponse Data.Word.Word64@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'supportedFeatures' @:: Lens' CodeGeneratorResponse (Prelude.Maybe Data.Word.Word64)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.file' @:: Lens' CodeGeneratorResponse [CodeGeneratorResponse'File]@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'file' @:: Lens' CodeGeneratorResponse (Data.Vector.Vector CodeGeneratorResponse'File)@ -} +data CodeGeneratorResponse + = CodeGeneratorResponse'_constructor {_CodeGeneratorResponse'error :: !(Prelude.Maybe Data.Text.Text), + _CodeGeneratorResponse'supportedFeatures :: !(Prelude.Maybe Data.Word.Word64), + _CodeGeneratorResponse'file :: !(Data.Vector.Vector CodeGeneratorResponse'File), + _CodeGeneratorResponse'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show CodeGeneratorResponse where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse "error" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'error + (\ x__ y__ -> x__ {_CodeGeneratorResponse'error = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse "maybe'error" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'error + (\ x__ y__ -> x__ {_CodeGeneratorResponse'error = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse "supportedFeatures" Data.Word.Word64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'supportedFeatures + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'supportedFeatures = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse "maybe'supportedFeatures" (Prelude.Maybe Data.Word.Word64) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'supportedFeatures + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'supportedFeatures = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse "file" [CodeGeneratorResponse'File] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'file + (\ x__ y__ -> x__ {_CodeGeneratorResponse'file = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse "vec'file" (Data.Vector.Vector CodeGeneratorResponse'File) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'file + (\ x__ y__ -> x__ {_CodeGeneratorResponse'file = y__})) + Prelude.id +instance Data.ProtoLens.Message CodeGeneratorResponse where + messageName _ + = Data.Text.pack "google.protobuf.compiler.CodeGeneratorResponse" + packedMessageDescriptor _ + = "\n\ + \\NAKCodeGeneratorResponse\DC2\DC4\n\ + \\ENQerror\CAN\SOH \SOH(\tR\ENQerror\DC2-\n\ + \\DC2supported_features\CAN\STX \SOH(\EOTR\DC1supportedFeatures\DC2H\n\ + \\EOTfile\CAN\SI \ETX(\v24.google.protobuf.compiler.CodeGeneratorResponse.FileR\EOTfile\SUB\177\SOH\n\ + \\EOTFile\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ + \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ + \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"8\n\ + \\aFeature\DC2\DLE\n\ + \\fFEATURE_NONE\DLE\NUL\DC2\ESC\n\ + \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + error__field_descriptor + = Data.ProtoLens.FieldDescriptor + "error" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'error")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse + supportedFeatures__field_descriptor + = Data.ProtoLens.FieldDescriptor + "supported_features" + (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'supportedFeatures")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse + file__field_descriptor + = Data.ProtoLens.FieldDescriptor + "file" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor CodeGeneratorResponse'File) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"file")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, error__field_descriptor), + (Data.ProtoLens.Tag 2, supportedFeatures__field_descriptor), + (Data.ProtoLens.Tag 15, file__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'_unknownFields + (\ x__ y__ -> x__ {_CodeGeneratorResponse'_unknownFields = y__}) + defMessage + = CodeGeneratorResponse'_constructor + {_CodeGeneratorResponse'error = Prelude.Nothing, + _CodeGeneratorResponse'supportedFeatures = Prelude.Nothing, + _CodeGeneratorResponse'file = Data.Vector.Generic.empty, + _CodeGeneratorResponse'_unknownFields = []} + parseMessage + = let + loop :: + CodeGeneratorResponse + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld CodeGeneratorResponse'File + -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorResponse + loop x mutable'file + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'file <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'file) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'file") frozen'file x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "error" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"error") y x) + mutable'file + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + Data.ProtoLens.Encoding.Bytes.getVarInt "supported_features" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"supportedFeatures") y x) + mutable'file + 122 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "file" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'file y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'file + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'file <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'file) + "CodeGeneratorResponse" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'error") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'supportedFeatures") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + (Data.ProtoLens.Encoding.Bytes.putVarInt _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 122) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'file") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData CodeGeneratorResponse where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_CodeGeneratorResponse'_unknownFields x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorResponse'error x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorResponse'supportedFeatures x__) + (Control.DeepSeq.deepseq (_CodeGeneratorResponse'file x__) ()))) +data CodeGeneratorResponse'Feature + = CodeGeneratorResponse'FEATURE_NONE | + CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum CodeGeneratorResponse'Feature where + maybeToEnum 0 = Prelude.Just CodeGeneratorResponse'FEATURE_NONE + maybeToEnum 1 + = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + maybeToEnum _ = Prelude.Nothing + showEnum CodeGeneratorResponse'FEATURE_NONE = "FEATURE_NONE" + showEnum CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + = "FEATURE_PROTO3_OPTIONAL" + readEnum k + | (Prelude.==) k "FEATURE_NONE" + = Prelude.Just CodeGeneratorResponse'FEATURE_NONE + | (Prelude.==) k "FEATURE_PROTO3_OPTIONAL" + = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded CodeGeneratorResponse'Feature where + minBound = CodeGeneratorResponse'FEATURE_NONE + maxBound = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL +instance Prelude.Enum CodeGeneratorResponse'Feature where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Feature: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum CodeGeneratorResponse'FEATURE_NONE = 0 + fromEnum CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = 1 + succ CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + = Prelude.error + "CodeGeneratorResponse'Feature.succ: bad argument CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL. This value would be out of bounds." + succ CodeGeneratorResponse'FEATURE_NONE + = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + pred CodeGeneratorResponse'FEATURE_NONE + = Prelude.error + "CodeGeneratorResponse'Feature.pred: bad argument CodeGeneratorResponse'FEATURE_NONE. This value would be out of bounds." + pred CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + = CodeGeneratorResponse'FEATURE_NONE + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault CodeGeneratorResponse'Feature where + fieldDefault = CodeGeneratorResponse'FEATURE_NONE +instance Control.DeepSeq.NFData CodeGeneratorResponse'Feature where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.name' @:: Lens' CodeGeneratorResponse'File Data.Text.Text@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'name' @:: Lens' CodeGeneratorResponse'File (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.insertionPoint' @:: Lens' CodeGeneratorResponse'File Data.Text.Text@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'insertionPoint' @:: Lens' CodeGeneratorResponse'File (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.content' @:: Lens' CodeGeneratorResponse'File Data.Text.Text@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'content' @:: Lens' CodeGeneratorResponse'File (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.generatedCodeInfo' @:: Lens' CodeGeneratorResponse'File Proto.Google.Protobuf.Descriptor.GeneratedCodeInfo@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'generatedCodeInfo' @:: Lens' CodeGeneratorResponse'File (Prelude.Maybe Proto.Google.Protobuf.Descriptor.GeneratedCodeInfo)@ -} +data CodeGeneratorResponse'File + = CodeGeneratorResponse'File'_constructor {_CodeGeneratorResponse'File'name :: !(Prelude.Maybe Data.Text.Text), + _CodeGeneratorResponse'File'insertionPoint :: !(Prelude.Maybe Data.Text.Text), + _CodeGeneratorResponse'File'content :: !(Prelude.Maybe Data.Text.Text), + _CodeGeneratorResponse'File'generatedCodeInfo :: !(Prelude.Maybe Proto.Google.Protobuf.Descriptor.GeneratedCodeInfo), + _CodeGeneratorResponse'File'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show CodeGeneratorResponse'File where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'name + (\ x__ y__ -> x__ {_CodeGeneratorResponse'File'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'name + (\ x__ y__ -> x__ {_CodeGeneratorResponse'File'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "insertionPoint" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'insertionPoint + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'File'insertionPoint = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "maybe'insertionPoint" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'insertionPoint + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'File'insertionPoint = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "content" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'content + (\ x__ y__ -> x__ {_CodeGeneratorResponse'File'content = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "maybe'content" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'content + (\ x__ y__ -> x__ {_CodeGeneratorResponse'File'content = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "generatedCodeInfo" Proto.Google.Protobuf.Descriptor.GeneratedCodeInfo where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'generatedCodeInfo + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'File'generatedCodeInfo = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField CodeGeneratorResponse'File "maybe'generatedCodeInfo" (Prelude.Maybe Proto.Google.Protobuf.Descriptor.GeneratedCodeInfo) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'generatedCodeInfo + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'File'generatedCodeInfo = y__})) + Prelude.id +instance Data.ProtoLens.Message CodeGeneratorResponse'File where + messageName _ + = Data.Text.pack + "google.protobuf.compiler.CodeGeneratorResponse.File" + packedMessageDescriptor _ + = "\n\ + \\EOTFile\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ + \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ + \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse'File + insertionPoint__field_descriptor + = Data.ProtoLens.FieldDescriptor + "insertion_point" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'insertionPoint")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse'File + content__field_descriptor + = Data.ProtoLens.FieldDescriptor + "content" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'content")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse'File + generatedCodeInfo__field_descriptor + = Data.ProtoLens.FieldDescriptor + "generated_code_info" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Descriptor.GeneratedCodeInfo) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'generatedCodeInfo")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorResponse'File + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, insertionPoint__field_descriptor), + (Data.ProtoLens.Tag 15, content__field_descriptor), + (Data.ProtoLens.Tag 16, generatedCodeInfo__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _CodeGeneratorResponse'File'_unknownFields + (\ x__ y__ + -> x__ {_CodeGeneratorResponse'File'_unknownFields = y__}) + defMessage + = CodeGeneratorResponse'File'_constructor + {_CodeGeneratorResponse'File'name = Prelude.Nothing, + _CodeGeneratorResponse'File'insertionPoint = Prelude.Nothing, + _CodeGeneratorResponse'File'content = Prelude.Nothing, + _CodeGeneratorResponse'File'generatedCodeInfo = Prelude.Nothing, + _CodeGeneratorResponse'File'_unknownFields = []} + parseMessage + = let + loop :: + CodeGeneratorResponse'File + -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorResponse'File + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "insertion_point" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"insertionPoint") y x) + 122 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "content" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"content") y x) + 130 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "generated_code_info" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"generatedCodeInfo") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "File" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'insertionPoint") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'content") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 122) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'generatedCodeInfo") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 130) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) +instance Control.DeepSeq.NFData CodeGeneratorResponse'File where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_CodeGeneratorResponse'File'_unknownFields x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorResponse'File'name x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorResponse'File'insertionPoint x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorResponse'File'content x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorResponse'File'generatedCodeInfo x__) ())))) +{- | Fields : + + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.major' @:: Lens' Version Data.Int.Int32@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'major' @:: Lens' Version (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.minor' @:: Lens' Version Data.Int.Int32@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'minor' @:: Lens' Version (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.patch' @:: Lens' Version Data.Int.Int32@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'patch' @:: Lens' Version (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.suffix' @:: Lens' Version Data.Text.Text@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'suffix' @:: Lens' Version (Prelude.Maybe Data.Text.Text)@ -} +data Version + = Version'_constructor {_Version'major :: !(Prelude.Maybe Data.Int.Int32), + _Version'minor :: !(Prelude.Maybe Data.Int.Int32), + _Version'patch :: !(Prelude.Maybe Data.Int.Int32), + _Version'suffix :: !(Prelude.Maybe Data.Text.Text), + _Version'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Version where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Version "major" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'major (\ x__ y__ -> x__ {_Version'major = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField Version "maybe'major" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'major (\ x__ y__ -> x__ {_Version'major = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Version "minor" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'minor (\ x__ y__ -> x__ {_Version'minor = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField Version "maybe'minor" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'minor (\ x__ y__ -> x__ {_Version'minor = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Version "patch" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'patch (\ x__ y__ -> x__ {_Version'patch = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField Version "maybe'patch" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'patch (\ x__ y__ -> x__ {_Version'patch = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Version "suffix" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'suffix (\ x__ y__ -> x__ {_Version'suffix = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField Version "maybe'suffix" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Version'suffix (\ x__ y__ -> x__ {_Version'suffix = y__})) + Prelude.id +instance Data.ProtoLens.Message Version where + messageName _ = Data.Text.pack "google.protobuf.compiler.Version" + packedMessageDescriptor _ + = "\n\ + \\aVersion\DC2\DC4\n\ + \\ENQmajor\CAN\SOH \SOH(\ENQR\ENQmajor\DC2\DC4\n\ + \\ENQminor\CAN\STX \SOH(\ENQR\ENQminor\DC2\DC4\n\ + \\ENQpatch\CAN\ETX \SOH(\ENQR\ENQpatch\DC2\SYN\n\ + \\ACKsuffix\CAN\EOT \SOH(\tR\ACKsuffix" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + major__field_descriptor + = Data.ProtoLens.FieldDescriptor + "major" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'major")) :: + Data.ProtoLens.FieldDescriptor Version + minor__field_descriptor + = Data.ProtoLens.FieldDescriptor + "minor" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'minor")) :: + Data.ProtoLens.FieldDescriptor Version + patch__field_descriptor + = Data.ProtoLens.FieldDescriptor + "patch" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'patch")) :: + Data.ProtoLens.FieldDescriptor Version + suffix__field_descriptor + = Data.ProtoLens.FieldDescriptor + "suffix" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'suffix")) :: + Data.ProtoLens.FieldDescriptor Version + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, major__field_descriptor), + (Data.ProtoLens.Tag 2, minor__field_descriptor), + (Data.ProtoLens.Tag 3, patch__field_descriptor), + (Data.ProtoLens.Tag 4, suffix__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Version'_unknownFields + (\ x__ y__ -> x__ {_Version'_unknownFields = y__}) + defMessage + = Version'_constructor + {_Version'major = Prelude.Nothing, + _Version'minor = Prelude.Nothing, _Version'patch = Prelude.Nothing, + _Version'suffix = Prelude.Nothing, _Version'_unknownFields = []} + parseMessage + = let + loop :: Version -> Data.ProtoLens.Encoding.Bytes.Parser Version + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "major" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"major") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "minor" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"minor") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "patch" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"patch") y x) + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "suffix" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"suffix") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Version" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'major") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'minor") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'patch") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'suffix") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) +instance Control.DeepSeq.NFData Version where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Version'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Version'major x__) + (Control.DeepSeq.deepseq + (_Version'minor x__) + (Control.DeepSeq.deepseq + (_Version'patch x__) + (Control.DeepSeq.deepseq (_Version'suffix x__) ())))) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \%google/protobuf/compiler/plugin.proto\DC2\CANgoogle.protobuf.compiler\SUB google/protobuf/descriptor.proto\"c\n\ + \\aVersion\DC2\DC4\n\ + \\ENQmajor\CAN\SOH \SOH(\ENQR\ENQmajor\DC2\DC4\n\ + \\ENQminor\CAN\STX \SOH(\ENQR\ENQminor\DC2\DC4\n\ + \\ENQpatch\CAN\ETX \SOH(\ENQR\ENQpatch\DC2\SYN\n\ + \\ACKsuffix\CAN\EOT \SOH(\tR\ACKsuffix\"\241\SOH\n\ + \\DC4CodeGeneratorRequest\DC2(\n\ + \\DLEfile_to_generate\CAN\SOH \ETX(\tR\SOfileToGenerate\DC2\FS\n\ + \\tparameter\CAN\STX \SOH(\tR\tparameter\DC2C\n\ + \\n\ + \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2L\n\ + \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion\"\148\ETX\n\ + \\NAKCodeGeneratorResponse\DC2\DC4\n\ + \\ENQerror\CAN\SOH \SOH(\tR\ENQerror\DC2-\n\ + \\DC2supported_features\CAN\STX \SOH(\EOTR\DC1supportedFeatures\DC2H\n\ + \\EOTfile\CAN\SI \ETX(\v24.google.protobuf.compiler.CodeGeneratorResponse.FileR\EOTfile\SUB\177\SOH\n\ + \\EOTFile\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ + \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ + \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"8\n\ + \\aFeature\DC2\DLE\n\ + \\fFEATURE_NONE\DLE\NUL\DC2\ESC\n\ + \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOHBW\n\ + \\FScom.google.protobuf.compilerB\fPluginProtosZ)google.golang.org/protobuf/types/pluginpbJ\249C\n\ + \\a\DC2\ENQ.\NUL\182\SOH\SOH\n\ + \\202\DC1\n\ + \\SOH\f\DC2\ETX.\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \2\251\EOT Author: kenton@google.com (Kenton Varda)\n\ + \\n\ + \ WARNING: The plugin interface is currently EXPERIMENTAL and is subject to\n\ + \ change.\n\ + \\n\ + \ protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is\n\ + \ just a program that reads a CodeGeneratorRequest from stdin and writes a\n\ + \ CodeGeneratorResponse to stdout.\n\ + \\n\ + \ Plugins written using C++ can use google/protobuf/compiler/plugin.h instead\n\ + \ of dealing with the raw protocol defined here.\n\ + \\n\ + \ A plugin executable needs only to be placed somewhere in the path. The\n\ + \ plugin should be named \"protoc-gen-$NAME\", and will then be used when the\n\ + \ flag \"--${NAME}_out\" is passed to protoc.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX0\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX1\NUL5\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX1\NUL5\n\ + \\b\n\ + \\SOH\b\DC2\ETX2\NUL-\n\ + \\t\n\ + \\STX\b\b\DC2\ETX2\NUL-\n\ + \\b\n\ + \\SOH\b\DC2\ETX4\NUL@\n\ + \\t\n\ + \\STX\b\v\DC2\ETX4\NUL@\n\ + \\t\n\ + \\STX\ETX\NUL\DC2\ETX6\NUL*\n\ + \6\n\ + \\STX\EOT\NUL\DC2\EOT9\NUL@\SOH\SUB* The version number of protocol compiler.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX9\b\SI\n\ + \\v\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX:\STX\ESC\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX:\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX:\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX:\DC1\SYN\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX:\EM\SUB\n\ + \\v\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETX;\STX\ESC\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX;\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX;\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX;\DC1\SYN\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX;\EM\SUB\n\ + \\v\n\ + \\EOT\EOT\NUL\STX\STX\DC2\ETX<\STX\ESC\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX<\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX<\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX<\DC1\SYN\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX<\EM\SUB\n\ + \\128\SOH\n\ + \\EOT\EOT\NUL\STX\ETX\DC2\ETX?\STX\GS\SUBs A suffix for alpha, beta or rc release, e.g., \"alpha-1\", \"rc2\". It should\n\ + \ be empty for mainline stable releases.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\EOT\DC2\ETX?\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX?\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX?\DC2\CAN\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX?\ESC\FS\n\ + \O\n\ + \\STX\EOT\SOH\DC2\EOTC\NUL_\SOH\SUBC An encoded CodeGeneratorRequest is written to the plugin's stdin.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\SOH\SOH\DC2\ETXC\b\FS\n\ + \\209\SOH\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXG\STX'\SUB\195\SOH The .proto files that were explicitly listed on the command-line. The\n\ + \ code generator should generate code only for these files. Each file's\n\ + \ descriptor will be included in proto_file, below.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETXG\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXG\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXG\DC2\"\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXG%&\n\ + \B\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXJ\STX \SUB5 The generator parameter passed on the command-line.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETXJ\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXJ\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXJ\DC2\ESC\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXJ\RS\US\n\ + \\135\ACK\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXZ\STX/\SUB\249\ENQ FileDescriptorProtos for all files in files_to_generate and everything\n\ + \ they import. The files will appear in topological order, so each file\n\ + \ appears before any file that imports it.\n\ + \\n\ + \ protoc guarantees that all proto_files will be written after\n\ + \ the fields above, even though this is not technically guaranteed by the\n\ + \ protobuf wire format. This theoretically could allow a plugin to stream\n\ + \ in the FileDescriptorProtos and handle them one by one rather than read\n\ + \ the entire set into memory at once. However, as of this writing, this\n\ + \ is not similarly optimized on protoc's end -- it will store all fields in\n\ + \ memory at once before sending them to the plugin.\n\ + \\n\ + \ Type names of fields and extensions in the FileDescriptorProto are always\n\ + \ fully qualified.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXZ\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXZ\v\RS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXZ\US)\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXZ,.\n\ + \7\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETX]\STX(\SUB* The version number of protocol compiler.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETX]\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETX]\v\DC2\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX]\DC3#\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX]&'\n\ + \L\n\ + \\STX\EOT\STX\DC2\ENQb\NUL\182\SOH\SOH\SUB? The plugin writes an encoded CodeGeneratorResponse to stdout.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\STX\SOH\DC2\ETXb\b\GS\n\ + \\237\ETX\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETXk\STX\FS\SUB\223\ETX Error message. If non-empty, code generation failed. The plugin process\n\ + \ should exit with status code zero even if it reports an error in this way.\n\ + \\n\ + \ This should be used to indicate errors in .proto files which prevent the\n\ + \ code generator from generating correct code. Errors which indicate a\n\ + \ problem in protoc itself -- such as the input CodeGeneratorRequest being\n\ + \ unparseable -- should be reported by writing a message to stderr and\n\ + \ exiting with a non-zero status code.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETXk\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXk\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXk\DC2\ETB\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXk\SUB\ESC\n\ + \\137\SOH\n\ + \\EOT\EOT\STX\STX\SOH\DC2\ETXo\STX)\SUB| A bitmask of supported features that the code generator supports.\n\ + \ This is a bitwise \"or\" of values from the Feature enum.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXo\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXo\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXo\DC2$\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXo'(\n\ + \+\n\ + \\EOT\EOT\STX\EOT\NUL\DC2\EOTr\STXu\ETX\SUB\GS Sync with code_generator.h.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\EOT\NUL\SOH\DC2\ETXr\a\SO\n\ + \\r\n\ + \\ACK\EOT\STX\EOT\NUL\STX\NUL\DC2\ETXs\EOT\NAK\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\NUL\SOH\DC2\ETXs\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\NUL\STX\DC2\ETXs\DC3\DC4\n\ + \\r\n\ + \\ACK\EOT\STX\EOT\NUL\STX\SOH\DC2\ETXt\EOT \n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\SOH\SOH\DC2\ETXt\EOT\ESC\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\SOH\STX\DC2\ETXt\RS\US\n\ + \4\n\ + \\EOT\EOT\STX\ETX\NUL\DC2\ENQx\STX\180\SOH\ETX\SUB% Represents a single generated file.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXx\n\ + \\SO\n\ + \\174\ENQ\n\ + \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\EOT\132\SOH\EOT\GS\SUB\157\ENQ The file name, relative to the output directory. The name must not\n\ + \ contain \".\" or \"..\" components and must be relative, not be absolute (so,\n\ + \ the file cannot lie outside the output directory). \"/\" must be used as\n\ + \ the path separator, not \"\\\".\n\ + \\n\ + \ If the name is omitted, the content will be appended to the previous\n\ + \ file. This allows the generator to break large files into small chunks,\n\ + \ and allows the generated text to be streamed back to protoc so that large\n\ + \ files need not reside completely in memory at one time. Note that as of\n\ + \ this writing protoc does not optimize for this -- it will read the entire\n\ + \ CodeGeneratorResponse before writing files to disk.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\EOT\132\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\132\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\EOT\132\SOH\DC4\CAN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\EOT\132\SOH\ESC\FS\n\ + \\174\DLE\n\ + \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\171\SOH\EOT(\SUB\157\DLE If non-empty, indicates that the named file should already exist, and the\n\ + \ content here is to be inserted into that file at a defined insertion\n\ + \ point. This feature allows a code generator to extend the output\n\ + \ produced by another code generator. The original generator may provide\n\ + \ insertion points by placing special annotations in the file that look\n\ + \ like:\n\ + \ @@protoc_insertion_point(NAME)\n\ + \ The annotation can have arbitrary text before and after it on the line,\n\ + \ which allows it to be placed in a comment. NAME should be replaced with\n\ + \ an identifier naming the point -- this is what other generators will use\n\ + \ as the insertion_point. Code inserted at this point will be placed\n\ + \ immediately above the line containing the insertion point (thus multiple\n\ + \ insertions to the same point will come out in the order they were added).\n\ + \ The double-@ is intended to make it unlikely that the generated code\n\ + \ could contain things that look like insertion points by accident.\n\ + \\n\ + \ For example, the C++ code generator places the following line in the\n\ + \ .pb.h files that it generates:\n\ + \ // @@protoc_insertion_point(namespace_scope)\n\ + \ This line appears within the scope of the file's package namespace, but\n\ + \ outside of any particular class. Another plugin can then specify the\n\ + \ insertion_point \"namespace_scope\" to generate additional classes or\n\ + \ other declarations that should be placed in this scope.\n\ + \\n\ + \ Note that if the line containing the insertion point begins with\n\ + \ whitespace, the same whitespace will be added to every line of the\n\ + \ inserted text. This is useful for languages like Python, where\n\ + \ indentation matters. In these languages, the insertion point comment\n\ + \ should be indented the same amount as any inserted code will need to be\n\ + \ in order to work correctly in that context.\n\ + \\n\ + \ The code generator that generates the initial file and the one which\n\ + \ inserts into it must both run as part of a single invocation of protoc.\n\ + \ Code generators are executed in the order in which they appear on the\n\ + \ command line.\n\ + \\n\ + \ If |insertion_point| is present, |name| must also be present.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\171\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\171\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\171\SOH\DC4#\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\171\SOH&'\n\ + \$\n\ + \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\174\SOH\EOT!\SUB\DC4 The file contents.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\174\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ENQ\DC2\EOT\174\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\174\SOH\DC4\ESC\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\174\SOH\RS \n\ + \\225\SOH\n\ + \\ACK\EOT\STX\ETX\NUL\STX\ETX\DC2\EOT\179\SOH\EOT8\SUB\208\SOH Information describing the file content being inserted. If an insertion\n\ + \ point is used, this information will be appropriately offset and inserted\n\ + \ into the code generation metadata for the generated files.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\EOT\DC2\EOT\179\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\ACK\DC2\EOT\179\SOH\r\RS\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\SOH\DC2\EOT\179\SOH\US2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\ETX\DC2\EOT\179\SOH57\n\ + \\f\n\ + \\EOT\EOT\STX\STX\STX\DC2\EOT\181\SOH\STX\SUB\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\181\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\181\SOH\v\SI\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\181\SOH\DLE\DC4\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\181\SOH\ETB\EM" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs new file mode 100644 index 00000000..18300737 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs @@ -0,0 +1,207 @@ +{- This file was auto-generated from google/protobuf/compiler/plugin.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Compiler.Plugin_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +import qualified Proto.Google.Protobuf.Descriptor +compilerVersion :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "compilerVersion" a) => + Lens.Family2.LensLike' f s a +compilerVersion = Data.ProtoLens.Field.field @"compilerVersion" +content :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "content" a) => + Lens.Family2.LensLike' f s a +content = Data.ProtoLens.Field.field @"content" +error :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "error" a) => + Lens.Family2.LensLike' f s a +error = Data.ProtoLens.Field.field @"error" +file :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "file" a) => + Lens.Family2.LensLike' f s a +file = Data.ProtoLens.Field.field @"file" +fileToGenerate :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "fileToGenerate" a) => + Lens.Family2.LensLike' f s a +fileToGenerate = Data.ProtoLens.Field.field @"fileToGenerate" +generatedCodeInfo :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "generatedCodeInfo" a) => + Lens.Family2.LensLike' f s a +generatedCodeInfo = Data.ProtoLens.Field.field @"generatedCodeInfo" +insertionPoint :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "insertionPoint" a) => + Lens.Family2.LensLike' f s a +insertionPoint = Data.ProtoLens.Field.field @"insertionPoint" +major :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "major" a) => + Lens.Family2.LensLike' f s a +major = Data.ProtoLens.Field.field @"major" +maybe'compilerVersion :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'compilerVersion" a) => + Lens.Family2.LensLike' f s a +maybe'compilerVersion + = Data.ProtoLens.Field.field @"maybe'compilerVersion" +maybe'content :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'content" a) => + Lens.Family2.LensLike' f s a +maybe'content = Data.ProtoLens.Field.field @"maybe'content" +maybe'error :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'error" a) => + Lens.Family2.LensLike' f s a +maybe'error = Data.ProtoLens.Field.field @"maybe'error" +maybe'generatedCodeInfo :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'generatedCodeInfo" a) => + Lens.Family2.LensLike' f s a +maybe'generatedCodeInfo + = Data.ProtoLens.Field.field @"maybe'generatedCodeInfo" +maybe'insertionPoint :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'insertionPoint" a) => + Lens.Family2.LensLike' f s a +maybe'insertionPoint + = Data.ProtoLens.Field.field @"maybe'insertionPoint" +maybe'major :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'major" a) => + Lens.Family2.LensLike' f s a +maybe'major = Data.ProtoLens.Field.field @"maybe'major" +maybe'minor :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'minor" a) => + Lens.Family2.LensLike' f s a +maybe'minor = Data.ProtoLens.Field.field @"maybe'minor" +maybe'name :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'name" a) => + Lens.Family2.LensLike' f s a +maybe'name = Data.ProtoLens.Field.field @"maybe'name" +maybe'parameter :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'parameter" a) => + Lens.Family2.LensLike' f s a +maybe'parameter = Data.ProtoLens.Field.field @"maybe'parameter" +maybe'patch :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'patch" a) => + Lens.Family2.LensLike' f s a +maybe'patch = Data.ProtoLens.Field.field @"maybe'patch" +maybe'suffix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'suffix" a) => + Lens.Family2.LensLike' f s a +maybe'suffix = Data.ProtoLens.Field.field @"maybe'suffix" +maybe'supportedFeatures :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'supportedFeatures" a) => + Lens.Family2.LensLike' f s a +maybe'supportedFeatures + = Data.ProtoLens.Field.field @"maybe'supportedFeatures" +minor :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "minor" a) => + Lens.Family2.LensLike' f s a +minor = Data.ProtoLens.Field.field @"minor" +name :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) => + Lens.Family2.LensLike' f s a +name = Data.ProtoLens.Field.field @"name" +parameter :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "parameter" a) => + Lens.Family2.LensLike' f s a +parameter = Data.ProtoLens.Field.field @"parameter" +patch :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "patch" a) => + Lens.Family2.LensLike' f s a +patch = Data.ProtoLens.Field.field @"patch" +protoFile :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "protoFile" a) => + Lens.Family2.LensLike' f s a +protoFile = Data.ProtoLens.Field.field @"protoFile" +suffix :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "suffix" a) => + Lens.Family2.LensLike' f s a +suffix = Data.ProtoLens.Field.field @"suffix" +supportedFeatures :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "supportedFeatures" a) => + Lens.Family2.LensLike' f s a +supportedFeatures = Data.ProtoLens.Field.field @"supportedFeatures" +vec'file :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'file" a) => + Lens.Family2.LensLike' f s a +vec'file = Data.ProtoLens.Field.field @"vec'file" +vec'fileToGenerate :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'fileToGenerate" a) => + Lens.Family2.LensLike' f s a +vec'fileToGenerate + = Data.ProtoLens.Field.field @"vec'fileToGenerate" +vec'protoFile :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'protoFile" a) => + Lens.Family2.LensLike' f s a +vec'protoFile = Data.ProtoLens.Field.field @"vec'protoFile" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs new file mode 100644 index 00000000..5d6da512 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs @@ -0,0 +1,12745 @@ +{- This file was auto-generated from google/protobuf/descriptor.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Descriptor ( + DescriptorProto(), DescriptorProto'ExtensionRange(), + DescriptorProto'ReservedRange(), EnumDescriptorProto(), + EnumDescriptorProto'EnumReservedRange(), EnumOptions(), + EnumValueDescriptorProto(), EnumValueOptions(), + ExtensionRangeOptions(), FieldDescriptorProto(), + FieldDescriptorProto'Label(..), FieldDescriptorProto'Label(), + FieldDescriptorProto'Type(..), FieldDescriptorProto'Type(), + FieldOptions(), FieldOptions'CType(..), FieldOptions'CType(), + FieldOptions'JSType(..), FieldOptions'JSType(), + FileDescriptorProto(), FileDescriptorSet(), FileOptions(), + FileOptions'OptimizeMode(..), FileOptions'OptimizeMode(), + GeneratedCodeInfo(), GeneratedCodeInfo'Annotation(), + MessageOptions(), MethodDescriptorProto(), MethodOptions(), + MethodOptions'IdempotencyLevel(..), + MethodOptions'IdempotencyLevel(), OneofDescriptorProto(), + OneofOptions(), ServiceDescriptorProto(), ServiceOptions(), + SourceCodeInfo(), SourceCodeInfo'Location(), UninterpretedOption(), + UninterpretedOption'NamePart() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' DescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' DescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.field' @:: Lens' DescriptorProto [FieldDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'field' @:: Lens' DescriptorProto (Data.Vector.Vector FieldDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.extension' @:: Lens' DescriptorProto [FieldDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'extension' @:: Lens' DescriptorProto (Data.Vector.Vector FieldDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.nestedType' @:: Lens' DescriptorProto [DescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'nestedType' @:: Lens' DescriptorProto (Data.Vector.Vector DescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.enumType' @:: Lens' DescriptorProto [EnumDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'enumType' @:: Lens' DescriptorProto (Data.Vector.Vector EnumDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.extensionRange' @:: Lens' DescriptorProto [DescriptorProto'ExtensionRange]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'extensionRange' @:: Lens' DescriptorProto (Data.Vector.Vector DescriptorProto'ExtensionRange)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.oneofDecl' @:: Lens' DescriptorProto [OneofDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'oneofDecl' @:: Lens' DescriptorProto (Data.Vector.Vector OneofDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' DescriptorProto MessageOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' DescriptorProto (Prelude.Maybe MessageOptions)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.reservedRange' @:: Lens' DescriptorProto [DescriptorProto'ReservedRange]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'reservedRange' @:: Lens' DescriptorProto (Data.Vector.Vector DescriptorProto'ReservedRange)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.reservedName' @:: Lens' DescriptorProto [Data.Text.Text]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'reservedName' @:: Lens' DescriptorProto (Data.Vector.Vector Data.Text.Text)@ -} +data DescriptorProto + = DescriptorProto'_constructor {_DescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _DescriptorProto'field :: !(Data.Vector.Vector FieldDescriptorProto), + _DescriptorProto'extension :: !(Data.Vector.Vector FieldDescriptorProto), + _DescriptorProto'nestedType :: !(Data.Vector.Vector DescriptorProto), + _DescriptorProto'enumType :: !(Data.Vector.Vector EnumDescriptorProto), + _DescriptorProto'extensionRange :: !(Data.Vector.Vector DescriptorProto'ExtensionRange), + _DescriptorProto'oneofDecl :: !(Data.Vector.Vector OneofDescriptorProto), + _DescriptorProto'options :: !(Prelude.Maybe MessageOptions), + _DescriptorProto'reservedRange :: !(Data.Vector.Vector DescriptorProto'ReservedRange), + _DescriptorProto'reservedName :: !(Data.Vector.Vector Data.Text.Text), + _DescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show DescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField DescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'name + (\ x__ y__ -> x__ {_DescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField DescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'name + (\ x__ y__ -> x__ {_DescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "field" [FieldDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'field + (\ x__ y__ -> x__ {_DescriptorProto'field = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'field" (Data.Vector.Vector FieldDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'field + (\ x__ y__ -> x__ {_DescriptorProto'field = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "extension" [FieldDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'extension + (\ x__ y__ -> x__ {_DescriptorProto'extension = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'extension" (Data.Vector.Vector FieldDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'extension + (\ x__ y__ -> x__ {_DescriptorProto'extension = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "nestedType" [DescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'nestedType + (\ x__ y__ -> x__ {_DescriptorProto'nestedType = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'nestedType" (Data.Vector.Vector DescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'nestedType + (\ x__ y__ -> x__ {_DescriptorProto'nestedType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "enumType" [EnumDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'enumType + (\ x__ y__ -> x__ {_DescriptorProto'enumType = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'enumType" (Data.Vector.Vector EnumDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'enumType + (\ x__ y__ -> x__ {_DescriptorProto'enumType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "extensionRange" [DescriptorProto'ExtensionRange] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'extensionRange + (\ x__ y__ -> x__ {_DescriptorProto'extensionRange = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'extensionRange" (Data.Vector.Vector DescriptorProto'ExtensionRange) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'extensionRange + (\ x__ y__ -> x__ {_DescriptorProto'extensionRange = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "oneofDecl" [OneofDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'oneofDecl + (\ x__ y__ -> x__ {_DescriptorProto'oneofDecl = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'oneofDecl" (Data.Vector.Vector OneofDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'oneofDecl + (\ x__ y__ -> x__ {_DescriptorProto'oneofDecl = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "options" MessageOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'options + (\ x__ y__ -> x__ {_DescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField DescriptorProto "maybe'options" (Prelude.Maybe MessageOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'options + (\ x__ y__ -> x__ {_DescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "reservedRange" [DescriptorProto'ReservedRange] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'reservedRange + (\ x__ y__ -> x__ {_DescriptorProto'reservedRange = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'reservedRange" (Data.Vector.Vector DescriptorProto'ReservedRange) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'reservedRange + (\ x__ y__ -> x__ {_DescriptorProto'reservedRange = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto "reservedName" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'reservedName + (\ x__ y__ -> x__ {_DescriptorProto'reservedName = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField DescriptorProto "vec'reservedName" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'reservedName + (\ x__ y__ -> x__ {_DescriptorProto'reservedName = y__})) + Prelude.id +instance Data.ProtoLens.Message DescriptorProto where + messageName _ = Data.Text.pack "google.protobuf.DescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\SIDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2;\n\ + \\ENQfield\CAN\STX \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\ENQfield\DC2C\n\ + \\textension\CAN\ACK \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC2A\n\ + \\vnested_type\CAN\ETX \ETX(\v2 .google.protobuf.DescriptorProtoR\n\ + \nestedType\DC2A\n\ + \\tenum_type\CAN\EOT \ETX(\v2$.google.protobuf.EnumDescriptorProtoR\benumType\DC2X\n\ + \\SIextension_range\CAN\ENQ \ETX(\v2/.google.protobuf.DescriptorProto.ExtensionRangeR\SOextensionRange\DC2D\n\ + \\n\ + \oneof_decl\CAN\b \ETX(\v2%.google.protobuf.OneofDescriptorProtoR\toneofDecl\DC29\n\ + \\aoptions\CAN\a \SOH(\v2\US.google.protobuf.MessageOptionsR\aoptions\DC2U\n\ + \\SOreserved_range\CAN\t \ETX(\v2..google.protobuf.DescriptorProto.ReservedRangeR\rreservedRange\DC2#\n\ + \\rreserved_name\CAN\n\ + \ \ETX(\tR\freservedName\SUBz\n\ + \\SOExtensionRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\DC2@\n\ + \\aoptions\CAN\ETX \SOH(\v2&.google.protobuf.ExtensionRangeOptionsR\aoptions\SUB7\n\ + \\rReservedRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + field__field_descriptor + = Data.ProtoLens.FieldDescriptor + "field" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"field")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + extension__field_descriptor + = Data.ProtoLens.FieldDescriptor + "extension" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"extension")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + nestedType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "nested_type" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor DescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"nestedType")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + enumType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "enum_type" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"enumType")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + extensionRange__field_descriptor + = Data.ProtoLens.FieldDescriptor + "extension_range" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor DescriptorProto'ExtensionRange) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"extensionRange")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + oneofDecl__field_descriptor + = Data.ProtoLens.FieldDescriptor + "oneof_decl" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor OneofDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"oneofDecl")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor MessageOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + reservedRange__field_descriptor + = Data.ProtoLens.FieldDescriptor + "reserved_range" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor DescriptorProto'ReservedRange) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"reservedRange")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + reservedName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "reserved_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"reservedName")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, field__field_descriptor), + (Data.ProtoLens.Tag 6, extension__field_descriptor), + (Data.ProtoLens.Tag 3, nestedType__field_descriptor), + (Data.ProtoLens.Tag 4, enumType__field_descriptor), + (Data.ProtoLens.Tag 5, extensionRange__field_descriptor), + (Data.ProtoLens.Tag 8, oneofDecl__field_descriptor), + (Data.ProtoLens.Tag 7, options__field_descriptor), + (Data.ProtoLens.Tag 9, reservedRange__field_descriptor), + (Data.ProtoLens.Tag 10, reservedName__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _DescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_DescriptorProto'_unknownFields = y__}) + defMessage + = DescriptorProto'_constructor + {_DescriptorProto'name = Prelude.Nothing, + _DescriptorProto'field = Data.Vector.Generic.empty, + _DescriptorProto'extension = Data.Vector.Generic.empty, + _DescriptorProto'nestedType = Data.Vector.Generic.empty, + _DescriptorProto'enumType = Data.Vector.Generic.empty, + _DescriptorProto'extensionRange = Data.Vector.Generic.empty, + _DescriptorProto'oneofDecl = Data.Vector.Generic.empty, + _DescriptorProto'options = Prelude.Nothing, + _DescriptorProto'reservedRange = Data.Vector.Generic.empty, + _DescriptorProto'reservedName = Data.Vector.Generic.empty, + _DescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + DescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld EnumDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld DescriptorProto'ExtensionRange + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld DescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld OneofDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld DescriptorProto'ReservedRange + -> Data.ProtoLens.Encoding.Bytes.Parser DescriptorProto + loop + x + mutable'enumType + mutable'extension + mutable'extensionRange + mutable'field + mutable'nestedType + mutable'oneofDecl + mutable'reservedName + mutable'reservedRange + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'enumType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'enumType) + frozen'extension <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'extension) + frozen'extensionRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'extensionRange) + frozen'field <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'field) + frozen'nestedType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'nestedType) + frozen'oneofDecl <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'oneofDecl) + frozen'reservedName <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'reservedName) + frozen'reservedRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'reservedRange) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'enumType") frozen'enumType + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'extension") frozen'extension + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'extensionRange") + frozen'extensionRange + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'field") frozen'field + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'nestedType") + frozen'nestedType + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'oneofDecl") + frozen'oneofDecl + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'reservedName") + frozen'reservedName + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'reservedRange") + frozen'reservedRange x))))))))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName mutable'reservedRange + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "field" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'field y) + loop + x mutable'enumType mutable'extension mutable'extensionRange v + mutable'nestedType mutable'oneofDecl mutable'reservedName + mutable'reservedRange + 50 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "extension" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'extension y) + loop + x mutable'enumType v mutable'extensionRange mutable'field + mutable'nestedType mutable'oneofDecl mutable'reservedName + mutable'reservedRange + 26 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "nested_type" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'nestedType y) + loop + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field v mutable'oneofDecl mutable'reservedName + mutable'reservedRange + 34 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "enum_type" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'enumType y) + loop + x v mutable'extension mutable'extensionRange mutable'field + mutable'nestedType mutable'oneofDecl mutable'reservedName + mutable'reservedRange + 42 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "extension_range" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'extensionRange y) + loop + x mutable'enumType mutable'extension v mutable'field + mutable'nestedType mutable'oneofDecl mutable'reservedName + mutable'reservedRange + 66 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "oneof_decl" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'oneofDecl y) + loop + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType v mutable'reservedName + mutable'reservedRange + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName mutable'reservedRange + 74 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "reserved_range" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'reservedRange y) + loop + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName v + 82 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "reserved_name" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'reservedName y) + loop + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl v + mutable'reservedRange + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName mutable'reservedRange + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'enumType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'extension <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'extensionRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'field <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'nestedType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'oneofDecl <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'reservedName <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'reservedRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'enumType mutable'extension + mutable'extensionRange mutable'field mutable'nestedType + mutable'oneofDecl mutable'reservedName mutable'reservedRange) + "DescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'field") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'extension") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'nestedType") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'enumType") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 42) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'extensionRange") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 66) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'oneofDecl") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 74) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'reservedRange") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 82) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'reservedName") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x))))))))))) +instance Control.DeepSeq.NFData DescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_DescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'field x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'extension x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'nestedType x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'enumType x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'extensionRange x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'oneofDecl x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'options x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'reservedRange x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'reservedName x__) ())))))))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.start' @:: Lens' DescriptorProto'ExtensionRange Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'start' @:: Lens' DescriptorProto'ExtensionRange (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.end' @:: Lens' DescriptorProto'ExtensionRange Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' DescriptorProto'ExtensionRange (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' DescriptorProto'ExtensionRange ExtensionRangeOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' DescriptorProto'ExtensionRange (Prelude.Maybe ExtensionRangeOptions)@ -} +data DescriptorProto'ExtensionRange + = DescriptorProto'ExtensionRange'_constructor {_DescriptorProto'ExtensionRange'start :: !(Prelude.Maybe Data.Int.Int32), + _DescriptorProto'ExtensionRange'end :: !(Prelude.Maybe Data.Int.Int32), + _DescriptorProto'ExtensionRange'options :: !(Prelude.Maybe ExtensionRangeOptions), + _DescriptorProto'ExtensionRange'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show DescriptorProto'ExtensionRange where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField DescriptorProto'ExtensionRange "start" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'start + (\ x__ y__ -> x__ {_DescriptorProto'ExtensionRange'start = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField DescriptorProto'ExtensionRange "maybe'start" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'start + (\ x__ y__ -> x__ {_DescriptorProto'ExtensionRange'start = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto'ExtensionRange "end" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'end + (\ x__ y__ -> x__ {_DescriptorProto'ExtensionRange'end = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField DescriptorProto'ExtensionRange "maybe'end" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'end + (\ x__ y__ -> x__ {_DescriptorProto'ExtensionRange'end = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto'ExtensionRange "options" ExtensionRangeOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'options + (\ x__ y__ -> x__ {_DescriptorProto'ExtensionRange'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField DescriptorProto'ExtensionRange "maybe'options" (Prelude.Maybe ExtensionRangeOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'options + (\ x__ y__ -> x__ {_DescriptorProto'ExtensionRange'options = y__})) + Prelude.id +instance Data.ProtoLens.Message DescriptorProto'ExtensionRange where + messageName _ + = Data.Text.pack "google.protobuf.DescriptorProto.ExtensionRange" + packedMessageDescriptor _ + = "\n\ + \\SOExtensionRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\DC2@\n\ + \\aoptions\CAN\ETX \SOH(\v2&.google.protobuf.ExtensionRangeOptionsR\aoptions" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + start__field_descriptor + = Data.ProtoLens.FieldDescriptor + "start" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'start")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto'ExtensionRange + end__field_descriptor + = Data.ProtoLens.FieldDescriptor + "end" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'end")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto'ExtensionRange + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor ExtensionRangeOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto'ExtensionRange + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, start__field_descriptor), + (Data.ProtoLens.Tag 2, end__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _DescriptorProto'ExtensionRange'_unknownFields + (\ x__ y__ + -> x__ {_DescriptorProto'ExtensionRange'_unknownFields = y__}) + defMessage + = DescriptorProto'ExtensionRange'_constructor + {_DescriptorProto'ExtensionRange'start = Prelude.Nothing, + _DescriptorProto'ExtensionRange'end = Prelude.Nothing, + _DescriptorProto'ExtensionRange'options = Prelude.Nothing, + _DescriptorProto'ExtensionRange'_unknownFields = []} + parseMessage + = let + loop :: + DescriptorProto'ExtensionRange + -> Data.ProtoLens.Encoding.Bytes.Parser DescriptorProto'ExtensionRange + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "start" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"start") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "end" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x) + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "ExtensionRange" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'start") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'end") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData DescriptorProto'ExtensionRange where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_DescriptorProto'ExtensionRange'_unknownFields x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'ExtensionRange'start x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'ExtensionRange'end x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'ExtensionRange'options x__) ()))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.start' @:: Lens' DescriptorProto'ReservedRange Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'start' @:: Lens' DescriptorProto'ReservedRange (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.end' @:: Lens' DescriptorProto'ReservedRange Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' DescriptorProto'ReservedRange (Prelude.Maybe Data.Int.Int32)@ -} +data DescriptorProto'ReservedRange + = DescriptorProto'ReservedRange'_constructor {_DescriptorProto'ReservedRange'start :: !(Prelude.Maybe Data.Int.Int32), + _DescriptorProto'ReservedRange'end :: !(Prelude.Maybe Data.Int.Int32), + _DescriptorProto'ReservedRange'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show DescriptorProto'ReservedRange where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField DescriptorProto'ReservedRange "start" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ReservedRange'start + (\ x__ y__ -> x__ {_DescriptorProto'ReservedRange'start = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField DescriptorProto'ReservedRange "maybe'start" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ReservedRange'start + (\ x__ y__ -> x__ {_DescriptorProto'ReservedRange'start = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField DescriptorProto'ReservedRange "end" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ReservedRange'end + (\ x__ y__ -> x__ {_DescriptorProto'ReservedRange'end = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField DescriptorProto'ReservedRange "maybe'end" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DescriptorProto'ReservedRange'end + (\ x__ y__ -> x__ {_DescriptorProto'ReservedRange'end = y__})) + Prelude.id +instance Data.ProtoLens.Message DescriptorProto'ReservedRange where + messageName _ + = Data.Text.pack "google.protobuf.DescriptorProto.ReservedRange" + packedMessageDescriptor _ + = "\n\ + \\rReservedRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + start__field_descriptor + = Data.ProtoLens.FieldDescriptor + "start" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'start")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto'ReservedRange + end__field_descriptor + = Data.ProtoLens.FieldDescriptor + "end" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'end")) :: + Data.ProtoLens.FieldDescriptor DescriptorProto'ReservedRange + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, start__field_descriptor), + (Data.ProtoLens.Tag 2, end__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _DescriptorProto'ReservedRange'_unknownFields + (\ x__ y__ + -> x__ {_DescriptorProto'ReservedRange'_unknownFields = y__}) + defMessage + = DescriptorProto'ReservedRange'_constructor + {_DescriptorProto'ReservedRange'start = Prelude.Nothing, + _DescriptorProto'ReservedRange'end = Prelude.Nothing, + _DescriptorProto'ReservedRange'_unknownFields = []} + parseMessage + = let + loop :: + DescriptorProto'ReservedRange + -> Data.ProtoLens.Encoding.Bytes.Parser DescriptorProto'ReservedRange + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "start" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"start") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "end" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "ReservedRange" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'start") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'end") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData DescriptorProto'ReservedRange where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_DescriptorProto'ReservedRange'_unknownFields x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'ReservedRange'start x__) + (Control.DeepSeq.deepseq + (_DescriptorProto'ReservedRange'end x__) ())) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' EnumDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' EnumDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.value' @:: Lens' EnumDescriptorProto [EnumValueDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'value' @:: Lens' EnumDescriptorProto (Data.Vector.Vector EnumValueDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' EnumDescriptorProto EnumOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' EnumDescriptorProto (Prelude.Maybe EnumOptions)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.reservedRange' @:: Lens' EnumDescriptorProto [EnumDescriptorProto'EnumReservedRange]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'reservedRange' @:: Lens' EnumDescriptorProto (Data.Vector.Vector EnumDescriptorProto'EnumReservedRange)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.reservedName' @:: Lens' EnumDescriptorProto [Data.Text.Text]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'reservedName' @:: Lens' EnumDescriptorProto (Data.Vector.Vector Data.Text.Text)@ -} +data EnumDescriptorProto + = EnumDescriptorProto'_constructor {_EnumDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _EnumDescriptorProto'value :: !(Data.Vector.Vector EnumValueDescriptorProto), + _EnumDescriptorProto'options :: !(Prelude.Maybe EnumOptions), + _EnumDescriptorProto'reservedRange :: !(Data.Vector.Vector EnumDescriptorProto'EnumReservedRange), + _EnumDescriptorProto'reservedName :: !(Data.Vector.Vector Data.Text.Text), + _EnumDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show EnumDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'name + (\ x__ y__ -> x__ {_EnumDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'name + (\ x__ y__ -> x__ {_EnumDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "value" [EnumValueDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'value + (\ x__ y__ -> x__ {_EnumDescriptorProto'value = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "vec'value" (Data.Vector.Vector EnumValueDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'value + (\ x__ y__ -> x__ {_EnumDescriptorProto'value = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "options" EnumOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'options + (\ x__ y__ -> x__ {_EnumDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "maybe'options" (Prelude.Maybe EnumOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'options + (\ x__ y__ -> x__ {_EnumDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "reservedRange" [EnumDescriptorProto'EnumReservedRange] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'reservedRange + (\ x__ y__ -> x__ {_EnumDescriptorProto'reservedRange = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "vec'reservedRange" (Data.Vector.Vector EnumDescriptorProto'EnumReservedRange) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'reservedRange + (\ x__ y__ -> x__ {_EnumDescriptorProto'reservedRange = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "reservedName" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'reservedName + (\ x__ y__ -> x__ {_EnumDescriptorProto'reservedName = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto "vec'reservedName" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'reservedName + (\ x__ y__ -> x__ {_EnumDescriptorProto'reservedName = y__})) + Prelude.id +instance Data.ProtoLens.Message EnumDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.EnumDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\DC3EnumDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2?\n\ + \\ENQvalue\CAN\STX \ETX(\v2).google.protobuf.EnumValueDescriptorProtoR\ENQvalue\DC26\n\ + \\aoptions\CAN\ETX \SOH(\v2\FS.google.protobuf.EnumOptionsR\aoptions\DC2]\n\ + \\SOreserved_range\CAN\EOT \ETX(\v26.google.protobuf.EnumDescriptorProto.EnumReservedRangeR\rreservedRange\DC2#\n\ + \\rreserved_name\CAN\ENQ \ETX(\tR\freservedName\SUB;\n\ + \\DC1EnumReservedRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumValueDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto + reservedRange__field_descriptor + = Data.ProtoLens.FieldDescriptor + "reserved_range" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumDescriptorProto'EnumReservedRange) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"reservedRange")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto + reservedName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "reserved_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"reservedName")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, value__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor), + (Data.ProtoLens.Tag 4, reservedRange__field_descriptor), + (Data.ProtoLens.Tag 5, reservedName__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _EnumDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_EnumDescriptorProto'_unknownFields = y__}) + defMessage + = EnumDescriptorProto'_constructor + {_EnumDescriptorProto'name = Prelude.Nothing, + _EnumDescriptorProto'value = Data.Vector.Generic.empty, + _EnumDescriptorProto'options = Prelude.Nothing, + _EnumDescriptorProto'reservedRange = Data.Vector.Generic.empty, + _EnumDescriptorProto'reservedName = Data.Vector.Generic.empty, + _EnumDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + EnumDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld EnumDescriptorProto'EnumReservedRange + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld EnumValueDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser EnumDescriptorProto + loop x mutable'reservedName mutable'reservedRange mutable'value + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'reservedName <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'reservedName) + frozen'reservedRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'reservedRange) + frozen'value <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'value) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'reservedName") + frozen'reservedName + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'reservedRange") + frozen'reservedRange + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'value") frozen'value x)))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'reservedName mutable'reservedRange mutable'value + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "value" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'value y) + loop x mutable'reservedName mutable'reservedRange v + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + mutable'reservedName mutable'reservedRange mutable'value + 34 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "reserved_range" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'reservedRange y) + loop x mutable'reservedName v mutable'value + 42 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "reserved_name" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'reservedName y) + loop x v mutable'reservedRange mutable'value + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'reservedName mutable'reservedRange mutable'value + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'reservedName <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'reservedRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'value <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'reservedName + mutable'reservedRange mutable'value) + "EnumDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'value") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'reservedRange") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 42) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'reservedName") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData EnumDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_EnumDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'value x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'options x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'reservedRange x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'reservedName x__) ()))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.start' @:: Lens' EnumDescriptorProto'EnumReservedRange Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'start' @:: Lens' EnumDescriptorProto'EnumReservedRange (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.end' @:: Lens' EnumDescriptorProto'EnumReservedRange Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' EnumDescriptorProto'EnumReservedRange (Prelude.Maybe Data.Int.Int32)@ -} +data EnumDescriptorProto'EnumReservedRange + = EnumDescriptorProto'EnumReservedRange'_constructor {_EnumDescriptorProto'EnumReservedRange'start :: !(Prelude.Maybe Data.Int.Int32), + _EnumDescriptorProto'EnumReservedRange'end :: !(Prelude.Maybe Data.Int.Int32), + _EnumDescriptorProto'EnumReservedRange'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show EnumDescriptorProto'EnumReservedRange where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto'EnumReservedRange "start" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'EnumReservedRange'start + (\ x__ y__ + -> x__ {_EnumDescriptorProto'EnumReservedRange'start = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto'EnumReservedRange "maybe'start" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'EnumReservedRange'start + (\ x__ y__ + -> x__ {_EnumDescriptorProto'EnumReservedRange'start = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumDescriptorProto'EnumReservedRange "end" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'EnumReservedRange'end + (\ x__ y__ + -> x__ {_EnumDescriptorProto'EnumReservedRange'end = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumDescriptorProto'EnumReservedRange "maybe'end" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumDescriptorProto'EnumReservedRange'end + (\ x__ y__ + -> x__ {_EnumDescriptorProto'EnumReservedRange'end = y__})) + Prelude.id +instance Data.ProtoLens.Message EnumDescriptorProto'EnumReservedRange where + messageName _ + = Data.Text.pack + "google.protobuf.EnumDescriptorProto.EnumReservedRange" + packedMessageDescriptor _ + = "\n\ + \\DC1EnumReservedRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + start__field_descriptor + = Data.ProtoLens.FieldDescriptor + "start" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'start")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto'EnumReservedRange + end__field_descriptor + = Data.ProtoLens.FieldDescriptor + "end" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'end")) :: + Data.ProtoLens.FieldDescriptor EnumDescriptorProto'EnumReservedRange + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, start__field_descriptor), + (Data.ProtoLens.Tag 2, end__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _EnumDescriptorProto'EnumReservedRange'_unknownFields + (\ x__ y__ + -> x__ + {_EnumDescriptorProto'EnumReservedRange'_unknownFields = y__}) + defMessage + = EnumDescriptorProto'EnumReservedRange'_constructor + {_EnumDescriptorProto'EnumReservedRange'start = Prelude.Nothing, + _EnumDescriptorProto'EnumReservedRange'end = Prelude.Nothing, + _EnumDescriptorProto'EnumReservedRange'_unknownFields = []} + parseMessage + = let + loop :: + EnumDescriptorProto'EnumReservedRange + -> Data.ProtoLens.Encoding.Bytes.Parser EnumDescriptorProto'EnumReservedRange + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "start" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"start") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "end" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "EnumReservedRange" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'start") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'end") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData EnumDescriptorProto'EnumReservedRange where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_EnumDescriptorProto'EnumReservedRange'_unknownFields x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'EnumReservedRange'start x__) + (Control.DeepSeq.deepseq + (_EnumDescriptorProto'EnumReservedRange'end x__) ())) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.allowAlias' @:: Lens' EnumOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'allowAlias' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' EnumOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' EnumOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' EnumOptions (Data.Vector.Vector UninterpretedOption)@ -} +data EnumOptions + = EnumOptions'_constructor {_EnumOptions'allowAlias :: !(Prelude.Maybe Prelude.Bool), + _EnumOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _EnumOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _EnumOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show EnumOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField EnumOptions "allowAlias" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'allowAlias + (\ x__ y__ -> x__ {_EnumOptions'allowAlias = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumOptions "maybe'allowAlias" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'allowAlias + (\ x__ y__ -> x__ {_EnumOptions'allowAlias = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'deprecated + (\ x__ y__ -> x__ {_EnumOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField EnumOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'deprecated + (\ x__ y__ -> x__ {_EnumOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'uninterpretedOption + (\ x__ y__ -> x__ {_EnumOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField EnumOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'uninterpretedOption + (\ x__ y__ -> x__ {_EnumOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message EnumOptions where + messageName _ = Data.Text.pack "google.protobuf.EnumOptions" + packedMessageDescriptor _ + = "\n\ + \\vEnumOptions\DC2\US\n\ + \\vallow_alias\CAN\STX \SOH(\bR\n\ + \allowAlias\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + allowAlias__field_descriptor + = Data.ProtoLens.FieldDescriptor + "allow_alias" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'allowAlias")) :: + Data.ProtoLens.FieldDescriptor EnumOptions + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor EnumOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor EnumOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 2, allowAlias__field_descriptor), + (Data.ProtoLens.Tag 3, deprecated__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _EnumOptions'_unknownFields + (\ x__ y__ -> x__ {_EnumOptions'_unknownFields = y__}) + defMessage + = EnumOptions'_constructor + {_EnumOptions'allowAlias = Prelude.Nothing, + _EnumOptions'deprecated = Prelude.Nothing, + _EnumOptions'uninterpretedOption = Data.Vector.Generic.empty, + _EnumOptions'_unknownFields = []} + parseMessage + = let + loop :: + EnumOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser EnumOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "allow_alias" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"allowAlias") y x) + mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "EnumOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'allowAlias") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData EnumOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_EnumOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_EnumOptions'allowAlias x__) + (Control.DeepSeq.deepseq + (_EnumOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_EnumOptions'uninterpretedOption x__) ()))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' EnumValueDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' EnumValueDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.number' @:: Lens' EnumValueDescriptorProto Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'number' @:: Lens' EnumValueDescriptorProto (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' EnumValueDescriptorProto EnumValueOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' EnumValueDescriptorProto (Prelude.Maybe EnumValueOptions)@ -} +data EnumValueDescriptorProto + = EnumValueDescriptorProto'_constructor {_EnumValueDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _EnumValueDescriptorProto'number :: !(Prelude.Maybe Data.Int.Int32), + _EnumValueDescriptorProto'options :: !(Prelude.Maybe EnumValueOptions), + _EnumValueDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show EnumValueDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField EnumValueDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'name + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumValueDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'name + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueDescriptorProto "number" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'number + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'number = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumValueDescriptorProto "maybe'number" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'number + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'number = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueDescriptorProto "options" EnumValueOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'options + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField EnumValueDescriptorProto "maybe'options" (Prelude.Maybe EnumValueOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'options + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Message EnumValueDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.EnumValueDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\CANEnumValueDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\STX \SOH(\ENQR\ACKnumber\DC2;\n\ + \\aoptions\CAN\ETX \SOH(\v2!.google.protobuf.EnumValueOptionsR\aoptions" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor EnumValueDescriptorProto + number__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'number")) :: + Data.ProtoLens.FieldDescriptor EnumValueDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumValueOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor EnumValueDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, number__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _EnumValueDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_EnumValueDescriptorProto'_unknownFields = y__}) + defMessage + = EnumValueDescriptorProto'_constructor + {_EnumValueDescriptorProto'name = Prelude.Nothing, + _EnumValueDescriptorProto'number = Prelude.Nothing, + _EnumValueDescriptorProto'options = Prelude.Nothing, + _EnumValueDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + EnumValueDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser EnumValueDescriptorProto + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "number" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "EnumValueDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData EnumValueDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_EnumValueDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_EnumValueDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_EnumValueDescriptorProto'number x__) + (Control.DeepSeq.deepseq + (_EnumValueDescriptorProto'options x__) ()))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' EnumValueOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' EnumValueOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' EnumValueOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' EnumValueOptions (Data.Vector.Vector UninterpretedOption)@ -} +data EnumValueOptions + = EnumValueOptions'_constructor {_EnumValueOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _EnumValueOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _EnumValueOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show EnumValueOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField EnumValueOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'deprecated + (\ x__ y__ -> x__ {_EnumValueOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'deprecated + (\ x__ y__ -> x__ {_EnumValueOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'uninterpretedOption + (\ x__ y__ -> x__ {_EnumValueOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField EnumValueOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'uninterpretedOption + (\ x__ y__ -> x__ {_EnumValueOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message EnumValueOptions where + messageName _ = Data.Text.pack "google.protobuf.EnumValueOptions" + packedMessageDescriptor _ + = "\n\ + \\DLEEnumValueOptions\DC2%\n\ + \\n\ + \deprecated\CAN\SOH \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor EnumValueOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor EnumValueOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, deprecated__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _EnumValueOptions'_unknownFields + (\ x__ y__ -> x__ {_EnumValueOptions'_unknownFields = y__}) + defMessage + = EnumValueOptions'_constructor + {_EnumValueOptions'deprecated = Prelude.Nothing, + _EnumValueOptions'uninterpretedOption = Data.Vector.Generic.empty, + _EnumValueOptions'_unknownFields = []} + parseMessage + = let + loop :: + EnumValueOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser EnumValueOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "EnumValueOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData EnumValueOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_EnumValueOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_EnumValueOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_EnumValueOptions'uninterpretedOption x__) ())) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' ExtensionRangeOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector UninterpretedOption)@ -} +data ExtensionRangeOptions + = ExtensionRangeOptions'_constructor {_ExtensionRangeOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _ExtensionRangeOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show ExtensionRangeOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'uninterpretedOption + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'uninterpretedOption + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message ExtensionRangeOptions where + messageName _ + = Data.Text.pack "google.protobuf.ExtensionRangeOptions" + packedMessageDescriptor _ + = "\n\ + \\NAKExtensionRangeOptions\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'_unknownFields + (\ x__ y__ -> x__ {_ExtensionRangeOptions'_unknownFields = y__}) + defMessage + = ExtensionRangeOptions'_constructor + {_ExtensionRangeOptions'uninterpretedOption = Data.Vector.Generic.empty, + _ExtensionRangeOptions'_unknownFields = []} + parseMessage + = let + loop :: + ExtensionRangeOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "ExtensionRangeOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData ExtensionRangeOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_ExtensionRangeOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'uninterpretedOption x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.number' @:: Lens' FieldDescriptorProto Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'number' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.label' @:: Lens' FieldDescriptorProto FieldDescriptorProto'Label@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'label' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldDescriptorProto'Label)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.type'' @:: Lens' FieldDescriptorProto FieldDescriptorProto'Type@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'type'' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldDescriptorProto'Type)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.typeName' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'typeName' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.extendee' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'extendee' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.defaultValue' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'defaultValue' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.oneofIndex' @:: Lens' FieldDescriptorProto Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'oneofIndex' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.jsonName' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jsonName' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' FieldDescriptorProto FieldOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldOptions)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.proto3Optional' @:: Lens' FieldDescriptorProto Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'proto3Optional' @:: Lens' FieldDescriptorProto (Prelude.Maybe Prelude.Bool)@ -} +data FieldDescriptorProto + = FieldDescriptorProto'_constructor {_FieldDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'number :: !(Prelude.Maybe Data.Int.Int32), + _FieldDescriptorProto'label :: !(Prelude.Maybe FieldDescriptorProto'Label), + _FieldDescriptorProto'type' :: !(Prelude.Maybe FieldDescriptorProto'Type), + _FieldDescriptorProto'typeName :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'extendee :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'defaultValue :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'oneofIndex :: !(Prelude.Maybe Data.Int.Int32), + _FieldDescriptorProto'jsonName :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'options :: !(Prelude.Maybe FieldOptions), + _FieldDescriptorProto'proto3Optional :: !(Prelude.Maybe Prelude.Bool), + _FieldDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'name + (\ x__ y__ -> x__ {_FieldDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'name + (\ x__ y__ -> x__ {_FieldDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "number" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'number + (\ x__ y__ -> x__ {_FieldDescriptorProto'number = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'number" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'number + (\ x__ y__ -> x__ {_FieldDescriptorProto'number = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "label" FieldDescriptorProto'Label where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'label + (\ x__ y__ -> x__ {_FieldDescriptorProto'label = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'label" (Prelude.Maybe FieldDescriptorProto'Label) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'label + (\ x__ y__ -> x__ {_FieldDescriptorProto'label = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "type'" FieldDescriptorProto'Type where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'type' + (\ x__ y__ -> x__ {_FieldDescriptorProto'type' = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'type'" (Prelude.Maybe FieldDescriptorProto'Type) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'type' + (\ x__ y__ -> x__ {_FieldDescriptorProto'type' = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "typeName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'typeName + (\ x__ y__ -> x__ {_FieldDescriptorProto'typeName = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'typeName" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'typeName + (\ x__ y__ -> x__ {_FieldDescriptorProto'typeName = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "extendee" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'extendee + (\ x__ y__ -> x__ {_FieldDescriptorProto'extendee = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'extendee" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'extendee + (\ x__ y__ -> x__ {_FieldDescriptorProto'extendee = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "defaultValue" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'defaultValue + (\ x__ y__ -> x__ {_FieldDescriptorProto'defaultValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'defaultValue" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'defaultValue + (\ x__ y__ -> x__ {_FieldDescriptorProto'defaultValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "oneofIndex" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'oneofIndex + (\ x__ y__ -> x__ {_FieldDescriptorProto'oneofIndex = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'oneofIndex" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'oneofIndex + (\ x__ y__ -> x__ {_FieldDescriptorProto'oneofIndex = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "jsonName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'jsonName + (\ x__ y__ -> x__ {_FieldDescriptorProto'jsonName = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'jsonName" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'jsonName + (\ x__ y__ -> x__ {_FieldDescriptorProto'jsonName = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "options" FieldOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'options + (\ x__ y__ -> x__ {_FieldDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'options" (Prelude.Maybe FieldOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'options + (\ x__ y__ -> x__ {_FieldDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "proto3Optional" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'proto3Optional + (\ x__ y__ -> x__ {_FieldDescriptorProto'proto3Optional = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'proto3Optional" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'proto3Optional + (\ x__ y__ -> x__ {_FieldDescriptorProto'proto3Optional = y__})) + Prelude.id +instance Data.ProtoLens.Message FieldDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.FieldDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\DC4FieldDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2A\n\ + \\ENQlabel\CAN\EOT \SOH(\SO2+.google.protobuf.FieldDescriptorProto.LabelR\ENQlabel\DC2>\n\ + \\EOTtype\CAN\ENQ \SOH(\SO2*.google.protobuf.FieldDescriptorProto.TypeR\EOTtype\DC2\ESC\n\ + \\ttype_name\CAN\ACK \SOH(\tR\btypeName\DC2\SUB\n\ + \\bextendee\CAN\STX \SOH(\tR\bextendee\DC2#\n\ + \\rdefault_value\CAN\a \SOH(\tR\fdefaultValue\DC2\US\n\ + \\voneof_index\CAN\t \SOH(\ENQR\n\ + \oneofIndex\DC2\ESC\n\ + \\tjson_name\CAN\n\ + \ \SOH(\tR\bjsonName\DC27\n\ + \\aoptions\CAN\b \SOH(\v2\GS.google.protobuf.FieldOptionsR\aoptions\DC2'\n\ + \\SIproto3_optional\CAN\DC1 \SOH(\bR\SOproto3Optional\"\182\STX\n\ + \\EOTType\DC2\SI\n\ + \\vTYPE_DOUBLE\DLE\SOH\DC2\SO\n\ + \\n\ + \TYPE_FLOAT\DLE\STX\DC2\SO\n\ + \\n\ + \TYPE_INT64\DLE\ETX\DC2\SI\n\ + \\vTYPE_UINT64\DLE\EOT\DC2\SO\n\ + \\n\ + \TYPE_INT32\DLE\ENQ\DC2\DLE\n\ + \\fTYPE_FIXED64\DLE\ACK\DC2\DLE\n\ + \\fTYPE_FIXED32\DLE\a\DC2\r\n\ + \\tTYPE_BOOL\DLE\b\DC2\SI\n\ + \\vTYPE_STRING\DLE\t\DC2\SO\n\ + \\n\ + \TYPE_GROUP\DLE\n\ + \\DC2\DLE\n\ + \\fTYPE_MESSAGE\DLE\v\DC2\SO\n\ + \\n\ + \TYPE_BYTES\DLE\f\DC2\SI\n\ + \\vTYPE_UINT32\DLE\r\DC2\r\n\ + \\tTYPE_ENUM\DLE\SO\DC2\DC1\n\ + \\rTYPE_SFIXED32\DLE\SI\DC2\DC1\n\ + \\rTYPE_SFIXED64\DLE\DLE\DC2\SI\n\ + \\vTYPE_SINT32\DLE\DC1\DC2\SI\n\ + \\vTYPE_SINT64\DLE\DC2\"C\n\ + \\ENQLabel\DC2\DC2\n\ + \\SOLABEL_OPTIONAL\DLE\SOH\DC2\DC2\n\ + \\SOLABEL_REQUIRED\DLE\STX\DC2\DC2\n\ + \\SOLABEL_REPEATED\DLE\ETX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + number__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'number")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + label__field_descriptor + = Data.ProtoLens.FieldDescriptor + "label" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto'Label) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'label")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + type'__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto'Type) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'type'")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + typeName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'typeName")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + extendee__field_descriptor + = Data.ProtoLens.FieldDescriptor + "extendee" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'extendee")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + defaultValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "default_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'defaultValue")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + oneofIndex__field_descriptor + = Data.ProtoLens.FieldDescriptor + "oneof_index" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'oneofIndex")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + jsonName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "json_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'jsonName")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + proto3Optional__field_descriptor + = Data.ProtoLens.FieldDescriptor + "proto3_optional" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'proto3Optional")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 3, number__field_descriptor), + (Data.ProtoLens.Tag 4, label__field_descriptor), + (Data.ProtoLens.Tag 5, type'__field_descriptor), + (Data.ProtoLens.Tag 6, typeName__field_descriptor), + (Data.ProtoLens.Tag 2, extendee__field_descriptor), + (Data.ProtoLens.Tag 7, defaultValue__field_descriptor), + (Data.ProtoLens.Tag 9, oneofIndex__field_descriptor), + (Data.ProtoLens.Tag 10, jsonName__field_descriptor), + (Data.ProtoLens.Tag 8, options__field_descriptor), + (Data.ProtoLens.Tag 17, proto3Optional__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FieldDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_FieldDescriptorProto'_unknownFields = y__}) + defMessage + = FieldDescriptorProto'_constructor + {_FieldDescriptorProto'name = Prelude.Nothing, + _FieldDescriptorProto'number = Prelude.Nothing, + _FieldDescriptorProto'label = Prelude.Nothing, + _FieldDescriptorProto'type' = Prelude.Nothing, + _FieldDescriptorProto'typeName = Prelude.Nothing, + _FieldDescriptorProto'extendee = Prelude.Nothing, + _FieldDescriptorProto'defaultValue = Prelude.Nothing, + _FieldDescriptorProto'oneofIndex = Prelude.Nothing, + _FieldDescriptorProto'jsonName = Prelude.Nothing, + _FieldDescriptorProto'options = Prelude.Nothing, + _FieldDescriptorProto'proto3Optional = Prelude.Nothing, + _FieldDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + FieldDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser FieldDescriptorProto + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "number" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "label" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"label") y x) + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "type" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x) + 50 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "type_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"typeName") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "extendee" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"extendee") y x) + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "default_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"defaultValue") y x) + 72 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "oneof_index" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"oneofIndex") y x) + 82 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "json_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jsonName") y x) + 66 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + 136 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "proto3_optional" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"proto3Optional") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FieldDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'label") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'type'") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'typeName") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'extendee") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'defaultValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'oneofIndex") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 72) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'jsonName") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 82) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 66) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'proto3Optional") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 136) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x)))))))))))) +instance Control.DeepSeq.NFData FieldDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FieldDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'number x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'label x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'type' x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'typeName x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'extendee x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'defaultValue x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'oneofIndex x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'jsonName x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'options x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'proto3Optional x__) + ()))))))))))) +data FieldDescriptorProto'Label + = FieldDescriptorProto'LABEL_OPTIONAL | + FieldDescriptorProto'LABEL_REQUIRED | + FieldDescriptorProto'LABEL_REPEATED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Label where + maybeToEnum 1 = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL + maybeToEnum 2 = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED + maybeToEnum 3 = Prelude.Just FieldDescriptorProto'LABEL_REPEATED + maybeToEnum _ = Prelude.Nothing + showEnum FieldDescriptorProto'LABEL_OPTIONAL = "LABEL_OPTIONAL" + showEnum FieldDescriptorProto'LABEL_REQUIRED = "LABEL_REQUIRED" + showEnum FieldDescriptorProto'LABEL_REPEATED = "LABEL_REPEATED" + readEnum k + | (Prelude.==) k "LABEL_OPTIONAL" + = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL + | (Prelude.==) k "LABEL_REQUIRED" + = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED + | (Prelude.==) k "LABEL_REPEATED" + = Prelude.Just FieldDescriptorProto'LABEL_REPEATED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldDescriptorProto'Label where + minBound = FieldDescriptorProto'LABEL_OPTIONAL + maxBound = FieldDescriptorProto'LABEL_REPEATED +instance Prelude.Enum FieldDescriptorProto'Label where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Label: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldDescriptorProto'LABEL_OPTIONAL = 1 + fromEnum FieldDescriptorProto'LABEL_REQUIRED = 2 + fromEnum FieldDescriptorProto'LABEL_REPEATED = 3 + succ FieldDescriptorProto'LABEL_REPEATED + = Prelude.error + "FieldDescriptorProto'Label.succ: bad argument FieldDescriptorProto'LABEL_REPEATED. This value would be out of bounds." + succ FieldDescriptorProto'LABEL_OPTIONAL + = FieldDescriptorProto'LABEL_REQUIRED + succ FieldDescriptorProto'LABEL_REQUIRED + = FieldDescriptorProto'LABEL_REPEATED + pred FieldDescriptorProto'LABEL_OPTIONAL + = Prelude.error + "FieldDescriptorProto'Label.pred: bad argument FieldDescriptorProto'LABEL_OPTIONAL. This value would be out of bounds." + pred FieldDescriptorProto'LABEL_REQUIRED + = FieldDescriptorProto'LABEL_OPTIONAL + pred FieldDescriptorProto'LABEL_REPEATED + = FieldDescriptorProto'LABEL_REQUIRED + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldDescriptorProto'Label where + fieldDefault = FieldDescriptorProto'LABEL_OPTIONAL +instance Control.DeepSeq.NFData FieldDescriptorProto'Label where + rnf x__ = Prelude.seq x__ () +data FieldDescriptorProto'Type + = FieldDescriptorProto'TYPE_DOUBLE | + FieldDescriptorProto'TYPE_FLOAT | + FieldDescriptorProto'TYPE_INT64 | + FieldDescriptorProto'TYPE_UINT64 | + FieldDescriptorProto'TYPE_INT32 | + FieldDescriptorProto'TYPE_FIXED64 | + FieldDescriptorProto'TYPE_FIXED32 | + FieldDescriptorProto'TYPE_BOOL | + FieldDescriptorProto'TYPE_STRING | + FieldDescriptorProto'TYPE_GROUP | + FieldDescriptorProto'TYPE_MESSAGE | + FieldDescriptorProto'TYPE_BYTES | + FieldDescriptorProto'TYPE_UINT32 | + FieldDescriptorProto'TYPE_ENUM | + FieldDescriptorProto'TYPE_SFIXED32 | + FieldDescriptorProto'TYPE_SFIXED64 | + FieldDescriptorProto'TYPE_SINT32 | + FieldDescriptorProto'TYPE_SINT64 + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Type where + maybeToEnum 1 = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE + maybeToEnum 2 = Prelude.Just FieldDescriptorProto'TYPE_FLOAT + maybeToEnum 3 = Prelude.Just FieldDescriptorProto'TYPE_INT64 + maybeToEnum 4 = Prelude.Just FieldDescriptorProto'TYPE_UINT64 + maybeToEnum 5 = Prelude.Just FieldDescriptorProto'TYPE_INT32 + maybeToEnum 6 = Prelude.Just FieldDescriptorProto'TYPE_FIXED64 + maybeToEnum 7 = Prelude.Just FieldDescriptorProto'TYPE_FIXED32 + maybeToEnum 8 = Prelude.Just FieldDescriptorProto'TYPE_BOOL + maybeToEnum 9 = Prelude.Just FieldDescriptorProto'TYPE_STRING + maybeToEnum 10 = Prelude.Just FieldDescriptorProto'TYPE_GROUP + maybeToEnum 11 = Prelude.Just FieldDescriptorProto'TYPE_MESSAGE + maybeToEnum 12 = Prelude.Just FieldDescriptorProto'TYPE_BYTES + maybeToEnum 13 = Prelude.Just FieldDescriptorProto'TYPE_UINT32 + maybeToEnum 14 = Prelude.Just FieldDescriptorProto'TYPE_ENUM + maybeToEnum 15 = Prelude.Just FieldDescriptorProto'TYPE_SFIXED32 + maybeToEnum 16 = Prelude.Just FieldDescriptorProto'TYPE_SFIXED64 + maybeToEnum 17 = Prelude.Just FieldDescriptorProto'TYPE_SINT32 + maybeToEnum 18 = Prelude.Just FieldDescriptorProto'TYPE_SINT64 + maybeToEnum _ = Prelude.Nothing + showEnum FieldDescriptorProto'TYPE_DOUBLE = "TYPE_DOUBLE" + showEnum FieldDescriptorProto'TYPE_FLOAT = "TYPE_FLOAT" + showEnum FieldDescriptorProto'TYPE_INT64 = "TYPE_INT64" + showEnum FieldDescriptorProto'TYPE_UINT64 = "TYPE_UINT64" + showEnum FieldDescriptorProto'TYPE_INT32 = "TYPE_INT32" + showEnum FieldDescriptorProto'TYPE_FIXED64 = "TYPE_FIXED64" + showEnum FieldDescriptorProto'TYPE_FIXED32 = "TYPE_FIXED32" + showEnum FieldDescriptorProto'TYPE_BOOL = "TYPE_BOOL" + showEnum FieldDescriptorProto'TYPE_STRING = "TYPE_STRING" + showEnum FieldDescriptorProto'TYPE_GROUP = "TYPE_GROUP" + showEnum FieldDescriptorProto'TYPE_MESSAGE = "TYPE_MESSAGE" + showEnum FieldDescriptorProto'TYPE_BYTES = "TYPE_BYTES" + showEnum FieldDescriptorProto'TYPE_UINT32 = "TYPE_UINT32" + showEnum FieldDescriptorProto'TYPE_ENUM = "TYPE_ENUM" + showEnum FieldDescriptorProto'TYPE_SFIXED32 = "TYPE_SFIXED32" + showEnum FieldDescriptorProto'TYPE_SFIXED64 = "TYPE_SFIXED64" + showEnum FieldDescriptorProto'TYPE_SINT32 = "TYPE_SINT32" + showEnum FieldDescriptorProto'TYPE_SINT64 = "TYPE_SINT64" + readEnum k + | (Prelude.==) k "TYPE_DOUBLE" + = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE + | (Prelude.==) k "TYPE_FLOAT" + = Prelude.Just FieldDescriptorProto'TYPE_FLOAT + | (Prelude.==) k "TYPE_INT64" + = Prelude.Just FieldDescriptorProto'TYPE_INT64 + | (Prelude.==) k "TYPE_UINT64" + = Prelude.Just FieldDescriptorProto'TYPE_UINT64 + | (Prelude.==) k "TYPE_INT32" + = Prelude.Just FieldDescriptorProto'TYPE_INT32 + | (Prelude.==) k "TYPE_FIXED64" + = Prelude.Just FieldDescriptorProto'TYPE_FIXED64 + | (Prelude.==) k "TYPE_FIXED32" + = Prelude.Just FieldDescriptorProto'TYPE_FIXED32 + | (Prelude.==) k "TYPE_BOOL" + = Prelude.Just FieldDescriptorProto'TYPE_BOOL + | (Prelude.==) k "TYPE_STRING" + = Prelude.Just FieldDescriptorProto'TYPE_STRING + | (Prelude.==) k "TYPE_GROUP" + = Prelude.Just FieldDescriptorProto'TYPE_GROUP + | (Prelude.==) k "TYPE_MESSAGE" + = Prelude.Just FieldDescriptorProto'TYPE_MESSAGE + | (Prelude.==) k "TYPE_BYTES" + = Prelude.Just FieldDescriptorProto'TYPE_BYTES + | (Prelude.==) k "TYPE_UINT32" + = Prelude.Just FieldDescriptorProto'TYPE_UINT32 + | (Prelude.==) k "TYPE_ENUM" + = Prelude.Just FieldDescriptorProto'TYPE_ENUM + | (Prelude.==) k "TYPE_SFIXED32" + = Prelude.Just FieldDescriptorProto'TYPE_SFIXED32 + | (Prelude.==) k "TYPE_SFIXED64" + = Prelude.Just FieldDescriptorProto'TYPE_SFIXED64 + | (Prelude.==) k "TYPE_SINT32" + = Prelude.Just FieldDescriptorProto'TYPE_SINT32 + | (Prelude.==) k "TYPE_SINT64" + = Prelude.Just FieldDescriptorProto'TYPE_SINT64 + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldDescriptorProto'Type where + minBound = FieldDescriptorProto'TYPE_DOUBLE + maxBound = FieldDescriptorProto'TYPE_SINT64 +instance Prelude.Enum FieldDescriptorProto'Type where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Type: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldDescriptorProto'TYPE_DOUBLE = 1 + fromEnum FieldDescriptorProto'TYPE_FLOAT = 2 + fromEnum FieldDescriptorProto'TYPE_INT64 = 3 + fromEnum FieldDescriptorProto'TYPE_UINT64 = 4 + fromEnum FieldDescriptorProto'TYPE_INT32 = 5 + fromEnum FieldDescriptorProto'TYPE_FIXED64 = 6 + fromEnum FieldDescriptorProto'TYPE_FIXED32 = 7 + fromEnum FieldDescriptorProto'TYPE_BOOL = 8 + fromEnum FieldDescriptorProto'TYPE_STRING = 9 + fromEnum FieldDescriptorProto'TYPE_GROUP = 10 + fromEnum FieldDescriptorProto'TYPE_MESSAGE = 11 + fromEnum FieldDescriptorProto'TYPE_BYTES = 12 + fromEnum FieldDescriptorProto'TYPE_UINT32 = 13 + fromEnum FieldDescriptorProto'TYPE_ENUM = 14 + fromEnum FieldDescriptorProto'TYPE_SFIXED32 = 15 + fromEnum FieldDescriptorProto'TYPE_SFIXED64 = 16 + fromEnum FieldDescriptorProto'TYPE_SINT32 = 17 + fromEnum FieldDescriptorProto'TYPE_SINT64 = 18 + succ FieldDescriptorProto'TYPE_SINT64 + = Prelude.error + "FieldDescriptorProto'Type.succ: bad argument FieldDescriptorProto'TYPE_SINT64. This value would be out of bounds." + succ FieldDescriptorProto'TYPE_DOUBLE + = FieldDescriptorProto'TYPE_FLOAT + succ FieldDescriptorProto'TYPE_FLOAT + = FieldDescriptorProto'TYPE_INT64 + succ FieldDescriptorProto'TYPE_INT64 + = FieldDescriptorProto'TYPE_UINT64 + succ FieldDescriptorProto'TYPE_UINT64 + = FieldDescriptorProto'TYPE_INT32 + succ FieldDescriptorProto'TYPE_INT32 + = FieldDescriptorProto'TYPE_FIXED64 + succ FieldDescriptorProto'TYPE_FIXED64 + = FieldDescriptorProto'TYPE_FIXED32 + succ FieldDescriptorProto'TYPE_FIXED32 + = FieldDescriptorProto'TYPE_BOOL + succ FieldDescriptorProto'TYPE_BOOL + = FieldDescriptorProto'TYPE_STRING + succ FieldDescriptorProto'TYPE_STRING + = FieldDescriptorProto'TYPE_GROUP + succ FieldDescriptorProto'TYPE_GROUP + = FieldDescriptorProto'TYPE_MESSAGE + succ FieldDescriptorProto'TYPE_MESSAGE + = FieldDescriptorProto'TYPE_BYTES + succ FieldDescriptorProto'TYPE_BYTES + = FieldDescriptorProto'TYPE_UINT32 + succ FieldDescriptorProto'TYPE_UINT32 + = FieldDescriptorProto'TYPE_ENUM + succ FieldDescriptorProto'TYPE_ENUM + = FieldDescriptorProto'TYPE_SFIXED32 + succ FieldDescriptorProto'TYPE_SFIXED32 + = FieldDescriptorProto'TYPE_SFIXED64 + succ FieldDescriptorProto'TYPE_SFIXED64 + = FieldDescriptorProto'TYPE_SINT32 + succ FieldDescriptorProto'TYPE_SINT32 + = FieldDescriptorProto'TYPE_SINT64 + pred FieldDescriptorProto'TYPE_DOUBLE + = Prelude.error + "FieldDescriptorProto'Type.pred: bad argument FieldDescriptorProto'TYPE_DOUBLE. This value would be out of bounds." + pred FieldDescriptorProto'TYPE_FLOAT + = FieldDescriptorProto'TYPE_DOUBLE + pred FieldDescriptorProto'TYPE_INT64 + = FieldDescriptorProto'TYPE_FLOAT + pred FieldDescriptorProto'TYPE_UINT64 + = FieldDescriptorProto'TYPE_INT64 + pred FieldDescriptorProto'TYPE_INT32 + = FieldDescriptorProto'TYPE_UINT64 + pred FieldDescriptorProto'TYPE_FIXED64 + = FieldDescriptorProto'TYPE_INT32 + pred FieldDescriptorProto'TYPE_FIXED32 + = FieldDescriptorProto'TYPE_FIXED64 + pred FieldDescriptorProto'TYPE_BOOL + = FieldDescriptorProto'TYPE_FIXED32 + pred FieldDescriptorProto'TYPE_STRING + = FieldDescriptorProto'TYPE_BOOL + pred FieldDescriptorProto'TYPE_GROUP + = FieldDescriptorProto'TYPE_STRING + pred FieldDescriptorProto'TYPE_MESSAGE + = FieldDescriptorProto'TYPE_GROUP + pred FieldDescriptorProto'TYPE_BYTES + = FieldDescriptorProto'TYPE_MESSAGE + pred FieldDescriptorProto'TYPE_UINT32 + = FieldDescriptorProto'TYPE_BYTES + pred FieldDescriptorProto'TYPE_ENUM + = FieldDescriptorProto'TYPE_UINT32 + pred FieldDescriptorProto'TYPE_SFIXED32 + = FieldDescriptorProto'TYPE_ENUM + pred FieldDescriptorProto'TYPE_SFIXED64 + = FieldDescriptorProto'TYPE_SFIXED32 + pred FieldDescriptorProto'TYPE_SINT32 + = FieldDescriptorProto'TYPE_SFIXED64 + pred FieldDescriptorProto'TYPE_SINT64 + = FieldDescriptorProto'TYPE_SINT32 + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldDescriptorProto'Type where + fieldDefault = FieldDescriptorProto'TYPE_DOUBLE +instance Control.DeepSeq.NFData FieldDescriptorProto'Type where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.ctype' @:: Lens' FieldOptions FieldOptions'CType@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'ctype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'CType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.packed' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'packed' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.jstype' @:: Lens' FieldOptions FieldOptions'JSType@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jstype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'JSType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.lazy' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'lazy' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.weak' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'weak' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FieldOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FieldOptions (Data.Vector.Vector UninterpretedOption)@ -} +data FieldOptions + = FieldOptions'_constructor {_FieldOptions'ctype :: !(Prelude.Maybe FieldOptions'CType), + _FieldOptions'packed :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'jstype :: !(Prelude.Maybe FieldOptions'JSType), + _FieldOptions'lazy :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'weak :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _FieldOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldOptions "ctype" FieldOptions'CType where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'ctype (\ x__ y__ -> x__ {_FieldOptions'ctype = y__})) + (Data.ProtoLens.maybeLens FieldOptions'STRING) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'ctype" (Prelude.Maybe FieldOptions'CType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'ctype (\ x__ y__ -> x__ {_FieldOptions'ctype = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "packed" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'packed + (\ x__ y__ -> x__ {_FieldOptions'packed = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'packed" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'packed + (\ x__ y__ -> x__ {_FieldOptions'packed = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "jstype" FieldOptions'JSType where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'jstype + (\ x__ y__ -> x__ {_FieldOptions'jstype = y__})) + (Data.ProtoLens.maybeLens FieldOptions'JS_NORMAL) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'jstype" (Prelude.Maybe FieldOptions'JSType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'jstype + (\ x__ y__ -> x__ {_FieldOptions'jstype = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "lazy" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'lazy" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'deprecated + (\ x__ y__ -> x__ {_FieldOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'deprecated + (\ x__ y__ -> x__ {_FieldOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "weak" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'weak" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'uninterpretedOption + (\ x__ y__ -> x__ {_FieldOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'uninterpretedOption + (\ x__ y__ -> x__ {_FieldOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message FieldOptions where + messageName _ = Data.Text.pack "google.protobuf.FieldOptions" + packedMessageDescriptor _ + = "\n\ + \\fFieldOptions\DC2A\n\ + \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ + \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ + \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ + \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2\EM\n\ + \\EOTweak\CAN\n\ + \ \SOH(\b:\ENQfalseR\EOTweak\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"/\n\ + \\ENQCType\DC2\n\ + \\n\ + \\ACKSTRING\DLE\NUL\DC2\b\n\ + \\EOTCORD\DLE\SOH\DC2\DLE\n\ + \\fSTRING_PIECE\DLE\STX\"5\n\ + \\ACKJSType\DC2\r\n\ + \\tJS_NORMAL\DLE\NUL\DC2\r\n\ + \\tJS_STRING\DLE\SOH\DC2\r\n\ + \\tJS_NUMBER\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQ" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + ctype__field_descriptor + = Data.ProtoLens.FieldDescriptor + "ctype" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'CType) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'ctype")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + packed__field_descriptor + = Data.ProtoLens.FieldDescriptor + "packed" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'packed")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + jstype__field_descriptor + = Data.ProtoLens.FieldDescriptor + "jstype" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'JSType) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'jstype")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + lazy__field_descriptor + = Data.ProtoLens.FieldDescriptor + "lazy" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'lazy")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + weak__field_descriptor + = Data.ProtoLens.FieldDescriptor + "weak" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'weak")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, ctype__field_descriptor), + (Data.ProtoLens.Tag 2, packed__field_descriptor), + (Data.ProtoLens.Tag 6, jstype__field_descriptor), + (Data.ProtoLens.Tag 5, lazy__field_descriptor), + (Data.ProtoLens.Tag 3, deprecated__field_descriptor), + (Data.ProtoLens.Tag 10, weak__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FieldOptions'_unknownFields + (\ x__ y__ -> x__ {_FieldOptions'_unknownFields = y__}) + defMessage + = FieldOptions'_constructor + {_FieldOptions'ctype = Prelude.Nothing, + _FieldOptions'packed = Prelude.Nothing, + _FieldOptions'jstype = Prelude.Nothing, + _FieldOptions'lazy = Prelude.Nothing, + _FieldOptions'deprecated = Prelude.Nothing, + _FieldOptions'weak = Prelude.Nothing, + _FieldOptions'uninterpretedOption = Data.Vector.Generic.empty, + _FieldOptions'_unknownFields = []} + parseMessage + = let + loop :: + FieldOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "ctype" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"ctype") y x) + mutable'uninterpretedOption + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "packed" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"packed") y x) + mutable'uninterpretedOption + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "jstype" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jstype") y x) + mutable'uninterpretedOption + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "lazy" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"lazy") y x) + mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 80 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "weak" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"weak") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "FieldOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'ctype") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'packed") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'jstype") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'lazy") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'weak") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 80) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) +instance Control.DeepSeq.NFData FieldOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FieldOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FieldOptions'ctype x__) + (Control.DeepSeq.deepseq + (_FieldOptions'packed x__) + (Control.DeepSeq.deepseq + (_FieldOptions'jstype x__) + (Control.DeepSeq.deepseq + (_FieldOptions'lazy x__) + (Control.DeepSeq.deepseq + (_FieldOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_FieldOptions'weak x__) + (Control.DeepSeq.deepseq + (_FieldOptions'uninterpretedOption x__) ()))))))) +data FieldOptions'CType + = FieldOptions'STRING | + FieldOptions'CORD | + FieldOptions'STRING_PIECE + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'CType where + maybeToEnum 0 = Prelude.Just FieldOptions'STRING + maybeToEnum 1 = Prelude.Just FieldOptions'CORD + maybeToEnum 2 = Prelude.Just FieldOptions'STRING_PIECE + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'STRING = "STRING" + showEnum FieldOptions'CORD = "CORD" + showEnum FieldOptions'STRING_PIECE = "STRING_PIECE" + readEnum k + | (Prelude.==) k "STRING" = Prelude.Just FieldOptions'STRING + | (Prelude.==) k "CORD" = Prelude.Just FieldOptions'CORD + | (Prelude.==) k "STRING_PIECE" + = Prelude.Just FieldOptions'STRING_PIECE + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'CType where + minBound = FieldOptions'STRING + maxBound = FieldOptions'STRING_PIECE +instance Prelude.Enum FieldOptions'CType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum CType: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'STRING = 0 + fromEnum FieldOptions'CORD = 1 + fromEnum FieldOptions'STRING_PIECE = 2 + succ FieldOptions'STRING_PIECE + = Prelude.error + "FieldOptions'CType.succ: bad argument FieldOptions'STRING_PIECE. This value would be out of bounds." + succ FieldOptions'STRING = FieldOptions'CORD + succ FieldOptions'CORD = FieldOptions'STRING_PIECE + pred FieldOptions'STRING + = Prelude.error + "FieldOptions'CType.pred: bad argument FieldOptions'STRING. This value would be out of bounds." + pred FieldOptions'CORD = FieldOptions'STRING + pred FieldOptions'STRING_PIECE = FieldOptions'CORD + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'CType where + fieldDefault = FieldOptions'STRING +instance Control.DeepSeq.NFData FieldOptions'CType where + rnf x__ = Prelude.seq x__ () +data FieldOptions'JSType + = FieldOptions'JS_NORMAL | + FieldOptions'JS_STRING | + FieldOptions'JS_NUMBER + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'JSType where + maybeToEnum 0 = Prelude.Just FieldOptions'JS_NORMAL + maybeToEnum 1 = Prelude.Just FieldOptions'JS_STRING + maybeToEnum 2 = Prelude.Just FieldOptions'JS_NUMBER + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'JS_NORMAL = "JS_NORMAL" + showEnum FieldOptions'JS_STRING = "JS_STRING" + showEnum FieldOptions'JS_NUMBER = "JS_NUMBER" + readEnum k + | (Prelude.==) k "JS_NORMAL" = Prelude.Just FieldOptions'JS_NORMAL + | (Prelude.==) k "JS_STRING" = Prelude.Just FieldOptions'JS_STRING + | (Prelude.==) k "JS_NUMBER" = Prelude.Just FieldOptions'JS_NUMBER + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'JSType where + minBound = FieldOptions'JS_NORMAL + maxBound = FieldOptions'JS_NUMBER +instance Prelude.Enum FieldOptions'JSType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum JSType: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'JS_NORMAL = 0 + fromEnum FieldOptions'JS_STRING = 1 + fromEnum FieldOptions'JS_NUMBER = 2 + succ FieldOptions'JS_NUMBER + = Prelude.error + "FieldOptions'JSType.succ: bad argument FieldOptions'JS_NUMBER. This value would be out of bounds." + succ FieldOptions'JS_NORMAL = FieldOptions'JS_STRING + succ FieldOptions'JS_STRING = FieldOptions'JS_NUMBER + pred FieldOptions'JS_NORMAL + = Prelude.error + "FieldOptions'JSType.pred: bad argument FieldOptions'JS_NORMAL. This value would be out of bounds." + pred FieldOptions'JS_STRING = FieldOptions'JS_NORMAL + pred FieldOptions'JS_NUMBER = FieldOptions'JS_STRING + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'JSType where + fieldDefault = FieldOptions'JS_NORMAL +instance Control.DeepSeq.NFData FieldOptions'JSType where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FileDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.package' @:: Lens' FileDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'package' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.dependency' @:: Lens' FileDescriptorProto [Data.Text.Text]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'dependency' @:: Lens' FileDescriptorProto (Data.Vector.Vector Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.publicDependency' @:: Lens' FileDescriptorProto [Data.Int.Int32]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'publicDependency' @:: Lens' FileDescriptorProto (Data.Vector.Unboxed.Vector Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.weakDependency' @:: Lens' FileDescriptorProto [Data.Int.Int32]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'weakDependency' @:: Lens' FileDescriptorProto (Data.Vector.Unboxed.Vector Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.messageType' @:: Lens' FileDescriptorProto [DescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'messageType' @:: Lens' FileDescriptorProto (Data.Vector.Vector DescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.enumType' @:: Lens' FileDescriptorProto [EnumDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'enumType' @:: Lens' FileDescriptorProto (Data.Vector.Vector EnumDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.service' @:: Lens' FileDescriptorProto [ServiceDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'service' @:: Lens' FileDescriptorProto (Data.Vector.Vector ServiceDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.extension' @:: Lens' FileDescriptorProto [FieldDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'extension' @:: Lens' FileDescriptorProto (Data.Vector.Vector FieldDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' FileDescriptorProto FileOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' FileDescriptorProto (Prelude.Maybe FileOptions)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.sourceCodeInfo' @:: Lens' FileDescriptorProto SourceCodeInfo@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'sourceCodeInfo' @:: Lens' FileDescriptorProto (Prelude.Maybe SourceCodeInfo)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.syntax' @:: Lens' FileDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'syntax' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ -} +data FileDescriptorProto + = FileDescriptorProto'_constructor {_FileDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'package :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'dependency :: !(Data.Vector.Vector Data.Text.Text), + _FileDescriptorProto'publicDependency :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), + _FileDescriptorProto'weakDependency :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), + _FileDescriptorProto'messageType :: !(Data.Vector.Vector DescriptorProto), + _FileDescriptorProto'enumType :: !(Data.Vector.Vector EnumDescriptorProto), + _FileDescriptorProto'service :: !(Data.Vector.Vector ServiceDescriptorProto), + _FileDescriptorProto'extension :: !(Data.Vector.Vector FieldDescriptorProto), + _FileDescriptorProto'options :: !(Prelude.Maybe FileOptions), + _FileDescriptorProto'sourceCodeInfo :: !(Prelude.Maybe SourceCodeInfo), + _FileDescriptorProto'syntax :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FileDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'name + (\ x__ y__ -> x__ {_FileDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'name + (\ x__ y__ -> x__ {_FileDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "package" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'package + (\ x__ y__ -> x__ {_FileDescriptorProto'package = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'package" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'package + (\ x__ y__ -> x__ {_FileDescriptorProto'package = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "dependency" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'dependency + (\ x__ y__ -> x__ {_FileDescriptorProto'dependency = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'dependency" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'dependency + (\ x__ y__ -> x__ {_FileDescriptorProto'dependency = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "publicDependency" [Data.Int.Int32] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'publicDependency + (\ x__ y__ -> x__ {_FileDescriptorProto'publicDependency = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'publicDependency" (Data.Vector.Unboxed.Vector Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'publicDependency + (\ x__ y__ -> x__ {_FileDescriptorProto'publicDependency = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "weakDependency" [Data.Int.Int32] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'weakDependency + (\ x__ y__ -> x__ {_FileDescriptorProto'weakDependency = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'weakDependency" (Data.Vector.Unboxed.Vector Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'weakDependency + (\ x__ y__ -> x__ {_FileDescriptorProto'weakDependency = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "messageType" [DescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'messageType + (\ x__ y__ -> x__ {_FileDescriptorProto'messageType = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'messageType" (Data.Vector.Vector DescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'messageType + (\ x__ y__ -> x__ {_FileDescriptorProto'messageType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "enumType" [EnumDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'enumType + (\ x__ y__ -> x__ {_FileDescriptorProto'enumType = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'enumType" (Data.Vector.Vector EnumDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'enumType + (\ x__ y__ -> x__ {_FileDescriptorProto'enumType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "service" [ServiceDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'service + (\ x__ y__ -> x__ {_FileDescriptorProto'service = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'service" (Data.Vector.Vector ServiceDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'service + (\ x__ y__ -> x__ {_FileDescriptorProto'service = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "extension" [FieldDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'extension + (\ x__ y__ -> x__ {_FileDescriptorProto'extension = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "vec'extension" (Data.Vector.Vector FieldDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'extension + (\ x__ y__ -> x__ {_FileDescriptorProto'extension = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "options" FileOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'options + (\ x__ y__ -> x__ {_FileDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'options" (Prelude.Maybe FileOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'options + (\ x__ y__ -> x__ {_FileDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "sourceCodeInfo" SourceCodeInfo where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'sourceCodeInfo + (\ x__ y__ -> x__ {_FileDescriptorProto'sourceCodeInfo = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'sourceCodeInfo" (Prelude.Maybe SourceCodeInfo) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'sourceCodeInfo + (\ x__ y__ -> x__ {_FileDescriptorProto'sourceCodeInfo = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "syntax" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'syntax + (\ x__ y__ -> x__ {_FileDescriptorProto'syntax = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'syntax" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'syntax + (\ x__ y__ -> x__ {_FileDescriptorProto'syntax = y__})) + Prelude.id +instance Data.ProtoLens.Message FileDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.FileDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\DC3FileDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\ + \\apackage\CAN\STX \SOH(\tR\apackage\DC2\RS\n\ + \\n\ + \dependency\CAN\ETX \ETX(\tR\n\ + \dependency\DC2+\n\ + \\DC1public_dependency\CAN\n\ + \ \ETX(\ENQR\DLEpublicDependency\DC2'\n\ + \\SIweak_dependency\CAN\v \ETX(\ENQR\SOweakDependency\DC2C\n\ + \\fmessage_type\CAN\EOT \ETX(\v2 .google.protobuf.DescriptorProtoR\vmessageType\DC2A\n\ + \\tenum_type\CAN\ENQ \ETX(\v2$.google.protobuf.EnumDescriptorProtoR\benumType\DC2A\n\ + \\aservice\CAN\ACK \ETX(\v2'.google.protobuf.ServiceDescriptorProtoR\aservice\DC2C\n\ + \\textension\CAN\a \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC26\n\ + \\aoptions\CAN\b \SOH(\v2\FS.google.protobuf.FileOptionsR\aoptions\DC2I\n\ + \\DLEsource_code_info\CAN\t \SOH(\v2\US.google.protobuf.SourceCodeInfoR\SOsourceCodeInfo\DC2\SYN\n\ + \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + package__field_descriptor + = Data.ProtoLens.FieldDescriptor + "package" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'package")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + dependency__field_descriptor + = Data.ProtoLens.FieldDescriptor + "dependency" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"dependency")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + publicDependency__field_descriptor + = Data.ProtoLens.FieldDescriptor + "public_dependency" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"publicDependency")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + weakDependency__field_descriptor + = Data.ProtoLens.FieldDescriptor + "weak_dependency" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"weakDependency")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + messageType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "message_type" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor DescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"messageType")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + enumType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "enum_type" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"enumType")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + service__field_descriptor + = Data.ProtoLens.FieldDescriptor + "service" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor ServiceDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"service")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + extension__field_descriptor + = Data.ProtoLens.FieldDescriptor + "extension" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"extension")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FileOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + sourceCodeInfo__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_code_info" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor SourceCodeInfo) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'sourceCodeInfo")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + syntax__field_descriptor + = Data.ProtoLens.FieldDescriptor + "syntax" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'syntax")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, package__field_descriptor), + (Data.ProtoLens.Tag 3, dependency__field_descriptor), + (Data.ProtoLens.Tag 10, publicDependency__field_descriptor), + (Data.ProtoLens.Tag 11, weakDependency__field_descriptor), + (Data.ProtoLens.Tag 4, messageType__field_descriptor), + (Data.ProtoLens.Tag 5, enumType__field_descriptor), + (Data.ProtoLens.Tag 6, service__field_descriptor), + (Data.ProtoLens.Tag 7, extension__field_descriptor), + (Data.ProtoLens.Tag 8, options__field_descriptor), + (Data.ProtoLens.Tag 9, sourceCodeInfo__field_descriptor), + (Data.ProtoLens.Tag 12, syntax__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FileDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_FileDescriptorProto'_unknownFields = y__}) + defMessage + = FileDescriptorProto'_constructor + {_FileDescriptorProto'name = Prelude.Nothing, + _FileDescriptorProto'package = Prelude.Nothing, + _FileDescriptorProto'dependency = Data.Vector.Generic.empty, + _FileDescriptorProto'publicDependency = Data.Vector.Generic.empty, + _FileDescriptorProto'weakDependency = Data.Vector.Generic.empty, + _FileDescriptorProto'messageType = Data.Vector.Generic.empty, + _FileDescriptorProto'enumType = Data.Vector.Generic.empty, + _FileDescriptorProto'service = Data.Vector.Generic.empty, + _FileDescriptorProto'extension = Data.Vector.Generic.empty, + _FileDescriptorProto'options = Prelude.Nothing, + _FileDescriptorProto'sourceCodeInfo = Prelude.Nothing, + _FileDescriptorProto'syntax = Prelude.Nothing, + _FileDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + FileDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld EnumDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld DescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Int.Int32 + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ServiceDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Int.Int32 + -> Data.ProtoLens.Encoding.Bytes.Parser FileDescriptorProto + loop + x + mutable'dependency + mutable'enumType + mutable'extension + mutable'messageType + mutable'publicDependency + mutable'service + mutable'weakDependency + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'dependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'dependency) + frozen'enumType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'enumType) + frozen'extension <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'extension) + frozen'messageType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'messageType) + frozen'publicDependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'publicDependency) + frozen'service <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'service) + frozen'weakDependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'weakDependency) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'dependency") frozen'dependency + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'enumType") frozen'enumType + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'extension") frozen'extension + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'messageType") + frozen'messageType + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'publicDependency") + frozen'publicDependency + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'service") + frozen'service + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'weakDependency") + frozen'weakDependency x)))))))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "package" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"package") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 26 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "dependency" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'dependency y) + loop + x v mutable'enumType mutable'extension mutable'messageType + mutable'publicDependency mutable'service mutable'weakDependency + 80 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "public_dependency" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'publicDependency y) + loop + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType v mutable'service mutable'weakDependency + 82 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "public_dependency" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'publicDependency) + loop + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType y mutable'service mutable'weakDependency + 88 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "weak_dependency" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'weakDependency y) + loop + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service v + 90 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "weak_dependency" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'weakDependency) + loop + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service y + 34 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "message_type" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'messageType y) + loop + x mutable'dependency mutable'enumType mutable'extension v + mutable'publicDependency mutable'service mutable'weakDependency + 42 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "enum_type" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'enumType y) + loop + x mutable'dependency v mutable'extension mutable'messageType + mutable'publicDependency mutable'service mutable'weakDependency + 50 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "service" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'service y) + loop + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency v + mutable'weakDependency + 58 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "extension" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'extension y) + loop + x mutable'dependency mutable'enumType v mutable'messageType + mutable'publicDependency mutable'service mutable'weakDependency + 66 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 74 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "source_code_info" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"sourceCodeInfo") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 98 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "syntax" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'dependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'enumType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'extension <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'messageType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'publicDependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'service <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'weakDependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'dependency mutable'enumType + mutable'extension mutable'messageType mutable'publicDependency + mutable'service mutable'weakDependency) + "FileDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'package") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'dependency") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 80) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral + _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'publicDependency") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 88) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral + _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'weakDependency") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'messageType") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 42) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'enumType") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'service") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'extension") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 66) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'sourceCodeInfo") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 74) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'syntax") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 98) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x))))))))))))) +instance Control.DeepSeq.NFData FileDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FileDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'package x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'dependency x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'publicDependency x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'weakDependency x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'messageType x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'enumType x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'service x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'extension x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'options x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'sourceCodeInfo x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'syntax x__) ())))))))))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.file' @:: Lens' FileDescriptorSet [FileDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'file' @:: Lens' FileDescriptorSet (Data.Vector.Vector FileDescriptorProto)@ -} +data FileDescriptorSet + = FileDescriptorSet'_constructor {_FileDescriptorSet'file :: !(Data.Vector.Vector FileDescriptorProto), + _FileDescriptorSet'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FileDescriptorSet where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FileDescriptorSet "file" [FileDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorSet'file + (\ x__ y__ -> x__ {_FileDescriptorSet'file = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileDescriptorSet "vec'file" (Data.Vector.Vector FileDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorSet'file + (\ x__ y__ -> x__ {_FileDescriptorSet'file = y__})) + Prelude.id +instance Data.ProtoLens.Message FileDescriptorSet where + messageName _ = Data.Text.pack "google.protobuf.FileDescriptorSet" + packedMessageDescriptor _ + = "\n\ + \\DC1FileDescriptorSet\DC28\n\ + \\EOTfile\CAN\SOH \ETX(\v2$.google.protobuf.FileDescriptorProtoR\EOTfile" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + file__field_descriptor + = Data.ProtoLens.FieldDescriptor + "file" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FileDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"file")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorSet + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, file__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FileDescriptorSet'_unknownFields + (\ x__ y__ -> x__ {_FileDescriptorSet'_unknownFields = y__}) + defMessage + = FileDescriptorSet'_constructor + {_FileDescriptorSet'file = Data.Vector.Generic.empty, + _FileDescriptorSet'_unknownFields = []} + parseMessage + = let + loop :: + FileDescriptorSet + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FileDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser FileDescriptorSet + loop x mutable'file + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'file <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'file) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'file") frozen'file x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "file" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'file y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'file + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'file <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'file) + "FileDescriptorSet" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'file") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData FileDescriptorSet where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FileDescriptorSet'_unknownFields x__) + (Control.DeepSeq.deepseq (_FileDescriptorSet'file x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.javaPackage' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'javaPackage' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.javaOuterClassname' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'javaOuterClassname' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.javaMultipleFiles' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'javaMultipleFiles' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.javaGenerateEqualsAndHash' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'javaGenerateEqualsAndHash' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.javaStringCheckUtf8' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'javaStringCheckUtf8' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.optimizeFor' @:: Lens' FileOptions FileOptions'OptimizeMode@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'optimizeFor' @:: Lens' FileOptions (Prelude.Maybe FileOptions'OptimizeMode)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.goPackage' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'goPackage' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.ccGenericServices' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'ccGenericServices' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.javaGenericServices' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'javaGenericServices' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.pyGenericServices' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'pyGenericServices' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.phpGenericServices' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'phpGenericServices' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.ccEnableArenas' @:: Lens' FileOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'ccEnableArenas' @:: Lens' FileOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.objcClassPrefix' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'objcClassPrefix' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.csharpNamespace' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'csharpNamespace' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.swiftPrefix' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'swiftPrefix' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.phpClassPrefix' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'phpClassPrefix' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.phpNamespace' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'phpNamespace' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.phpMetadataNamespace' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'phpMetadataNamespace' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.rubyPackage' @:: Lens' FileOptions Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'rubyPackage' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FileOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FileOptions (Data.Vector.Vector UninterpretedOption)@ -} +data FileOptions + = FileOptions'_constructor {_FileOptions'javaPackage :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'javaOuterClassname :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'javaMultipleFiles :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'javaGenerateEqualsAndHash :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'javaStringCheckUtf8 :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'optimizeFor :: !(Prelude.Maybe FileOptions'OptimizeMode), + _FileOptions'goPackage :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'ccGenericServices :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'javaGenericServices :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'pyGenericServices :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'phpGenericServices :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'ccEnableArenas :: !(Prelude.Maybe Prelude.Bool), + _FileOptions'objcClassPrefix :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'csharpNamespace :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'swiftPrefix :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'phpClassPrefix :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'phpNamespace :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'phpMetadataNamespace :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'rubyPackage :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _FileOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FileOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FileOptions "javaPackage" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaPackage + (\ x__ y__ -> x__ {_FileOptions'javaPackage = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'javaPackage" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaPackage + (\ x__ y__ -> x__ {_FileOptions'javaPackage = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "javaOuterClassname" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaOuterClassname + (\ x__ y__ -> x__ {_FileOptions'javaOuterClassname = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'javaOuterClassname" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaOuterClassname + (\ x__ y__ -> x__ {_FileOptions'javaOuterClassname = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "javaMultipleFiles" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaMultipleFiles + (\ x__ y__ -> x__ {_FileOptions'javaMultipleFiles = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'javaMultipleFiles" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaMultipleFiles + (\ x__ y__ -> x__ {_FileOptions'javaMultipleFiles = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "javaGenerateEqualsAndHash" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaGenerateEqualsAndHash + (\ x__ y__ -> x__ {_FileOptions'javaGenerateEqualsAndHash = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'javaGenerateEqualsAndHash" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaGenerateEqualsAndHash + (\ x__ y__ -> x__ {_FileOptions'javaGenerateEqualsAndHash = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "javaStringCheckUtf8" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaStringCheckUtf8 + (\ x__ y__ -> x__ {_FileOptions'javaStringCheckUtf8 = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'javaStringCheckUtf8" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaStringCheckUtf8 + (\ x__ y__ -> x__ {_FileOptions'javaStringCheckUtf8 = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "optimizeFor" FileOptions'OptimizeMode where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'optimizeFor + (\ x__ y__ -> x__ {_FileOptions'optimizeFor = y__})) + (Data.ProtoLens.maybeLens FileOptions'SPEED) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'optimizeFor" (Prelude.Maybe FileOptions'OptimizeMode) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'optimizeFor + (\ x__ y__ -> x__ {_FileOptions'optimizeFor = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "goPackage" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'goPackage + (\ x__ y__ -> x__ {_FileOptions'goPackage = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'goPackage" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'goPackage + (\ x__ y__ -> x__ {_FileOptions'goPackage = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "ccGenericServices" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'ccGenericServices + (\ x__ y__ -> x__ {_FileOptions'ccGenericServices = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'ccGenericServices" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'ccGenericServices + (\ x__ y__ -> x__ {_FileOptions'ccGenericServices = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "javaGenericServices" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaGenericServices + (\ x__ y__ -> x__ {_FileOptions'javaGenericServices = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'javaGenericServices" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'javaGenericServices + (\ x__ y__ -> x__ {_FileOptions'javaGenericServices = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "pyGenericServices" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'pyGenericServices + (\ x__ y__ -> x__ {_FileOptions'pyGenericServices = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'pyGenericServices" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'pyGenericServices + (\ x__ y__ -> x__ {_FileOptions'pyGenericServices = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "phpGenericServices" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpGenericServices + (\ x__ y__ -> x__ {_FileOptions'phpGenericServices = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'phpGenericServices" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpGenericServices + (\ x__ y__ -> x__ {_FileOptions'phpGenericServices = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'deprecated + (\ x__ y__ -> x__ {_FileOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'deprecated + (\ x__ y__ -> x__ {_FileOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "ccEnableArenas" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'ccEnableArenas + (\ x__ y__ -> x__ {_FileOptions'ccEnableArenas = y__})) + (Data.ProtoLens.maybeLens Prelude.True) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'ccEnableArenas" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'ccEnableArenas + (\ x__ y__ -> x__ {_FileOptions'ccEnableArenas = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "objcClassPrefix" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'objcClassPrefix + (\ x__ y__ -> x__ {_FileOptions'objcClassPrefix = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'objcClassPrefix" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'objcClassPrefix + (\ x__ y__ -> x__ {_FileOptions'objcClassPrefix = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "csharpNamespace" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'csharpNamespace + (\ x__ y__ -> x__ {_FileOptions'csharpNamespace = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'csharpNamespace" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'csharpNamespace + (\ x__ y__ -> x__ {_FileOptions'csharpNamespace = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "swiftPrefix" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'swiftPrefix + (\ x__ y__ -> x__ {_FileOptions'swiftPrefix = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'swiftPrefix" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'swiftPrefix + (\ x__ y__ -> x__ {_FileOptions'swiftPrefix = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "phpClassPrefix" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpClassPrefix + (\ x__ y__ -> x__ {_FileOptions'phpClassPrefix = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'phpClassPrefix" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpClassPrefix + (\ x__ y__ -> x__ {_FileOptions'phpClassPrefix = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "phpNamespace" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpNamespace + (\ x__ y__ -> x__ {_FileOptions'phpNamespace = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'phpNamespace" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpNamespace + (\ x__ y__ -> x__ {_FileOptions'phpNamespace = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "phpMetadataNamespace" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpMetadataNamespace + (\ x__ y__ -> x__ {_FileOptions'phpMetadataNamespace = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'phpMetadataNamespace" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'phpMetadataNamespace + (\ x__ y__ -> x__ {_FileOptions'phpMetadataNamespace = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "rubyPackage" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'rubyPackage + (\ x__ y__ -> x__ {_FileOptions'rubyPackage = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'rubyPackage" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'rubyPackage + (\ x__ y__ -> x__ {_FileOptions'rubyPackage = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'uninterpretedOption + (\ x__ y__ -> x__ {_FileOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FileOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'uninterpretedOption + (\ x__ y__ -> x__ {_FileOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message FileOptions where + messageName _ = Data.Text.pack "google.protobuf.FileOptions" + packedMessageDescriptor _ + = "\n\ + \\vFileOptions\DC2!\n\ + \\fjava_package\CAN\SOH \SOH(\tR\vjavaPackage\DC20\n\ + \\DC4java_outer_classname\CAN\b \SOH(\tR\DC2javaOuterClassname\DC25\n\ + \\DC3java_multiple_files\CAN\n\ + \ \SOH(\b:\ENQfalseR\DC1javaMultipleFiles\DC2D\n\ + \\GSjava_generate_equals_and_hash\CAN\DC4 \SOH(\bR\EMjavaGenerateEqualsAndHashB\STX\CAN\SOH\DC2:\n\ + \\SYNjava_string_check_utf8\CAN\ESC \SOH(\b:\ENQfalseR\DC3javaStringCheckUtf8\DC2S\n\ + \\foptimize_for\CAN\t \SOH(\SO2).google.protobuf.FileOptions.OptimizeMode:\ENQSPEEDR\voptimizeFor\DC2\GS\n\ + \\n\ + \go_package\CAN\v \SOH(\tR\tgoPackage\DC25\n\ + \\DC3cc_generic_services\CAN\DLE \SOH(\b:\ENQfalseR\DC1ccGenericServices\DC29\n\ + \\NAKjava_generic_services\CAN\DC1 \SOH(\b:\ENQfalseR\DC3javaGenericServices\DC25\n\ + \\DC3py_generic_services\CAN\DC2 \SOH(\b:\ENQfalseR\DC1pyGenericServices\DC27\n\ + \\DC4php_generic_services\CAN* \SOH(\b:\ENQfalseR\DC2phpGenericServices\DC2%\n\ + \\n\ + \deprecated\CAN\ETB \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2.\n\ + \\DLEcc_enable_arenas\CAN\US \SOH(\b:\EOTtrueR\SOccEnableArenas\DC2*\n\ + \\DC1objc_class_prefix\CAN$ \SOH(\tR\SIobjcClassPrefix\DC2)\n\ + \\DLEcsharp_namespace\CAN% \SOH(\tR\SIcsharpNamespace\DC2!\n\ + \\fswift_prefix\CAN' \SOH(\tR\vswiftPrefix\DC2(\n\ + \\DLEphp_class_prefix\CAN( \SOH(\tR\SOphpClassPrefix\DC2#\n\ + \\rphp_namespace\CAN) \SOH(\tR\fphpNamespace\DC24\n\ + \\SYNphp_metadata_namespace\CAN, \SOH(\tR\DC4phpMetadataNamespace\DC2!\n\ + \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\":\n\ + \\fOptimizeMode\DC2\t\n\ + \\ENQSPEED\DLE\SOH\DC2\r\n\ + \\tCODE_SIZE\DLE\STX\DC2\DLE\n\ + \\fLITE_RUNTIME\DLE\ETX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b&\DLE'" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + javaPackage__field_descriptor + = Data.ProtoLens.FieldDescriptor + "java_package" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'javaPackage")) :: + Data.ProtoLens.FieldDescriptor FileOptions + javaOuterClassname__field_descriptor + = Data.ProtoLens.FieldDescriptor + "java_outer_classname" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'javaOuterClassname")) :: + Data.ProtoLens.FieldDescriptor FileOptions + javaMultipleFiles__field_descriptor + = Data.ProtoLens.FieldDescriptor + "java_multiple_files" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'javaMultipleFiles")) :: + Data.ProtoLens.FieldDescriptor FileOptions + javaGenerateEqualsAndHash__field_descriptor + = Data.ProtoLens.FieldDescriptor + "java_generate_equals_and_hash" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'javaGenerateEqualsAndHash")) :: + Data.ProtoLens.FieldDescriptor FileOptions + javaStringCheckUtf8__field_descriptor + = Data.ProtoLens.FieldDescriptor + "java_string_check_utf8" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'javaStringCheckUtf8")) :: + Data.ProtoLens.FieldDescriptor FileOptions + optimizeFor__field_descriptor + = Data.ProtoLens.FieldDescriptor + "optimize_for" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FileOptions'OptimizeMode) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'optimizeFor")) :: + Data.ProtoLens.FieldDescriptor FileOptions + goPackage__field_descriptor + = Data.ProtoLens.FieldDescriptor + "go_package" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'goPackage")) :: + Data.ProtoLens.FieldDescriptor FileOptions + ccGenericServices__field_descriptor + = Data.ProtoLens.FieldDescriptor + "cc_generic_services" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'ccGenericServices")) :: + Data.ProtoLens.FieldDescriptor FileOptions + javaGenericServices__field_descriptor + = Data.ProtoLens.FieldDescriptor + "java_generic_services" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'javaGenericServices")) :: + Data.ProtoLens.FieldDescriptor FileOptions + pyGenericServices__field_descriptor + = Data.ProtoLens.FieldDescriptor + "py_generic_services" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'pyGenericServices")) :: + Data.ProtoLens.FieldDescriptor FileOptions + phpGenericServices__field_descriptor + = Data.ProtoLens.FieldDescriptor + "php_generic_services" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'phpGenericServices")) :: + Data.ProtoLens.FieldDescriptor FileOptions + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor FileOptions + ccEnableArenas__field_descriptor + = Data.ProtoLens.FieldDescriptor + "cc_enable_arenas" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'ccEnableArenas")) :: + Data.ProtoLens.FieldDescriptor FileOptions + objcClassPrefix__field_descriptor + = Data.ProtoLens.FieldDescriptor + "objc_class_prefix" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'objcClassPrefix")) :: + Data.ProtoLens.FieldDescriptor FileOptions + csharpNamespace__field_descriptor + = Data.ProtoLens.FieldDescriptor + "csharp_namespace" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'csharpNamespace")) :: + Data.ProtoLens.FieldDescriptor FileOptions + swiftPrefix__field_descriptor + = Data.ProtoLens.FieldDescriptor + "swift_prefix" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'swiftPrefix")) :: + Data.ProtoLens.FieldDescriptor FileOptions + phpClassPrefix__field_descriptor + = Data.ProtoLens.FieldDescriptor + "php_class_prefix" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'phpClassPrefix")) :: + Data.ProtoLens.FieldDescriptor FileOptions + phpNamespace__field_descriptor + = Data.ProtoLens.FieldDescriptor + "php_namespace" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'phpNamespace")) :: + Data.ProtoLens.FieldDescriptor FileOptions + phpMetadataNamespace__field_descriptor + = Data.ProtoLens.FieldDescriptor + "php_metadata_namespace" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'phpMetadataNamespace")) :: + Data.ProtoLens.FieldDescriptor FileOptions + rubyPackage__field_descriptor + = Data.ProtoLens.FieldDescriptor + "ruby_package" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'rubyPackage")) :: + Data.ProtoLens.FieldDescriptor FileOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor FileOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, javaPackage__field_descriptor), + (Data.ProtoLens.Tag 8, javaOuterClassname__field_descriptor), + (Data.ProtoLens.Tag 10, javaMultipleFiles__field_descriptor), + (Data.ProtoLens.Tag 20, + javaGenerateEqualsAndHash__field_descriptor), + (Data.ProtoLens.Tag 27, javaStringCheckUtf8__field_descriptor), + (Data.ProtoLens.Tag 9, optimizeFor__field_descriptor), + (Data.ProtoLens.Tag 11, goPackage__field_descriptor), + (Data.ProtoLens.Tag 16, ccGenericServices__field_descriptor), + (Data.ProtoLens.Tag 17, javaGenericServices__field_descriptor), + (Data.ProtoLens.Tag 18, pyGenericServices__field_descriptor), + (Data.ProtoLens.Tag 42, phpGenericServices__field_descriptor), + (Data.ProtoLens.Tag 23, deprecated__field_descriptor), + (Data.ProtoLens.Tag 31, ccEnableArenas__field_descriptor), + (Data.ProtoLens.Tag 36, objcClassPrefix__field_descriptor), + (Data.ProtoLens.Tag 37, csharpNamespace__field_descriptor), + (Data.ProtoLens.Tag 39, swiftPrefix__field_descriptor), + (Data.ProtoLens.Tag 40, phpClassPrefix__field_descriptor), + (Data.ProtoLens.Tag 41, phpNamespace__field_descriptor), + (Data.ProtoLens.Tag 44, phpMetadataNamespace__field_descriptor), + (Data.ProtoLens.Tag 45, rubyPackage__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FileOptions'_unknownFields + (\ x__ y__ -> x__ {_FileOptions'_unknownFields = y__}) + defMessage + = FileOptions'_constructor + {_FileOptions'javaPackage = Prelude.Nothing, + _FileOptions'javaOuterClassname = Prelude.Nothing, + _FileOptions'javaMultipleFiles = Prelude.Nothing, + _FileOptions'javaGenerateEqualsAndHash = Prelude.Nothing, + _FileOptions'javaStringCheckUtf8 = Prelude.Nothing, + _FileOptions'optimizeFor = Prelude.Nothing, + _FileOptions'goPackage = Prelude.Nothing, + _FileOptions'ccGenericServices = Prelude.Nothing, + _FileOptions'javaGenericServices = Prelude.Nothing, + _FileOptions'pyGenericServices = Prelude.Nothing, + _FileOptions'phpGenericServices = Prelude.Nothing, + _FileOptions'deprecated = Prelude.Nothing, + _FileOptions'ccEnableArenas = Prelude.Nothing, + _FileOptions'objcClassPrefix = Prelude.Nothing, + _FileOptions'csharpNamespace = Prelude.Nothing, + _FileOptions'swiftPrefix = Prelude.Nothing, + _FileOptions'phpClassPrefix = Prelude.Nothing, + _FileOptions'phpNamespace = Prelude.Nothing, + _FileOptions'phpMetadataNamespace = Prelude.Nothing, + _FileOptions'rubyPackage = Prelude.Nothing, + _FileOptions'uninterpretedOption = Data.Vector.Generic.empty, + _FileOptions'_unknownFields = []} + parseMessage + = let + loop :: + FileOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser FileOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "java_package" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"javaPackage") y x) + mutable'uninterpretedOption + 66 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "java_outer_classname" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"javaOuterClassname") y x) + mutable'uninterpretedOption + 80 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "java_multiple_files" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"javaMultipleFiles") y x) + mutable'uninterpretedOption + 160 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "java_generate_equals_and_hash" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"javaGenerateEqualsAndHash") y x) + mutable'uninterpretedOption + 216 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "java_string_check_utf8" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"javaStringCheckUtf8") y x) + mutable'uninterpretedOption + 72 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "optimize_for" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"optimizeFor") y x) + mutable'uninterpretedOption + 90 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "go_package" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"goPackage") y x) + mutable'uninterpretedOption + 128 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "cc_generic_services" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"ccGenericServices") y x) + mutable'uninterpretedOption + 136 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "java_generic_services" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"javaGenericServices") y x) + mutable'uninterpretedOption + 144 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "py_generic_services" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"pyGenericServices") y x) + mutable'uninterpretedOption + 336 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "php_generic_services" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"phpGenericServices") y x) + mutable'uninterpretedOption + 184 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 248 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "cc_enable_arenas" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"ccEnableArenas") y x) + mutable'uninterpretedOption + 290 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "objc_class_prefix" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"objcClassPrefix") y x) + mutable'uninterpretedOption + 298 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "csharp_namespace" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"csharpNamespace") y x) + mutable'uninterpretedOption + 314 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "swift_prefix" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"swiftPrefix") y x) + mutable'uninterpretedOption + 322 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "php_class_prefix" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"phpClassPrefix") y x) + mutable'uninterpretedOption + 330 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "php_namespace" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"phpNamespace") y x) + mutable'uninterpretedOption + 354 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "php_metadata_namespace" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"phpMetadataNamespace") y x) + mutable'uninterpretedOption + 362 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "ruby_package" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"rubyPackage") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "FileOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'javaPackage") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'javaOuterClassname") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 66) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'javaMultipleFiles") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 80) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'javaGenerateEqualsAndHash") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 160) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'javaStringCheckUtf8") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 216) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'optimizeFor") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 72) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'goPackage") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 90) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'ccGenericServices") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 128) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'javaGenericServices") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 136) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'pyGenericServices") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 144) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'phpGenericServices") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 336) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'deprecated") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 184) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'ccEnableArenas") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 248) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'objcClassPrefix") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 290) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'csharpNamespace") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 298) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'swiftPrefix") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 314) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'phpClassPrefix") + _x + of + Prelude.Nothing + -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 322) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'phpNamespace") + _x + of + Prelude.Nothing + -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 330) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'phpMetadataNamespace") + _x + of + Prelude.Nothing + -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 354) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'rubyPackage") + _x + of + Prelude.Nothing + -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 362) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage + _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field + @"vec'uninterpretedOption") + _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields + _x)))))))))))))))))))))) +instance Control.DeepSeq.NFData FileOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FileOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FileOptions'javaPackage x__) + (Control.DeepSeq.deepseq + (_FileOptions'javaOuterClassname x__) + (Control.DeepSeq.deepseq + (_FileOptions'javaMultipleFiles x__) + (Control.DeepSeq.deepseq + (_FileOptions'javaGenerateEqualsAndHash x__) + (Control.DeepSeq.deepseq + (_FileOptions'javaStringCheckUtf8 x__) + (Control.DeepSeq.deepseq + (_FileOptions'optimizeFor x__) + (Control.DeepSeq.deepseq + (_FileOptions'goPackage x__) + (Control.DeepSeq.deepseq + (_FileOptions'ccGenericServices x__) + (Control.DeepSeq.deepseq + (_FileOptions'javaGenericServices x__) + (Control.DeepSeq.deepseq + (_FileOptions'pyGenericServices x__) + (Control.DeepSeq.deepseq + (_FileOptions'phpGenericServices x__) + (Control.DeepSeq.deepseq + (_FileOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_FileOptions'ccEnableArenas x__) + (Control.DeepSeq.deepseq + (_FileOptions'objcClassPrefix x__) + (Control.DeepSeq.deepseq + (_FileOptions'csharpNamespace x__) + (Control.DeepSeq.deepseq + (_FileOptions'swiftPrefix x__) + (Control.DeepSeq.deepseq + (_FileOptions'phpClassPrefix x__) + (Control.DeepSeq.deepseq + (_FileOptions'phpNamespace x__) + (Control.DeepSeq.deepseq + (_FileOptions'phpMetadataNamespace + x__) + (Control.DeepSeq.deepseq + (_FileOptions'rubyPackage + x__) + (Control.DeepSeq.deepseq + (_FileOptions'uninterpretedOption + x__) + ()))))))))))))))))))))) +data FileOptions'OptimizeMode + = FileOptions'SPEED | + FileOptions'CODE_SIZE | + FileOptions'LITE_RUNTIME + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FileOptions'OptimizeMode where + maybeToEnum 1 = Prelude.Just FileOptions'SPEED + maybeToEnum 2 = Prelude.Just FileOptions'CODE_SIZE + maybeToEnum 3 = Prelude.Just FileOptions'LITE_RUNTIME + maybeToEnum _ = Prelude.Nothing + showEnum FileOptions'SPEED = "SPEED" + showEnum FileOptions'CODE_SIZE = "CODE_SIZE" + showEnum FileOptions'LITE_RUNTIME = "LITE_RUNTIME" + readEnum k + | (Prelude.==) k "SPEED" = Prelude.Just FileOptions'SPEED + | (Prelude.==) k "CODE_SIZE" = Prelude.Just FileOptions'CODE_SIZE + | (Prelude.==) k "LITE_RUNTIME" + = Prelude.Just FileOptions'LITE_RUNTIME + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FileOptions'OptimizeMode where + minBound = FileOptions'SPEED + maxBound = FileOptions'LITE_RUNTIME +instance Prelude.Enum FileOptions'OptimizeMode where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum OptimizeMode: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FileOptions'SPEED = 1 + fromEnum FileOptions'CODE_SIZE = 2 + fromEnum FileOptions'LITE_RUNTIME = 3 + succ FileOptions'LITE_RUNTIME + = Prelude.error + "FileOptions'OptimizeMode.succ: bad argument FileOptions'LITE_RUNTIME. This value would be out of bounds." + succ FileOptions'SPEED = FileOptions'CODE_SIZE + succ FileOptions'CODE_SIZE = FileOptions'LITE_RUNTIME + pred FileOptions'SPEED + = Prelude.error + "FileOptions'OptimizeMode.pred: bad argument FileOptions'SPEED. This value would be out of bounds." + pred FileOptions'CODE_SIZE = FileOptions'SPEED + pred FileOptions'LITE_RUNTIME = FileOptions'CODE_SIZE + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FileOptions'OptimizeMode where + fieldDefault = FileOptions'SPEED +instance Control.DeepSeq.NFData FileOptions'OptimizeMode where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.annotation' @:: Lens' GeneratedCodeInfo [GeneratedCodeInfo'Annotation]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'annotation' @:: Lens' GeneratedCodeInfo (Data.Vector.Vector GeneratedCodeInfo'Annotation)@ -} +data GeneratedCodeInfo + = GeneratedCodeInfo'_constructor {_GeneratedCodeInfo'annotation :: !(Data.Vector.Vector GeneratedCodeInfo'Annotation), + _GeneratedCodeInfo'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show GeneratedCodeInfo where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo "annotation" [GeneratedCodeInfo'Annotation] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'annotation + (\ x__ y__ -> x__ {_GeneratedCodeInfo'annotation = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo "vec'annotation" (Data.Vector.Vector GeneratedCodeInfo'Annotation) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'annotation + (\ x__ y__ -> x__ {_GeneratedCodeInfo'annotation = y__})) + Prelude.id +instance Data.ProtoLens.Message GeneratedCodeInfo where + messageName _ = Data.Text.pack "google.protobuf.GeneratedCodeInfo" + packedMessageDescriptor _ + = "\n\ + \\DC1GeneratedCodeInfo\DC2M\n\ + \\n\ + \annotation\CAN\SOH \ETX(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n\ + \annotation\SUBm\n\ + \\n\ + \Annotation\DC2\SYN\n\ + \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ + \\vsource_file\CAN\STX \SOH(\tR\n\ + \sourceFile\DC2\DC4\n\ + \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + annotation__field_descriptor + = Data.ProtoLens.FieldDescriptor + "annotation" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor GeneratedCodeInfo'Annotation) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"annotation")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, annotation__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'_unknownFields + (\ x__ y__ -> x__ {_GeneratedCodeInfo'_unknownFields = y__}) + defMessage + = GeneratedCodeInfo'_constructor + {_GeneratedCodeInfo'annotation = Data.Vector.Generic.empty, + _GeneratedCodeInfo'_unknownFields = []} + parseMessage + = let + loop :: + GeneratedCodeInfo + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld GeneratedCodeInfo'Annotation + -> Data.ProtoLens.Encoding.Bytes.Parser GeneratedCodeInfo + loop x mutable'annotation + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'annotation <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'annotation) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'annotation") frozen'annotation + x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "annotation" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'annotation y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'annotation + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'annotation <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'annotation) + "GeneratedCodeInfo" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'annotation") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData GeneratedCodeInfo where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_GeneratedCodeInfo'_unknownFields x__) + (Control.DeepSeq.deepseq (_GeneratedCodeInfo'annotation x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.path' @:: Lens' GeneratedCodeInfo'Annotation [Data.Int.Int32]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'path' @:: Lens' GeneratedCodeInfo'Annotation (Data.Vector.Unboxed.Vector Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.sourceFile' @:: Lens' GeneratedCodeInfo'Annotation Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'sourceFile' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.begin' @:: Lens' GeneratedCodeInfo'Annotation Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'begin' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.end' @:: Lens' GeneratedCodeInfo'Annotation Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ -} +data GeneratedCodeInfo'Annotation + = GeneratedCodeInfo'Annotation'_constructor {_GeneratedCodeInfo'Annotation'path :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), + _GeneratedCodeInfo'Annotation'sourceFile :: !(Prelude.Maybe Data.Text.Text), + _GeneratedCodeInfo'Annotation'begin :: !(Prelude.Maybe Data.Int.Int32), + _GeneratedCodeInfo'Annotation'end :: !(Prelude.Maybe Data.Int.Int32), + _GeneratedCodeInfo'Annotation'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show GeneratedCodeInfo'Annotation where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "path" [Data.Int.Int32] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'path + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'path = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "vec'path" (Data.Vector.Unboxed.Vector Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'path + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'path = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "sourceFile" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'sourceFile + (\ x__ y__ + -> x__ {_GeneratedCodeInfo'Annotation'sourceFile = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'sourceFile" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'sourceFile + (\ x__ y__ + -> x__ {_GeneratedCodeInfo'Annotation'sourceFile = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "begin" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'begin + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'begin = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'begin" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'begin + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'begin = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "end" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'end + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'end = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'end" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'end + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'end = y__})) + Prelude.id +instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where + messageName _ + = Data.Text.pack "google.protobuf.GeneratedCodeInfo.Annotation" + packedMessageDescriptor _ + = "\n\ + \\n\ + \Annotation\DC2\SYN\n\ + \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ + \\vsource_file\CAN\STX \SOH(\tR\n\ + \sourceFile\DC2\DC4\n\ + \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + path__field_descriptor + = Data.ProtoLens.FieldDescriptor + "path" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Packed (Data.ProtoLens.Field.field @"path")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation + sourceFile__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_file" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'sourceFile")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation + begin__field_descriptor + = Data.ProtoLens.FieldDescriptor + "begin" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'begin")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation + end__field_descriptor + = Data.ProtoLens.FieldDescriptor + "end" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'end")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, path__field_descriptor), + (Data.ProtoLens.Tag 2, sourceFile__field_descriptor), + (Data.ProtoLens.Tag 3, begin__field_descriptor), + (Data.ProtoLens.Tag 4, end__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'_unknownFields + (\ x__ y__ + -> x__ {_GeneratedCodeInfo'Annotation'_unknownFields = y__}) + defMessage + = GeneratedCodeInfo'Annotation'_constructor + {_GeneratedCodeInfo'Annotation'path = Data.Vector.Generic.empty, + _GeneratedCodeInfo'Annotation'sourceFile = Prelude.Nothing, + _GeneratedCodeInfo'Annotation'begin = Prelude.Nothing, + _GeneratedCodeInfo'Annotation'end = Prelude.Nothing, + _GeneratedCodeInfo'Annotation'_unknownFields = []} + parseMessage + = let + loop :: + GeneratedCodeInfo'Annotation + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Int.Int32 + -> Data.ProtoLens.Encoding.Bytes.Parser GeneratedCodeInfo'Annotation + loop x mutable'path + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'path <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'path) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'path") frozen'path x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "path" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'path y) + loop x v + 10 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "path" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'path) + loop x y + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "source_file" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"sourceFile") y x) + mutable'path + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "begin" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"begin") y x) + mutable'path + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "end" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x) + mutable'path + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'path + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'path <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'path) + "Annotation" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + p = Lens.Family2.view (Data.ProtoLens.Field.field @"vec'path") _x + in + if Data.Vector.Generic.null p then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + (Data.ProtoLens.Encoding.Bytes.runBuilder + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + p)))) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'sourceFile") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'begin") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'end") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) +instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'_unknownFields x__) + (Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'path x__) + (Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'sourceFile x__) + (Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'begin x__) + (Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'end x__) ())))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.messageSetWireFormat' @:: Lens' MessageOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'messageSetWireFormat' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.noStandardDescriptorAccessor' @:: Lens' MessageOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'noStandardDescriptorAccessor' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' MessageOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.mapEntry' @:: Lens' MessageOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'mapEntry' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' MessageOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' MessageOptions (Data.Vector.Vector UninterpretedOption)@ -} +data MessageOptions + = MessageOptions'_constructor {_MessageOptions'messageSetWireFormat :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'noStandardDescriptorAccessor :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'mapEntry :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _MessageOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show MessageOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField MessageOptions "messageSetWireFormat" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'messageSetWireFormat + (\ x__ y__ -> x__ {_MessageOptions'messageSetWireFormat = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'messageSetWireFormat" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'messageSetWireFormat + (\ x__ y__ -> x__ {_MessageOptions'messageSetWireFormat = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "noStandardDescriptorAccessor" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'noStandardDescriptorAccessor + (\ x__ y__ + -> x__ {_MessageOptions'noStandardDescriptorAccessor = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'noStandardDescriptorAccessor" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'noStandardDescriptorAccessor + (\ x__ y__ + -> x__ {_MessageOptions'noStandardDescriptorAccessor = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'deprecated + (\ x__ y__ -> x__ {_MessageOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'deprecated + (\ x__ y__ -> x__ {_MessageOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "mapEntry" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'mapEntry + (\ x__ y__ -> x__ {_MessageOptions'mapEntry = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'mapEntry" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'mapEntry + (\ x__ y__ -> x__ {_MessageOptions'mapEntry = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'uninterpretedOption + (\ x__ y__ -> x__ {_MessageOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField MessageOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'uninterpretedOption + (\ x__ y__ -> x__ {_MessageOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message MessageOptions where + messageName _ = Data.Text.pack "google.protobuf.MessageOptions" + packedMessageDescriptor _ + = "\n\ + \\SOMessageOptions\DC2<\n\ + \\ETBmessage_set_wire_format\CAN\SOH \SOH(\b:\ENQfalseR\DC4messageSetWireFormat\DC2L\n\ + \\USno_standard_descriptor_accessor\CAN\STX \SOH(\b:\ENQfalseR\FSnoStandardDescriptorAccessor\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2\ESC\n\ + \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + messageSetWireFormat__field_descriptor + = Data.ProtoLens.FieldDescriptor + "message_set_wire_format" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'messageSetWireFormat")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + noStandardDescriptorAccessor__field_descriptor + = Data.ProtoLens.FieldDescriptor + "no_standard_descriptor_accessor" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field + @"maybe'noStandardDescriptorAccessor")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + mapEntry__field_descriptor + = Data.ProtoLens.FieldDescriptor + "map_entry" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'mapEntry")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, messageSetWireFormat__field_descriptor), + (Data.ProtoLens.Tag 2, + noStandardDescriptorAccessor__field_descriptor), + (Data.ProtoLens.Tag 3, deprecated__field_descriptor), + (Data.ProtoLens.Tag 7, mapEntry__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _MessageOptions'_unknownFields + (\ x__ y__ -> x__ {_MessageOptions'_unknownFields = y__}) + defMessage + = MessageOptions'_constructor + {_MessageOptions'messageSetWireFormat = Prelude.Nothing, + _MessageOptions'noStandardDescriptorAccessor = Prelude.Nothing, + _MessageOptions'deprecated = Prelude.Nothing, + _MessageOptions'mapEntry = Prelude.Nothing, + _MessageOptions'uninterpretedOption = Data.Vector.Generic.empty, + _MessageOptions'_unknownFields = []} + parseMessage + = let + loop :: + MessageOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser MessageOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "message_set_wire_format" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"messageSetWireFormat") y x) + mutable'uninterpretedOption + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "no_standard_descriptor_accessor" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"noStandardDescriptorAccessor") y + x) + mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 56 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "map_entry" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"mapEntry") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "MessageOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'messageSetWireFormat") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'noStandardDescriptorAccessor") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'mapEntry") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 56) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData MessageOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_MessageOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_MessageOptions'messageSetWireFormat x__) + (Control.DeepSeq.deepseq + (_MessageOptions'noStandardDescriptorAccessor x__) + (Control.DeepSeq.deepseq + (_MessageOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_MessageOptions'mapEntry x__) + (Control.DeepSeq.deepseq + (_MessageOptions'uninterpretedOption x__) ()))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' MethodDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' MethodDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.inputType' @:: Lens' MethodDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'inputType' @:: Lens' MethodDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.outputType' @:: Lens' MethodDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'outputType' @:: Lens' MethodDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' MethodDescriptorProto MethodOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' MethodDescriptorProto (Prelude.Maybe MethodOptions)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.clientStreaming' @:: Lens' MethodDescriptorProto Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'clientStreaming' @:: Lens' MethodDescriptorProto (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.serverStreaming' @:: Lens' MethodDescriptorProto Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'serverStreaming' @:: Lens' MethodDescriptorProto (Prelude.Maybe Prelude.Bool)@ -} +data MethodDescriptorProto + = MethodDescriptorProto'_constructor {_MethodDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _MethodDescriptorProto'inputType :: !(Prelude.Maybe Data.Text.Text), + _MethodDescriptorProto'outputType :: !(Prelude.Maybe Data.Text.Text), + _MethodDescriptorProto'options :: !(Prelude.Maybe MethodOptions), + _MethodDescriptorProto'clientStreaming :: !(Prelude.Maybe Prelude.Bool), + _MethodDescriptorProto'serverStreaming :: !(Prelude.Maybe Prelude.Bool), + _MethodDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show MethodDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'name + (\ x__ y__ -> x__ {_MethodDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'name + (\ x__ y__ -> x__ {_MethodDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "inputType" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'inputType + (\ x__ y__ -> x__ {_MethodDescriptorProto'inputType = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "maybe'inputType" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'inputType + (\ x__ y__ -> x__ {_MethodDescriptorProto'inputType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "outputType" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'outputType + (\ x__ y__ -> x__ {_MethodDescriptorProto'outputType = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "maybe'outputType" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'outputType + (\ x__ y__ -> x__ {_MethodDescriptorProto'outputType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "options" MethodOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'options + (\ x__ y__ -> x__ {_MethodDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "maybe'options" (Prelude.Maybe MethodOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'options + (\ x__ y__ -> x__ {_MethodDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "clientStreaming" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'clientStreaming + (\ x__ y__ -> x__ {_MethodDescriptorProto'clientStreaming = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "maybe'clientStreaming" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'clientStreaming + (\ x__ y__ -> x__ {_MethodDescriptorProto'clientStreaming = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "serverStreaming" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'serverStreaming + (\ x__ y__ -> x__ {_MethodDescriptorProto'serverStreaming = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField MethodDescriptorProto "maybe'serverStreaming" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodDescriptorProto'serverStreaming + (\ x__ y__ -> x__ {_MethodDescriptorProto'serverStreaming = y__})) + Prelude.id +instance Data.ProtoLens.Message MethodDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.MethodDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\NAKMethodDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\GS\n\ + \\n\ + \input_type\CAN\STX \SOH(\tR\tinputType\DC2\US\n\ + \\voutput_type\CAN\ETX \SOH(\tR\n\ + \outputType\DC28\n\ + \\aoptions\CAN\EOT \SOH(\v2\RS.google.protobuf.MethodOptionsR\aoptions\DC20\n\ + \\DLEclient_streaming\CAN\ENQ \SOH(\b:\ENQfalseR\SIclientStreaming\DC20\n\ + \\DLEserver_streaming\CAN\ACK \SOH(\b:\ENQfalseR\SIserverStreaming" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor MethodDescriptorProto + inputType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "input_type" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'inputType")) :: + Data.ProtoLens.FieldDescriptor MethodDescriptorProto + outputType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "output_type" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'outputType")) :: + Data.ProtoLens.FieldDescriptor MethodDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor MethodOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor MethodDescriptorProto + clientStreaming__field_descriptor + = Data.ProtoLens.FieldDescriptor + "client_streaming" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'clientStreaming")) :: + Data.ProtoLens.FieldDescriptor MethodDescriptorProto + serverStreaming__field_descriptor + = Data.ProtoLens.FieldDescriptor + "server_streaming" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'serverStreaming")) :: + Data.ProtoLens.FieldDescriptor MethodDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, inputType__field_descriptor), + (Data.ProtoLens.Tag 3, outputType__field_descriptor), + (Data.ProtoLens.Tag 4, options__field_descriptor), + (Data.ProtoLens.Tag 5, clientStreaming__field_descriptor), + (Data.ProtoLens.Tag 6, serverStreaming__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _MethodDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_MethodDescriptorProto'_unknownFields = y__}) + defMessage + = MethodDescriptorProto'_constructor + {_MethodDescriptorProto'name = Prelude.Nothing, + _MethodDescriptorProto'inputType = Prelude.Nothing, + _MethodDescriptorProto'outputType = Prelude.Nothing, + _MethodDescriptorProto'options = Prelude.Nothing, + _MethodDescriptorProto'clientStreaming = Prelude.Nothing, + _MethodDescriptorProto'serverStreaming = Prelude.Nothing, + _MethodDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + MethodDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser MethodDescriptorProto + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "input_type" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"inputType") y x) + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "output_type" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"outputType") y x) + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "client_streaming" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"clientStreaming") y x) + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "server_streaming" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"serverStreaming") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "MethodDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'inputType") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'outputType") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'clientStreaming") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'serverStreaming") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))) +instance Control.DeepSeq.NFData MethodDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_MethodDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_MethodDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_MethodDescriptorProto'inputType x__) + (Control.DeepSeq.deepseq + (_MethodDescriptorProto'outputType x__) + (Control.DeepSeq.deepseq + (_MethodDescriptorProto'options x__) + (Control.DeepSeq.deepseq + (_MethodDescriptorProto'clientStreaming x__) + (Control.DeepSeq.deepseq + (_MethodDescriptorProto'serverStreaming x__) ())))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' MethodOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' MethodOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.idempotencyLevel' @:: Lens' MethodOptions MethodOptions'IdempotencyLevel@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'idempotencyLevel' @:: Lens' MethodOptions (Prelude.Maybe MethodOptions'IdempotencyLevel)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' MethodOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' MethodOptions (Data.Vector.Vector UninterpretedOption)@ -} +data MethodOptions + = MethodOptions'_constructor {_MethodOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _MethodOptions'idempotencyLevel :: !(Prelude.Maybe MethodOptions'IdempotencyLevel), + _MethodOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _MethodOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show MethodOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField MethodOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'deprecated + (\ x__ y__ -> x__ {_MethodOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField MethodOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'deprecated + (\ x__ y__ -> x__ {_MethodOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodOptions "idempotencyLevel" MethodOptions'IdempotencyLevel where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'idempotencyLevel + (\ x__ y__ -> x__ {_MethodOptions'idempotencyLevel = y__})) + (Data.ProtoLens.maybeLens MethodOptions'IDEMPOTENCY_UNKNOWN) +instance Data.ProtoLens.Field.HasField MethodOptions "maybe'idempotencyLevel" (Prelude.Maybe MethodOptions'IdempotencyLevel) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'idempotencyLevel + (\ x__ y__ -> x__ {_MethodOptions'idempotencyLevel = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MethodOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'uninterpretedOption + (\ x__ y__ -> x__ {_MethodOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField MethodOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'uninterpretedOption + (\ x__ y__ -> x__ {_MethodOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message MethodOptions where + messageName _ = Data.Text.pack "google.protobuf.MethodOptions" + packedMessageDescriptor _ + = "\n\ + \\rMethodOptions\DC2%\n\ + \\n\ + \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2q\n\ + \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"P\n\ + \\DLEIdempotencyLevel\DC2\ETB\n\ + \\DC3IDEMPOTENCY_UNKNOWN\DLE\NUL\DC2\DC3\n\ + \\SINO_SIDE_EFFECTS\DLE\SOH\DC2\SO\n\ + \\n\ + \IDEMPOTENT\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor MethodOptions + idempotencyLevel__field_descriptor + = Data.ProtoLens.FieldDescriptor + "idempotency_level" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor MethodOptions'IdempotencyLevel) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'idempotencyLevel")) :: + Data.ProtoLens.FieldDescriptor MethodOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor MethodOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 33, deprecated__field_descriptor), + (Data.ProtoLens.Tag 34, idempotencyLevel__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _MethodOptions'_unknownFields + (\ x__ y__ -> x__ {_MethodOptions'_unknownFields = y__}) + defMessage + = MethodOptions'_constructor + {_MethodOptions'deprecated = Prelude.Nothing, + _MethodOptions'idempotencyLevel = Prelude.Nothing, + _MethodOptions'uninterpretedOption = Data.Vector.Generic.empty, + _MethodOptions'_unknownFields = []} + parseMessage + = let + loop :: + MethodOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser MethodOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 264 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 272 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "idempotency_level" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"idempotencyLevel") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "MethodOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 264) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'idempotencyLevel") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 272) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData MethodOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_MethodOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_MethodOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_MethodOptions'idempotencyLevel x__) + (Control.DeepSeq.deepseq + (_MethodOptions'uninterpretedOption x__) ()))) +data MethodOptions'IdempotencyLevel + = MethodOptions'IDEMPOTENCY_UNKNOWN | + MethodOptions'NO_SIDE_EFFECTS | + MethodOptions'IDEMPOTENT + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum MethodOptions'IdempotencyLevel where + maybeToEnum 0 = Prelude.Just MethodOptions'IDEMPOTENCY_UNKNOWN + maybeToEnum 1 = Prelude.Just MethodOptions'NO_SIDE_EFFECTS + maybeToEnum 2 = Prelude.Just MethodOptions'IDEMPOTENT + maybeToEnum _ = Prelude.Nothing + showEnum MethodOptions'IDEMPOTENCY_UNKNOWN = "IDEMPOTENCY_UNKNOWN" + showEnum MethodOptions'NO_SIDE_EFFECTS = "NO_SIDE_EFFECTS" + showEnum MethodOptions'IDEMPOTENT = "IDEMPOTENT" + readEnum k + | (Prelude.==) k "IDEMPOTENCY_UNKNOWN" + = Prelude.Just MethodOptions'IDEMPOTENCY_UNKNOWN + | (Prelude.==) k "NO_SIDE_EFFECTS" + = Prelude.Just MethodOptions'NO_SIDE_EFFECTS + | (Prelude.==) k "IDEMPOTENT" + = Prelude.Just MethodOptions'IDEMPOTENT + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded MethodOptions'IdempotencyLevel where + minBound = MethodOptions'IDEMPOTENCY_UNKNOWN + maxBound = MethodOptions'IDEMPOTENT +instance Prelude.Enum MethodOptions'IdempotencyLevel where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum IdempotencyLevel: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum MethodOptions'IDEMPOTENCY_UNKNOWN = 0 + fromEnum MethodOptions'NO_SIDE_EFFECTS = 1 + fromEnum MethodOptions'IDEMPOTENT = 2 + succ MethodOptions'IDEMPOTENT + = Prelude.error + "MethodOptions'IdempotencyLevel.succ: bad argument MethodOptions'IDEMPOTENT. This value would be out of bounds." + succ MethodOptions'IDEMPOTENCY_UNKNOWN + = MethodOptions'NO_SIDE_EFFECTS + succ MethodOptions'NO_SIDE_EFFECTS = MethodOptions'IDEMPOTENT + pred MethodOptions'IDEMPOTENCY_UNKNOWN + = Prelude.error + "MethodOptions'IdempotencyLevel.pred: bad argument MethodOptions'IDEMPOTENCY_UNKNOWN. This value would be out of bounds." + pred MethodOptions'NO_SIDE_EFFECTS + = MethodOptions'IDEMPOTENCY_UNKNOWN + pred MethodOptions'IDEMPOTENT = MethodOptions'NO_SIDE_EFFECTS + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault MethodOptions'IdempotencyLevel where + fieldDefault = MethodOptions'IDEMPOTENCY_UNKNOWN +instance Control.DeepSeq.NFData MethodOptions'IdempotencyLevel where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' OneofDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' OneofDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' OneofDescriptorProto OneofOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' OneofDescriptorProto (Prelude.Maybe OneofOptions)@ -} +data OneofDescriptorProto + = OneofDescriptorProto'_constructor {_OneofDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _OneofDescriptorProto'options :: !(Prelude.Maybe OneofOptions), + _OneofDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show OneofDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField OneofDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofDescriptorProto'name + (\ x__ y__ -> x__ {_OneofDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField OneofDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofDescriptorProto'name + (\ x__ y__ -> x__ {_OneofDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField OneofDescriptorProto "options" OneofOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofDescriptorProto'options + (\ x__ y__ -> x__ {_OneofDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField OneofDescriptorProto "maybe'options" (Prelude.Maybe OneofOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofDescriptorProto'options + (\ x__ y__ -> x__ {_OneofDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Message OneofDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.OneofDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\DC4OneofDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC27\n\ + \\aoptions\CAN\STX \SOH(\v2\GS.google.protobuf.OneofOptionsR\aoptions" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor OneofDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor OneofOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor OneofDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, options__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _OneofDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_OneofDescriptorProto'_unknownFields = y__}) + defMessage + = OneofDescriptorProto'_constructor + {_OneofDescriptorProto'name = Prelude.Nothing, + _OneofDescriptorProto'options = Prelude.Nothing, + _OneofDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + OneofDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser OneofDescriptorProto + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "OneofDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData OneofDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_OneofDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_OneofDescriptorProto'name x__) + (Control.DeepSeq.deepseq (_OneofDescriptorProto'options x__) ())) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' OneofOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' OneofOptions (Data.Vector.Vector UninterpretedOption)@ -} +data OneofOptions + = OneofOptions'_constructor {_OneofOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _OneofOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show OneofOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField OneofOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofOptions'uninterpretedOption + (\ x__ y__ -> x__ {_OneofOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField OneofOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofOptions'uninterpretedOption + (\ x__ y__ -> x__ {_OneofOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message OneofOptions where + messageName _ = Data.Text.pack "google.protobuf.OneofOptions" + packedMessageDescriptor _ + = "\n\ + \\fOneofOptions\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor OneofOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _OneofOptions'_unknownFields + (\ x__ y__ -> x__ {_OneofOptions'_unknownFields = y__}) + defMessage + = OneofOptions'_constructor + {_OneofOptions'uninterpretedOption = Data.Vector.Generic.empty, + _OneofOptions'_unknownFields = []} + parseMessage + = let + loop :: + OneofOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser OneofOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "OneofOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData OneofOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_OneofOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_OneofOptions'uninterpretedOption x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' ServiceDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' ServiceDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.method' @:: Lens' ServiceDescriptorProto [MethodDescriptorProto]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'method' @:: Lens' ServiceDescriptorProto (Data.Vector.Vector MethodDescriptorProto)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' ServiceDescriptorProto ServiceOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' ServiceDescriptorProto (Prelude.Maybe ServiceOptions)@ -} +data ServiceDescriptorProto + = ServiceDescriptorProto'_constructor {_ServiceDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _ServiceDescriptorProto'method :: !(Data.Vector.Vector MethodDescriptorProto), + _ServiceDescriptorProto'options :: !(Prelude.Maybe ServiceOptions), + _ServiceDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show ServiceDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ServiceDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'name + (\ x__ y__ -> x__ {_ServiceDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField ServiceDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'name + (\ x__ y__ -> x__ {_ServiceDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ServiceDescriptorProto "method" [MethodDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'method + (\ x__ y__ -> x__ {_ServiceDescriptorProto'method = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField ServiceDescriptorProto "vec'method" (Data.Vector.Vector MethodDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'method + (\ x__ y__ -> x__ {_ServiceDescriptorProto'method = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ServiceDescriptorProto "options" ServiceOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'options + (\ x__ y__ -> x__ {_ServiceDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField ServiceDescriptorProto "maybe'options" (Prelude.Maybe ServiceOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'options + (\ x__ y__ -> x__ {_ServiceDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Message ServiceDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.ServiceDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\SYNServiceDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2>\n\ + \\ACKmethod\CAN\STX \ETX(\v2&.google.protobuf.MethodDescriptorProtoR\ACKmethod\DC29\n\ + \\aoptions\CAN\ETX \SOH(\v2\US.google.protobuf.ServiceOptionsR\aoptions" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor ServiceDescriptorProto + method__field_descriptor + = Data.ProtoLens.FieldDescriptor + "method" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor MethodDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"method")) :: + Data.ProtoLens.FieldDescriptor ServiceDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor ServiceOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor ServiceDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, method__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _ServiceDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_ServiceDescriptorProto'_unknownFields = y__}) + defMessage + = ServiceDescriptorProto'_constructor + {_ServiceDescriptorProto'name = Prelude.Nothing, + _ServiceDescriptorProto'method = Data.Vector.Generic.empty, + _ServiceDescriptorProto'options = Prelude.Nothing, + _ServiceDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + ServiceDescriptorProto + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld MethodDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser ServiceDescriptorProto + loop x mutable'method + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'method <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'method) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'method") frozen'method x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'method + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "method" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'method y) + loop x v + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + mutable'method + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'method + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'method <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'method) + "ServiceDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'method") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData ServiceDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_ServiceDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_ServiceDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_ServiceDescriptorProto'method x__) + (Control.DeepSeq.deepseq + (_ServiceDescriptorProto'options x__) ()))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' ServiceOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' ServiceOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' ServiceOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ServiceOptions (Data.Vector.Vector UninterpretedOption)@ -} +data ServiceOptions + = ServiceOptions'_constructor {_ServiceOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _ServiceOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _ServiceOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show ServiceOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ServiceOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'deprecated + (\ x__ y__ -> x__ {_ServiceOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField ServiceOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'deprecated + (\ x__ y__ -> x__ {_ServiceOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ServiceOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'uninterpretedOption + (\ x__ y__ -> x__ {_ServiceOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField ServiceOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'uninterpretedOption + (\ x__ y__ -> x__ {_ServiceOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message ServiceOptions where + messageName _ = Data.Text.pack "google.protobuf.ServiceOptions" + packedMessageDescriptor _ + = "\n\ + \\SOServiceOptions\DC2%\n\ + \\n\ + \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor ServiceOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor ServiceOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 33, deprecated__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _ServiceOptions'_unknownFields + (\ x__ y__ -> x__ {_ServiceOptions'_unknownFields = y__}) + defMessage + = ServiceOptions'_constructor + {_ServiceOptions'deprecated = Prelude.Nothing, + _ServiceOptions'uninterpretedOption = Data.Vector.Generic.empty, + _ServiceOptions'_unknownFields = []} + parseMessage + = let + loop :: + ServiceOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser ServiceOptions + loop x mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 264 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + "ServiceOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 264) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData ServiceOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_ServiceOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_ServiceOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_ServiceOptions'uninterpretedOption x__) ())) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.location' @:: Lens' SourceCodeInfo [SourceCodeInfo'Location]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'location' @:: Lens' SourceCodeInfo (Data.Vector.Vector SourceCodeInfo'Location)@ -} +data SourceCodeInfo + = SourceCodeInfo'_constructor {_SourceCodeInfo'location :: !(Data.Vector.Vector SourceCodeInfo'Location), + _SourceCodeInfo'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show SourceCodeInfo where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField SourceCodeInfo "location" [SourceCodeInfo'Location] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'location + (\ x__ y__ -> x__ {_SourceCodeInfo'location = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField SourceCodeInfo "vec'location" (Data.Vector.Vector SourceCodeInfo'Location) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'location + (\ x__ y__ -> x__ {_SourceCodeInfo'location = y__})) + Prelude.id +instance Data.ProtoLens.Message SourceCodeInfo where + messageName _ = Data.Text.pack "google.protobuf.SourceCodeInfo" + packedMessageDescriptor _ + = "\n\ + \\SOSourceCodeInfo\DC2D\n\ + \\blocation\CAN\SOH \ETX(\v2(.google.protobuf.SourceCodeInfo.LocationR\blocation\SUB\206\SOH\n\ + \\bLocation\DC2\SYN\n\ + \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\SYN\n\ + \\EOTspan\CAN\STX \ETX(\ENQR\EOTspanB\STX\DLE\SOH\DC2)\n\ + \\DLEleading_comments\CAN\ETX \SOH(\tR\SIleadingComments\DC2+\n\ + \\DC1trailing_comments\CAN\EOT \SOH(\tR\DLEtrailingComments\DC2:\n\ + \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + location__field_descriptor + = Data.ProtoLens.FieldDescriptor + "location" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor SourceCodeInfo'Location) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"location")) :: + Data.ProtoLens.FieldDescriptor SourceCodeInfo + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, location__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _SourceCodeInfo'_unknownFields + (\ x__ y__ -> x__ {_SourceCodeInfo'_unknownFields = y__}) + defMessage + = SourceCodeInfo'_constructor + {_SourceCodeInfo'location = Data.Vector.Generic.empty, + _SourceCodeInfo'_unknownFields = []} + parseMessage + = let + loop :: + SourceCodeInfo + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld SourceCodeInfo'Location + -> Data.ProtoLens.Encoding.Bytes.Parser SourceCodeInfo + loop x mutable'location + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'location <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'location) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'location") frozen'location x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "location" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'location y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'location + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'location <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'location) + "SourceCodeInfo" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'location") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData SourceCodeInfo where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_SourceCodeInfo'_unknownFields x__) + (Control.DeepSeq.deepseq (_SourceCodeInfo'location x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.path' @:: Lens' SourceCodeInfo'Location [Data.Int.Int32]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'path' @:: Lens' SourceCodeInfo'Location (Data.Vector.Unboxed.Vector Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.span' @:: Lens' SourceCodeInfo'Location [Data.Int.Int32]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'span' @:: Lens' SourceCodeInfo'Location (Data.Vector.Unboxed.Vector Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.leadingComments' @:: Lens' SourceCodeInfo'Location Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'leadingComments' @:: Lens' SourceCodeInfo'Location (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.trailingComments' @:: Lens' SourceCodeInfo'Location Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'trailingComments' @:: Lens' SourceCodeInfo'Location (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.leadingDetachedComments' @:: Lens' SourceCodeInfo'Location [Data.Text.Text]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'leadingDetachedComments' @:: Lens' SourceCodeInfo'Location (Data.Vector.Vector Data.Text.Text)@ -} +data SourceCodeInfo'Location + = SourceCodeInfo'Location'_constructor {_SourceCodeInfo'Location'path :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), + _SourceCodeInfo'Location'span :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), + _SourceCodeInfo'Location'leadingComments :: !(Prelude.Maybe Data.Text.Text), + _SourceCodeInfo'Location'trailingComments :: !(Prelude.Maybe Data.Text.Text), + _SourceCodeInfo'Location'leadingDetachedComments :: !(Data.Vector.Vector Data.Text.Text), + _SourceCodeInfo'Location'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show SourceCodeInfo'Location where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "path" [Data.Int.Int32] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'path + (\ x__ y__ -> x__ {_SourceCodeInfo'Location'path = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "vec'path" (Data.Vector.Unboxed.Vector Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'path + (\ x__ y__ -> x__ {_SourceCodeInfo'Location'path = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "span" [Data.Int.Int32] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'span + (\ x__ y__ -> x__ {_SourceCodeInfo'Location'span = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "vec'span" (Data.Vector.Unboxed.Vector Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'span + (\ x__ y__ -> x__ {_SourceCodeInfo'Location'span = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "leadingComments" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'leadingComments + (\ x__ y__ + -> x__ {_SourceCodeInfo'Location'leadingComments = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "maybe'leadingComments" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'leadingComments + (\ x__ y__ + -> x__ {_SourceCodeInfo'Location'leadingComments = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "trailingComments" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'trailingComments + (\ x__ y__ + -> x__ {_SourceCodeInfo'Location'trailingComments = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "maybe'trailingComments" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'trailingComments + (\ x__ y__ + -> x__ {_SourceCodeInfo'Location'trailingComments = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "leadingDetachedComments" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'leadingDetachedComments + (\ x__ y__ + -> x__ {_SourceCodeInfo'Location'leadingDetachedComments = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField SourceCodeInfo'Location "vec'leadingDetachedComments" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'leadingDetachedComments + (\ x__ y__ + -> x__ {_SourceCodeInfo'Location'leadingDetachedComments = y__})) + Prelude.id +instance Data.ProtoLens.Message SourceCodeInfo'Location where + messageName _ + = Data.Text.pack "google.protobuf.SourceCodeInfo.Location" + packedMessageDescriptor _ + = "\n\ + \\bLocation\DC2\SYN\n\ + \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\SYN\n\ + \\EOTspan\CAN\STX \ETX(\ENQR\EOTspanB\STX\DLE\SOH\DC2)\n\ + \\DLEleading_comments\CAN\ETX \SOH(\tR\SIleadingComments\DC2+\n\ + \\DC1trailing_comments\CAN\EOT \SOH(\tR\DLEtrailingComments\DC2:\n\ + \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + path__field_descriptor + = Data.ProtoLens.FieldDescriptor + "path" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Packed (Data.ProtoLens.Field.field @"path")) :: + Data.ProtoLens.FieldDescriptor SourceCodeInfo'Location + span__field_descriptor + = Data.ProtoLens.FieldDescriptor + "span" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Packed (Data.ProtoLens.Field.field @"span")) :: + Data.ProtoLens.FieldDescriptor SourceCodeInfo'Location + leadingComments__field_descriptor + = Data.ProtoLens.FieldDescriptor + "leading_comments" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'leadingComments")) :: + Data.ProtoLens.FieldDescriptor SourceCodeInfo'Location + trailingComments__field_descriptor + = Data.ProtoLens.FieldDescriptor + "trailing_comments" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'trailingComments")) :: + Data.ProtoLens.FieldDescriptor SourceCodeInfo'Location + leadingDetachedComments__field_descriptor + = Data.ProtoLens.FieldDescriptor + "leading_detached_comments" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"leadingDetachedComments")) :: + Data.ProtoLens.FieldDescriptor SourceCodeInfo'Location + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, path__field_descriptor), + (Data.ProtoLens.Tag 2, span__field_descriptor), + (Data.ProtoLens.Tag 3, leadingComments__field_descriptor), + (Data.ProtoLens.Tag 4, trailingComments__field_descriptor), + (Data.ProtoLens.Tag 6, leadingDetachedComments__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _SourceCodeInfo'Location'_unknownFields + (\ x__ y__ -> x__ {_SourceCodeInfo'Location'_unknownFields = y__}) + defMessage + = SourceCodeInfo'Location'_constructor + {_SourceCodeInfo'Location'path = Data.Vector.Generic.empty, + _SourceCodeInfo'Location'span = Data.Vector.Generic.empty, + _SourceCodeInfo'Location'leadingComments = Prelude.Nothing, + _SourceCodeInfo'Location'trailingComments = Prelude.Nothing, + _SourceCodeInfo'Location'leadingDetachedComments = Data.Vector.Generic.empty, + _SourceCodeInfo'Location'_unknownFields = []} + parseMessage + = let + loop :: + SourceCodeInfo'Location + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Int.Int32 + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Int.Int32 + -> Data.ProtoLens.Encoding.Bytes.Parser SourceCodeInfo'Location + loop x mutable'leadingDetachedComments mutable'path mutable'span + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'leadingDetachedComments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'leadingDetachedComments) + frozen'path <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'path) + frozen'span <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'span) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'leadingDetachedComments") + frozen'leadingDetachedComments + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'path") frozen'path + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'span") frozen'span x)))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "path" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'path y) + loop x mutable'leadingDetachedComments v mutable'span + 10 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "path" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'path) + loop x mutable'leadingDetachedComments y mutable'span + 16 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "span" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'span y) + loop x mutable'leadingDetachedComments mutable'path v + 18 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "span" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'span) + loop x mutable'leadingDetachedComments mutable'path y + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "leading_comments" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"leadingComments") y x) + mutable'leadingDetachedComments mutable'path mutable'span + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "trailing_comments" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"trailingComments") y x) + mutable'leadingDetachedComments mutable'path mutable'span + 50 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "leading_detached_comments" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'leadingDetachedComments y) + loop x v mutable'path mutable'span + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'leadingDetachedComments mutable'path mutable'span + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'leadingDetachedComments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'path <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'span <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'leadingDetachedComments + mutable'path mutable'span) + "Location" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + p = Lens.Family2.view (Data.ProtoLens.Field.field @"vec'path") _x + in + if Data.Vector.Generic.null p then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + (Data.ProtoLens.Encoding.Bytes.runBuilder + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + p)))) + ((Data.Monoid.<>) + (let + p = Lens.Family2.view (Data.ProtoLens.Field.field @"vec'span") _x + in + if Data.Vector.Generic.null p then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + (Data.ProtoLens.Encoding.Bytes.runBuilder + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + p)))) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'leadingComments") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'trailingComments") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'leadingDetachedComments") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData SourceCodeInfo'Location where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_SourceCodeInfo'Location'_unknownFields x__) + (Control.DeepSeq.deepseq + (_SourceCodeInfo'Location'path x__) + (Control.DeepSeq.deepseq + (_SourceCodeInfo'Location'span x__) + (Control.DeepSeq.deepseq + (_SourceCodeInfo'Location'leadingComments x__) + (Control.DeepSeq.deepseq + (_SourceCodeInfo'Location'trailingComments x__) + (Control.DeepSeq.deepseq + (_SourceCodeInfo'Location'leadingDetachedComments x__) ()))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' UninterpretedOption [UninterpretedOption'NamePart]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'name' @:: Lens' UninterpretedOption (Data.Vector.Vector UninterpretedOption'NamePart)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.identifierValue' @:: Lens' UninterpretedOption Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'identifierValue' @:: Lens' UninterpretedOption (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.positiveIntValue' @:: Lens' UninterpretedOption Data.Word.Word64@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'positiveIntValue' @:: Lens' UninterpretedOption (Prelude.Maybe Data.Word.Word64)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.negativeIntValue' @:: Lens' UninterpretedOption Data.Int.Int64@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'negativeIntValue' @:: Lens' UninterpretedOption (Prelude.Maybe Data.Int.Int64)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.doubleValue' @:: Lens' UninterpretedOption Prelude.Double@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'doubleValue' @:: Lens' UninterpretedOption (Prelude.Maybe Prelude.Double)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.stringValue' @:: Lens' UninterpretedOption Data.ByteString.ByteString@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'stringValue' @:: Lens' UninterpretedOption (Prelude.Maybe Data.ByteString.ByteString)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.aggregateValue' @:: Lens' UninterpretedOption Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'aggregateValue' @:: Lens' UninterpretedOption (Prelude.Maybe Data.Text.Text)@ -} +data UninterpretedOption + = UninterpretedOption'_constructor {_UninterpretedOption'name :: !(Data.Vector.Vector UninterpretedOption'NamePart), + _UninterpretedOption'identifierValue :: !(Prelude.Maybe Data.Text.Text), + _UninterpretedOption'positiveIntValue :: !(Prelude.Maybe Data.Word.Word64), + _UninterpretedOption'negativeIntValue :: !(Prelude.Maybe Data.Int.Int64), + _UninterpretedOption'doubleValue :: !(Prelude.Maybe Prelude.Double), + _UninterpretedOption'stringValue :: !(Prelude.Maybe Data.ByteString.ByteString), + _UninterpretedOption'aggregateValue :: !(Prelude.Maybe Data.Text.Text), + _UninterpretedOption'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show UninterpretedOption where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField UninterpretedOption "name" [UninterpretedOption'NamePart] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'name + (\ x__ y__ -> x__ {_UninterpretedOption'name = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField UninterpretedOption "vec'name" (Data.Vector.Vector UninterpretedOption'NamePart) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'name + (\ x__ y__ -> x__ {_UninterpretedOption'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption "identifierValue" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'identifierValue + (\ x__ y__ -> x__ {_UninterpretedOption'identifierValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField UninterpretedOption "maybe'identifierValue" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'identifierValue + (\ x__ y__ -> x__ {_UninterpretedOption'identifierValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption "positiveIntValue" Data.Word.Word64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'positiveIntValue + (\ x__ y__ -> x__ {_UninterpretedOption'positiveIntValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField UninterpretedOption "maybe'positiveIntValue" (Prelude.Maybe Data.Word.Word64) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'positiveIntValue + (\ x__ y__ -> x__ {_UninterpretedOption'positiveIntValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption "negativeIntValue" Data.Int.Int64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'negativeIntValue + (\ x__ y__ -> x__ {_UninterpretedOption'negativeIntValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField UninterpretedOption "maybe'negativeIntValue" (Prelude.Maybe Data.Int.Int64) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'negativeIntValue + (\ x__ y__ -> x__ {_UninterpretedOption'negativeIntValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption "doubleValue" Prelude.Double where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'doubleValue + (\ x__ y__ -> x__ {_UninterpretedOption'doubleValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField UninterpretedOption "maybe'doubleValue" (Prelude.Maybe Prelude.Double) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'doubleValue + (\ x__ y__ -> x__ {_UninterpretedOption'doubleValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption "stringValue" Data.ByteString.ByteString where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'stringValue + (\ x__ y__ -> x__ {_UninterpretedOption'stringValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField UninterpretedOption "maybe'stringValue" (Prelude.Maybe Data.ByteString.ByteString) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'stringValue + (\ x__ y__ -> x__ {_UninterpretedOption'stringValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption "aggregateValue" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'aggregateValue + (\ x__ y__ -> x__ {_UninterpretedOption'aggregateValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField UninterpretedOption "maybe'aggregateValue" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'aggregateValue + (\ x__ y__ -> x__ {_UninterpretedOption'aggregateValue = y__})) + Prelude.id +instance Data.ProtoLens.Message UninterpretedOption where + messageName _ + = Data.Text.pack "google.protobuf.UninterpretedOption" + packedMessageDescriptor _ + = "\n\ + \\DC3UninterpretedOption\DC2A\n\ + \\EOTname\CAN\STX \ETX(\v2-.google.protobuf.UninterpretedOption.NamePartR\EOTname\DC2)\n\ + \\DLEidentifier_value\CAN\ETX \SOH(\tR\SIidentifierValue\DC2,\n\ + \\DC2positive_int_value\CAN\EOT \SOH(\EOTR\DLEpositiveIntValue\DC2,\n\ + \\DC2negative_int_value\CAN\ENQ \SOH(\ETXR\DLEnegativeIntValue\DC2!\n\ + \\fdouble_value\CAN\ACK \SOH(\SOHR\vdoubleValue\DC2!\n\ + \\fstring_value\CAN\a \SOH(\fR\vstringValue\DC2'\n\ + \\SIaggregate_value\CAN\b \SOH(\tR\SOaggregateValue\SUBJ\n\ + \\bNamePart\DC2\ESC\n\ + \\tname_part\CAN\SOH \STX(\tR\bnamePart\DC2!\n\ + \\fis_extension\CAN\STX \STX(\bR\visExtension" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption'NamePart) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + identifierValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "identifier_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'identifierValue")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + positiveIntValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "positive_int_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'positiveIntValue")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + negativeIntValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "negative_int_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'negativeIntValue")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + doubleValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "double_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Double) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'doubleValue")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + stringValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "string_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField :: + Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'stringValue")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + aggregateValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "aggregate_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'aggregateValue")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption + in + Data.Map.fromList + [(Data.ProtoLens.Tag 2, name__field_descriptor), + (Data.ProtoLens.Tag 3, identifierValue__field_descriptor), + (Data.ProtoLens.Tag 4, positiveIntValue__field_descriptor), + (Data.ProtoLens.Tag 5, negativeIntValue__field_descriptor), + (Data.ProtoLens.Tag 6, doubleValue__field_descriptor), + (Data.ProtoLens.Tag 7, stringValue__field_descriptor), + (Data.ProtoLens.Tag 8, aggregateValue__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _UninterpretedOption'_unknownFields + (\ x__ y__ -> x__ {_UninterpretedOption'_unknownFields = y__}) + defMessage + = UninterpretedOption'_constructor + {_UninterpretedOption'name = Data.Vector.Generic.empty, + _UninterpretedOption'identifierValue = Prelude.Nothing, + _UninterpretedOption'positiveIntValue = Prelude.Nothing, + _UninterpretedOption'negativeIntValue = Prelude.Nothing, + _UninterpretedOption'doubleValue = Prelude.Nothing, + _UninterpretedOption'stringValue = Prelude.Nothing, + _UninterpretedOption'aggregateValue = Prelude.Nothing, + _UninterpretedOption'_unknownFields = []} + parseMessage + = let + loop :: + UninterpretedOption + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption'NamePart + -> Data.ProtoLens.Encoding.Bytes.Parser UninterpretedOption + loop x mutable'name + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'name <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'name) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'name") frozen'name x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "name" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'name y) + loop x v + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "identifier_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"identifierValue") y x) + mutable'name + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + Data.ProtoLens.Encoding.Bytes.getVarInt "positive_int_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"positiveIntValue") y x) + mutable'name + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "negative_int_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"negativeIntValue") y x) + mutable'name + 49 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Data.ProtoLens.Encoding.Bytes.wordToDouble + Data.ProtoLens.Encoding.Bytes.getFixed64) + "double_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"doubleValue") y x) + mutable'name + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getBytes + (Prelude.fromIntegral len)) + "string_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"stringValue") y x) + mutable'name + 66 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "aggregate_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"aggregateValue") y x) + mutable'name + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'name + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'name <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'name) + "UninterpretedOption" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'name") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'identifierValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'positiveIntValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + (Data.ProtoLens.Encoding.Bytes.putVarInt _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'negativeIntValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'doubleValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 49) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putFixed64 + Data.ProtoLens.Encoding.Bytes.doubleToWord _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'stringValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'aggregateValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 66) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) +instance Control.DeepSeq.NFData UninterpretedOption where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_UninterpretedOption'_unknownFields x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'name x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'identifierValue x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'positiveIntValue x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'negativeIntValue x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'doubleValue x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'stringValue x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'aggregateValue x__) ()))))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.namePart' @:: Lens' UninterpretedOption'NamePart Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.isExtension' @:: Lens' UninterpretedOption'NamePart Prelude.Bool@ -} +data UninterpretedOption'NamePart + = UninterpretedOption'NamePart'_constructor {_UninterpretedOption'NamePart'namePart :: !Data.Text.Text, + _UninterpretedOption'NamePart'isExtension :: !Prelude.Bool, + _UninterpretedOption'NamePart'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show UninterpretedOption'NamePart where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField UninterpretedOption'NamePart "namePart" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'NamePart'namePart + (\ x__ y__ -> x__ {_UninterpretedOption'NamePart'namePart = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField UninterpretedOption'NamePart "isExtension" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UninterpretedOption'NamePart'isExtension + (\ x__ y__ + -> x__ {_UninterpretedOption'NamePart'isExtension = y__})) + Prelude.id +instance Data.ProtoLens.Message UninterpretedOption'NamePart where + messageName _ + = Data.Text.pack "google.protobuf.UninterpretedOption.NamePart" + packedMessageDescriptor _ + = "\n\ + \\bNamePart\DC2\ESC\n\ + \\tname_part\CAN\SOH \STX(\tR\bnamePart\DC2!\n\ + \\fis_extension\CAN\STX \STX(\bR\visExtension" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + namePart__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name_part" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Required + (Data.ProtoLens.Field.field @"namePart")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption'NamePart + isExtension__field_descriptor + = Data.ProtoLens.FieldDescriptor + "is_extension" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.PlainField + Data.ProtoLens.Required + (Data.ProtoLens.Field.field @"isExtension")) :: + Data.ProtoLens.FieldDescriptor UninterpretedOption'NamePart + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, namePart__field_descriptor), + (Data.ProtoLens.Tag 2, isExtension__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _UninterpretedOption'NamePart'_unknownFields + (\ x__ y__ + -> x__ {_UninterpretedOption'NamePart'_unknownFields = y__}) + defMessage + = UninterpretedOption'NamePart'_constructor + {_UninterpretedOption'NamePart'namePart = Data.ProtoLens.fieldDefault, + _UninterpretedOption'NamePart'isExtension = Data.ProtoLens.fieldDefault, + _UninterpretedOption'NamePart'_unknownFields = []} + parseMessage + = let + loop :: + UninterpretedOption'NamePart + -> Prelude.Bool + -> Prelude.Bool + -> Data.ProtoLens.Encoding.Bytes.Parser UninterpretedOption'NamePart + loop x required'isExtension required'namePart + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let + missing + = (if required'isExtension then (:) "is_extension" else Prelude.id) + ((if required'namePart then (:) "name_part" else Prelude.id) []) + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name_part" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"namePart") y x) + required'isExtension Prelude.False + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "is_extension" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"isExtension") y x) + Prelude.False required'namePart + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + required'isExtension required'namePart + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage Prelude.True Prelude.True) + "NamePart" + buildMessage + = \ _x + -> (Data.Monoid.<>) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 + (Lens.Family2.view (Data.ProtoLens.Field.field @"namePart") _x))) + ((Data.Monoid.<>) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"isExtension") _x))) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData UninterpretedOption'NamePart where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_UninterpretedOption'NamePart'_unknownFields x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'NamePart'namePart x__) + (Control.DeepSeq.deepseq + (_UninterpretedOption'NamePart'isExtension x__) ())) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \ google/protobuf/descriptor.proto\DC2\SIgoogle.protobuf\"M\n\ + \\DC1FileDescriptorSet\DC28\n\ + \\EOTfile\CAN\SOH \ETX(\v2$.google.protobuf.FileDescriptorProtoR\EOTfile\"\228\EOT\n\ + \\DC3FileDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\ + \\apackage\CAN\STX \SOH(\tR\apackage\DC2\RS\n\ + \\n\ + \dependency\CAN\ETX \ETX(\tR\n\ + \dependency\DC2+\n\ + \\DC1public_dependency\CAN\n\ + \ \ETX(\ENQR\DLEpublicDependency\DC2'\n\ + \\SIweak_dependency\CAN\v \ETX(\ENQR\SOweakDependency\DC2C\n\ + \\fmessage_type\CAN\EOT \ETX(\v2 .google.protobuf.DescriptorProtoR\vmessageType\DC2A\n\ + \\tenum_type\CAN\ENQ \ETX(\v2$.google.protobuf.EnumDescriptorProtoR\benumType\DC2A\n\ + \\aservice\CAN\ACK \ETX(\v2'.google.protobuf.ServiceDescriptorProtoR\aservice\DC2C\n\ + \\textension\CAN\a \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC26\n\ + \\aoptions\CAN\b \SOH(\v2\FS.google.protobuf.FileOptionsR\aoptions\DC2I\n\ + \\DLEsource_code_info\CAN\t \SOH(\v2\US.google.protobuf.SourceCodeInfoR\SOsourceCodeInfo\DC2\SYN\n\ + \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\"\185\ACK\n\ + \\SIDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2;\n\ + \\ENQfield\CAN\STX \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\ENQfield\DC2C\n\ + \\textension\CAN\ACK \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC2A\n\ + \\vnested_type\CAN\ETX \ETX(\v2 .google.protobuf.DescriptorProtoR\n\ + \nestedType\DC2A\n\ + \\tenum_type\CAN\EOT \ETX(\v2$.google.protobuf.EnumDescriptorProtoR\benumType\DC2X\n\ + \\SIextension_range\CAN\ENQ \ETX(\v2/.google.protobuf.DescriptorProto.ExtensionRangeR\SOextensionRange\DC2D\n\ + \\n\ + \oneof_decl\CAN\b \ETX(\v2%.google.protobuf.OneofDescriptorProtoR\toneofDecl\DC29\n\ + \\aoptions\CAN\a \SOH(\v2\US.google.protobuf.MessageOptionsR\aoptions\DC2U\n\ + \\SOreserved_range\CAN\t \ETX(\v2..google.protobuf.DescriptorProto.ReservedRangeR\rreservedRange\DC2#\n\ + \\rreserved_name\CAN\n\ + \ \ETX(\tR\freservedName\SUBz\n\ + \\SOExtensionRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\DC2@\n\ + \\aoptions\CAN\ETX \SOH(\v2&.google.protobuf.ExtensionRangeOptionsR\aoptions\SUB7\n\ + \\rReservedRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\"|\n\ + \\NAKExtensionRangeOptions\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\193\ACK\n\ + \\DC4FieldDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2A\n\ + \\ENQlabel\CAN\EOT \SOH(\SO2+.google.protobuf.FieldDescriptorProto.LabelR\ENQlabel\DC2>\n\ + \\EOTtype\CAN\ENQ \SOH(\SO2*.google.protobuf.FieldDescriptorProto.TypeR\EOTtype\DC2\ESC\n\ + \\ttype_name\CAN\ACK \SOH(\tR\btypeName\DC2\SUB\n\ + \\bextendee\CAN\STX \SOH(\tR\bextendee\DC2#\n\ + \\rdefault_value\CAN\a \SOH(\tR\fdefaultValue\DC2\US\n\ + \\voneof_index\CAN\t \SOH(\ENQR\n\ + \oneofIndex\DC2\ESC\n\ + \\tjson_name\CAN\n\ + \ \SOH(\tR\bjsonName\DC27\n\ + \\aoptions\CAN\b \SOH(\v2\GS.google.protobuf.FieldOptionsR\aoptions\DC2'\n\ + \\SIproto3_optional\CAN\DC1 \SOH(\bR\SOproto3Optional\"\182\STX\n\ + \\EOTType\DC2\SI\n\ + \\vTYPE_DOUBLE\DLE\SOH\DC2\SO\n\ + \\n\ + \TYPE_FLOAT\DLE\STX\DC2\SO\n\ + \\n\ + \TYPE_INT64\DLE\ETX\DC2\SI\n\ + \\vTYPE_UINT64\DLE\EOT\DC2\SO\n\ + \\n\ + \TYPE_INT32\DLE\ENQ\DC2\DLE\n\ + \\fTYPE_FIXED64\DLE\ACK\DC2\DLE\n\ + \\fTYPE_FIXED32\DLE\a\DC2\r\n\ + \\tTYPE_BOOL\DLE\b\DC2\SI\n\ + \\vTYPE_STRING\DLE\t\DC2\SO\n\ + \\n\ + \TYPE_GROUP\DLE\n\ + \\DC2\DLE\n\ + \\fTYPE_MESSAGE\DLE\v\DC2\SO\n\ + \\n\ + \TYPE_BYTES\DLE\f\DC2\SI\n\ + \\vTYPE_UINT32\DLE\r\DC2\r\n\ + \\tTYPE_ENUM\DLE\SO\DC2\DC1\n\ + \\rTYPE_SFIXED32\DLE\SI\DC2\DC1\n\ + \\rTYPE_SFIXED64\DLE\DLE\DC2\SI\n\ + \\vTYPE_SINT32\DLE\DC1\DC2\SI\n\ + \\vTYPE_SINT64\DLE\DC2\"C\n\ + \\ENQLabel\DC2\DC2\n\ + \\SOLABEL_OPTIONAL\DLE\SOH\DC2\DC2\n\ + \\SOLABEL_REQUIRED\DLE\STX\DC2\DC2\n\ + \\SOLABEL_REPEATED\DLE\ETX\"c\n\ + \\DC4OneofDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC27\n\ + \\aoptions\CAN\STX \SOH(\v2\GS.google.protobuf.OneofOptionsR\aoptions\"\227\STX\n\ + \\DC3EnumDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2?\n\ + \\ENQvalue\CAN\STX \ETX(\v2).google.protobuf.EnumValueDescriptorProtoR\ENQvalue\DC26\n\ + \\aoptions\CAN\ETX \SOH(\v2\FS.google.protobuf.EnumOptionsR\aoptions\DC2]\n\ + \\SOreserved_range\CAN\EOT \ETX(\v26.google.protobuf.EnumDescriptorProto.EnumReservedRangeR\rreservedRange\DC2#\n\ + \\rreserved_name\CAN\ENQ \ETX(\tR\freservedName\SUB;\n\ + \\DC1EnumReservedRange\DC2\DC4\n\ + \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\"\131\SOH\n\ + \\CANEnumValueDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\STX \SOH(\ENQR\ACKnumber\DC2;\n\ + \\aoptions\CAN\ETX \SOH(\v2!.google.protobuf.EnumValueOptionsR\aoptions\"\167\SOH\n\ + \\SYNServiceDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2>\n\ + \\ACKmethod\CAN\STX \ETX(\v2&.google.protobuf.MethodDescriptorProtoR\ACKmethod\DC29\n\ + \\aoptions\CAN\ETX \SOH(\v2\US.google.protobuf.ServiceOptionsR\aoptions\"\137\STX\n\ + \\NAKMethodDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\GS\n\ + \\n\ + \input_type\CAN\STX \SOH(\tR\tinputType\DC2\US\n\ + \\voutput_type\CAN\ETX \SOH(\tR\n\ + \outputType\DC28\n\ + \\aoptions\CAN\EOT \SOH(\v2\RS.google.protobuf.MethodOptionsR\aoptions\DC20\n\ + \\DLEclient_streaming\CAN\ENQ \SOH(\b:\ENQfalseR\SIclientStreaming\DC20\n\ + \\DLEserver_streaming\CAN\ACK \SOH(\b:\ENQfalseR\SIserverStreaming\"\145\t\n\ + \\vFileOptions\DC2!\n\ + \\fjava_package\CAN\SOH \SOH(\tR\vjavaPackage\DC20\n\ + \\DC4java_outer_classname\CAN\b \SOH(\tR\DC2javaOuterClassname\DC25\n\ + \\DC3java_multiple_files\CAN\n\ + \ \SOH(\b:\ENQfalseR\DC1javaMultipleFiles\DC2D\n\ + \\GSjava_generate_equals_and_hash\CAN\DC4 \SOH(\bR\EMjavaGenerateEqualsAndHashB\STX\CAN\SOH\DC2:\n\ + \\SYNjava_string_check_utf8\CAN\ESC \SOH(\b:\ENQfalseR\DC3javaStringCheckUtf8\DC2S\n\ + \\foptimize_for\CAN\t \SOH(\SO2).google.protobuf.FileOptions.OptimizeMode:\ENQSPEEDR\voptimizeFor\DC2\GS\n\ + \\n\ + \go_package\CAN\v \SOH(\tR\tgoPackage\DC25\n\ + \\DC3cc_generic_services\CAN\DLE \SOH(\b:\ENQfalseR\DC1ccGenericServices\DC29\n\ + \\NAKjava_generic_services\CAN\DC1 \SOH(\b:\ENQfalseR\DC3javaGenericServices\DC25\n\ + \\DC3py_generic_services\CAN\DC2 \SOH(\b:\ENQfalseR\DC1pyGenericServices\DC27\n\ + \\DC4php_generic_services\CAN* \SOH(\b:\ENQfalseR\DC2phpGenericServices\DC2%\n\ + \\n\ + \deprecated\CAN\ETB \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2.\n\ + \\DLEcc_enable_arenas\CAN\US \SOH(\b:\EOTtrueR\SOccEnableArenas\DC2*\n\ + \\DC1objc_class_prefix\CAN$ \SOH(\tR\SIobjcClassPrefix\DC2)\n\ + \\DLEcsharp_namespace\CAN% \SOH(\tR\SIcsharpNamespace\DC2!\n\ + \\fswift_prefix\CAN' \SOH(\tR\vswiftPrefix\DC2(\n\ + \\DLEphp_class_prefix\CAN( \SOH(\tR\SOphpClassPrefix\DC2#\n\ + \\rphp_namespace\CAN) \SOH(\tR\fphpNamespace\DC24\n\ + \\SYNphp_metadata_namespace\CAN, \SOH(\tR\DC4phpMetadataNamespace\DC2!\n\ + \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\":\n\ + \\fOptimizeMode\DC2\t\n\ + \\ENQSPEED\DLE\SOH\DC2\r\n\ + \\tCODE_SIZE\DLE\STX\DC2\DLE\n\ + \\fLITE_RUNTIME\DLE\ETX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b&\DLE'\"\209\STX\n\ + \\SOMessageOptions\DC2<\n\ + \\ETBmessage_set_wire_format\CAN\SOH \SOH(\b:\ENQfalseR\DC4messageSetWireFormat\DC2L\n\ + \\USno_standard_descriptor_accessor\CAN\STX \SOH(\b:\ENQfalseR\FSnoStandardDescriptorAccessor\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2\ESC\n\ + \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n\ + \\"\226\ETX\n\ + \\fFieldOptions\DC2A\n\ + \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ + \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ + \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ + \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2\EM\n\ + \\EOTweak\CAN\n\ + \ \SOH(\b:\ENQfalseR\EOTweak\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"/\n\ + \\ENQCType\DC2\n\ + \\n\ + \\ACKSTRING\DLE\NUL\DC2\b\n\ + \\EOTCORD\DLE\SOH\DC2\DLE\n\ + \\fSTRING_PIECE\DLE\STX\"5\n\ + \\ACKJSType\DC2\r\n\ + \\tJS_NORMAL\DLE\NUL\DC2\r\n\ + \\tJS_STRING\DLE\SOH\DC2\r\n\ + \\tJS_NUMBER\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQ\"s\n\ + \\fOneofOptions\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\192\SOH\n\ + \\vEnumOptions\DC2\US\n\ + \\vallow_alias\CAN\STX \SOH(\bR\n\ + \allowAlias\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK\"\158\SOH\n\ + \\DLEEnumValueOptions\DC2%\n\ + \\n\ + \deprecated\CAN\SOH \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\156\SOH\n\ + \\SOServiceOptions\DC2%\n\ + \\n\ + \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\224\STX\n\ + \\rMethodOptions\DC2%\n\ + \\n\ + \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2q\n\ + \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"P\n\ + \\DLEIdempotencyLevel\DC2\ETB\n\ + \\DC3IDEMPOTENCY_UNKNOWN\DLE\NUL\DC2\DC3\n\ + \\SINO_SIDE_EFFECTS\DLE\SOH\DC2\SO\n\ + \\n\ + \IDEMPOTENT\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STX\"\154\ETX\n\ + \\DC3UninterpretedOption\DC2A\n\ + \\EOTname\CAN\STX \ETX(\v2-.google.protobuf.UninterpretedOption.NamePartR\EOTname\DC2)\n\ + \\DLEidentifier_value\CAN\ETX \SOH(\tR\SIidentifierValue\DC2,\n\ + \\DC2positive_int_value\CAN\EOT \SOH(\EOTR\DLEpositiveIntValue\DC2,\n\ + \\DC2negative_int_value\CAN\ENQ \SOH(\ETXR\DLEnegativeIntValue\DC2!\n\ + \\fdouble_value\CAN\ACK \SOH(\SOHR\vdoubleValue\DC2!\n\ + \\fstring_value\CAN\a \SOH(\fR\vstringValue\DC2'\n\ + \\SIaggregate_value\CAN\b \SOH(\tR\SOaggregateValue\SUBJ\n\ + \\bNamePart\DC2\ESC\n\ + \\tname_part\CAN\SOH \STX(\tR\bnamePart\DC2!\n\ + \\fis_extension\CAN\STX \STX(\bR\visExtension\"\167\STX\n\ + \\SOSourceCodeInfo\DC2D\n\ + \\blocation\CAN\SOH \ETX(\v2(.google.protobuf.SourceCodeInfo.LocationR\blocation\SUB\206\SOH\n\ + \\bLocation\DC2\SYN\n\ + \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\SYN\n\ + \\EOTspan\CAN\STX \ETX(\ENQR\EOTspanB\STX\DLE\SOH\DC2)\n\ + \\DLEleading_comments\CAN\ETX \SOH(\tR\SIleadingComments\DC2+\n\ + \\DC1trailing_comments\CAN\EOT \SOH(\tR\DLEtrailingComments\DC2:\n\ + \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments\"\209\SOH\n\ + \\DC1GeneratedCodeInfo\DC2M\n\ + \\n\ + \annotation\CAN\SOH \ETX(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n\ + \annotation\SUBm\n\ + \\n\ + \Annotation\DC2\SYN\n\ + \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ + \\vsource_file\CAN\STX \SOH(\tR\n\ + \sourceFile\DC2\DC4\n\ + \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ + \\ETXend\CAN\EOT \SOH(\ENQR\ETXendB~\n\ + \\DC3com.google.protobufB\DLEDescriptorProtosH\SOHZ-google.golang.org/protobuf/types/descriptorpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\SUBGoogle.Protobuf.ReflectionJ\188\200\STX\n\ + \\a\DC2\ENQ'\NUL\140\a\SOH\n\ + \\170\SI\n\ + \\SOH\f\DC2\ETX'\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \2\219\STX Author: kenton@google.com (Kenton Varda)\n\ + \ Based on original Protocol Buffers design by\n\ + \ Sanjay Ghemawat, Jeff Dean, and others.\n\ + \\n\ + \ The messages in this file describe the definitions found in .proto files.\n\ + \ A valid .proto file can be translated directly to a FileDescriptorProto\n\ + \ without any other information (e.g. without reading its imports).\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX)\NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX+\NULD\n\ + \\t\n\ + \\STX\b\v\DC2\ETX+\NULD\n\ + \\b\n\ + \\SOH\b\DC2\ETX,\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX,\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX-\NUL1\n\ + \\t\n\ + \\STX\b\b\DC2\ETX-\NUL1\n\ + \\b\n\ + \\SOH\b\DC2\ETX.\NUL7\n\ + \\t\n\ + \\STX\b%\DC2\ETX.\NUL7\n\ + \\b\n\ + \\SOH\b\DC2\ETX/\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX/\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX0\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX0\NUL\US\n\ + \\b\n\ + \\SOH\b\DC2\ETX4\NUL\FS\n\ + \\DEL\n\ + \\STX\b\t\DC2\ETX4\NUL\FS\SUBt descriptor.proto must be optimized for speed because reflection-based\n\ + \ algorithms don't work during bootstrapping.\n\ + \\n\ + \j\n\ + \\STX\EOT\NUL\DC2\EOT8\NUL:\SOH\SUB^ The protocol compiler can output a FileDescriptorSet containing the .proto\n\ + \ files it parses.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX8\b\EM\n\ + \\v\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX9\STX(\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX9\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX9\v\RS\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX9\US#\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX9&'\n\ + \/\n\ + \\STX\EOT\SOH\DC2\EOT=\NULZ\SOH\SUB# Describes a complete .proto file.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX=\b\ESC\n\ + \9\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETX>\STX\ESC\", file name, relative to root of source tree\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX>\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX>\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX>\DC2\SYN\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX>\EM\SUB\n\ + \*\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETX?\STX\RS\"\GS e.g. \"foo\", \"foo.bar\", etc.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX?\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX?\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX?\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX?\FS\GS\n\ + \4\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXB\STX!\SUB' Names of files imported by this file.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXB\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXB\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXB\DC2\FS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXB\US \n\ + \Q\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXD\STX(\SUBD Indexes of the public imported files in the dependency list above.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXD\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXD\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXD\DC1\"\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXD%'\n\ + \z\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXG\STX&\SUBm Indexes of the weak imported files in the dependency list.\n\ + \ For Google-internal migration only. Do not use.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXG\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXG\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXG\DC1 \n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXG#%\n\ + \6\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\ETXJ\STX,\SUB) All top-level definitions in this file.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETXJ\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXJ\v\SUB\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXJ\ESC'\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXJ*+\n\ + \\v\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\ETXK\STX-\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\EOT\DC2\ETXK\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXK\v\RS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXK\US(\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXK+,\n\ + \\v\n\ + \\EOT\EOT\SOH\STX\a\DC2\ETXL\STX.\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\a\EOT\DC2\ETXL\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETXL\v!\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETXL\")\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETXL,-\n\ + \\v\n\ + \\EOT\EOT\SOH\STX\b\DC2\ETXM\STX.\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\b\EOT\DC2\ETXM\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETXM\v\US\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETXM )\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETXM,-\n\ + \\v\n\ + \\EOT\EOT\SOH\STX\t\DC2\ETXO\STX#\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\t\EOT\DC2\ETXO\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETXO\v\SYN\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETXO\ETB\RS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETXO!\"\n\ + \\244\SOH\n\ + \\EOT\EOT\SOH\STX\n\ + \\DC2\ETXU\STX/\SUB\230\SOH This field contains optional information about the original source code.\n\ + \ You may safely remove this entire field without harming runtime\n\ + \ functionality of the descriptors -- the information is needed only by\n\ + \ development tools.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\n\ + \\EOT\DC2\ETXU\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\n\ + \\ACK\DC2\ETXU\v\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\n\ + \\SOH\DC2\ETXU\SUB*\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\n\ + \\ETX\DC2\ETXU-.\n\ + \]\n\ + \\EOT\EOT\SOH\STX\v\DC2\ETXY\STX\RS\SUBP The syntax of the proto file.\n\ + \ The supported values are \"proto2\" and \"proto3\".\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\v\EOT\DC2\ETXY\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\v\ENQ\DC2\ETXY\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETXY\DC2\CAN\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETXY\ESC\GS\n\ + \'\n\ + \\STX\EOT\STX\DC2\EOT]\NUL}\SOH\SUB\ESC Describes a message type.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\STX\SOH\DC2\ETX]\b\ETB\n\ + \\v\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETX^\STX\ESC\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX^\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX^\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX^\DC2\SYN\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX^\EM\SUB\n\ + \\v\n\ + \\EOT\EOT\STX\STX\SOH\DC2\ETX`\STX*\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX`\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX`\v\US\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX` %\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX`()\n\ + \\v\n\ + \\EOT\EOT\STX\STX\STX\DC2\ETXa\STX.\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETXa\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETXa\v\US\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXa )\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXa,-\n\ + \\v\n\ + \\EOT\EOT\STX\STX\ETX\DC2\ETXc\STX+\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETXc\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETXc\v\SUB\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXc\ESC&\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXc)*\n\ + \\v\n\ + \\EOT\EOT\STX\STX\EOT\DC2\ETXd\STX-\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\EOT\EOT\DC2\ETXd\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETXd\v\RS\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETXd\US(\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETXd+,\n\ + \\f\n\ + \\EOT\EOT\STX\ETX\NUL\DC2\EOTf\STXk\ETX\n\ + \\f\n\ + \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXf\n\ + \\CAN\n\ + \\ESC\n\ + \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\ETXg\EOT\GS\"\f Inclusive.\n\ + \\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\ETXg\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\ETXg\r\DC2\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\ETXg\DC3\CAN\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\ETXg\ESC\FS\n\ + \\ESC\n\ + \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\ETXh\EOT\ESC\"\f Exclusive.\n\ + \\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\ETXh\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\ETXh\r\DC2\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\ETXh\DC3\SYN\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\ETXh\EM\SUB\n\ + \\r\n\ + \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\ETXj\EOT/\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\ETXj\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ACK\DC2\ETXj\r\"\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\ETXj#*\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\ETXj-.\n\ + \\v\n\ + \\EOT\EOT\STX\STX\ENQ\DC2\ETXl\STX.\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ENQ\EOT\DC2\ETXl\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\ETXl\v\EM\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\ETXl\SUB)\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\ETXl,-\n\ + \\v\n\ + \\EOT\EOT\STX\STX\ACK\DC2\ETXn\STX/\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ACK\EOT\DC2\ETXn\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ACK\ACK\DC2\ETXn\v\US\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ACK\SOH\DC2\ETXn *\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ACK\ETX\DC2\ETXn-.\n\ + \\v\n\ + \\EOT\EOT\STX\STX\a\DC2\ETXp\STX&\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\a\EOT\DC2\ETXp\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\a\ACK\DC2\ETXp\v\EM\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\a\SOH\DC2\ETXp\SUB!\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\a\ETX\DC2\ETXp$%\n\ + \\170\SOH\n\ + \\EOT\EOT\STX\ETX\SOH\DC2\EOTu\STXx\ETX\SUB\155\SOH Range of reserved tag numbers. Reserved tag numbers may not be used by\n\ + \ fields or extension ranges in the same message. Reserved ranges may\n\ + \ not overlap.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\ETX\SOH\SOH\DC2\ETXu\n\ + \\ETB\n\ + \\ESC\n\ + \\ACK\EOT\STX\ETX\SOH\STX\NUL\DC2\ETXv\EOT\GS\"\f Inclusive.\n\ + \\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\EOT\DC2\ETXv\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\ENQ\DC2\ETXv\r\DC2\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\SOH\DC2\ETXv\DC3\CAN\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\ETX\DC2\ETXv\ESC\FS\n\ + \\ESC\n\ + \\ACK\EOT\STX\ETX\SOH\STX\SOH\DC2\ETXw\EOT\ESC\"\f Exclusive.\n\ + \\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\EOT\DC2\ETXw\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\ENQ\DC2\ETXw\r\DC2\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\SOH\DC2\ETXw\DC3\SYN\n\ + \\SO\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\ETX\DC2\ETXw\EM\SUB\n\ + \\v\n\ + \\EOT\EOT\STX\STX\b\DC2\ETXy\STX,\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\b\EOT\DC2\ETXy\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\b\ACK\DC2\ETXy\v\CAN\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\b\SOH\DC2\ETXy\EM'\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\b\ETX\DC2\ETXy*+\n\ + \\130\SOH\n\ + \\EOT\EOT\STX\STX\t\DC2\ETX|\STX%\SUBu Reserved field names, which may not be used by fields in the same message.\n\ + \ A given name may only be reserved once.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\t\EOT\DC2\ETX|\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\t\ENQ\DC2\ETX|\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\t\SOH\DC2\ETX|\DC2\US\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\t\ETX\DC2\ETX|\"$\n\ + \\v\n\ + \\STX\EOT\ETX\DC2\ENQ\DEL\NUL\134\SOH\SOH\n\ + \\n\ + \\n\ + \\ETX\EOT\ETX\SOH\DC2\ETX\DEL\b\GS\n\ + \O\n\ + \\EOT\EOT\ETX\STX\NUL\DC2\EOT\129\SOH\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\EOT\DC2\EOT\129\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\129\SOH\v\RS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\129\SOH\US3\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\129\SOH69\n\ + \Z\n\ + \\ETX\EOT\ETX\ENQ\DC2\EOT\133\SOH\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\ETX\ENQ\NUL\DC2\EOT\133\SOH\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\ETX\ENQ\NUL\SOH\DC2\EOT\133\SOH\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\ETX\ENQ\NUL\STX\DC2\EOT\133\SOH\NAK\CAN\n\ + \3\n\ + \\STX\EOT\EOT\DC2\ACK\137\SOH\NUL\238\SOH\SOH\SUB% Describes a field within a message.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\EOT\SOH\DC2\EOT\137\SOH\b\FS\n\ + \\SO\n\ + \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\138\SOH\STX\169\SOH\ETX\n\ + \\r\n\ + \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\138\SOH\a\v\n\ + \S\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\141\SOH\EOT\DC4\SUBC 0 is reserved for errors.\n\ + \ Order is weird for historical reasons.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\141\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\141\SOH\DC2\DC3\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\142\SOH\EOT\DC3\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\142\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\142\SOH\DC1\DC2\n\ + \w\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\145\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n\ + \ negative values are likely.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\145\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\145\SOH\DC1\DC2\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ETX\DC2\EOT\146\SOH\EOT\DC4\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ETX\SOH\DC2\EOT\146\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ETX\STX\DC2\EOT\146\SOH\DC2\DC3\n\ + \w\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\EOT\DC2\EOT\149\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n\ + \ negative values are likely.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\EOT\SOH\DC2\EOT\149\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\EOT\STX\DC2\EOT\149\SOH\DC1\DC2\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ENQ\DC2\EOT\150\SOH\EOT\NAK\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ENQ\SOH\DC2\EOT\150\SOH\EOT\DLE\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ENQ\STX\DC2\EOT\150\SOH\DC3\DC4\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ACK\DC2\EOT\151\SOH\EOT\NAK\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ACK\SOH\DC2\EOT\151\SOH\EOT\DLE\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ACK\STX\DC2\EOT\151\SOH\DC3\DC4\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\a\DC2\EOT\152\SOH\EOT\DC2\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\a\SOH\DC2\EOT\152\SOH\EOT\r\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\a\STX\DC2\EOT\152\SOH\DLE\DC1\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\b\DC2\EOT\153\SOH\EOT\DC4\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\b\SOH\DC2\EOT\153\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\b\STX\DC2\EOT\153\SOH\DC2\DC3\n\ + \\226\SOH\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\t\DC2\EOT\158\SOH\EOT\DC4\SUB\209\SOH Tag-delimited aggregate.\n\ + \ Group type is deprecated and not supported in proto3. However, Proto3\n\ + \ implementations should still be able to parse the group wire format and\n\ + \ treat group fields as unknown fields.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\t\SOH\DC2\EOT\158\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\t\STX\DC2\EOT\158\SOH\DC1\DC3\n\ + \-\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\n\ + \\DC2\EOT\159\SOH\EOT\SYN\"\GS Length-delimited aggregate.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\n\ + \\SOH\DC2\EOT\159\SOH\EOT\DLE\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\n\ + \\STX\DC2\EOT\159\SOH\DC3\NAK\n\ + \#\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\v\DC2\EOT\162\SOH\EOT\DC4\SUB\DC3 New in version 2.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\v\SOH\DC2\EOT\162\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\v\STX\DC2\EOT\162\SOH\DC1\DC3\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\f\DC2\EOT\163\SOH\EOT\NAK\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\f\SOH\DC2\EOT\163\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\f\STX\DC2\EOT\163\SOH\DC2\DC4\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\r\DC2\EOT\164\SOH\EOT\DC3\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\r\SOH\DC2\EOT\164\SOH\EOT\r\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\r\STX\DC2\EOT\164\SOH\DLE\DC2\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SO\DC2\EOT\165\SOH\EOT\ETB\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\SO\SOH\DC2\EOT\165\SOH\EOT\DC1\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\SO\STX\DC2\EOT\165\SOH\DC4\SYN\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SI\DC2\EOT\166\SOH\EOT\ETB\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\SI\SOH\DC2\EOT\166\SOH\EOT\DC1\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\SI\STX\DC2\EOT\166\SOH\DC4\SYN\n\ + \'\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\DLE\DC2\EOT\167\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DLE\SOH\DC2\EOT\167\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DLE\STX\DC2\EOT\167\SOH\DC2\DC4\n\ + \'\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\DC1\DC2\EOT\168\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DC1\SOH\DC2\EOT\168\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DC1\STX\DC2\EOT\168\SOH\DC2\DC4\n\ + \\SO\n\ + \\EOT\EOT\EOT\EOT\SOH\DC2\ACK\171\SOH\STX\176\SOH\ETX\n\ + \\r\n\ + \\ENQ\EOT\EOT\EOT\SOH\SOH\DC2\EOT\171\SOH\a\f\n\ + \*\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\NUL\DC2\EOT\173\SOH\EOT\ETB\SUB\SUB 0 is reserved for errors\n\ + \\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\SOH\STX\NUL\SOH\DC2\EOT\173\SOH\EOT\DC2\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\SOH\STX\NUL\STX\DC2\EOT\173\SOH\NAK\SYN\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\SOH\DC2\EOT\174\SOH\EOT\ETB\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\SOH\STX\SOH\SOH\DC2\EOT\174\SOH\EOT\DC2\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\SOH\STX\SOH\STX\DC2\EOT\174\SOH\NAK\SYN\n\ + \\SO\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\STX\DC2\EOT\175\SOH\EOT\ETB\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\SOH\STX\STX\SOH\DC2\EOT\175\SOH\EOT\DC2\n\ + \\SI\n\ + \\a\EOT\EOT\EOT\SOH\STX\STX\STX\DC2\EOT\175\SOH\NAK\SYN\n\ + \\f\n\ + \\EOT\EOT\EOT\STX\NUL\DC2\EOT\178\SOH\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\178\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\178\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\178\SOH\DC2\SYN\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\178\SOH\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\EOT\STX\SOH\DC2\EOT\179\SOH\STX\FS\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\EOT\DC2\EOT\179\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\179\SOH\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\179\SOH\DC1\ETB\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\179\SOH\SUB\ESC\n\ + \\f\n\ + \\EOT\EOT\EOT\STX\STX\DC2\EOT\180\SOH\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\STX\EOT\DC2\EOT\180\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\180\SOH\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\180\SOH\DC1\SYN\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\180\SOH\EM\SUB\n\ + \\156\SOH\n\ + \\EOT\EOT\EOT\STX\ETX\DC2\EOT\184\SOH\STX\EM\SUB\141\SOH If type_name is set, this need not be set. If both this and type_name\n\ + \ are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ETX\EOT\DC2\EOT\184\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\184\SOH\v\SI\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\184\SOH\DLE\DC4\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\184\SOH\ETB\CAN\n\ + \\183\STX\n\ + \\EOT\EOT\EOT\STX\EOT\DC2\EOT\191\SOH\STX \SUB\168\STX For message and enum types, this is the name of the type. If the name\n\ + \ starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n\ + \ rules are used to find the type (i.e. first the nested types within this\n\ + \ message are searched, then within the parent, on up to the root\n\ + \ namespace).\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\EOT\EOT\DC2\EOT\191\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\EOT\ENQ\DC2\EOT\191\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\191\SOH\DC2\ESC\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\191\SOH\RS\US\n\ + \~\n\ + \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\195\SOH\STX\US\SUBp For extensions, this is the name of the type being extended. It is\n\ + \ resolved in the same manner as type_name.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ENQ\EOT\DC2\EOT\195\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ENQ\ENQ\DC2\EOT\195\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\195\SOH\DC2\SUB\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\195\SOH\GS\RS\n\ + \\177\STX\n\ + \\EOT\EOT\EOT\STX\ACK\DC2\EOT\202\SOH\STX$\SUB\162\STX For numeric types, contains the original text representation of the value.\n\ + \ For booleans, \"true\" or \"false\".\n\ + \ For strings, contains the default text contents (not escaped in any way).\n\ + \ For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n\ + \ TODO(kenton): Base-64 encode?\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\EOT\202\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ACK\ENQ\DC2\EOT\202\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\202\SOH\DC2\US\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\202\SOH\"#\n\ + \\132\SOH\n\ + \\EOT\EOT\EOT\STX\a\DC2\EOT\206\SOH\STX!\SUBv If set, gives the index of a oneof in the containing type's oneof_decl\n\ + \ list. This field is a member of that oneof.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\a\EOT\DC2\EOT\206\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\a\ENQ\DC2\EOT\206\SOH\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\206\SOH\DC1\FS\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\206\SOH\US \n\ + \\250\SOH\n\ + \\EOT\EOT\EOT\STX\b\DC2\EOT\212\SOH\STX!\SUB\235\SOH JSON name of this field. The value is set by protocol compiler. If the\n\ + \ user has set a \"json_name\" option on this field, that option's value\n\ + \ will be used. Otherwise, it's deduced from the field's name by converting\n\ + \ it to camelCase.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\b\EOT\DC2\EOT\212\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\b\ENQ\DC2\EOT\212\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\212\SOH\DC2\ESC\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\212\SOH\RS \n\ + \\f\n\ + \\EOT\EOT\EOT\STX\t\DC2\EOT\214\SOH\STX$\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\t\EOT\DC2\EOT\214\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\214\SOH\v\ETB\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\214\SOH\CAN\US\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\214\SOH\"#\n\ + \\179\t\n\ + \\EOT\EOT\EOT\STX\n\ + \\DC2\EOT\237\SOH\STX%\SUB\164\t If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n\ + \ tracks presence regardless of field type.\n\ + \\n\ + \ When proto3_optional is true, this field must be belong to a oneof to\n\ + \ signal to old proto3 clients that presence is tracked for this field. This\n\ + \ oneof is known as a \"synthetic\" oneof, and this field must be its sole\n\ + \ member (each proto3 optional field gets its own synthetic oneof). Synthetic\n\ + \ oneofs exist in the descriptor only, and do not generate any API. Synthetic\n\ + \ oneofs must be ordered after all \"real\" oneofs.\n\ + \\n\ + \ For message fields, proto3_optional doesn't create any semantic change,\n\ + \ since non-repeated message fields always track presence. However it still\n\ + \ indicates the semantic detail of whether the user wrote \"optional\" or not.\n\ + \ This can be useful for round-tripping the .proto file. For consistency we\n\ + \ give message fields a synthetic oneof also, even though it is not required\n\ + \ to track presence. This is especially important because the parser can't\n\ + \ tell if a field is a message or an enum, so it must always create a\n\ + \ synthetic oneof.\n\ + \\n\ + \ Proto2 optional fields do not set this flag, because they already indicate\n\ + \ optional with `LABEL_OPTIONAL`.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\n\ + \\EOT\DC2\EOT\237\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\n\ + \\ENQ\DC2\EOT\237\SOH\v\SI\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\n\ + \\SOH\DC2\EOT\237\SOH\DLE\US\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\n\ + \\ETX\DC2\EOT\237\SOH\"$\n\ + \\"\n\ + \\STX\EOT\ENQ\DC2\ACK\241\SOH\NUL\244\SOH\SOH\SUB\DC4 Describes a oneof.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\ENQ\SOH\DC2\EOT\241\SOH\b\FS\n\ + \\f\n\ + \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\242\SOH\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\242\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\242\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\242\SOH\DC2\SYN\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\242\SOH\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\243\SOH\STX$\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\SOH\EOT\DC2\EOT\243\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\243\SOH\v\ETB\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\243\SOH\CAN\US\n\ + \\r\n\ + \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\243\SOH\"#\n\ + \'\n\ + \\STX\EOT\ACK\DC2\ACK\247\SOH\NUL\145\STX\SOH\SUB\EM Describes an enum type.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\ACK\SOH\DC2\EOT\247\SOH\b\ESC\n\ + \\f\n\ + \\EOT\EOT\ACK\STX\NUL\DC2\EOT\248\SOH\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\248\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\248\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\248\SOH\DC2\SYN\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\248\SOH\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\ACK\STX\SOH\DC2\EOT\250\SOH\STX.\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\SOH\EOT\DC2\EOT\250\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\250\SOH\v#\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\250\SOH$)\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\250\SOH,-\n\ + \\f\n\ + \\EOT\EOT\ACK\STX\STX\DC2\EOT\252\SOH\STX#\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\STX\EOT\DC2\EOT\252\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\252\SOH\v\SYN\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\252\SOH\ETB\RS\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\252\SOH!\"\n\ + \\175\STX\n\ + \\EOT\EOT\ACK\ETX\NUL\DC2\ACK\132\STX\STX\135\STX\ETX\SUB\158\STX Range of reserved numeric values. Reserved values may not be used by\n\ + \ entries in the same enum. Reserved ranges may not overlap.\n\ + \\n\ + \ Note that this is distinct from DescriptorProto.ReservedRange in that it\n\ + \ is inclusive such that it can appropriately represent the entire int32\n\ + \ domain.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\ETX\NUL\SOH\DC2\EOT\132\STX\n\ + \\ESC\n\ + \\FS\n\ + \\ACK\EOT\ACK\ETX\NUL\STX\NUL\DC2\EOT\133\STX\EOT\GS\"\f Inclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\EOT\DC2\EOT\133\STX\EOT\f\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\ENQ\DC2\EOT\133\STX\r\DC2\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\SOH\DC2\EOT\133\STX\DC3\CAN\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\ETX\DC2\EOT\133\STX\ESC\FS\n\ + \\FS\n\ + \\ACK\EOT\ACK\ETX\NUL\STX\SOH\DC2\EOT\134\STX\EOT\ESC\"\f Inclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\EOT\DC2\EOT\134\STX\EOT\f\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\ENQ\DC2\EOT\134\STX\r\DC2\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\SOH\DC2\EOT\134\STX\DC3\SYN\n\ + \\SI\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\ETX\DC2\EOT\134\STX\EM\SUB\n\ + \\170\SOH\n\ + \\EOT\EOT\ACK\STX\ETX\DC2\EOT\140\STX\STX0\SUB\155\SOH Range of reserved numeric values. Reserved numeric values may not be used\n\ + \ by enum values in the same enum declaration. Reserved ranges may not\n\ + \ overlap.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\ETX\EOT\DC2\EOT\140\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\EOT\140\STX\v\FS\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\140\STX\GS+\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\140\STX./\n\ + \l\n\ + \\EOT\EOT\ACK\STX\EOT\DC2\EOT\144\STX\STX$\SUB^ Reserved enum value names, which may not be reused. A given name may only\n\ + \ be reserved once.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\EOT\EOT\DC2\EOT\144\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\EOT\144\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\144\STX\DC2\US\n\ + \\r\n\ + \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\144\STX\"#\n\ + \1\n\ + \\STX\EOT\a\DC2\ACK\148\STX\NUL\153\STX\SOH\SUB# Describes a value within an enum.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\a\SOH\DC2\EOT\148\STX\b \n\ + \\f\n\ + \\EOT\EOT\a\STX\NUL\DC2\EOT\149\STX\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\149\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\149\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\149\STX\DC2\SYN\n\ + \\r\n\ + \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\149\STX\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\a\STX\SOH\DC2\EOT\150\STX\STX\FS\n\ + \\r\n\ + \\ENQ\EOT\a\STX\SOH\EOT\DC2\EOT\150\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\150\STX\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\150\STX\DC1\ETB\n\ + \\r\n\ + \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\150\STX\SUB\ESC\n\ + \\f\n\ + \\EOT\EOT\a\STX\STX\DC2\EOT\152\STX\STX(\n\ + \\r\n\ + \\ENQ\EOT\a\STX\STX\EOT\DC2\EOT\152\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\152\STX\v\ESC\n\ + \\r\n\ + \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\152\STX\FS#\n\ + \\r\n\ + \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\152\STX&'\n\ + \$\n\ + \\STX\EOT\b\DC2\ACK\156\STX\NUL\161\STX\SOH\SUB\SYN Describes a service.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\b\SOH\DC2\EOT\156\STX\b\RS\n\ + \\f\n\ + \\EOT\EOT\b\STX\NUL\DC2\EOT\157\STX\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\157\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\157\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\157\STX\DC2\SYN\n\ + \\r\n\ + \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\157\STX\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\b\STX\SOH\DC2\EOT\158\STX\STX,\n\ + \\r\n\ + \\ENQ\EOT\b\STX\SOH\EOT\DC2\EOT\158\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\158\STX\v \n\ + \\r\n\ + \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\158\STX!'\n\ + \\r\n\ + \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\158\STX*+\n\ + \\f\n\ + \\EOT\EOT\b\STX\STX\DC2\EOT\160\STX\STX&\n\ + \\r\n\ + \\ENQ\EOT\b\STX\STX\EOT\DC2\EOT\160\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\160\STX\v\EM\n\ + \\r\n\ + \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\160\STX\SUB!\n\ + \\r\n\ + \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\160\STX$%\n\ + \0\n\ + \\STX\EOT\t\DC2\ACK\164\STX\NUL\178\STX\SOH\SUB\" Describes a method of a service.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\t\SOH\DC2\EOT\164\STX\b\GS\n\ + \\f\n\ + \\EOT\EOT\t\STX\NUL\DC2\EOT\165\STX\STX\ESC\n\ + \\r\n\ + \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\165\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\165\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\165\STX\DC2\SYN\n\ + \\r\n\ + \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\165\STX\EM\SUB\n\ + \\151\SOH\n\ + \\EOT\EOT\t\STX\SOH\DC2\EOT\169\STX\STX!\SUB\136\SOH Input and output type names. These are resolved in the same way as\n\ + \ FieldDescriptorProto.type_name, but must refer to a message type.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\SOH\EOT\DC2\EOT\169\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\169\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\169\STX\DC2\FS\n\ + \\r\n\ + \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\169\STX\US \n\ + \\f\n\ + \\EOT\EOT\t\STX\STX\DC2\EOT\170\STX\STX\"\n\ + \\r\n\ + \\ENQ\EOT\t\STX\STX\EOT\DC2\EOT\170\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\170\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\170\STX\DC2\GS\n\ + \\r\n\ + \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\170\STX !\n\ + \\f\n\ + \\EOT\EOT\t\STX\ETX\DC2\EOT\172\STX\STX%\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ETX\EOT\DC2\EOT\172\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\172\STX\v\CAN\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\172\STX\EM \n\ + \\r\n\ + \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\172\STX#$\n\ + \E\n\ + \\EOT\EOT\t\STX\EOT\DC2\EOT\175\STX\STX7\SUB7 Identifies if client streams multiple client messages\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\EOT\EOT\DC2\EOT\175\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\175\STX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\175\STX\DLE \n\ + \\r\n\ + \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\175\STX#$\n\ + \\r\n\ + \\ENQ\EOT\t\STX\EOT\b\DC2\EOT\175\STX%6\n\ + \\r\n\ + \\ENQ\EOT\t\STX\EOT\a\DC2\EOT\175\STX05\n\ + \E\n\ + \\EOT\EOT\t\STX\ENQ\DC2\EOT\177\STX\STX7\SUB7 Identifies if server streams multiple server messages\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ENQ\EOT\DC2\EOT\177\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\177\STX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\177\STX\DLE \n\ + \\r\n\ + \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\177\STX#$\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ENQ\b\DC2\EOT\177\STX%6\n\ + \\r\n\ + \\ENQ\EOT\t\STX\ENQ\a\DC2\EOT\177\STX05\n\ + \\175\SO\n\ + \\STX\EOT\n\ + \\DC2\ACK\213\STX\NUL\208\ETX\SOH2N ===================================================================\n\ + \ Options\n\ + \2\208\r Each of the definitions above may have \"options\" attached. These are\n\ + \ just annotations which may cause code to be generated slightly differently\n\ + \ or may contain hints for code that manipulates protocol messages.\n\ + \\n\ + \ Clients may define custom options as extensions of the *Options messages.\n\ + \ These extensions may not yet be known at parsing time, so the parser cannot\n\ + \ store the values in them. Instead it stores them in a field in the *Options\n\ + \ message called uninterpreted_option. This field must have the same name\n\ + \ across all *Options messages. We then use this field to populate the\n\ + \ extensions when we build a descriptor, at which point all protos have been\n\ + \ parsed and so all extensions are known.\n\ + \\n\ + \ Extension numbers for custom options may be chosen as follows:\n\ + \ * For options which will only be used within a single application or\n\ + \ organization, or for experimental options, use field numbers 50000\n\ + \ through 99999. It is up to you to ensure that you do not use the\n\ + \ same number for multiple options.\n\ + \ * For options which will be published and used publicly by multiple\n\ + \ independent entities, e-mail protobuf-global-extension-registry@google.com\n\ + \ to reserve extension numbers. Simply provide your project name (e.g.\n\ + \ Objective-C plugin) and your project website (if available) -- there's no\n\ + \ need to explain how you intend to use them. Usually you only need one\n\ + \ extension number. You can declare multiple options with only one extension\n\ + \ number by putting them in a sub-message. See the Custom Options section of\n\ + \ the docs for examples:\n\ + \ https://developers.google.com/protocol-buffers/docs/proto#options\n\ + \ If this turns out to be popular, a web service will be set up\n\ + \ to automatically assign option numbers.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\n\ + \\SOH\DC2\EOT\213\STX\b\DC3\n\ + \\244\SOH\n\ + \\EOT\EOT\n\ + \\STX\NUL\DC2\EOT\219\STX\STX#\SUB\229\SOH Sets the Java package where classes generated from this .proto will be\n\ + \ placed. By default, the proto package is used, but this is often\n\ + \ inappropriate because proto packages do not normally start with backwards\n\ + \ domain names.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\NUL\EOT\DC2\EOT\219\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\NUL\ENQ\DC2\EOT\219\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\NUL\SOH\DC2\EOT\219\STX\DC2\RS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\NUL\ETX\DC2\EOT\219\STX!\"\n\ + \\191\STX\n\ + \\EOT\EOT\n\ + \\STX\SOH\DC2\EOT\227\STX\STX+\SUB\176\STX If set, all the classes from the .proto file are wrapped in a single\n\ + \ outer class with the given name. This applies to both Proto1\n\ + \ (equivalent to the old \"--one_java_file\" option) and Proto2 (where\n\ + \ a .proto always translates to a single class, but you may want to\n\ + \ explicitly choose the class name).\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SOH\EOT\DC2\EOT\227\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SOH\ENQ\DC2\EOT\227\STX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SOH\SOH\DC2\EOT\227\STX\DC2&\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SOH\ETX\DC2\EOT\227\STX)*\n\ + \\163\ETX\n\ + \\EOT\EOT\n\ + \\STX\STX\DC2\EOT\235\STX\STX;\SUB\148\ETX If set true, then the Java code generator will generate a separate .java\n\ + \ file for each top-level message, enum, and service defined in the .proto\n\ + \ file. Thus, these types will *not* be nested inside the outer class\n\ + \ named by java_outer_classname. However, the outer class will still be\n\ + \ generated to contain the file's getDescriptor() method as well as any\n\ + \ top-level extensions defined in the file.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\STX\EOT\DC2\EOT\235\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\STX\ENQ\DC2\EOT\235\STX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\STX\SOH\DC2\EOT\235\STX\DLE#\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\STX\ETX\DC2\EOT\235\STX&(\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\STX\b\DC2\EOT\235\STX):\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\STX\a\DC2\EOT\235\STX49\n\ + \)\n\ + \\EOT\EOT\n\ + \\STX\ETX\DC2\EOT\238\STX\STXE\SUB\ESC This option does nothing.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ETX\EOT\DC2\EOT\238\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ETX\ENQ\DC2\EOT\238\STX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ETX\SOH\DC2\EOT\238\STX\DLE-\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ETX\ETX\DC2\EOT\238\STX02\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ETX\b\DC2\EOT\238\STX3D\n\ + \\SO\n\ + \\ACK\EOT\n\ + \\STX\ETX\b\ETX\DC2\EOT\238\STX4C\n\ + \\230\STX\n\ + \\EOT\EOT\n\ + \\STX\EOT\DC2\EOT\246\STX\STX>\SUB\215\STX If set true, then the Java2 code generator will generate code that\n\ + \ throws an exception whenever an attempt is made to assign a non-UTF-8\n\ + \ byte sequence to a string field.\n\ + \ Message reflection will do the same.\n\ + \ However, an extension field still accepts non-UTF-8 byte sequences.\n\ + \ This option has no effect on when used with the lite runtime.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\EOT\EOT\DC2\EOT\246\STX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\EOT\ENQ\DC2\EOT\246\STX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\EOT\SOH\DC2\EOT\246\STX\DLE&\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\EOT\ETX\DC2\EOT\246\STX)+\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\EOT\b\DC2\EOT\246\STX,=\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\EOT\a\DC2\EOT\246\STX7<\n\ + \L\n\ + \\EOT\EOT\n\ + \\EOT\NUL\DC2\ACK\250\STX\STX\255\STX\ETX\SUB< Generated classes can be optimized for speed or code size.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\EOT\NUL\SOH\DC2\EOT\250\STX\a\DC3\n\ + \D\n\ + \\ACK\EOT\n\ + \\EOT\NUL\STX\NUL\DC2\EOT\251\STX\EOT\SO\"4 Generate complete code for parsing, serialization,\n\ + \\n\ + \\SI\n\ + \\a\EOT\n\ + \\EOT\NUL\STX\NUL\SOH\DC2\EOT\251\STX\EOT\t\n\ + \\SI\n\ + \\a\EOT\n\ + \\EOT\NUL\STX\NUL\STX\DC2\EOT\251\STX\f\r\n\ + \G\n\ + \\ACK\EOT\n\ + \\EOT\NUL\STX\SOH\DC2\EOT\253\STX\EOT\DC2\SUB\ACK etc.\n\ + \\"/ Use ReflectionOps to implement these methods.\n\ + \\n\ + \\SI\n\ + \\a\EOT\n\ + \\EOT\NUL\STX\SOH\SOH\DC2\EOT\253\STX\EOT\r\n\ + \\SI\n\ + \\a\EOT\n\ + \\EOT\NUL\STX\SOH\STX\DC2\EOT\253\STX\DLE\DC1\n\ + \G\n\ + \\ACK\EOT\n\ + \\EOT\NUL\STX\STX\DC2\EOT\254\STX\EOT\NAK\"7 Generate code using MessageLite and the lite runtime.\n\ + \\n\ + \\SI\n\ + \\a\EOT\n\ + \\EOT\NUL\STX\STX\SOH\DC2\EOT\254\STX\EOT\DLE\n\ + \\SI\n\ + \\a\EOT\n\ + \\EOT\NUL\STX\STX\STX\DC2\EOT\254\STX\DC3\DC4\n\ + \\f\n\ + \\EOT\EOT\n\ + \\STX\ENQ\DC2\EOT\128\ETX\STX;\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ENQ\EOT\DC2\EOT\128\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ENQ\ACK\DC2\EOT\128\ETX\v\ETB\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ENQ\SOH\DC2\EOT\128\ETX\CAN$\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ENQ\ETX\DC2\EOT\128\ETX'(\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ENQ\b\DC2\EOT\128\ETX):\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ENQ\a\DC2\EOT\128\ETX49\n\ + \\226\STX\n\ + \\EOT\EOT\n\ + \\STX\ACK\DC2\EOT\135\ETX\STX\"\SUB\211\STX Sets the Go package where structs generated from this .proto will be\n\ + \ placed. If omitted, the Go package will be derived from the following:\n\ + \ - The basename of the package import path, if provided.\n\ + \ - Otherwise, the package statement in the .proto file, if present.\n\ + \ - Otherwise, the basename of the .proto file, without extension.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ACK\EOT\DC2\EOT\135\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ACK\ENQ\DC2\EOT\135\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ACK\SOH\DC2\EOT\135\ETX\DC2\FS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\ACK\ETX\DC2\EOT\135\ETX\US!\n\ + \\212\EOT\n\ + \\EOT\EOT\n\ + \\STX\a\DC2\EOT\150\ETX\STX;\SUB\197\EOT Should generic services be generated in each language? \"Generic\" services\n\ + \ are not specific to any particular RPC system. They are generated by the\n\ + \ main code generators in each language (without additional plugins).\n\ + \ Generic services were the only kind of service generation supported by\n\ + \ early versions of google.protobuf.\n\ + \\n\ + \ Generic services are now considered deprecated in favor of using plugins\n\ + \ that generate code specific to your particular RPC system. Therefore,\n\ + \ these default to false. Old code which depends on generic services should\n\ + \ explicitly set them to true.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\a\EOT\DC2\EOT\150\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\a\ENQ\DC2\EOT\150\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\a\SOH\DC2\EOT\150\ETX\DLE#\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\a\ETX\DC2\EOT\150\ETX&(\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\a\b\DC2\EOT\150\ETX):\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\a\a\DC2\EOT\150\ETX49\n\ + \\f\n\ + \\EOT\EOT\n\ + \\STX\b\DC2\EOT\151\ETX\STX=\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\b\EOT\DC2\EOT\151\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\b\ENQ\DC2\EOT\151\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\b\SOH\DC2\EOT\151\ETX\DLE%\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\b\ETX\DC2\EOT\151\ETX(*\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\b\b\DC2\EOT\151\ETX+<\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\b\a\DC2\EOT\151\ETX6;\n\ + \\f\n\ + \\EOT\EOT\n\ + \\STX\t\DC2\EOT\152\ETX\STX;\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\t\EOT\DC2\EOT\152\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\t\ENQ\DC2\EOT\152\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\t\SOH\DC2\EOT\152\ETX\DLE#\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\t\ETX\DC2\EOT\152\ETX&(\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\t\b\DC2\EOT\152\ETX):\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\t\a\DC2\EOT\152\ETX49\n\ + \\f\n\ + \\EOT\EOT\n\ + \\STX\n\ + \\DC2\EOT\153\ETX\STX<\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\n\ + \\EOT\DC2\EOT\153\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\n\ + \\ENQ\DC2\EOT\153\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\n\ + \\SOH\DC2\EOT\153\ETX\DLE$\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\n\ + \\ETX\DC2\EOT\153\ETX')\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\n\ + \\b\DC2\EOT\153\ETX*;\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\n\ + \\a\DC2\EOT\153\ETX5:\n\ + \\243\SOH\n\ + \\EOT\EOT\n\ + \\STX\v\DC2\EOT\159\ETX\STX2\SUB\228\SOH Is this file deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for everything in the file, or it will be completely ignored; in the very\n\ + \ least, this is a formalization for deprecating files.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\v\EOT\DC2\EOT\159\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\v\ENQ\DC2\EOT\159\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\v\SOH\DC2\EOT\159\ETX\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\v\ETX\DC2\EOT\159\ETX\GS\US\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\v\b\DC2\EOT\159\ETX 1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\v\a\DC2\EOT\159\ETX+0\n\ + \\DEL\n\ + \\EOT\EOT\n\ + \\STX\f\DC2\EOT\163\ETX\STX7\SUBq Enables the use of arenas for the proto messages in this file. This applies\n\ + \ only to generated classes for C++.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\f\EOT\DC2\EOT\163\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\f\ENQ\DC2\EOT\163\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\f\SOH\DC2\EOT\163\ETX\DLE \n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\f\ETX\DC2\EOT\163\ETX#%\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\f\b\DC2\EOT\163\ETX&6\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\f\a\DC2\EOT\163\ETX15\n\ + \\146\SOH\n\ + \\EOT\EOT\n\ + \\STX\r\DC2\EOT\168\ETX\STX)\SUB\131\SOH Sets the objective c class prefix which is prepended to all objective c\n\ + \ generated classes from this .proto. There is no default.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\r\EOT\DC2\EOT\168\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\r\ENQ\DC2\EOT\168\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\r\SOH\DC2\EOT\168\ETX\DC2#\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\r\ETX\DC2\EOT\168\ETX&(\n\ + \I\n\ + \\EOT\EOT\n\ + \\STX\SO\DC2\EOT\171\ETX\STX(\SUB; Namespace for generated classes; defaults to the package.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SO\EOT\DC2\EOT\171\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SO\ENQ\DC2\EOT\171\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SO\SOH\DC2\EOT\171\ETX\DC2\"\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SO\ETX\DC2\EOT\171\ETX%'\n\ + \\145\STX\n\ + \\EOT\EOT\n\ + \\STX\SI\DC2\EOT\177\ETX\STX$\SUB\130\STX By default Swift generators will take the proto package and CamelCase it\n\ + \ replacing '.' with underscore and use that to prefix the types/symbols\n\ + \ defined. When this options is provided, they will use this value instead\n\ + \ to prefix the types/symbols defined.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SI\EOT\DC2\EOT\177\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SI\ENQ\DC2\EOT\177\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SI\SOH\DC2\EOT\177\ETX\DC2\RS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\SI\ETX\DC2\EOT\177\ETX!#\n\ + \~\n\ + \\EOT\EOT\n\ + \\STX\DLE\DC2\EOT\181\ETX\STX(\SUBp Sets the php class prefix which is prepended to all php generated classes\n\ + \ from this .proto. Default is empty.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DLE\EOT\DC2\EOT\181\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DLE\ENQ\DC2\EOT\181\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DLE\SOH\DC2\EOT\181\ETX\DC2\"\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DLE\ETX\DC2\EOT\181\ETX%'\n\ + \\190\SOH\n\ + \\EOT\EOT\n\ + \\STX\DC1\DC2\EOT\186\ETX\STX%\SUB\175\SOH Use this option to change the namespace of php generated classes. Default\n\ + \ is empty. When this option is empty, the package name will be used for\n\ + \ determining the namespace.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC1\EOT\DC2\EOT\186\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC1\ENQ\DC2\EOT\186\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC1\SOH\DC2\EOT\186\ETX\DC2\US\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC1\ETX\DC2\EOT\186\ETX\"$\n\ + \\202\SOH\n\ + \\EOT\EOT\n\ + \\STX\DC2\DC2\EOT\191\ETX\STX.\SUB\187\SOH Use this option to change the namespace of php generated metadata classes.\n\ + \ Default is empty. When this option is empty, the proto file name will be\n\ + \ used for determining the namespace.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC2\EOT\DC2\EOT\191\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC2\ENQ\DC2\EOT\191\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC2\SOH\DC2\EOT\191\ETX\DC2(\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC2\ETX\DC2\EOT\191\ETX+-\n\ + \\194\SOH\n\ + \\EOT\EOT\n\ + \\STX\DC3\DC2\EOT\196\ETX\STX$\SUB\179\SOH Use this option to change the package of ruby generated classes. Default\n\ + \ is empty. When this option is not set, the package name will be used for\n\ + \ determining the ruby package.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\EOT\DC2\EOT\196\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\ENQ\DC2\EOT\196\ETX\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\SOH\DC2\EOT\196\ETX\DC2\RS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\ETX\DC2\EOT\196\ETX!#\n\ + \|\n\ + \\EOT\EOT\n\ + \\STX\DC4\DC2\EOT\201\ETX\STX:\SUBn The parser stores options it doesn't recognize here.\n\ + \ See the documentation for the \"Options\" section above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC4\EOT\DC2\EOT\201\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC4\ACK\DC2\EOT\201\ETX\v\RS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC4\SOH\DC2\EOT\201\ETX\US3\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC4\ETX\DC2\EOT\201\ETX69\n\ + \\135\SOH\n\ + \\ETX\EOT\n\ + \\ENQ\DC2\EOT\205\ETX\STX\EM\SUBz Clients can define custom options in extensions of this message.\n\ + \ See the documentation for the \"Options\" section above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\n\ + \\ENQ\NUL\DC2\EOT\205\ETX\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\ENQ\NUL\SOH\DC2\EOT\205\ETX\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\ENQ\NUL\STX\DC2\EOT\205\ETX\NAK\CAN\n\ + \\v\n\ + \\ETX\EOT\n\ + \\t\DC2\EOT\207\ETX\STX\SO\n\ + \\f\n\ + \\EOT\EOT\n\ + \\t\NUL\DC2\EOT\207\ETX\v\r\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\t\NUL\SOH\DC2\EOT\207\ETX\v\r\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\t\NUL\STX\DC2\EOT\207\ETX\v\r\n\ + \\f\n\ + \\STX\EOT\v\DC2\ACK\210\ETX\NUL\146\EOT\SOH\n\ + \\v\n\ + \\ETX\EOT\v\SOH\DC2\EOT\210\ETX\b\SYN\n\ + \\216\ENQ\n\ + \\EOT\EOT\v\STX\NUL\DC2\EOT\229\ETX\STX>\SUB\201\ENQ Set true to use the old proto1 MessageSet wire format for extensions.\n\ + \ This is provided for backwards-compatibility with the MessageSet wire\n\ + \ format. You should not use this for any other reason: It's less\n\ + \ efficient, has fewer features, and is more complicated.\n\ + \\n\ + \ The message must be defined exactly as follows:\n\ + \ message Foo {\n\ + \ option message_set_wire_format = true;\n\ + \ extensions 4 to max;\n\ + \ }\n\ + \ Note that the message cannot have any defined fields; MessageSets only\n\ + \ have extensions.\n\ + \\n\ + \ All extensions of your type must be singular messages; e.g. they cannot\n\ + \ be int32s, enums, or repeated messages.\n\ + \\n\ + \ Because this is an option, the above two restrictions are not enforced by\n\ + \ the protocol compiler.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\229\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\229\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\229\ETX\DLE'\n\ + \\r\n\ + \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\229\ETX*+\n\ + \\r\n\ + \\ENQ\EOT\v\STX\NUL\b\DC2\EOT\229\ETX,=\n\ + \\r\n\ + \\ENQ\EOT\v\STX\NUL\a\DC2\EOT\229\ETX7<\n\ + \\235\SOH\n\ + \\EOT\EOT\v\STX\SOH\DC2\EOT\234\ETX\STXF\SUB\220\SOH Disables the generation of the standard \"descriptor()\" accessor, which can\n\ + \ conflict with a field of the same name. This is meant to make migration\n\ + \ from proto1 easier; new code should avoid fields named \"descriptor\".\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\SOH\EOT\DC2\EOT\234\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\234\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\234\ETX\DLE/\n\ + \\r\n\ + \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\234\ETX23\n\ + \\r\n\ + \\ENQ\EOT\v\STX\SOH\b\DC2\EOT\234\ETX4E\n\ + \\r\n\ + \\ENQ\EOT\v\STX\SOH\a\DC2\EOT\234\ETX?D\n\ + \\238\SOH\n\ + \\EOT\EOT\v\STX\STX\DC2\EOT\240\ETX\STX1\SUB\223\SOH Is this message deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for the message, or it will be completely ignored; in the very least,\n\ + \ this is a formalization for deprecating messages.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\240\ETX\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\240\ETX\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\240\ETX\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\240\ETX\GS\RS\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\b\DC2\EOT\240\ETX\US0\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\a\DC2\EOT\240\ETX*/\n\ + \\160\ACK\n\ + \\EOT\EOT\v\STX\ETX\DC2\EOT\135\EOT\STX\RS\SUB\145\ACK Whether the message is an automatically generated map entry type for the\n\ + \ maps field.\n\ + \\n\ + \ For maps fields:\n\ + \ map map_field = 1;\n\ + \ The parsed descriptor looks like:\n\ + \ message MapFieldEntry {\n\ + \ option map_entry = true;\n\ + \ optional KeyType key = 1;\n\ + \ optional ValueType value = 2;\n\ + \ }\n\ + \ repeated MapFieldEntry map_field = 1;\n\ + \\n\ + \ Implementations may choose not to generate the map_entry=true message, but\n\ + \ use a native map in the target language to hold the keys and values.\n\ + \ The reflection APIs in such implementations still need to work as\n\ + \ if the field is a repeated message field.\n\ + \\n\ + \ NOTE: Do not set the option in .proto files. Always use the maps syntax\n\ + \ instead. The option should only be implicitly set by the proto compiler\n\ + \ parser.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\ETX\EOT\DC2\EOT\135\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\135\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\135\EOT\DLE\EM\n\ + \\r\n\ + \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\135\EOT\FS\GS\n\ + \$\n\ + \\ETX\EOT\v\t\DC2\EOT\137\EOT\STX\r\"\ETB javalite_serializable\n\ + \\n\ + \\f\n\ + \\EOT\EOT\v\t\NUL\DC2\EOT\137\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\NUL\SOH\DC2\EOT\137\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\NUL\STX\DC2\EOT\137\EOT\v\f\n\ + \\US\n\ + \\ETX\EOT\v\t\DC2\EOT\138\EOT\STX\r\"\DC2 javanano_as_lite\n\ + \\n\ + \\f\n\ + \\EOT\EOT\v\t\SOH\DC2\EOT\138\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\SOH\SOH\DC2\EOT\138\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\SOH\STX\DC2\EOT\138\EOT\v\f\n\ + \O\n\ + \\EOT\EOT\v\STX\EOT\DC2\EOT\142\EOT\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\EOT\DC2\EOT\142\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\ACK\DC2\EOT\142\EOT\v\RS\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\142\EOT\US3\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\142\EOT69\n\ + \Z\n\ + \\ETX\EOT\v\ENQ\DC2\EOT\145\EOT\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\v\ENQ\NUL\DC2\EOT\145\EOT\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\v\ENQ\NUL\SOH\DC2\EOT\145\EOT\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\v\ENQ\NUL\STX\DC2\EOT\145\EOT\NAK\CAN\n\ + \\f\n\ + \\STX\EOT\f\DC2\ACK\148\EOT\NUL\239\EOT\SOH\n\ + \\v\n\ + \\ETX\EOT\f\SOH\DC2\EOT\148\EOT\b\DC4\n\ + \\163\STX\n\ + \\EOT\EOT\f\STX\NUL\DC2\EOT\153\EOT\STX.\SUB\148\STX The ctype option instructs the C++ code generator to use a different\n\ + \ representation of the field than it normally would. See the specific\n\ + \ options below. This option is not yet implemented in the open source\n\ + \ release -- sorry, we'll try to include it in a future version!\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\NUL\EOT\DC2\EOT\153\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\153\EOT\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\153\EOT\DC1\SYN\n\ + \\r\n\ + \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\153\EOT\EM\SUB\n\ + \\r\n\ + \\ENQ\EOT\f\STX\NUL\b\DC2\EOT\153\EOT\ESC-\n\ + \\r\n\ + \\ENQ\EOT\f\STX\NUL\a\DC2\EOT\153\EOT&,\n\ + \\SO\n\ + \\EOT\EOT\f\EOT\NUL\DC2\ACK\154\EOT\STX\161\EOT\ETX\n\ + \\r\n\ + \\ENQ\EOT\f\EOT\NUL\SOH\DC2\EOT\154\EOT\a\f\n\ + \\US\n\ + \\ACK\EOT\f\EOT\NUL\STX\NUL\DC2\EOT\156\EOT\EOT\SI\SUB\SI Default mode.\n\ + \\n\ + \\SI\n\ + \\a\EOT\f\EOT\NUL\STX\NUL\SOH\DC2\EOT\156\EOT\EOT\n\ + \\n\ + \\SI\n\ + \\a\EOT\f\EOT\NUL\STX\NUL\STX\DC2\EOT\156\EOT\r\SO\n\ + \\SO\n\ + \\ACK\EOT\f\EOT\NUL\STX\SOH\DC2\EOT\158\EOT\EOT\r\n\ + \\SI\n\ + \\a\EOT\f\EOT\NUL\STX\SOH\SOH\DC2\EOT\158\EOT\EOT\b\n\ + \\SI\n\ + \\a\EOT\f\EOT\NUL\STX\SOH\STX\DC2\EOT\158\EOT\v\f\n\ + \\SO\n\ + \\ACK\EOT\f\EOT\NUL\STX\STX\DC2\EOT\160\EOT\EOT\NAK\n\ + \\SI\n\ + \\a\EOT\f\EOT\NUL\STX\STX\SOH\DC2\EOT\160\EOT\EOT\DLE\n\ + \\SI\n\ + \\a\EOT\f\EOT\NUL\STX\STX\STX\DC2\EOT\160\EOT\DC3\DC4\n\ + \\218\STX\n\ + \\EOT\EOT\f\STX\SOH\DC2\EOT\167\EOT\STX\ESC\SUB\203\STX The packed option can be enabled for repeated primitive fields to enable\n\ + \ a more efficient representation on the wire. Rather than repeatedly\n\ + \ writing the tag and type for each element, the entire array is encoded as\n\ + \ a single length-delimited blob. In proto3, only explicit setting it to\n\ + \ false will avoid using packed encoding.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\SOH\EOT\DC2\EOT\167\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\SOH\ENQ\DC2\EOT\167\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\167\EOT\DLE\SYN\n\ + \\r\n\ + \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\167\EOT\EM\SUB\n\ + \\154\ENQ\n\ + \\EOT\EOT\f\STX\STX\DC2\EOT\180\EOT\STX3\SUB\139\ENQ The jstype option determines the JavaScript type used for values of the\n\ + \ field. The option is permitted only for 64 bit integral and fixed types\n\ + \ (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING\n\ + \ is represented as JavaScript string, which avoids loss of precision that\n\ + \ can happen when a large value is converted to a floating point JavaScript.\n\ + \ Specifying JS_NUMBER for the jstype causes the generated JavaScript code to\n\ + \ use the JavaScript \"number\" type. The behavior of the default option\n\ + \ JS_NORMAL is implementation dependent.\n\ + \\n\ + \ This option is an enum to permit additional types to be added, e.g.\n\ + \ goog.math.Integer.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\STX\EOT\DC2\EOT\180\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\STX\ACK\DC2\EOT\180\EOT\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\180\EOT\DC2\CAN\n\ + \\r\n\ + \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\180\EOT\ESC\FS\n\ + \\r\n\ + \\ENQ\EOT\f\STX\STX\b\DC2\EOT\180\EOT\GS2\n\ + \\r\n\ + \\ENQ\EOT\f\STX\STX\a\DC2\EOT\180\EOT(1\n\ + \\SO\n\ + \\EOT\EOT\f\EOT\SOH\DC2\ACK\181\EOT\STX\190\EOT\ETX\n\ + \\r\n\ + \\ENQ\EOT\f\EOT\SOH\SOH\DC2\EOT\181\EOT\a\r\n\ + \'\n\ + \\ACK\EOT\f\EOT\SOH\STX\NUL\DC2\EOT\183\EOT\EOT\DC2\SUB\ETB Use the default type.\n\ + \\n\ + \\SI\n\ + \\a\EOT\f\EOT\SOH\STX\NUL\SOH\DC2\EOT\183\EOT\EOT\r\n\ + \\SI\n\ + \\a\EOT\f\EOT\SOH\STX\NUL\STX\DC2\EOT\183\EOT\DLE\DC1\n\ + \)\n\ + \\ACK\EOT\f\EOT\SOH\STX\SOH\DC2\EOT\186\EOT\EOT\DC2\SUB\EM Use JavaScript strings.\n\ + \\n\ + \\SI\n\ + \\a\EOT\f\EOT\SOH\STX\SOH\SOH\DC2\EOT\186\EOT\EOT\r\n\ + \\SI\n\ + \\a\EOT\f\EOT\SOH\STX\SOH\STX\DC2\EOT\186\EOT\DLE\DC1\n\ + \)\n\ + \\ACK\EOT\f\EOT\SOH\STX\STX\DC2\EOT\189\EOT\EOT\DC2\SUB\EM Use JavaScript numbers.\n\ + \\n\ + \\SI\n\ + \\a\EOT\f\EOT\SOH\STX\STX\SOH\DC2\EOT\189\EOT\EOT\r\n\ + \\SI\n\ + \\a\EOT\f\EOT\SOH\STX\STX\STX\DC2\EOT\189\EOT\DLE\DC1\n\ + \\239\f\n\ + \\EOT\EOT\f\STX\ETX\DC2\EOT\220\EOT\STX+\SUB\224\f Should this field be parsed lazily? Lazy applies only to message-type\n\ + \ fields. It means that when the outer message is initially parsed, the\n\ + \ inner message's contents will not be parsed but instead stored in encoded\n\ + \ form. The inner message will actually be parsed when it is first accessed.\n\ + \\n\ + \ This is only a hint. Implementations are free to choose whether to use\n\ + \ eager or lazy parsing regardless of the value of this option. However,\n\ + \ setting this option true suggests that the protocol author believes that\n\ + \ using lazy parsing on this field is worth the additional bookkeeping\n\ + \ overhead typically needed to implement it.\n\ + \\n\ + \ This option does not affect the public interface of any generated code;\n\ + \ all method signatures remain the same. Furthermore, thread-safety of the\n\ + \ interface is not affected by this option; const methods remain safe to\n\ + \ call from multiple threads concurrently, while non-const methods continue\n\ + \ to require exclusive access.\n\ + \\n\ + \\n\ + \ Note that implementations may choose not to check required fields within\n\ + \ a lazy sub-message. That is, calling IsInitialized() on the outer message\n\ + \ may return true even if the inner message has missing required fields.\n\ + \ This is necessary because otherwise the inner message would have to be\n\ + \ parsed in order to perform the check, defeating the purpose of lazy\n\ + \ parsing. An implementation which chooses not to check required fields\n\ + \ must be consistent about it. That is, for any particular sub-message, the\n\ + \ implementation must either *always* check its required fields, or *never*\n\ + \ check its required fields, regardless of whether or not the message has\n\ + \ been parsed.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ETX\EOT\DC2\EOT\220\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ETX\ENQ\DC2\EOT\220\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\220\EOT\DLE\DC4\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\220\EOT\ETB\CAN\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ETX\b\DC2\EOT\220\EOT\EM*\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ETX\a\DC2\EOT\220\EOT$)\n\ + \\232\SOH\n\ + \\EOT\EOT\f\STX\EOT\DC2\EOT\226\EOT\STX1\SUB\217\SOH Is this field deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for accessors, or it will be completely ignored; in the very least, this\n\ + \ is a formalization for deprecating fields.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\EOT\EOT\DC2\EOT\226\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\EOT\ENQ\DC2\EOT\226\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\226\EOT\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\226\EOT\GS\RS\n\ + \\r\n\ + \\ENQ\EOT\f\STX\EOT\b\DC2\EOT\226\EOT\US0\n\ + \\r\n\ + \\ENQ\EOT\f\STX\EOT\a\DC2\EOT\226\EOT*/\n\ + \?\n\ + \\EOT\EOT\f\STX\ENQ\DC2\EOT\229\EOT\STX,\SUB1 For Google-internal migration only. Do not use.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ENQ\EOT\DC2\EOT\229\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ENQ\ENQ\DC2\EOT\229\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ENQ\SOH\DC2\EOT\229\EOT\DLE\DC4\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ENQ\ETX\DC2\EOT\229\EOT\ETB\EM\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ENQ\b\DC2\EOT\229\EOT\SUB+\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ENQ\a\DC2\EOT\229\EOT%*\n\ + \O\n\ + \\EOT\EOT\f\STX\ACK\DC2\EOT\233\EOT\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ACK\EOT\DC2\EOT\233\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ACK\ACK\DC2\EOT\233\EOT\v\RS\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ACK\SOH\DC2\EOT\233\EOT\US3\n\ + \\r\n\ + \\ENQ\EOT\f\STX\ACK\ETX\DC2\EOT\233\EOT69\n\ + \Z\n\ + \\ETX\EOT\f\ENQ\DC2\EOT\236\EOT\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\f\ENQ\NUL\DC2\EOT\236\EOT\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\f\ENQ\NUL\SOH\DC2\EOT\236\EOT\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\f\ENQ\NUL\STX\DC2\EOT\236\EOT\NAK\CAN\n\ + \\FS\n\ + \\ETX\EOT\f\t\DC2\EOT\238\EOT\STX\r\"\SI removed jtype\n\ + \\n\ + \\f\n\ + \\EOT\EOT\f\t\NUL\DC2\EOT\238\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\f\t\NUL\SOH\DC2\EOT\238\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\f\t\NUL\STX\DC2\EOT\238\EOT\v\f\n\ + \\f\n\ + \\STX\EOT\r\DC2\ACK\241\EOT\NUL\247\EOT\SOH\n\ + \\v\n\ + \\ETX\EOT\r\SOH\DC2\EOT\241\EOT\b\DC4\n\ + \O\n\ + \\EOT\EOT\r\STX\NUL\DC2\EOT\243\EOT\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\r\STX\NUL\EOT\DC2\EOT\243\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\r\STX\NUL\ACK\DC2\EOT\243\EOT\v\RS\n\ + \\r\n\ + \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\243\EOT\US3\n\ + \\r\n\ + \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\243\EOT69\n\ + \Z\n\ + \\ETX\EOT\r\ENQ\DC2\EOT\246\EOT\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\r\ENQ\NUL\DC2\EOT\246\EOT\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\r\ENQ\NUL\SOH\DC2\EOT\246\EOT\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\r\ENQ\NUL\STX\DC2\EOT\246\EOT\NAK\CAN\n\ + \\f\n\ + \\STX\EOT\SO\DC2\ACK\249\EOT\NUL\140\ENQ\SOH\n\ + \\v\n\ + \\ETX\EOT\SO\SOH\DC2\EOT\249\EOT\b\DC3\n\ + \`\n\ + \\EOT\EOT\SO\STX\NUL\DC2\EOT\253\EOT\STX \SUBR Set this option to true to allow mapping different tag names to the same\n\ + \ value.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\NUL\EOT\DC2\EOT\253\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\NUL\ENQ\DC2\EOT\253\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\253\EOT\DLE\ESC\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\253\EOT\RS\US\n\ + \\229\SOH\n\ + \\EOT\EOT\SO\STX\SOH\DC2\EOT\131\ENQ\STX1\SUB\214\SOH Is this enum deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for the enum, or it will be completely ignored; in the very least, this\n\ + \ is a formalization for deprecating enums.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\SOH\EOT\DC2\EOT\131\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\SOH\ENQ\DC2\EOT\131\ENQ\v\SI\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\131\ENQ\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\131\ENQ\GS\RS\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\SOH\b\DC2\EOT\131\ENQ\US0\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\SOH\a\DC2\EOT\131\ENQ*/\n\ + \\US\n\ + \\ETX\EOT\SO\t\DC2\EOT\133\ENQ\STX\r\"\DC2 javanano_as_lite\n\ + \\n\ + \\f\n\ + \\EOT\EOT\SO\t\NUL\DC2\EOT\133\ENQ\v\f\n\ + \\r\n\ + \\ENQ\EOT\SO\t\NUL\SOH\DC2\EOT\133\ENQ\v\f\n\ + \\r\n\ + \\ENQ\EOT\SO\t\NUL\STX\DC2\EOT\133\ENQ\v\f\n\ + \O\n\ + \\EOT\EOT\SO\STX\STX\DC2\EOT\136\ENQ\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\STX\EOT\DC2\EOT\136\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\STX\ACK\DC2\EOT\136\ENQ\v\RS\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\STX\SOH\DC2\EOT\136\ENQ\US3\n\ + \\r\n\ + \\ENQ\EOT\SO\STX\STX\ETX\DC2\EOT\136\ENQ69\n\ + \Z\n\ + \\ETX\EOT\SO\ENQ\DC2\EOT\139\ENQ\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\SO\ENQ\NUL\DC2\EOT\139\ENQ\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\SO\ENQ\NUL\SOH\DC2\EOT\139\ENQ\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\SO\ENQ\NUL\STX\DC2\EOT\139\ENQ\NAK\CAN\n\ + \\f\n\ + \\STX\EOT\SI\DC2\ACK\142\ENQ\NUL\154\ENQ\SOH\n\ + \\v\n\ + \\ETX\EOT\SI\SOH\DC2\EOT\142\ENQ\b\CAN\n\ + \\247\SOH\n\ + \\EOT\EOT\SI\STX\NUL\DC2\EOT\147\ENQ\STX1\SUB\232\SOH Is this enum value deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for the enum value, or it will be completely ignored; in the very least,\n\ + \ this is a formalization for deprecating enum values.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\NUL\EOT\DC2\EOT\147\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\147\ENQ\v\SI\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\147\ENQ\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\147\ENQ\GS\RS\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\NUL\b\DC2\EOT\147\ENQ\US0\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\NUL\a\DC2\EOT\147\ENQ*/\n\ + \O\n\ + \\EOT\EOT\SI\STX\SOH\DC2\EOT\150\ENQ\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\SOH\EOT\DC2\EOT\150\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\SOH\ACK\DC2\EOT\150\ENQ\v\RS\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\150\ENQ\US3\n\ + \\r\n\ + \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\150\ENQ69\n\ + \Z\n\ + \\ETX\EOT\SI\ENQ\DC2\EOT\153\ENQ\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\SI\ENQ\NUL\DC2\EOT\153\ENQ\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\SI\ENQ\NUL\SOH\DC2\EOT\153\ENQ\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\SI\ENQ\NUL\STX\DC2\EOT\153\ENQ\NAK\CAN\n\ + \\f\n\ + \\STX\EOT\DLE\DC2\ACK\156\ENQ\NUL\174\ENQ\SOH\n\ + \\v\n\ + \\ETX\EOT\DLE\SOH\DC2\EOT\156\ENQ\b\SYN\n\ + \\217\ETX\n\ + \\EOT\EOT\DLE\STX\NUL\DC2\EOT\167\ENQ\STX2\SUB\223\SOH Is this service deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for the service, or it will be completely ignored; in the very least,\n\ + \ this is a formalization for deprecating services.\n\ + \2\232\SOH Note: Field numbers 1 through 32 are reserved for Google's internal RPC\n\ + \ framework. We apologize for hoarding these numbers to ourselves, but\n\ + \ we were already using them long before we decided to release Protocol\n\ + \ Buffers.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\NUL\EOT\DC2\EOT\167\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\NUL\ENQ\DC2\EOT\167\ENQ\v\SI\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\167\ENQ\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\167\ENQ\GS\US\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\NUL\b\DC2\EOT\167\ENQ 1\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\NUL\a\DC2\EOT\167\ENQ+0\n\ + \O\n\ + \\EOT\EOT\DLE\STX\SOH\DC2\EOT\170\ENQ\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\SOH\EOT\DC2\EOT\170\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\SOH\ACK\DC2\EOT\170\ENQ\v\RS\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\170\ENQ\US3\n\ + \\r\n\ + \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\170\ENQ69\n\ + \Z\n\ + \\ETX\EOT\DLE\ENQ\DC2\EOT\173\ENQ\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\DLE\ENQ\NUL\DC2\EOT\173\ENQ\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\DLE\ENQ\NUL\SOH\DC2\EOT\173\ENQ\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\DLE\ENQ\NUL\STX\DC2\EOT\173\ENQ\NAK\CAN\n\ + \\f\n\ + \\STX\EOT\DC1\DC2\ACK\176\ENQ\NUL\205\ENQ\SOH\n\ + \\v\n\ + \\ETX\EOT\DC1\SOH\DC2\EOT\176\ENQ\b\NAK\n\ + \\214\ETX\n\ + \\EOT\EOT\DC1\STX\NUL\DC2\EOT\187\ENQ\STX2\SUB\220\SOH Is this method deprecated?\n\ + \ Depending on the target platform, this can emit Deprecated annotations\n\ + \ for the method, or it will be completely ignored; in the very least,\n\ + \ this is a formalization for deprecating methods.\n\ + \2\232\SOH Note: Field numbers 1 through 32 are reserved for Google's internal RPC\n\ + \ framework. We apologize for hoarding these numbers to ourselves, but\n\ + \ we were already using them long before we decided to release Protocol\n\ + \ Buffers.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\NUL\EOT\DC2\EOT\187\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\NUL\ENQ\DC2\EOT\187\ENQ\v\SI\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\187\ENQ\DLE\SUB\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\187\ENQ\GS\US\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\NUL\b\DC2\EOT\187\ENQ 1\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\NUL\a\DC2\EOT\187\ENQ+0\n\ + \\240\SOH\n\ + \\EOT\EOT\DC1\EOT\NUL\DC2\ACK\192\ENQ\STX\196\ENQ\ETX\SUB\223\SOH Is this method side-effect-free (or safe in HTTP parlance), or idempotent,\n\ + \ or neither? HTTP based RPC implementation may choose GET verb for safe\n\ + \ methods, and PUT verb for idempotent methods instead of the default POST.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC1\EOT\NUL\SOH\DC2\EOT\192\ENQ\a\ETB\n\ + \\SO\n\ + \\ACK\EOT\DC1\EOT\NUL\STX\NUL\DC2\EOT\193\ENQ\EOT\FS\n\ + \\SI\n\ + \\a\EOT\DC1\EOT\NUL\STX\NUL\SOH\DC2\EOT\193\ENQ\EOT\ETB\n\ + \\SI\n\ + \\a\EOT\DC1\EOT\NUL\STX\NUL\STX\DC2\EOT\193\ENQ\SUB\ESC\n\ + \$\n\ + \\ACK\EOT\DC1\EOT\NUL\STX\SOH\DC2\EOT\194\ENQ\EOT\CAN\"\DC4 implies idempotent\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC1\EOT\NUL\STX\SOH\SOH\DC2\EOT\194\ENQ\EOT\DC3\n\ + \\SI\n\ + \\a\EOT\DC1\EOT\NUL\STX\SOH\STX\DC2\EOT\194\ENQ\SYN\ETB\n\ + \7\n\ + \\ACK\EOT\DC1\EOT\NUL\STX\STX\DC2\EOT\195\ENQ\EOT\DC3\"' idempotent, but may have side effects\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC1\EOT\NUL\STX\STX\SOH\DC2\EOT\195\ENQ\EOT\SO\n\ + \\SI\n\ + \\a\EOT\DC1\EOT\NUL\STX\STX\STX\DC2\EOT\195\ENQ\DC1\DC2\n\ + \\SO\n\ + \\EOT\EOT\DC1\STX\SOH\DC2\ACK\197\ENQ\STX\198\ENQ&\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\SOH\EOT\DC2\EOT\197\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\SOH\ACK\DC2\EOT\197\ENQ\v\ESC\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\197\ENQ\FS-\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\197\ENQ02\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\SOH\b\DC2\EOT\198\ENQ\ACK%\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\SOH\a\DC2\EOT\198\ENQ\DC1$\n\ + \O\n\ + \\EOT\EOT\DC1\STX\STX\DC2\EOT\201\ENQ\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\STX\EOT\DC2\EOT\201\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\STX\ACK\DC2\EOT\201\ENQ\v\RS\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\201\ENQ\US3\n\ + \\r\n\ + \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\201\ENQ69\n\ + \Z\n\ + \\ETX\EOT\DC1\ENQ\DC2\EOT\204\ENQ\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\n\ + \\f\n\ + \\EOT\EOT\DC1\ENQ\NUL\DC2\EOT\204\ENQ\r\CAN\n\ + \\r\n\ + \\ENQ\EOT\DC1\ENQ\NUL\SOH\DC2\EOT\204\ENQ\r\DC1\n\ + \\r\n\ + \\ENQ\EOT\DC1\ENQ\NUL\STX\DC2\EOT\204\ENQ\NAK\CAN\n\ + \\139\ETX\n\ + \\STX\EOT\DC2\DC2\ACK\214\ENQ\NUL\234\ENQ\SOH\SUB\252\STX A message representing a option the parser does not recognize. This only\n\ + \ appears in options protos created by the compiler::Parser class.\n\ + \ DescriptorPool resolves these when building Descriptor objects. Therefore,\n\ + \ options protos in descriptor objects (e.g. returned by Descriptor::options(),\n\ + \ or produced by Descriptor::CopyTo()) will never have UninterpretedOptions\n\ + \ in them.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\DC2\SOH\DC2\EOT\214\ENQ\b\ESC\n\ + \\203\STX\n\ + \\EOT\EOT\DC2\ETX\NUL\DC2\ACK\220\ENQ\STX\223\ENQ\ETX\SUB\186\STX The name of the uninterpreted option. Each string represents a segment in\n\ + \ a dot-separated name. is_extension is true iff a segment represents an\n\ + \ extension (denoted with parentheses in options specs in .proto files).\n\ + \ E.g.,{ [\"foo\", false], [\"bar.baz\", true], [\"qux\", false] } represents\n\ + \ \"foo.(bar.baz).qux\".\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\ETX\NUL\SOH\DC2\EOT\220\ENQ\n\ + \\DC2\n\ + \\SO\n\ + \\ACK\EOT\DC2\ETX\NUL\STX\NUL\DC2\EOT\221\ENQ\EOT\"\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\NUL\EOT\DC2\EOT\221\ENQ\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\NUL\ENQ\DC2\EOT\221\ENQ\r\DC3\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\NUL\SOH\DC2\EOT\221\ENQ\DC4\GS\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\NUL\ETX\DC2\EOT\221\ENQ !\n\ + \\SO\n\ + \\ACK\EOT\DC2\ETX\NUL\STX\SOH\DC2\EOT\222\ENQ\EOT#\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\SOH\EOT\DC2\EOT\222\ENQ\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\SOH\ENQ\DC2\EOT\222\ENQ\r\DC1\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\SOH\SOH\DC2\EOT\222\ENQ\DC2\RS\n\ + \\SI\n\ + \\a\EOT\DC2\ETX\NUL\STX\SOH\ETX\DC2\EOT\222\ENQ!\"\n\ + \\f\n\ + \\EOT\EOT\DC2\STX\NUL\DC2\EOT\224\ENQ\STX\GS\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\NUL\EOT\DC2\EOT\224\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\NUL\ACK\DC2\EOT\224\ENQ\v\DC3\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\224\ENQ\DC4\CAN\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\224\ENQ\ESC\FS\n\ + \\156\SOH\n\ + \\EOT\EOT\DC2\STX\SOH\DC2\EOT\228\ENQ\STX'\SUB\141\SOH The value of the uninterpreted option, in whatever type the tokenizer\n\ + \ identified it as during parsing. Exactly one of these should be set.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\SOH\EOT\DC2\EOT\228\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\SOH\ENQ\DC2\EOT\228\ENQ\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\SOH\SOH\DC2\EOT\228\ENQ\DC2\"\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\SOH\ETX\DC2\EOT\228\ENQ%&\n\ + \\f\n\ + \\EOT\EOT\DC2\STX\STX\DC2\EOT\229\ENQ\STX)\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\STX\EOT\DC2\EOT\229\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\STX\ENQ\DC2\EOT\229\ENQ\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\STX\SOH\DC2\EOT\229\ENQ\DC2$\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\STX\ETX\DC2\EOT\229\ENQ'(\n\ + \\f\n\ + \\EOT\EOT\DC2\STX\ETX\DC2\EOT\230\ENQ\STX(\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ETX\EOT\DC2\EOT\230\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ETX\ENQ\DC2\EOT\230\ENQ\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ETX\SOH\DC2\EOT\230\ENQ\DC1#\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ETX\ETX\DC2\EOT\230\ENQ&'\n\ + \\f\n\ + \\EOT\EOT\DC2\STX\EOT\DC2\EOT\231\ENQ\STX#\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\EOT\EOT\DC2\EOT\231\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\EOT\ENQ\DC2\EOT\231\ENQ\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\EOT\SOH\DC2\EOT\231\ENQ\DC2\RS\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\EOT\ETX\DC2\EOT\231\ENQ!\"\n\ + \\f\n\ + \\EOT\EOT\DC2\STX\ENQ\DC2\EOT\232\ENQ\STX\"\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ENQ\EOT\DC2\EOT\232\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ENQ\ENQ\DC2\EOT\232\ENQ\v\DLE\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ENQ\SOH\DC2\EOT\232\ENQ\DC1\GS\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ENQ\ETX\DC2\EOT\232\ENQ !\n\ + \\f\n\ + \\EOT\EOT\DC2\STX\ACK\DC2\EOT\233\ENQ\STX&\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ACK\EOT\DC2\EOT\233\ENQ\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ACK\ENQ\DC2\EOT\233\ENQ\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ACK\SOH\DC2\EOT\233\ENQ\DC2!\n\ + \\r\n\ + \\ENQ\EOT\DC2\STX\ACK\ETX\DC2\EOT\233\ENQ$%\n\ + \\218\SOH\n\ + \\STX\EOT\DC3\DC2\ACK\241\ENQ\NUL\242\ACK\SOH\SUBj Encapsulates information about the original source file from which a\n\ + \ FileDescriptorProto was generated.\n\ + \2` ===================================================================\n\ + \ Optional source code info\n\ + \\n\ + \\v\n\ + \\ETX\EOT\DC3\SOH\DC2\EOT\241\ENQ\b\SYN\n\ + \\130\DC1\n\ + \\EOT\EOT\DC3\STX\NUL\DC2\EOT\157\ACK\STX!\SUB\243\DLE A Location identifies a piece of source code in a .proto file which\n\ + \ corresponds to a particular definition. This information is intended\n\ + \ to be useful to IDEs, code indexers, documentation generators, and similar\n\ + \ tools.\n\ + \\n\ + \ For example, say we have a file like:\n\ + \ message Foo {\n\ + \ optional string foo = 1;\n\ + \ }\n\ + \ Let's look at just the field definition:\n\ + \ optional string foo = 1;\n\ + \ ^ ^^ ^^ ^ ^^^\n\ + \ a bc de f ghi\n\ + \ We have the following locations:\n\ + \ span path represents\n\ + \ [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n\ + \ [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n\ + \ [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n\ + \ [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n\ + \ [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n\ + \\n\ + \ Notes:\n\ + \ - A location may refer to a repeated field itself (i.e. not to any\n\ + \ particular index within it). This is used whenever a set of elements are\n\ + \ logically enclosed in a single code segment. For example, an entire\n\ + \ extend block (possibly containing multiple extension definitions) will\n\ + \ have an outer location whose path refers to the \"extensions\" repeated\n\ + \ field without an index.\n\ + \ - Multiple locations may have the same path. This happens when a single\n\ + \ logical declaration is spread out across multiple places. The most\n\ + \ obvious example is the \"extend\" block again -- there may be multiple\n\ + \ extend blocks in the same scope, each of which will have the same path.\n\ + \ - A location's span is not always a subset of its parent's span. For\n\ + \ example, the \"extendee\" of an extension declaration appears at the\n\ + \ beginning of the \"extend\" block and is shared by all extensions within\n\ + \ the block.\n\ + \ - Just because a location's span is a subset of some other location's span\n\ + \ does not mean that it is a descendant. For example, a \"group\" defines\n\ + \ both a type and a field in a single declaration. Thus, the locations\n\ + \ corresponding to the type and field and their components will overlap.\n\ + \ - Code which tries to interpret locations should probably be designed to\n\ + \ ignore those that it doesn't understand, as more types of locations could\n\ + \ be recorded in the future.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC3\STX\NUL\EOT\DC2\EOT\157\ACK\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC3\STX\NUL\ACK\DC2\EOT\157\ACK\v\DC3\n\ + \\r\n\ + \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\157\ACK\DC4\FS\n\ + \\r\n\ + \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\157\ACK\US \n\ + \\SO\n\ + \\EOT\EOT\DC3\ETX\NUL\DC2\ACK\158\ACK\STX\241\ACK\ETX\n\ + \\r\n\ + \\ENQ\EOT\DC3\ETX\NUL\SOH\DC2\EOT\158\ACK\n\ + \\DC2\n\ + \\131\a\n\ + \\ACK\EOT\DC3\ETX\NUL\STX\NUL\DC2\EOT\182\ACK\EOT,\SUB\242\ACK Identifies which part of the FileDescriptorProto was defined at this\n\ + \ location.\n\ + \\n\ + \ Each element is a field number or an index. They form a path from\n\ + \ the root FileDescriptorProto to the place where the definition. For\n\ + \ example, this path:\n\ + \ [ 4, 3, 2, 7, 1 ]\n\ + \ refers to:\n\ + \ file.message_type(3) // 4, 3\n\ + \ .field(7) // 2, 7\n\ + \ .name() // 1\n\ + \ This is because FileDescriptorProto.message_type has field number 4:\n\ + \ repeated DescriptorProto message_type = 4;\n\ + \ and DescriptorProto.field has field number 2:\n\ + \ repeated FieldDescriptorProto field = 2;\n\ + \ and FieldDescriptorProto.name has field number 1:\n\ + \ optional string name = 1;\n\ + \\n\ + \ Thus, the above path gives the location of a field name. If we removed\n\ + \ the last element:\n\ + \ [ 4, 3, 2, 7 ]\n\ + \ this path refers to the whole field declaration (from the beginning\n\ + \ of the label to the terminating semicolon).\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\NUL\EOT\DC2\EOT\182\ACK\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\NUL\ENQ\DC2\EOT\182\ACK\r\DC2\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\NUL\SOH\DC2\EOT\182\ACK\DC3\ETB\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\NUL\ETX\DC2\EOT\182\ACK\SUB\ESC\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\NUL\b\DC2\EOT\182\ACK\FS+\n\ + \\DLE\n\ + \\b\EOT\DC3\ETX\NUL\STX\NUL\b\STX\DC2\EOT\182\ACK\GS*\n\ + \\210\STX\n\ + \\ACK\EOT\DC3\ETX\NUL\STX\SOH\DC2\EOT\189\ACK\EOT,\SUB\193\STX Always has exactly three or four elements: start line, start column,\n\ + \ end line (optional, otherwise assumed same as start line), end column.\n\ + \ These are packed into a single field for efficiency. Note that line\n\ + \ and column numbers are zero-based -- typically you will want to add\n\ + \ 1 to each before displaying to a user.\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\SOH\EOT\DC2\EOT\189\ACK\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\SOH\ENQ\DC2\EOT\189\ACK\r\DC2\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\SOH\SOH\DC2\EOT\189\ACK\DC3\ETB\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\SOH\ETX\DC2\EOT\189\ACK\SUB\ESC\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\SOH\b\DC2\EOT\189\ACK\FS+\n\ + \\DLE\n\ + \\b\EOT\DC3\ETX\NUL\STX\SOH\b\STX\DC2\EOT\189\ACK\GS*\n\ + \\165\f\n\ + \\ACK\EOT\DC3\ETX\NUL\STX\STX\DC2\EOT\238\ACK\EOT)\SUB\148\f If this SourceCodeInfo represents a complete declaration, these are any\n\ + \ comments appearing before and after the declaration which appear to be\n\ + \ attached to the declaration.\n\ + \\n\ + \ A series of line comments appearing on consecutive lines, with no other\n\ + \ tokens appearing on those lines, will be treated as a single comment.\n\ + \\n\ + \ leading_detached_comments will keep paragraphs of comments that appear\n\ + \ before (but not connected to) the current element. Each paragraph,\n\ + \ separated by empty lines, will be one comment element in the repeated\n\ + \ field.\n\ + \\n\ + \ Only the comment content is provided; comment markers (e.g. //) are\n\ + \ stripped out. For block comments, leading whitespace and an asterisk\n\ + \ will be stripped from the beginning of each line other than the first.\n\ + \ Newlines are included in the output.\n\ + \\n\ + \ Examples:\n\ + \\n\ + \ optional int32 foo = 1; // Comment attached to foo.\n\ + \ // Comment attached to bar.\n\ + \ optional int32 bar = 2;\n\ + \\n\ + \ optional string baz = 3;\n\ + \ // Comment attached to baz.\n\ + \ // Another line attached to baz.\n\ + \\n\ + \ // Comment attached to qux.\n\ + \ //\n\ + \ // Another line attached to qux.\n\ + \ optional double qux = 4;\n\ + \\n\ + \ // Detached comment for corge. This is not leading or trailing comments\n\ + \ // to qux or corge because there are blank lines separating it from\n\ + \ // both.\n\ + \\n\ + \ // Detached comment for corge paragraph 2.\n\ + \\n\ + \ optional string corge = 5;\n\ + \ /* Block comment attached\n\ + \ * to corge. Leading asterisks\n\ + \ * will be removed. */\n\ + \ /* Block comment attached to\n\ + \ * grault. */\n\ + \ optional int32 grault = 6;\n\ + \\n\ + \ // ignored detached comments.\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\STX\EOT\DC2\EOT\238\ACK\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\STX\ENQ\DC2\EOT\238\ACK\r\DC3\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\STX\SOH\DC2\EOT\238\ACK\DC4$\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\STX\ETX\DC2\EOT\238\ACK'(\n\ + \\SO\n\ + \\ACK\EOT\DC3\ETX\NUL\STX\ETX\DC2\EOT\239\ACK\EOT*\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\ETX\EOT\DC2\EOT\239\ACK\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\ETX\ENQ\DC2\EOT\239\ACK\r\DC3\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\ETX\SOH\DC2\EOT\239\ACK\DC4%\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\ETX\ETX\DC2\EOT\239\ACK()\n\ + \\SO\n\ + \\ACK\EOT\DC3\ETX\NUL\STX\EOT\DC2\EOT\240\ACK\EOT2\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\EOT\EOT\DC2\EOT\240\ACK\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\EOT\ENQ\DC2\EOT\240\ACK\r\DC3\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\EOT\SOH\DC2\EOT\240\ACK\DC4-\n\ + \\SI\n\ + \\a\EOT\DC3\ETX\NUL\STX\EOT\ETX\DC2\EOT\240\ACK01\n\ + \\238\SOH\n\ + \\STX\EOT\DC4\DC2\ACK\247\ACK\NUL\140\a\SOH\SUB\223\SOH Describes the relationship between generated code and its original source\n\ + \ file. A GeneratedCodeInfo message is associated with only one generated\n\ + \ source file, but may contain references to different source .proto files.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\DC4\SOH\DC2\EOT\247\ACK\b\EM\n\ + \x\n\ + \\EOT\EOT\DC4\STX\NUL\DC2\EOT\250\ACK\STX%\SUBj An Annotation connects some span of text in generated code to an element\n\ + \ of its generating .proto file.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC4\STX\NUL\EOT\DC2\EOT\250\ACK\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\DC4\STX\NUL\ACK\DC2\EOT\250\ACK\v\NAK\n\ + \\r\n\ + \\ENQ\EOT\DC4\STX\NUL\SOH\DC2\EOT\250\ACK\SYN \n\ + \\r\n\ + \\ENQ\EOT\DC4\STX\NUL\ETX\DC2\EOT\250\ACK#$\n\ + \\SO\n\ + \\EOT\EOT\DC4\ETX\NUL\DC2\ACK\251\ACK\STX\139\a\ETX\n\ + \\r\n\ + \\ENQ\EOT\DC4\ETX\NUL\SOH\DC2\EOT\251\ACK\n\ + \\DC4\n\ + \\143\SOH\n\ + \\ACK\EOT\DC4\ETX\NUL\STX\NUL\DC2\EOT\254\ACK\EOT,\SUB\DEL Identifies the element in the original source .proto file. This field\n\ + \ is formatted the same as SourceCodeInfo.Location.path.\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\NUL\EOT\DC2\EOT\254\ACK\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\NUL\ENQ\DC2\EOT\254\ACK\r\DC2\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\NUL\SOH\DC2\EOT\254\ACK\DC3\ETB\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\NUL\ETX\DC2\EOT\254\ACK\SUB\ESC\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\NUL\b\DC2\EOT\254\ACK\FS+\n\ + \\DLE\n\ + \\b\EOT\DC4\ETX\NUL\STX\NUL\b\STX\DC2\EOT\254\ACK\GS*\n\ + \O\n\ + \\ACK\EOT\DC4\ETX\NUL\STX\SOH\DC2\EOT\129\a\EOT$\SUB? Identifies the filesystem path to the original source .proto.\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\SOH\EOT\DC2\EOT\129\a\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\SOH\ENQ\DC2\EOT\129\a\r\DC3\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\SOH\SOH\DC2\EOT\129\a\DC4\US\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\SOH\ETX\DC2\EOT\129\a\"#\n\ + \w\n\ + \\ACK\EOT\DC4\ETX\NUL\STX\STX\DC2\EOT\133\a\EOT\GS\SUBg Identifies the starting offset in bytes in the generated code\n\ + \ that relates to the identified object.\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\STX\EOT\DC2\EOT\133\a\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\STX\ENQ\DC2\EOT\133\a\r\DC2\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\STX\SOH\DC2\EOT\133\a\DC3\CAN\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\STX\ETX\DC2\EOT\133\a\ESC\FS\n\ + \\219\SOH\n\ + \\ACK\EOT\DC4\ETX\NUL\STX\ETX\DC2\EOT\138\a\EOT\ESC\SUB\202\SOH Identifies the ending offset in bytes in the generated code that\n\ + \ relates to the identified offset. The end offset should be one past\n\ + \ the last relevant byte (so the length of the text = end - begin).\n\ + \\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\ETX\EOT\DC2\EOT\138\a\EOT\f\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\ETX\ENQ\DC2\EOT\138\a\r\DC2\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\ETX\SOH\DC2\EOT\138\a\DC3\SYN\n\ + \\SI\n\ + \\a\EOT\DC4\ETX\NUL\STX\ETX\ETX\DC2\EOT\138\a\EM\SUB" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor_Fields.hs new file mode 100644 index 00000000..32bc5e4a --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor_Fields.hs @@ -0,0 +1,1052 @@ +{- This file was auto-generated from google/protobuf/descriptor.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Descriptor_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +aggregateValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "aggregateValue" a) => + Lens.Family2.LensLike' f s a +aggregateValue = Data.ProtoLens.Field.field @"aggregateValue" +allowAlias :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "allowAlias" a) => + Lens.Family2.LensLike' f s a +allowAlias = Data.ProtoLens.Field.field @"allowAlias" +annotation :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "annotation" a) => + Lens.Family2.LensLike' f s a +annotation = Data.ProtoLens.Field.field @"annotation" +begin :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "begin" a) => + Lens.Family2.LensLike' f s a +begin = Data.ProtoLens.Field.field @"begin" +ccEnableArenas :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "ccEnableArenas" a) => + Lens.Family2.LensLike' f s a +ccEnableArenas = Data.ProtoLens.Field.field @"ccEnableArenas" +ccGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "ccGenericServices" a) => + Lens.Family2.LensLike' f s a +ccGenericServices = Data.ProtoLens.Field.field @"ccGenericServices" +clientStreaming :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "clientStreaming" a) => + Lens.Family2.LensLike' f s a +clientStreaming = Data.ProtoLens.Field.field @"clientStreaming" +csharpNamespace :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "csharpNamespace" a) => + Lens.Family2.LensLike' f s a +csharpNamespace = Data.ProtoLens.Field.field @"csharpNamespace" +ctype :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "ctype" a) => + Lens.Family2.LensLike' f s a +ctype = Data.ProtoLens.Field.field @"ctype" +defaultValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "defaultValue" a) => + Lens.Family2.LensLike' f s a +defaultValue = Data.ProtoLens.Field.field @"defaultValue" +dependency :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "dependency" a) => + Lens.Family2.LensLike' f s a +dependency = Data.ProtoLens.Field.field @"dependency" +deprecated :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "deprecated" a) => + Lens.Family2.LensLike' f s a +deprecated = Data.ProtoLens.Field.field @"deprecated" +doubleValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "doubleValue" a) => + Lens.Family2.LensLike' f s a +doubleValue = Data.ProtoLens.Field.field @"doubleValue" +end :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "end" a) => + Lens.Family2.LensLike' f s a +end = Data.ProtoLens.Field.field @"end" +enumType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "enumType" a) => + Lens.Family2.LensLike' f s a +enumType = Data.ProtoLens.Field.field @"enumType" +extendee :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "extendee" a) => + Lens.Family2.LensLike' f s a +extendee = Data.ProtoLens.Field.field @"extendee" +extension :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "extension" a) => + Lens.Family2.LensLike' f s a +extension = Data.ProtoLens.Field.field @"extension" +extensionRange :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "extensionRange" a) => + Lens.Family2.LensLike' f s a +extensionRange = Data.ProtoLens.Field.field @"extensionRange" +field :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "field" a) => + Lens.Family2.LensLike' f s a +field = Data.ProtoLens.Field.field @"field" +file :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "file" a) => + Lens.Family2.LensLike' f s a +file = Data.ProtoLens.Field.field @"file" +goPackage :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "goPackage" a) => + Lens.Family2.LensLike' f s a +goPackage = Data.ProtoLens.Field.field @"goPackage" +idempotencyLevel :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "idempotencyLevel" a) => + Lens.Family2.LensLike' f s a +idempotencyLevel = Data.ProtoLens.Field.field @"idempotencyLevel" +identifierValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "identifierValue" a) => + Lens.Family2.LensLike' f s a +identifierValue = Data.ProtoLens.Field.field @"identifierValue" +inputType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "inputType" a) => + Lens.Family2.LensLike' f s a +inputType = Data.ProtoLens.Field.field @"inputType" +isExtension :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "isExtension" a) => + Lens.Family2.LensLike' f s a +isExtension = Data.ProtoLens.Field.field @"isExtension" +javaGenerateEqualsAndHash :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "javaGenerateEqualsAndHash" a) => + Lens.Family2.LensLike' f s a +javaGenerateEqualsAndHash + = Data.ProtoLens.Field.field @"javaGenerateEqualsAndHash" +javaGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "javaGenericServices" a) => + Lens.Family2.LensLike' f s a +javaGenericServices + = Data.ProtoLens.Field.field @"javaGenericServices" +javaMultipleFiles :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "javaMultipleFiles" a) => + Lens.Family2.LensLike' f s a +javaMultipleFiles = Data.ProtoLens.Field.field @"javaMultipleFiles" +javaOuterClassname :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "javaOuterClassname" a) => + Lens.Family2.LensLike' f s a +javaOuterClassname + = Data.ProtoLens.Field.field @"javaOuterClassname" +javaPackage :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "javaPackage" a) => + Lens.Family2.LensLike' f s a +javaPackage = Data.ProtoLens.Field.field @"javaPackage" +javaStringCheckUtf8 :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "javaStringCheckUtf8" a) => + Lens.Family2.LensLike' f s a +javaStringCheckUtf8 + = Data.ProtoLens.Field.field @"javaStringCheckUtf8" +jsonName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "jsonName" a) => + Lens.Family2.LensLike' f s a +jsonName = Data.ProtoLens.Field.field @"jsonName" +jstype :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jstype" a) => + Lens.Family2.LensLike' f s a +jstype = Data.ProtoLens.Field.field @"jstype" +label :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "label" a) => + Lens.Family2.LensLike' f s a +label = Data.ProtoLens.Field.field @"label" +lazy :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "lazy" a) => + Lens.Family2.LensLike' f s a +lazy = Data.ProtoLens.Field.field @"lazy" +leadingComments :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "leadingComments" a) => + Lens.Family2.LensLike' f s a +leadingComments = Data.ProtoLens.Field.field @"leadingComments" +leadingDetachedComments :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "leadingDetachedComments" a) => + Lens.Family2.LensLike' f s a +leadingDetachedComments + = Data.ProtoLens.Field.field @"leadingDetachedComments" +location :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "location" a) => + Lens.Family2.LensLike' f s a +location = Data.ProtoLens.Field.field @"location" +mapEntry :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "mapEntry" a) => + Lens.Family2.LensLike' f s a +mapEntry = Data.ProtoLens.Field.field @"mapEntry" +maybe'aggregateValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'aggregateValue" a) => + Lens.Family2.LensLike' f s a +maybe'aggregateValue + = Data.ProtoLens.Field.field @"maybe'aggregateValue" +maybe'allowAlias :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'allowAlias" a) => + Lens.Family2.LensLike' f s a +maybe'allowAlias = Data.ProtoLens.Field.field @"maybe'allowAlias" +maybe'begin :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'begin" a) => + Lens.Family2.LensLike' f s a +maybe'begin = Data.ProtoLens.Field.field @"maybe'begin" +maybe'ccEnableArenas :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'ccEnableArenas" a) => + Lens.Family2.LensLike' f s a +maybe'ccEnableArenas + = Data.ProtoLens.Field.field @"maybe'ccEnableArenas" +maybe'ccGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'ccGenericServices" a) => + Lens.Family2.LensLike' f s a +maybe'ccGenericServices + = Data.ProtoLens.Field.field @"maybe'ccGenericServices" +maybe'clientStreaming :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'clientStreaming" a) => + Lens.Family2.LensLike' f s a +maybe'clientStreaming + = Data.ProtoLens.Field.field @"maybe'clientStreaming" +maybe'csharpNamespace :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'csharpNamespace" a) => + Lens.Family2.LensLike' f s a +maybe'csharpNamespace + = Data.ProtoLens.Field.field @"maybe'csharpNamespace" +maybe'ctype :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'ctype" a) => + Lens.Family2.LensLike' f s a +maybe'ctype = Data.ProtoLens.Field.field @"maybe'ctype" +maybe'defaultValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'defaultValue" a) => + Lens.Family2.LensLike' f s a +maybe'defaultValue + = Data.ProtoLens.Field.field @"maybe'defaultValue" +maybe'deprecated :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'deprecated" a) => + Lens.Family2.LensLike' f s a +maybe'deprecated = Data.ProtoLens.Field.field @"maybe'deprecated" +maybe'doubleValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'doubleValue" a) => + Lens.Family2.LensLike' f s a +maybe'doubleValue = Data.ProtoLens.Field.field @"maybe'doubleValue" +maybe'end :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'end" a) => + Lens.Family2.LensLike' f s a +maybe'end = Data.ProtoLens.Field.field @"maybe'end" +maybe'extendee :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'extendee" a) => + Lens.Family2.LensLike' f s a +maybe'extendee = Data.ProtoLens.Field.field @"maybe'extendee" +maybe'goPackage :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'goPackage" a) => + Lens.Family2.LensLike' f s a +maybe'goPackage = Data.ProtoLens.Field.field @"maybe'goPackage" +maybe'idempotencyLevel :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'idempotencyLevel" a) => + Lens.Family2.LensLike' f s a +maybe'idempotencyLevel + = Data.ProtoLens.Field.field @"maybe'idempotencyLevel" +maybe'identifierValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'identifierValue" a) => + Lens.Family2.LensLike' f s a +maybe'identifierValue + = Data.ProtoLens.Field.field @"maybe'identifierValue" +maybe'inputType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'inputType" a) => + Lens.Family2.LensLike' f s a +maybe'inputType = Data.ProtoLens.Field.field @"maybe'inputType" +maybe'javaGenerateEqualsAndHash :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'javaGenerateEqualsAndHash" a) => + Lens.Family2.LensLike' f s a +maybe'javaGenerateEqualsAndHash + = Data.ProtoLens.Field.field @"maybe'javaGenerateEqualsAndHash" +maybe'javaGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'javaGenericServices" a) => + Lens.Family2.LensLike' f s a +maybe'javaGenericServices + = Data.ProtoLens.Field.field @"maybe'javaGenericServices" +maybe'javaMultipleFiles :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'javaMultipleFiles" a) => + Lens.Family2.LensLike' f s a +maybe'javaMultipleFiles + = Data.ProtoLens.Field.field @"maybe'javaMultipleFiles" +maybe'javaOuterClassname :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'javaOuterClassname" a) => + Lens.Family2.LensLike' f s a +maybe'javaOuterClassname + = Data.ProtoLens.Field.field @"maybe'javaOuterClassname" +maybe'javaPackage :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'javaPackage" a) => + Lens.Family2.LensLike' f s a +maybe'javaPackage = Data.ProtoLens.Field.field @"maybe'javaPackage" +maybe'javaStringCheckUtf8 :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'javaStringCheckUtf8" a) => + Lens.Family2.LensLike' f s a +maybe'javaStringCheckUtf8 + = Data.ProtoLens.Field.field @"maybe'javaStringCheckUtf8" +maybe'jsonName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'jsonName" a) => + Lens.Family2.LensLike' f s a +maybe'jsonName = Data.ProtoLens.Field.field @"maybe'jsonName" +maybe'jstype :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'jstype" a) => + Lens.Family2.LensLike' f s a +maybe'jstype = Data.ProtoLens.Field.field @"maybe'jstype" +maybe'label :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'label" a) => + Lens.Family2.LensLike' f s a +maybe'label = Data.ProtoLens.Field.field @"maybe'label" +maybe'lazy :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'lazy" a) => + Lens.Family2.LensLike' f s a +maybe'lazy = Data.ProtoLens.Field.field @"maybe'lazy" +maybe'leadingComments :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'leadingComments" a) => + Lens.Family2.LensLike' f s a +maybe'leadingComments + = Data.ProtoLens.Field.field @"maybe'leadingComments" +maybe'mapEntry :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'mapEntry" a) => + Lens.Family2.LensLike' f s a +maybe'mapEntry = Data.ProtoLens.Field.field @"maybe'mapEntry" +maybe'messageSetWireFormat :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'messageSetWireFormat" a) => + Lens.Family2.LensLike' f s a +maybe'messageSetWireFormat + = Data.ProtoLens.Field.field @"maybe'messageSetWireFormat" +maybe'name :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'name" a) => + Lens.Family2.LensLike' f s a +maybe'name = Data.ProtoLens.Field.field @"maybe'name" +maybe'negativeIntValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'negativeIntValue" a) => + Lens.Family2.LensLike' f s a +maybe'negativeIntValue + = Data.ProtoLens.Field.field @"maybe'negativeIntValue" +maybe'noStandardDescriptorAccessor :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'noStandardDescriptorAccessor" a) => + Lens.Family2.LensLike' f s a +maybe'noStandardDescriptorAccessor + = Data.ProtoLens.Field.field @"maybe'noStandardDescriptorAccessor" +maybe'number :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'number" a) => + Lens.Family2.LensLike' f s a +maybe'number = Data.ProtoLens.Field.field @"maybe'number" +maybe'objcClassPrefix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'objcClassPrefix" a) => + Lens.Family2.LensLike' f s a +maybe'objcClassPrefix + = Data.ProtoLens.Field.field @"maybe'objcClassPrefix" +maybe'oneofIndex :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'oneofIndex" a) => + Lens.Family2.LensLike' f s a +maybe'oneofIndex = Data.ProtoLens.Field.field @"maybe'oneofIndex" +maybe'optimizeFor :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'optimizeFor" a) => + Lens.Family2.LensLike' f s a +maybe'optimizeFor = Data.ProtoLens.Field.field @"maybe'optimizeFor" +maybe'options :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'options" a) => + Lens.Family2.LensLike' f s a +maybe'options = Data.ProtoLens.Field.field @"maybe'options" +maybe'outputType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'outputType" a) => + Lens.Family2.LensLike' f s a +maybe'outputType = Data.ProtoLens.Field.field @"maybe'outputType" +maybe'package :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'package" a) => + Lens.Family2.LensLike' f s a +maybe'package = Data.ProtoLens.Field.field @"maybe'package" +maybe'packed :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'packed" a) => + Lens.Family2.LensLike' f s a +maybe'packed = Data.ProtoLens.Field.field @"maybe'packed" +maybe'phpClassPrefix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'phpClassPrefix" a) => + Lens.Family2.LensLike' f s a +maybe'phpClassPrefix + = Data.ProtoLens.Field.field @"maybe'phpClassPrefix" +maybe'phpGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'phpGenericServices" a) => + Lens.Family2.LensLike' f s a +maybe'phpGenericServices + = Data.ProtoLens.Field.field @"maybe'phpGenericServices" +maybe'phpMetadataNamespace :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'phpMetadataNamespace" a) => + Lens.Family2.LensLike' f s a +maybe'phpMetadataNamespace + = Data.ProtoLens.Field.field @"maybe'phpMetadataNamespace" +maybe'phpNamespace :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'phpNamespace" a) => + Lens.Family2.LensLike' f s a +maybe'phpNamespace + = Data.ProtoLens.Field.field @"maybe'phpNamespace" +maybe'positiveIntValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'positiveIntValue" a) => + Lens.Family2.LensLike' f s a +maybe'positiveIntValue + = Data.ProtoLens.Field.field @"maybe'positiveIntValue" +maybe'proto3Optional :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'proto3Optional" a) => + Lens.Family2.LensLike' f s a +maybe'proto3Optional + = Data.ProtoLens.Field.field @"maybe'proto3Optional" +maybe'pyGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'pyGenericServices" a) => + Lens.Family2.LensLike' f s a +maybe'pyGenericServices + = Data.ProtoLens.Field.field @"maybe'pyGenericServices" +maybe'rubyPackage :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'rubyPackage" a) => + Lens.Family2.LensLike' f s a +maybe'rubyPackage = Data.ProtoLens.Field.field @"maybe'rubyPackage" +maybe'serverStreaming :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'serverStreaming" a) => + Lens.Family2.LensLike' f s a +maybe'serverStreaming + = Data.ProtoLens.Field.field @"maybe'serverStreaming" +maybe'sourceCodeInfo :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'sourceCodeInfo" a) => + Lens.Family2.LensLike' f s a +maybe'sourceCodeInfo + = Data.ProtoLens.Field.field @"maybe'sourceCodeInfo" +maybe'sourceFile :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'sourceFile" a) => + Lens.Family2.LensLike' f s a +maybe'sourceFile = Data.ProtoLens.Field.field @"maybe'sourceFile" +maybe'start :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'start" a) => + Lens.Family2.LensLike' f s a +maybe'start = Data.ProtoLens.Field.field @"maybe'start" +maybe'stringValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'stringValue" a) => + Lens.Family2.LensLike' f s a +maybe'stringValue = Data.ProtoLens.Field.field @"maybe'stringValue" +maybe'swiftPrefix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'swiftPrefix" a) => + Lens.Family2.LensLike' f s a +maybe'swiftPrefix = Data.ProtoLens.Field.field @"maybe'swiftPrefix" +maybe'syntax :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'syntax" a) => + Lens.Family2.LensLike' f s a +maybe'syntax = Data.ProtoLens.Field.field @"maybe'syntax" +maybe'trailingComments :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'trailingComments" a) => + Lens.Family2.LensLike' f s a +maybe'trailingComments + = Data.ProtoLens.Field.field @"maybe'trailingComments" +maybe'type' :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'type'" a) => + Lens.Family2.LensLike' f s a +maybe'type' = Data.ProtoLens.Field.field @"maybe'type'" +maybe'typeName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'typeName" a) => + Lens.Family2.LensLike' f s a +maybe'typeName = Data.ProtoLens.Field.field @"maybe'typeName" +maybe'weak :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'weak" a) => + Lens.Family2.LensLike' f s a +maybe'weak = Data.ProtoLens.Field.field @"maybe'weak" +messageSetWireFormat :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "messageSetWireFormat" a) => + Lens.Family2.LensLike' f s a +messageSetWireFormat + = Data.ProtoLens.Field.field @"messageSetWireFormat" +messageType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "messageType" a) => + Lens.Family2.LensLike' f s a +messageType = Data.ProtoLens.Field.field @"messageType" +method :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "method" a) => + Lens.Family2.LensLike' f s a +method = Data.ProtoLens.Field.field @"method" +name :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) => + Lens.Family2.LensLike' f s a +name = Data.ProtoLens.Field.field @"name" +namePart :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "namePart" a) => + Lens.Family2.LensLike' f s a +namePart = Data.ProtoLens.Field.field @"namePart" +negativeIntValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "negativeIntValue" a) => + Lens.Family2.LensLike' f s a +negativeIntValue = Data.ProtoLens.Field.field @"negativeIntValue" +nestedType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "nestedType" a) => + Lens.Family2.LensLike' f s a +nestedType = Data.ProtoLens.Field.field @"nestedType" +noStandardDescriptorAccessor :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "noStandardDescriptorAccessor" a) => + Lens.Family2.LensLike' f s a +noStandardDescriptorAccessor + = Data.ProtoLens.Field.field @"noStandardDescriptorAccessor" +number :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "number" a) => + Lens.Family2.LensLike' f s a +number = Data.ProtoLens.Field.field @"number" +objcClassPrefix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "objcClassPrefix" a) => + Lens.Family2.LensLike' f s a +objcClassPrefix = Data.ProtoLens.Field.field @"objcClassPrefix" +oneofDecl :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "oneofDecl" a) => + Lens.Family2.LensLike' f s a +oneofDecl = Data.ProtoLens.Field.field @"oneofDecl" +oneofIndex :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "oneofIndex" a) => + Lens.Family2.LensLike' f s a +oneofIndex = Data.ProtoLens.Field.field @"oneofIndex" +optimizeFor :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "optimizeFor" a) => + Lens.Family2.LensLike' f s a +optimizeFor = Data.ProtoLens.Field.field @"optimizeFor" +options :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "options" a) => + Lens.Family2.LensLike' f s a +options = Data.ProtoLens.Field.field @"options" +outputType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "outputType" a) => + Lens.Family2.LensLike' f s a +outputType = Data.ProtoLens.Field.field @"outputType" +package :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "package" a) => + Lens.Family2.LensLike' f s a +package = Data.ProtoLens.Field.field @"package" +packed :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "packed" a) => + Lens.Family2.LensLike' f s a +packed = Data.ProtoLens.Field.field @"packed" +path :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "path" a) => + Lens.Family2.LensLike' f s a +path = Data.ProtoLens.Field.field @"path" +phpClassPrefix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "phpClassPrefix" a) => + Lens.Family2.LensLike' f s a +phpClassPrefix = Data.ProtoLens.Field.field @"phpClassPrefix" +phpGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "phpGenericServices" a) => + Lens.Family2.LensLike' f s a +phpGenericServices + = Data.ProtoLens.Field.field @"phpGenericServices" +phpMetadataNamespace :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "phpMetadataNamespace" a) => + Lens.Family2.LensLike' f s a +phpMetadataNamespace + = Data.ProtoLens.Field.field @"phpMetadataNamespace" +phpNamespace :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "phpNamespace" a) => + Lens.Family2.LensLike' f s a +phpNamespace = Data.ProtoLens.Field.field @"phpNamespace" +positiveIntValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "positiveIntValue" a) => + Lens.Family2.LensLike' f s a +positiveIntValue = Data.ProtoLens.Field.field @"positiveIntValue" +proto3Optional :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "proto3Optional" a) => + Lens.Family2.LensLike' f s a +proto3Optional = Data.ProtoLens.Field.field @"proto3Optional" +publicDependency :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "publicDependency" a) => + Lens.Family2.LensLike' f s a +publicDependency = Data.ProtoLens.Field.field @"publicDependency" +pyGenericServices :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "pyGenericServices" a) => + Lens.Family2.LensLike' f s a +pyGenericServices = Data.ProtoLens.Field.field @"pyGenericServices" +reservedName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "reservedName" a) => + Lens.Family2.LensLike' f s a +reservedName = Data.ProtoLens.Field.field @"reservedName" +reservedRange :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "reservedRange" a) => + Lens.Family2.LensLike' f s a +reservedRange = Data.ProtoLens.Field.field @"reservedRange" +rubyPackage :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "rubyPackage" a) => + Lens.Family2.LensLike' f s a +rubyPackage = Data.ProtoLens.Field.field @"rubyPackage" +serverStreaming :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "serverStreaming" a) => + Lens.Family2.LensLike' f s a +serverStreaming = Data.ProtoLens.Field.field @"serverStreaming" +service :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) => + Lens.Family2.LensLike' f s a +service = Data.ProtoLens.Field.field @"service" +sourceCodeInfo :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "sourceCodeInfo" a) => + Lens.Family2.LensLike' f s a +sourceCodeInfo = Data.ProtoLens.Field.field @"sourceCodeInfo" +sourceFile :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "sourceFile" a) => + Lens.Family2.LensLike' f s a +sourceFile = Data.ProtoLens.Field.field @"sourceFile" +span :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "span" a) => + Lens.Family2.LensLike' f s a +span = Data.ProtoLens.Field.field @"span" +start :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "start" a) => + Lens.Family2.LensLike' f s a +start = Data.ProtoLens.Field.field @"start" +stringValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "stringValue" a) => + Lens.Family2.LensLike' f s a +stringValue = Data.ProtoLens.Field.field @"stringValue" +swiftPrefix :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "swiftPrefix" a) => + Lens.Family2.LensLike' f s a +swiftPrefix = Data.ProtoLens.Field.field @"swiftPrefix" +syntax :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "syntax" a) => + Lens.Family2.LensLike' f s a +syntax = Data.ProtoLens.Field.field @"syntax" +trailingComments :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "trailingComments" a) => + Lens.Family2.LensLike' f s a +trailingComments = Data.ProtoLens.Field.field @"trailingComments" +type' :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) => + Lens.Family2.LensLike' f s a +type' = Data.ProtoLens.Field.field @"type'" +typeName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "typeName" a) => + Lens.Family2.LensLike' f s a +typeName = Data.ProtoLens.Field.field @"typeName" +uninterpretedOption :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "uninterpretedOption" a) => + Lens.Family2.LensLike' f s a +uninterpretedOption + = Data.ProtoLens.Field.field @"uninterpretedOption" +value :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => + Lens.Family2.LensLike' f s a +value = Data.ProtoLens.Field.field @"value" +vec'annotation :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'annotation" a) => + Lens.Family2.LensLike' f s a +vec'annotation = Data.ProtoLens.Field.field @"vec'annotation" +vec'dependency :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'dependency" a) => + Lens.Family2.LensLike' f s a +vec'dependency = Data.ProtoLens.Field.field @"vec'dependency" +vec'enumType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'enumType" a) => + Lens.Family2.LensLike' f s a +vec'enumType = Data.ProtoLens.Field.field @"vec'enumType" +vec'extension :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'extension" a) => + Lens.Family2.LensLike' f s a +vec'extension = Data.ProtoLens.Field.field @"vec'extension" +vec'extensionRange :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'extensionRange" a) => + Lens.Family2.LensLike' f s a +vec'extensionRange + = Data.ProtoLens.Field.field @"vec'extensionRange" +vec'field :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'field" a) => + Lens.Family2.LensLike' f s a +vec'field = Data.ProtoLens.Field.field @"vec'field" +vec'file :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'file" a) => + Lens.Family2.LensLike' f s a +vec'file = Data.ProtoLens.Field.field @"vec'file" +vec'leadingDetachedComments :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'leadingDetachedComments" a) => + Lens.Family2.LensLike' f s a +vec'leadingDetachedComments + = Data.ProtoLens.Field.field @"vec'leadingDetachedComments" +vec'location :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'location" a) => + Lens.Family2.LensLike' f s a +vec'location = Data.ProtoLens.Field.field @"vec'location" +vec'messageType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'messageType" a) => + Lens.Family2.LensLike' f s a +vec'messageType = Data.ProtoLens.Field.field @"vec'messageType" +vec'method :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'method" a) => + Lens.Family2.LensLike' f s a +vec'method = Data.ProtoLens.Field.field @"vec'method" +vec'name :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'name" a) => + Lens.Family2.LensLike' f s a +vec'name = Data.ProtoLens.Field.field @"vec'name" +vec'nestedType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'nestedType" a) => + Lens.Family2.LensLike' f s a +vec'nestedType = Data.ProtoLens.Field.field @"vec'nestedType" +vec'oneofDecl :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'oneofDecl" a) => + Lens.Family2.LensLike' f s a +vec'oneofDecl = Data.ProtoLens.Field.field @"vec'oneofDecl" +vec'path :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'path" a) => + Lens.Family2.LensLike' f s a +vec'path = Data.ProtoLens.Field.field @"vec'path" +vec'publicDependency :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'publicDependency" a) => + Lens.Family2.LensLike' f s a +vec'publicDependency + = Data.ProtoLens.Field.field @"vec'publicDependency" +vec'reservedName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'reservedName" a) => + Lens.Family2.LensLike' f s a +vec'reservedName = Data.ProtoLens.Field.field @"vec'reservedName" +vec'reservedRange :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'reservedRange" a) => + Lens.Family2.LensLike' f s a +vec'reservedRange = Data.ProtoLens.Field.field @"vec'reservedRange" +vec'service :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'service" a) => + Lens.Family2.LensLike' f s a +vec'service = Data.ProtoLens.Field.field @"vec'service" +vec'span :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'span" a) => + Lens.Family2.LensLike' f s a +vec'span = Data.ProtoLens.Field.field @"vec'span" +vec'uninterpretedOption :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'uninterpretedOption" a) => + Lens.Family2.LensLike' f s a +vec'uninterpretedOption + = Data.ProtoLens.Field.field @"vec'uninterpretedOption" +vec'value :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'value" a) => + Lens.Family2.LensLike' f s a +vec'value = Data.ProtoLens.Field.field @"vec'value" +vec'weakDependency :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'weakDependency" a) => + Lens.Family2.LensLike' f s a +vec'weakDependency + = Data.ProtoLens.Field.field @"vec'weakDependency" +weak :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "weak" a) => + Lens.Family2.LensLike' f s a +weak = Data.ProtoLens.Field.field @"weak" +weakDependency :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "weakDependency" a) => + Lens.Family2.LensLike' f s a +weakDependency = Data.ProtoLens.Field.field @"weakDependency" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs new file mode 100644 index 00000000..5861455d --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs @@ -0,0 +1,337 @@ +{- This file was auto-generated from google/protobuf/duration.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Duration ( + Duration() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.Duration_Fields.seconds' @:: Lens' Duration Data.Int.Int64@ + * 'Proto.Google.Protobuf.Duration_Fields.nanos' @:: Lens' Duration Data.Int.Int32@ -} +data Duration + = Duration'_constructor {_Duration'seconds :: !Data.Int.Int64, + _Duration'nanos :: !Data.Int.Int32, + _Duration'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Duration where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Duration "seconds" Data.Int.Int64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Duration'seconds (\ x__ y__ -> x__ {_Duration'seconds = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Duration "nanos" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Duration'nanos (\ x__ y__ -> x__ {_Duration'nanos = y__})) + Prelude.id +instance Data.ProtoLens.Message Duration where + messageName _ = Data.Text.pack "google.protobuf.Duration" + packedMessageDescriptor _ + = "\n\ + \\bDuration\DC2\CAN\n\ + \\aseconds\CAN\SOH \SOH(\ETXR\aseconds\DC2\DC4\n\ + \\ENQnanos\CAN\STX \SOH(\ENQR\ENQnanos" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + seconds__field_descriptor + = Data.ProtoLens.FieldDescriptor + "seconds" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seconds")) :: + Data.ProtoLens.FieldDescriptor Duration + nanos__field_descriptor + = Data.ProtoLens.FieldDescriptor + "nanos" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"nanos")) :: + Data.ProtoLens.FieldDescriptor Duration + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, seconds__field_descriptor), + (Data.ProtoLens.Tag 2, nanos__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Duration'_unknownFields + (\ x__ y__ -> x__ {_Duration'_unknownFields = y__}) + defMessage + = Duration'_constructor + {_Duration'seconds = Data.ProtoLens.fieldDefault, + _Duration'nanos = Data.ProtoLens.fieldDefault, + _Duration'_unknownFields = []} + parseMessage + = let + loop :: Duration -> Data.ProtoLens.Encoding.Bytes.Parser Duration + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "seconds" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seconds") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "nanos" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"nanos") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Duration" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seconds") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"nanos") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData Duration where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Duration'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Duration'seconds x__) + (Control.DeepSeq.deepseq (_Duration'nanos x__) ())) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\RSgoogle/protobuf/duration.proto\DC2\SIgoogle.protobuf\":\n\ + \\bDuration\DC2\CAN\n\ + \\aseconds\CAN\SOH \SOH(\ETXR\aseconds\DC2\DC4\n\ + \\ENQnanos\CAN\STX \SOH(\ENQR\ENQnanosB\131\SOH\n\ + \\DC3com.google.protobufB\rDurationProtoP\SOHZ1google.golang.org/protobuf/types/known/durationpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\218#\n\ + \\ACK\DC2\EOT\RS\NULs\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX#\NUL\US\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NULH\n\ + \\t\n\ + \\STX\b\v\DC2\ETX$\NULH\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX%\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL.\n\ + \\t\n\ + \\STX\b\b\DC2\ETX&\NUL.\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX'\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX(\NUL!\n\ + \\158\DLE\n\ + \\STX\EOT\NUL\DC2\EOTf\NULs\SOH\SUB\145\DLE A Duration represents a signed, fixed-length span of time represented\n\ + \ as a count of seconds and fractions of seconds at nanosecond\n\ + \ resolution. It is independent of any calendar and concepts like \"day\"\n\ + \ or \"month\". It is related to Timestamp in that the difference between\n\ + \ two Timestamp values is a Duration and it can be added or subtracted\n\ + \ from a Timestamp. Range is approximately +-10,000 years.\n\ + \\n\ + \ # Examples\n\ + \\n\ + \ Example 1: Compute Duration from two Timestamps in pseudo code.\n\ + \\n\ + \ Timestamp start = ...;\n\ + \ Timestamp end = ...;\n\ + \ Duration duration = ...;\n\ + \\n\ + \ duration.seconds = end.seconds - start.seconds;\n\ + \ duration.nanos = end.nanos - start.nanos;\n\ + \\n\ + \ if (duration.seconds < 0 && duration.nanos > 0) {\n\ + \ duration.seconds += 1;\n\ + \ duration.nanos -= 1000000000;\n\ + \ } else if (duration.seconds > 0 && duration.nanos < 0) {\n\ + \ duration.seconds -= 1;\n\ + \ duration.nanos += 1000000000;\n\ + \ }\n\ + \\n\ + \ Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.\n\ + \\n\ + \ Timestamp start = ...;\n\ + \ Duration duration = ...;\n\ + \ Timestamp end = ...;\n\ + \\n\ + \ end.seconds = start.seconds + duration.seconds;\n\ + \ end.nanos = start.nanos + duration.nanos;\n\ + \\n\ + \ if (end.nanos < 0) {\n\ + \ end.seconds -= 1;\n\ + \ end.nanos += 1000000000;\n\ + \ } else if (end.nanos >= 1000000000) {\n\ + \ end.seconds += 1;\n\ + \ end.nanos -= 1000000000;\n\ + \ }\n\ + \\n\ + \ Example 3: Compute Duration from datetime.timedelta in Python.\n\ + \\n\ + \ td = datetime.timedelta(days=3, minutes=10)\n\ + \ duration = Duration()\n\ + \ duration.FromTimedelta(td)\n\ + \\n\ + \ # JSON Mapping\n\ + \\n\ + \ In JSON format, the Duration type is encoded as a string rather than an\n\ + \ object, where the string ends in the suffix \"s\" (indicating seconds) and\n\ + \ is preceded by the number of seconds, with nanoseconds expressed as\n\ + \ fractional seconds. For example, 3 seconds with 0 nanoseconds should be\n\ + \ encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should\n\ + \ be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1\n\ + \ microsecond should be expressed in JSON format as \"3.000001s\".\n\ + \\n\ + \\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETXf\b\DLE\n\ + \\220\SOH\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETXj\STX\DC4\SUB\206\SOH Signed seconds of the span of time. Must be from -315,576,000,000\n\ + \ to +315,576,000,000 inclusive. Note: these bounds are computed from:\n\ + \ 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETXj\STX\a\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETXj\b\SI\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETXj\DC2\DC3\n\ + \\131\ETX\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETXr\STX\DC2\SUB\245\STX Signed fractions of a second at nanosecond resolution of the span\n\ + \ of time. Durations less than one second are represented with a 0\n\ + \ `seconds` field and a positive or negative `nanos` field. For durations\n\ + \ of one second or more, a non-zero value for the `nanos` field must be\n\ + \ of the same sign as the `seconds` field. Must be from -999,999,999\n\ + \ to +999,999,999 inclusive.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETXr\STX\a\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETXr\b\r\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETXr\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration_Fields.hs new file mode 100644 index 00000000..fce2bd8c --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration_Fields.hs @@ -0,0 +1,39 @@ +{- This file was auto-generated from google/protobuf/duration.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Duration_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +nanos :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "nanos" a) => + Lens.Family2.LensLike' f s a +nanos = Data.ProtoLens.Field.field @"nanos" +seconds :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "seconds" a) => + Lens.Family2.LensLike' f s a +seconds = Data.ProtoLens.Field.field @"seconds" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs new file mode 100644 index 00000000..a94e86c5 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs @@ -0,0 +1,177 @@ +{- This file was auto-generated from google/protobuf/empty.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Empty ( + Empty() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + -} +data Empty + = Empty'_constructor {_Empty'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Empty where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Message Empty where + messageName _ = Data.Text.pack "google.protobuf.Empty" + packedMessageDescriptor _ + = "\n\ + \\ENQEmpty" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag = let in Data.Map.fromList [] + unknownFields + = Lens.Family2.Unchecked.lens + _Empty'_unknownFields + (\ x__ y__ -> x__ {_Empty'_unknownFields = y__}) + defMessage = Empty'_constructor {_Empty'_unknownFields = []} + parseMessage + = let + loop :: Empty -> Data.ProtoLens.Encoding.Bytes.Parser Empty + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Empty" + buildMessage + = \ _x + -> Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x) +instance Control.DeepSeq.NFData Empty where + rnf + = \ x__ -> Control.DeepSeq.deepseq (_Empty'_unknownFields x__) () +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\ESCgoogle/protobuf/empty.proto\DC2\SIgoogle.protobuf\"\a\n\ + \\ENQEmptyB}\n\ + \\DC3com.google.protobufB\n\ + \EmptyProtoP\SOHZ.google.golang.org/protobuf/types/known/emptypb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\254\DLE\n\ + \\ACK\DC2\EOT\RS\NUL3\DLE\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NULE\n\ + \\t\n\ + \\STX\b\v\DC2\ETX#\NULE\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX$\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL+\n\ + \\t\n\ + \\STX\b\b\DC2\ETX%\NUL+\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX&\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX'\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX(\NUL\US\n\ + \\251\STX\n\ + \\STX\EOT\NUL\DC2\ETX3\NUL\DLE\SUB\239\STX A generic empty message that you can re-use to avoid defining duplicated\n\ + \ empty messages in your APIs. A typical example is to use it as the request\n\ + \ or the response type of an API method. For instance:\n\ + \\n\ + \ service Foo {\n\ + \ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n\ + \ }\n\ + \\n\ + \ The JSON representation for `Empty` is empty JSON object `{}`.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX3\b\rb\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty_Fields.hs new file mode 100644 index 00000000..6b463d7d --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty_Fields.hs @@ -0,0 +1,29 @@ +{- This file was auto-generated from google/protobuf/empty.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Empty_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs new file mode 100644 index 00000000..752b9c2b --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs @@ -0,0 +1,446 @@ +{- This file was auto-generated from google/protobuf/field_mask.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.FieldMask ( + FieldMask() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.FieldMask_Fields.paths' @:: Lens' FieldMask [Data.Text.Text]@ + * 'Proto.Google.Protobuf.FieldMask_Fields.vec'paths' @:: Lens' FieldMask (Data.Vector.Vector Data.Text.Text)@ -} +data FieldMask + = FieldMask'_constructor {_FieldMask'paths :: !(Data.Vector.Vector Data.Text.Text), + _FieldMask'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldMask where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldMask "paths" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldMask'paths (\ x__ y__ -> x__ {_FieldMask'paths = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldMask "vec'paths" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldMask'paths (\ x__ y__ -> x__ {_FieldMask'paths = y__})) + Prelude.id +instance Data.ProtoLens.Message FieldMask where + messageName _ = Data.Text.pack "google.protobuf.FieldMask" + packedMessageDescriptor _ + = "\n\ + \\tFieldMask\DC2\DC4\n\ + \\ENQpaths\CAN\SOH \ETX(\tR\ENQpaths" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + paths__field_descriptor + = Data.ProtoLens.FieldDescriptor + "paths" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"paths")) :: + Data.ProtoLens.FieldDescriptor FieldMask + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, paths__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FieldMask'_unknownFields + (\ x__ y__ -> x__ {_FieldMask'_unknownFields = y__}) + defMessage + = FieldMask'_constructor + {_FieldMask'paths = Data.Vector.Generic.empty, + _FieldMask'_unknownFields = []} + parseMessage + = let + loop :: + FieldMask + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Bytes.Parser FieldMask + loop x mutable'paths + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'paths <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'paths) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'paths") frozen'paths x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "paths" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'paths y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'paths + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'paths <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'paths) + "FieldMask" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'paths") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData FieldMask where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FieldMask'_unknownFields x__) + (Control.DeepSeq.deepseq (_FieldMask'paths x__) ()) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \ google/protobuf/field_mask.proto\DC2\SIgoogle.protobuf\"!\n\ + \\tFieldMask\DC2\DC4\n\ + \\ENQpaths\CAN\SOH \ETX(\tR\ENQpathsB\133\SOH\n\ + \\DC3com.google.protobufB\SOFieldMaskProtoP\SOHZ2google.golang.org/protobuf/types/known/fieldmaskpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\161;\n\ + \\a\DC2\ENQ\RS\NUL\244\SOH\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX#\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NUL/\n\ + \\t\n\ + \\STX\b\b\DC2\ETX$\NUL/\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX%\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX&\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NULI\n\ + \\t\n\ + \\STX\b\v\DC2\ETX'\NULI\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX(\NUL\US\n\ + \\178,\n\ + \\STX\EOT\NUL\DC2\ACK\241\SOH\NUL\244\SOH\SOH\SUB\163, `FieldMask` represents a set of symbolic field paths, for example:\n\ + \\n\ + \ paths: \"f.a\"\n\ + \ paths: \"f.b.d\"\n\ + \\n\ + \ Here `f` represents a field in some root message, `a` and `b`\n\ + \ fields in the message found in `f`, and `d` a field found in the\n\ + \ message in `f.b`.\n\ + \\n\ + \ Field masks are used to specify a subset of fields that should be\n\ + \ returned by a get operation or modified by an update operation.\n\ + \ Field masks also have a custom JSON encoding (see below).\n\ + \\n\ + \ # Field Masks in Projections\n\ + \\n\ + \ When used in the context of a projection, a response message or\n\ + \ sub-message is filtered by the API to only contain those fields as\n\ + \ specified in the mask. For example, if the mask in the previous\n\ + \ example is applied to a response message as follows:\n\ + \\n\ + \ f {\n\ + \ a : 22\n\ + \ b {\n\ + \ d : 1\n\ + \ x : 2\n\ + \ }\n\ + \ y : 13\n\ + \ }\n\ + \ z: 8\n\ + \\n\ + \ The result will not contain specific values for fields x,y and z\n\ + \ (their value will be set to the default, and omitted in proto text\n\ + \ output):\n\ + \\n\ + \\n\ + \ f {\n\ + \ a : 22\n\ + \ b {\n\ + \ d : 1\n\ + \ }\n\ + \ }\n\ + \\n\ + \ A repeated field is not allowed except at the last position of a\n\ + \ paths string.\n\ + \\n\ + \ If a FieldMask object is not present in a get operation, the\n\ + \ operation applies to all fields (as if a FieldMask of all fields\n\ + \ had been specified).\n\ + \\n\ + \ Note that a field mask does not necessarily apply to the\n\ + \ top-level response message. In case of a REST get operation, the\n\ + \ field mask applies directly to the response, but in case of a REST\n\ + \ list operation, the mask instead applies to each individual message\n\ + \ in the returned resource list. In case of a REST custom method,\n\ + \ other definitions may be used. Where the mask applies will be\n\ + \ clearly documented together with its declaration in the API. In\n\ + \ any case, the effect on the returned resource/resources is required\n\ + \ behavior for APIs.\n\ + \\n\ + \ # Field Masks in Update Operations\n\ + \\n\ + \ A field mask in update operations specifies which fields of the\n\ + \ targeted resource are going to be updated. The API is required\n\ + \ to only change the values of the fields as specified in the mask\n\ + \ and leave the others untouched. If a resource is passed in to\n\ + \ describe the updated values, the API ignores the values of all\n\ + \ fields not covered by the mask.\n\ + \\n\ + \ If a repeated field is specified for an update operation, new values will\n\ + \ be appended to the existing repeated field in the target resource. Note that\n\ + \ a repeated field is only allowed in the last position of a `paths` string.\n\ + \\n\ + \ If a sub-message is specified in the last position of the field mask for an\n\ + \ update operation, then new value will be merged into the existing sub-message\n\ + \ in the target resource.\n\ + \\n\ + \ For example, given the target message:\n\ + \\n\ + \ f {\n\ + \ b {\n\ + \ d: 1\n\ + \ x: 2\n\ + \ }\n\ + \ c: [1]\n\ + \ }\n\ + \\n\ + \ And an update message:\n\ + \\n\ + \ f {\n\ + \ b {\n\ + \ d: 10\n\ + \ }\n\ + \ c: [2]\n\ + \ }\n\ + \\n\ + \ then if the field mask is:\n\ + \\n\ + \ paths: [\"f.b\", \"f.c\"]\n\ + \\n\ + \ then the result will be:\n\ + \\n\ + \ f {\n\ + \ b {\n\ + \ d: 10\n\ + \ x: 2\n\ + \ }\n\ + \ c: [1, 2]\n\ + \ }\n\ + \\n\ + \ An implementation may provide options to override this default behavior for\n\ + \ repeated and message fields.\n\ + \\n\ + \ In order to reset a field's value to the default, the field must\n\ + \ be in the mask and set to the default value in the provided resource.\n\ + \ Hence, in order to reset all fields of a resource, provide a default\n\ + \ instance of the resource and set all fields in the mask, or do\n\ + \ not provide a mask as described below.\n\ + \\n\ + \ If a field mask is not present on update, the operation applies to\n\ + \ all fields (as if a field mask of all fields has been specified).\n\ + \ Note that in the presence of schema evolution, this may mean that\n\ + \ fields the client does not know and has therefore not filled into\n\ + \ the request will be reset to their default. If this is unwanted\n\ + \ behavior, a specific service may require a client to always specify\n\ + \ a field mask, producing an error if not.\n\ + \\n\ + \ As with get operations, the location of the resource which\n\ + \ describes the updated values in the request message depends on the\n\ + \ operation kind. In any case, the effect of the field mask is\n\ + \ required to be honored by the API.\n\ + \\n\ + \ ## Considerations for HTTP REST\n\ + \\n\ + \ The HTTP kind of an update operation which uses a field mask must\n\ + \ be set to PATCH instead of PUT in order to satisfy HTTP semantics\n\ + \ (PUT must only be used for full updates).\n\ + \\n\ + \ # JSON Encoding of Field Masks\n\ + \\n\ + \ In JSON, a field mask is encoded as a single string where paths are\n\ + \ separated by a comma. Fields name in each path are converted\n\ + \ to/from lower-camel naming conventions.\n\ + \\n\ + \ As an example, consider the following message declarations:\n\ + \\n\ + \ message Profile {\n\ + \ User user = 1;\n\ + \ Photo photo = 2;\n\ + \ }\n\ + \ message User {\n\ + \ string display_name = 1;\n\ + \ string address = 2;\n\ + \ }\n\ + \\n\ + \ In proto a field mask for `Profile` may look as such:\n\ + \\n\ + \ mask {\n\ + \ paths: \"user.display_name\"\n\ + \ paths: \"photo\"\n\ + \ }\n\ + \\n\ + \ In JSON, the same mask is represented as below:\n\ + \\n\ + \ {\n\ + \ mask: \"user.displayName,photo\"\n\ + \ }\n\ + \\n\ + \ # Field Masks and Oneof Fields\n\ + \\n\ + \ Field masks treat fields in oneofs just as regular fields. Consider the\n\ + \ following message:\n\ + \\n\ + \ message SampleMessage {\n\ + \ oneof test_oneof {\n\ + \ string name = 4;\n\ + \ SubMessage sub_message = 9;\n\ + \ }\n\ + \ }\n\ + \\n\ + \ The field mask can be:\n\ + \\n\ + \ mask {\n\ + \ paths: \"name\"\n\ + \ }\n\ + \\n\ + \ Or:\n\ + \\n\ + \ mask {\n\ + \ paths: \"sub_message\"\n\ + \ }\n\ + \\n\ + \ Note that oneof type names (\"test_oneof\" in this case) cannot be used in\n\ + \ paths.\n\ + \\n\ + \ ## Field Mask Verification\n\ + \\n\ + \ The implementation of any API method which has a FieldMask type field in the\n\ + \ request should verify the included field paths, and return an\n\ + \ `INVALID_ARGUMENT` error if any path is unmappable.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\NUL\SOH\DC2\EOT\241\SOH\b\DC1\n\ + \,\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\EOT\243\SOH\STX\FS\SUB\RS The set of field mask paths.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\EOT\243\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\243\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\243\SOH\DC2\ETB\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\243\SOH\SUB\ESCb\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask_Fields.hs new file mode 100644 index 00000000..ac0bbf3f --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask_Fields.hs @@ -0,0 +1,40 @@ +{- This file was auto-generated from google/protobuf/field_mask.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.FieldMask_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +paths :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "paths" a) => + Lens.Family2.LensLike' f s a +paths = Data.ProtoLens.Field.field @"paths" +vec'paths :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'paths" a) => + Lens.Family2.LensLike' f s a +vec'paths = Data.ProtoLens.Field.field @"vec'paths" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs new file mode 100644 index 00000000..72e4697e --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs @@ -0,0 +1,230 @@ +{- This file was auto-generated from google/protobuf/source_context.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.SourceContext ( + SourceContext() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.SourceContext_Fields.fileName' @:: Lens' SourceContext Data.Text.Text@ -} +data SourceContext + = SourceContext'_constructor {_SourceContext'fileName :: !Data.Text.Text, + _SourceContext'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show SourceContext where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField SourceContext "fileName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _SourceContext'fileName + (\ x__ y__ -> x__ {_SourceContext'fileName = y__})) + Prelude.id +instance Data.ProtoLens.Message SourceContext where + messageName _ = Data.Text.pack "google.protobuf.SourceContext" + packedMessageDescriptor _ + = "\n\ + \\rSourceContext\DC2\ESC\n\ + \\tfile_name\CAN\SOH \SOH(\tR\bfileName" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + fileName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "file_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"fileName")) :: + Data.ProtoLens.FieldDescriptor SourceContext + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, fileName__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _SourceContext'_unknownFields + (\ x__ y__ -> x__ {_SourceContext'_unknownFields = y__}) + defMessage + = SourceContext'_constructor + {_SourceContext'fileName = Data.ProtoLens.fieldDefault, + _SourceContext'_unknownFields = []} + parseMessage + = let + loop :: + SourceContext -> Data.ProtoLens.Encoding.Bytes.Parser SourceContext + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "file_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"fileName") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "SourceContext" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"fileName") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData SourceContext where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_SourceContext'_unknownFields x__) + (Control.DeepSeq.deepseq (_SourceContext'fileName x__) ()) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \$google/protobuf/source_context.proto\DC2\SIgoogle.protobuf\",\n\ + \\rSourceContext\DC2\ESC\n\ + \\tfile_name\CAN\SOH \SOH(\tR\bfileNameB\138\SOH\n\ + \\DC3com.google.protobufB\DC2SourceContextProtoP\SOHZ6google.golang.org/protobuf/types/known/sourcecontextpb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\193\DLE\n\ + \\ACK\DC2\EOT\RS\NUL/\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX#\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NUL3\n\ + \\t\n\ + \\STX\b\b\DC2\ETX$\NUL3\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX%\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX&\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NULM\n\ + \\t\n\ + \\STX\b\v\DC2\ETX'\NULM\n\ + \\131\SOH\n\ + \\STX\EOT\NUL\DC2\EOT+\NUL/\SOH\SUBw `SourceContext` represents information about the source of a\n\ + \ protobuf element, like the file in which it is defined.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX+\b\NAK\n\ + \\163\SOH\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX.\STX\ETB\SUB\149\SOH The path-qualified name of the .proto file that contained the associated\n\ + \ protobuf element. For example: `\"google/protobuf/source_context.proto\"`.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX.\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX.\t\DC2\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX.\NAK\SYNb\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext_Fields.hs new file mode 100644 index 00000000..7ddc8c30 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext_Fields.hs @@ -0,0 +1,35 @@ +{- This file was auto-generated from google/protobuf/source_context.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.SourceContext_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +fileName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "fileName" a) => + Lens.Family2.LensLike' f s a +fileName = Data.ProtoLens.Field.field @"fileName" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs new file mode 100644 index 00000000..58cd49eb --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs @@ -0,0 +1,1198 @@ +{- This file was auto-generated from google/protobuf/struct.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Struct ( + ListValue(), NullValue(..), NullValue(), + NullValue'UnrecognizedValue, Struct(), Struct'FieldsEntry(), + Value(), Value'Kind(..), _Value'NullValue, _Value'NumberValue, + _Value'StringValue, _Value'BoolValue, _Value'StructValue, + _Value'ListValue + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.Struct_Fields.values' @:: Lens' ListValue [Value]@ + * 'Proto.Google.Protobuf.Struct_Fields.vec'values' @:: Lens' ListValue (Data.Vector.Vector Value)@ -} +data ListValue + = ListValue'_constructor {_ListValue'values :: !(Data.Vector.Vector Value), + _ListValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show ListValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ListValue "values" [Value] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ListValue'values (\ x__ y__ -> x__ {_ListValue'values = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField ListValue "vec'values" (Data.Vector.Vector Value) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ListValue'values (\ x__ y__ -> x__ {_ListValue'values = y__})) + Prelude.id +instance Data.ProtoLens.Message ListValue where + messageName _ = Data.Text.pack "google.protobuf.ListValue" + packedMessageDescriptor _ + = "\n\ + \\tListValue\DC2.\n\ + \\ACKvalues\CAN\SOH \ETX(\v2\SYN.google.protobuf.ValueR\ACKvalues" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + values__field_descriptor + = Data.ProtoLens.FieldDescriptor + "values" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Value) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"values")) :: + Data.ProtoLens.FieldDescriptor ListValue + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, values__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _ListValue'_unknownFields + (\ x__ y__ -> x__ {_ListValue'_unknownFields = y__}) + defMessage + = ListValue'_constructor + {_ListValue'values = Data.Vector.Generic.empty, + _ListValue'_unknownFields = []} + parseMessage + = let + loop :: + ListValue + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Value + -> Data.ProtoLens.Encoding.Bytes.Parser ListValue + loop x mutable'values + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'values <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'values) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'values") frozen'values x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "values" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'values y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'values + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'values <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'values) + "ListValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'values") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData ListValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_ListValue'_unknownFields x__) + (Control.DeepSeq.deepseq (_ListValue'values x__) ()) +newtype NullValue'UnrecognizedValue + = NullValue'UnrecognizedValue Data.Int.Int32 + deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show) +data NullValue + = NULL_VALUE | NullValue'Unrecognized !NullValue'UnrecognizedValue + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum NullValue where + maybeToEnum 0 = Prelude.Just NULL_VALUE + maybeToEnum k + = Prelude.Just + (NullValue'Unrecognized + (NullValue'UnrecognizedValue (Prelude.fromIntegral k))) + showEnum NULL_VALUE = "NULL_VALUE" + showEnum (NullValue'Unrecognized (NullValue'UnrecognizedValue k)) + = Prelude.show k + readEnum k + | (Prelude.==) k "NULL_VALUE" = Prelude.Just NULL_VALUE + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded NullValue where + minBound = NULL_VALUE + maxBound = NULL_VALUE +instance Prelude.Enum NullValue where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum NullValue: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum NULL_VALUE = 0 + fromEnum (NullValue'Unrecognized (NullValue'UnrecognizedValue k)) + = Prelude.fromIntegral k + succ NULL_VALUE + = Prelude.error + "NullValue.succ: bad argument NULL_VALUE. This value would be out of bounds." + succ (NullValue'Unrecognized _) + = Prelude.error "NullValue.succ: bad argument: unrecognized value" + pred NULL_VALUE + = Prelude.error + "NullValue.pred: bad argument NULL_VALUE. This value would be out of bounds." + pred (NullValue'Unrecognized _) + = Prelude.error "NullValue.pred: bad argument: unrecognized value" + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault NullValue where + fieldDefault = NULL_VALUE +instance Control.DeepSeq.NFData NullValue where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Struct_Fields.fields' @:: Lens' Struct (Data.Map.Map Data.Text.Text Value)@ -} +data Struct + = Struct'_constructor {_Struct'fields :: !(Data.Map.Map Data.Text.Text Value), + _Struct'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Struct where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Struct "fields" (Data.Map.Map Data.Text.Text Value) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Struct'fields (\ x__ y__ -> x__ {_Struct'fields = y__})) + Prelude.id +instance Data.ProtoLens.Message Struct where + messageName _ = Data.Text.pack "google.protobuf.Struct" + packedMessageDescriptor _ + = "\n\ + \\ACKStruct\DC2;\n\ + \\ACKfields\CAN\SOH \ETX(\v2#.google.protobuf.Struct.FieldsEntryR\ACKfields\SUBQ\n\ + \\vFieldsEntry\DC2\DLE\n\ + \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2,\n\ + \\ENQvalue\CAN\STX \SOH(\v2\SYN.google.protobuf.ValueR\ENQvalue:\STX8\SOH" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + fields__field_descriptor + = Data.ProtoLens.FieldDescriptor + "fields" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Struct'FieldsEntry) + (Data.ProtoLens.MapField + Data.ProtoLens.MapStringKey + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Value) + (Data.ProtoLens.Field.field @"key") + (Data.ProtoLens.Field.field @"value") + (Data.ProtoLens.Field.field @"fields")) :: + Data.ProtoLens.FieldDescriptor Struct + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, fields__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Struct'_unknownFields + (\ x__ y__ -> x__ {_Struct'_unknownFields = y__}) + defMessage + = Struct'_constructor + {_Struct'fields = Data.Map.empty, _Struct'_unknownFields = []} + parseMessage + = let + loop :: Struct -> Data.ProtoLens.Encoding.Bytes.Parser Struct + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !(entry :: Struct'FieldsEntry) <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "fields" + (let + key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry + value + = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry + in + loop + (Lens.Family2.over + (Data.ProtoLens.Field.field @"fields") + (\ !t -> Data.Map.insert key value t) x)) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Struct" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.Monoid.mconcat + (Prelude.map + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage + (Lens.Family2.set + (Data.ProtoLens.Field.field @"key") (Prelude.fst _v) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"value") (Prelude.snd _v) + (Data.ProtoLens.defMessage :: Struct'FieldsEntry))))) + (Data.Map.toList + (Lens.Family2.view (Data.ProtoLens.Field.field @"fields") _x)))) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData Struct where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Struct'_unknownFields x__) + (Control.DeepSeq.deepseq (_Struct'fields x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Struct_Fields.key' @:: Lens' Struct'FieldsEntry Data.Text.Text@ + * 'Proto.Google.Protobuf.Struct_Fields.value' @:: Lens' Struct'FieldsEntry Value@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'value' @:: Lens' Struct'FieldsEntry (Prelude.Maybe Value)@ -} +data Struct'FieldsEntry + = Struct'FieldsEntry'_constructor {_Struct'FieldsEntry'key :: !Data.Text.Text, + _Struct'FieldsEntry'value :: !(Prelude.Maybe Value), + _Struct'FieldsEntry'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Struct'FieldsEntry where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Struct'FieldsEntry "key" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Struct'FieldsEntry'key + (\ x__ y__ -> x__ {_Struct'FieldsEntry'key = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Struct'FieldsEntry "value" Value where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Struct'FieldsEntry'value + (\ x__ y__ -> x__ {_Struct'FieldsEntry'value = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField Struct'FieldsEntry "maybe'value" (Prelude.Maybe Value) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Struct'FieldsEntry'value + (\ x__ y__ -> x__ {_Struct'FieldsEntry'value = y__})) + Prelude.id +instance Data.ProtoLens.Message Struct'FieldsEntry where + messageName _ = Data.Text.pack "google.protobuf.Struct.FieldsEntry" + packedMessageDescriptor _ + = "\n\ + \\vFieldsEntry\DC2\DLE\n\ + \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2,\n\ + \\ENQvalue\CAN\STX \SOH(\v2\SYN.google.protobuf.ValueR\ENQvalue:\STX8\SOH" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + key__field_descriptor + = Data.ProtoLens.FieldDescriptor + "key" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) :: + Data.ProtoLens.FieldDescriptor Struct'FieldsEntry + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Value) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'value")) :: + Data.ProtoLens.FieldDescriptor Struct'FieldsEntry + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, key__field_descriptor), + (Data.ProtoLens.Tag 2, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Struct'FieldsEntry'_unknownFields + (\ x__ y__ -> x__ {_Struct'FieldsEntry'_unknownFields = y__}) + defMessage + = Struct'FieldsEntry'_constructor + {_Struct'FieldsEntry'key = Data.ProtoLens.fieldDefault, + _Struct'FieldsEntry'value = Prelude.Nothing, + _Struct'FieldsEntry'_unknownFields = []} + parseMessage + = let + loop :: + Struct'FieldsEntry + -> Data.ProtoLens.Encoding.Bytes.Parser Struct'FieldsEntry + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "key" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FieldsEntry" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData Struct'FieldsEntry where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Struct'FieldsEntry'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Struct'FieldsEntry'key x__) + (Control.DeepSeq.deepseq (_Struct'FieldsEntry'value x__) ())) +{- | Fields : + + * 'Proto.Google.Protobuf.Struct_Fields.maybe'kind' @:: Lens' Value (Prelude.Maybe Value'Kind)@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'nullValue' @:: Lens' Value (Prelude.Maybe NullValue)@ + * 'Proto.Google.Protobuf.Struct_Fields.nullValue' @:: Lens' Value NullValue@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'numberValue' @:: Lens' Value (Prelude.Maybe Prelude.Double)@ + * 'Proto.Google.Protobuf.Struct_Fields.numberValue' @:: Lens' Value Prelude.Double@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'stringValue' @:: Lens' Value (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Struct_Fields.stringValue' @:: Lens' Value Data.Text.Text@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'boolValue' @:: Lens' Value (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Struct_Fields.boolValue' @:: Lens' Value Prelude.Bool@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'structValue' @:: Lens' Value (Prelude.Maybe Struct)@ + * 'Proto.Google.Protobuf.Struct_Fields.structValue' @:: Lens' Value Struct@ + * 'Proto.Google.Protobuf.Struct_Fields.maybe'listValue' @:: Lens' Value (Prelude.Maybe ListValue)@ + * 'Proto.Google.Protobuf.Struct_Fields.listValue' @:: Lens' Value ListValue@ -} +data Value + = Value'_constructor {_Value'kind :: !(Prelude.Maybe Value'Kind), + _Value'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Value where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +data Value'Kind + = Value'NullValue !NullValue | + Value'NumberValue !Prelude.Double | + Value'StringValue !Data.Text.Text | + Value'BoolValue !Prelude.Bool | + Value'StructValue !Struct | + Value'ListValue !ListValue + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.Field.HasField Value "maybe'kind" (Prelude.Maybe Value'Kind) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Value "maybe'nullValue" (Prelude.Maybe NullValue) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'NullValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'NullValue y__)) +instance Data.ProtoLens.Field.HasField Value "nullValue" NullValue where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + ((Prelude..) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'NullValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'NullValue y__)) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)) +instance Data.ProtoLens.Field.HasField Value "maybe'numberValue" (Prelude.Maybe Prelude.Double) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'NumberValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'NumberValue y__)) +instance Data.ProtoLens.Field.HasField Value "numberValue" Prelude.Double where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + ((Prelude..) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'NumberValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'NumberValue y__)) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)) +instance Data.ProtoLens.Field.HasField Value "maybe'stringValue" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'StringValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'StringValue y__)) +instance Data.ProtoLens.Field.HasField Value "stringValue" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + ((Prelude..) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'StringValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'StringValue y__)) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)) +instance Data.ProtoLens.Field.HasField Value "maybe'boolValue" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'BoolValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'BoolValue y__)) +instance Data.ProtoLens.Field.HasField Value "boolValue" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + ((Prelude..) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'BoolValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'BoolValue y__)) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)) +instance Data.ProtoLens.Field.HasField Value "maybe'structValue" (Prelude.Maybe Struct) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'StructValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'StructValue y__)) +instance Data.ProtoLens.Field.HasField Value "structValue" Struct where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + ((Prelude..) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'StructValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'StructValue y__)) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)) +instance Data.ProtoLens.Field.HasField Value "maybe'listValue" (Prelude.Maybe ListValue) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'ListValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'ListValue y__)) +instance Data.ProtoLens.Field.HasField Value "listValue" ListValue where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Value'kind (\ x__ y__ -> x__ {_Value'kind = y__})) + ((Prelude..) + (Lens.Family2.Unchecked.lens + (\ x__ + -> case x__ of + (Prelude.Just (Value'ListValue x__val)) -> Prelude.Just x__val + _otherwise -> Prelude.Nothing) + (\ _ y__ -> Prelude.fmap Value'ListValue y__)) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)) +instance Data.ProtoLens.Message Value where + messageName _ = Data.Text.pack "google.protobuf.Value" + packedMessageDescriptor _ + = "\n\ + \\ENQValue\DC2;\n\ + \\n\ + \null_value\CAN\SOH \SOH(\SO2\SUB.google.protobuf.NullValueH\NULR\tnullValue\DC2#\n\ + \\fnumber_value\CAN\STX \SOH(\SOHH\NULR\vnumberValue\DC2#\n\ + \\fstring_value\CAN\ETX \SOH(\tH\NULR\vstringValue\DC2\US\n\ + \\n\ + \bool_value\CAN\EOT \SOH(\bH\NULR\tboolValue\DC2<\n\ + \\fstruct_value\CAN\ENQ \SOH(\v2\ETB.google.protobuf.StructH\NULR\vstructValue\DC2;\n\ + \\n\ + \list_value\CAN\ACK \SOH(\v2\SUB.google.protobuf.ListValueH\NULR\tlistValueB\ACK\n\ + \\EOTkind" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + nullValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "null_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor NullValue) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'nullValue")) :: + Data.ProtoLens.FieldDescriptor Value + numberValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Double) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'numberValue")) :: + Data.ProtoLens.FieldDescriptor Value + stringValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "string_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'stringValue")) :: + Data.ProtoLens.FieldDescriptor Value + boolValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "bool_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'boolValue")) :: + Data.ProtoLens.FieldDescriptor Value + structValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "struct_value" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Struct) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'structValue")) :: + Data.ProtoLens.FieldDescriptor Value + listValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "list_value" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor ListValue) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'listValue")) :: + Data.ProtoLens.FieldDescriptor Value + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, nullValue__field_descriptor), + (Data.ProtoLens.Tag 2, numberValue__field_descriptor), + (Data.ProtoLens.Tag 3, stringValue__field_descriptor), + (Data.ProtoLens.Tag 4, boolValue__field_descriptor), + (Data.ProtoLens.Tag 5, structValue__field_descriptor), + (Data.ProtoLens.Tag 6, listValue__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Value'_unknownFields + (\ x__ y__ -> x__ {_Value'_unknownFields = y__}) + defMessage + = Value'_constructor + {_Value'kind = Prelude.Nothing, _Value'_unknownFields = []} + parseMessage + = let + loop :: Value -> Data.ProtoLens.Encoding.Bytes.Parser Value + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "null_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"nullValue") y x) + 17 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Data.ProtoLens.Encoding.Bytes.wordToDouble + Data.ProtoLens.Encoding.Bytes.getFixed64) + "number_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"numberValue") y x) + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "string_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"stringValue") y x) + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "bool_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"boolValue") y x) + 42 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "struct_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"structValue") y x) + 50 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "list_value" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"listValue") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Value" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'kind") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just (Value'NullValue v)) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum v) + (Prelude.Just (Value'NumberValue v)) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 17) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putFixed64 + Data.ProtoLens.Encoding.Bytes.doubleToWord v) + (Prelude.Just (Value'StringValue v)) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 v) + (Prelude.Just (Value'BoolValue v)) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + v) + (Prelude.Just (Value'StructValue v)) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 42) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage v) + (Prelude.Just (Value'ListValue v)) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData Value where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Value'_unknownFields x__) + (Control.DeepSeq.deepseq (_Value'kind x__) ()) +instance Control.DeepSeq.NFData Value'Kind where + rnf (Value'NullValue x__) = Control.DeepSeq.rnf x__ + rnf (Value'NumberValue x__) = Control.DeepSeq.rnf x__ + rnf (Value'StringValue x__) = Control.DeepSeq.rnf x__ + rnf (Value'BoolValue x__) = Control.DeepSeq.rnf x__ + rnf (Value'StructValue x__) = Control.DeepSeq.rnf x__ + rnf (Value'ListValue x__) = Control.DeepSeq.rnf x__ +_Value'NullValue :: + Data.ProtoLens.Prism.Prism' Value'Kind NullValue +_Value'NullValue + = Data.ProtoLens.Prism.prism' + Value'NullValue + (\ p__ + -> case p__ of + (Value'NullValue p__val) -> Prelude.Just p__val + _otherwise -> Prelude.Nothing) +_Value'NumberValue :: + Data.ProtoLens.Prism.Prism' Value'Kind Prelude.Double +_Value'NumberValue + = Data.ProtoLens.Prism.prism' + Value'NumberValue + (\ p__ + -> case p__ of + (Value'NumberValue p__val) -> Prelude.Just p__val + _otherwise -> Prelude.Nothing) +_Value'StringValue :: + Data.ProtoLens.Prism.Prism' Value'Kind Data.Text.Text +_Value'StringValue + = Data.ProtoLens.Prism.prism' + Value'StringValue + (\ p__ + -> case p__ of + (Value'StringValue p__val) -> Prelude.Just p__val + _otherwise -> Prelude.Nothing) +_Value'BoolValue :: + Data.ProtoLens.Prism.Prism' Value'Kind Prelude.Bool +_Value'BoolValue + = Data.ProtoLens.Prism.prism' + Value'BoolValue + (\ p__ + -> case p__ of + (Value'BoolValue p__val) -> Prelude.Just p__val + _otherwise -> Prelude.Nothing) +_Value'StructValue :: Data.ProtoLens.Prism.Prism' Value'Kind Struct +_Value'StructValue + = Data.ProtoLens.Prism.prism' + Value'StructValue + (\ p__ + -> case p__ of + (Value'StructValue p__val) -> Prelude.Just p__val + _otherwise -> Prelude.Nothing) +_Value'ListValue :: + Data.ProtoLens.Prism.Prism' Value'Kind ListValue +_Value'ListValue + = Data.ProtoLens.Prism.prism' + Value'ListValue + (\ p__ + -> case p__ of + (Value'ListValue p__val) -> Prelude.Just p__val + _otherwise -> Prelude.Nothing) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\FSgoogle/protobuf/struct.proto\DC2\SIgoogle.protobuf\"\152\SOH\n\ + \\ACKStruct\DC2;\n\ + \\ACKfields\CAN\SOH \ETX(\v2#.google.protobuf.Struct.FieldsEntryR\ACKfields\SUBQ\n\ + \\vFieldsEntry\DC2\DLE\n\ + \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2,\n\ + \\ENQvalue\CAN\STX \SOH(\v2\SYN.google.protobuf.ValueR\ENQvalue:\STX8\SOH\"\178\STX\n\ + \\ENQValue\DC2;\n\ + \\n\ + \null_value\CAN\SOH \SOH(\SO2\SUB.google.protobuf.NullValueH\NULR\tnullValue\DC2#\n\ + \\fnumber_value\CAN\STX \SOH(\SOHH\NULR\vnumberValue\DC2#\n\ + \\fstring_value\CAN\ETX \SOH(\tH\NULR\vstringValue\DC2\US\n\ + \\n\ + \bool_value\CAN\EOT \SOH(\bH\NULR\tboolValue\DC2<\n\ + \\fstruct_value\CAN\ENQ \SOH(\v2\ETB.google.protobuf.StructH\NULR\vstructValue\DC2;\n\ + \\n\ + \list_value\CAN\ACK \SOH(\v2\SUB.google.protobuf.ListValueH\NULR\tlistValueB\ACK\n\ + \\EOTkind\";\n\ + \\tListValue\DC2.\n\ + \\ACKvalues\CAN\SOH \ETX(\v2\SYN.google.protobuf.ValueR\ACKvalues*\ESC\n\ + \\tNullValue\DC2\SO\n\ + \\n\ + \NULL_VALUE\DLE\NULB\DEL\n\ + \\DC3com.google.protobufB\vStructProtoP\SOHZ/google.golang.org/protobuf/types/known/structpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\153\GS\n\ + \\ACK\DC2\EOT\RS\NUL^\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX#\NUL\US\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NULF\n\ + \\t\n\ + \\STX\b\v\DC2\ETX$\NULF\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX%\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL,\n\ + \\t\n\ + \\STX\b\b\DC2\ETX&\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX'\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX(\NUL!\n\ + \\179\ETX\n\ + \\STX\EOT\NUL\DC2\EOT2\NUL5\SOH\SUB\166\ETX `Struct` represents a structured data value, consisting of fields\n\ + \ which map to dynamically typed values. In some languages, `Struct`\n\ + \ might be supported by a native representation. For example, in\n\ + \ scripting languages like JS a struct is represented as an\n\ + \ object. The details of that representation are described together\n\ + \ with the proto support for the language.\n\ + \\n\ + \ The JSON representation for `Struct` is JSON object.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX2\b\SO\n\ + \9\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX4\STX \SUB, Unordered map of dynamically typed values.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX4\STX\DC4\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX4\NAK\ESC\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX4\RS\US\n\ + \\195\STX\n\ + \\STX\EOT\SOH\DC2\EOT=\NULM\SOH\SUB\182\STX `Value` represents a dynamically typed value which can be either\n\ + \ null, a number, a string, a boolean, a recursive struct value, or a\n\ + \ list of values. A producer of value is expected to set one of that\n\ + \ variants, absence of any variant indicates an error.\n\ + \\n\ + \ The JSON representation for `Value` is JSON value.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX=\b\r\n\ + \\"\n\ + \\EOT\EOT\SOH\b\NUL\DC2\EOT?\STXL\ETX\SUB\DC4 The kind of value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\b\NUL\SOH\DC2\ETX?\b\f\n\ + \'\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXA\EOT\GS\SUB\SUB Represents a null value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETXA\EOT\r\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXA\SO\CAN\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXA\ESC\FS\n\ + \)\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXC\EOT\FS\SUB\FS Represents a double value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXC\EOT\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXC\v\ETB\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXC\SUB\ESC\n\ + \)\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXE\EOT\FS\SUB\FS Represents a string value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXE\EOT\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXE\v\ETB\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXE\SUB\ESC\n\ + \*\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXG\EOT\CAN\SUB\GS Represents a boolean value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXG\EOT\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXG\t\DC3\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXG\SYN\ETB\n\ + \-\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXI\EOT\FS\SUB Represents a structured value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\ETXI\EOT\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXI\v\ETB\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXI\SUB\ESC\n\ + \-\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\ETXK\EOT\GS\SUB Represents a repeated `Value`.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXK\EOT\r\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXK\SO\CAN\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXK\ESC\FS\n\ + \\169\SOH\n\ + \\STX\ENQ\NUL\DC2\EOTS\NULV\SOH\SUB\156\SOH `NullValue` is a singleton enumeration to represent the null value for the\n\ + \ `Value` type union.\n\ + \\n\ + \ The JSON representation for `NullValue` is JSON `null`.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\ENQ\NUL\SOH\DC2\ETXS\ENQ\SO\n\ + \\SUB\n\ + \\EOT\ENQ\NUL\STX\NUL\DC2\ETXU\STX\DC1\SUB\r Null value.\n\ + \\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETXU\STX\f\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETXU\SI\DLE\n\ + \\130\SOH\n\ + \\STX\EOT\STX\DC2\EOT[\NUL^\SOH\SUBv `ListValue` is a wrapper around a repeated field of values.\n\ + \\n\ + \ The JSON representation for `ListValue` is JSON array.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\STX\SOH\DC2\ETX[\b\DC1\n\ + \:\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETX]\STX\FS\SUB- Repeated field of dynamically typed values.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX]\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX]\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX]\DC1\ETB\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX]\SUB\ESCb\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct_Fields.hs new file mode 100644 index 00000000..96f4d91f --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct_Fields.hs @@ -0,0 +1,139 @@ +{- This file was auto-generated from google/protobuf/struct.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Struct_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +boolValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "boolValue" a) => + Lens.Family2.LensLike' f s a +boolValue = Data.ProtoLens.Field.field @"boolValue" +fields :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "fields" a) => + Lens.Family2.LensLike' f s a +fields = Data.ProtoLens.Field.field @"fields" +key :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) => + Lens.Family2.LensLike' f s a +key = Data.ProtoLens.Field.field @"key" +listValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "listValue" a) => + Lens.Family2.LensLike' f s a +listValue = Data.ProtoLens.Field.field @"listValue" +maybe'boolValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'boolValue" a) => + Lens.Family2.LensLike' f s a +maybe'boolValue = Data.ProtoLens.Field.field @"maybe'boolValue" +maybe'kind :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'kind" a) => + Lens.Family2.LensLike' f s a +maybe'kind = Data.ProtoLens.Field.field @"maybe'kind" +maybe'listValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'listValue" a) => + Lens.Family2.LensLike' f s a +maybe'listValue = Data.ProtoLens.Field.field @"maybe'listValue" +maybe'nullValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'nullValue" a) => + Lens.Family2.LensLike' f s a +maybe'nullValue = Data.ProtoLens.Field.field @"maybe'nullValue" +maybe'numberValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'numberValue" a) => + Lens.Family2.LensLike' f s a +maybe'numberValue = Data.ProtoLens.Field.field @"maybe'numberValue" +maybe'stringValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'stringValue" a) => + Lens.Family2.LensLike' f s a +maybe'stringValue = Data.ProtoLens.Field.field @"maybe'stringValue" +maybe'structValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'structValue" a) => + Lens.Family2.LensLike' f s a +maybe'structValue = Data.ProtoLens.Field.field @"maybe'structValue" +maybe'value :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'value" a) => + Lens.Family2.LensLike' f s a +maybe'value = Data.ProtoLens.Field.field @"maybe'value" +nullValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "nullValue" a) => + Lens.Family2.LensLike' f s a +nullValue = Data.ProtoLens.Field.field @"nullValue" +numberValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "numberValue" a) => + Lens.Family2.LensLike' f s a +numberValue = Data.ProtoLens.Field.field @"numberValue" +stringValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "stringValue" a) => + Lens.Family2.LensLike' f s a +stringValue = Data.ProtoLens.Field.field @"stringValue" +structValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "structValue" a) => + Lens.Family2.LensLike' f s a +structValue = Data.ProtoLens.Field.field @"structValue" +value :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => + Lens.Family2.LensLike' f s a +value = Data.ProtoLens.Field.field @"value" +values :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "values" a) => + Lens.Family2.LensLike' f s a +values = Data.ProtoLens.Field.field @"values" +vec'values :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'values" a) => + Lens.Family2.LensLike' f s a +vec'values = Data.ProtoLens.Field.field @"vec'values" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs new file mode 100644 index 00000000..58246663 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs @@ -0,0 +1,367 @@ +{- This file was auto-generated from google/protobuf/timestamp.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Timestamp ( + Timestamp() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.Timestamp_Fields.seconds' @:: Lens' Timestamp Data.Int.Int64@ + * 'Proto.Google.Protobuf.Timestamp_Fields.nanos' @:: Lens' Timestamp Data.Int.Int32@ -} +data Timestamp + = Timestamp'_constructor {_Timestamp'seconds :: !Data.Int.Int64, + _Timestamp'nanos :: !Data.Int.Int32, + _Timestamp'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Timestamp where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Timestamp "seconds" Data.Int.Int64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Timestamp'seconds (\ x__ y__ -> x__ {_Timestamp'seconds = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Timestamp "nanos" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Timestamp'nanos (\ x__ y__ -> x__ {_Timestamp'nanos = y__})) + Prelude.id +instance Data.ProtoLens.Message Timestamp where + messageName _ = Data.Text.pack "google.protobuf.Timestamp" + packedMessageDescriptor _ + = "\n\ + \\tTimestamp\DC2\CAN\n\ + \\aseconds\CAN\SOH \SOH(\ETXR\aseconds\DC2\DC4\n\ + \\ENQnanos\CAN\STX \SOH(\ENQR\ENQnanos" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + seconds__field_descriptor + = Data.ProtoLens.FieldDescriptor + "seconds" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seconds")) :: + Data.ProtoLens.FieldDescriptor Timestamp + nanos__field_descriptor + = Data.ProtoLens.FieldDescriptor + "nanos" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"nanos")) :: + Data.ProtoLens.FieldDescriptor Timestamp + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, seconds__field_descriptor), + (Data.ProtoLens.Tag 2, nanos__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Timestamp'_unknownFields + (\ x__ y__ -> x__ {_Timestamp'_unknownFields = y__}) + defMessage + = Timestamp'_constructor + {_Timestamp'seconds = Data.ProtoLens.fieldDefault, + _Timestamp'nanos = Data.ProtoLens.fieldDefault, + _Timestamp'_unknownFields = []} + parseMessage + = let + loop :: Timestamp -> Data.ProtoLens.Encoding.Bytes.Parser Timestamp + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "seconds" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seconds") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "nanos" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"nanos") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Timestamp" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seconds") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"nanos") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData Timestamp where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Timestamp'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Timestamp'seconds x__) + (Control.DeepSeq.deepseq (_Timestamp'nanos x__) ())) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\USgoogle/protobuf/timestamp.proto\DC2\SIgoogle.protobuf\";\n\ + \\tTimestamp\DC2\CAN\n\ + \\aseconds\CAN\SOH \SOH(\ETXR\aseconds\DC2\DC4\n\ + \\ENQnanos\CAN\STX \SOH(\ENQR\ENQnanosB\133\SOH\n\ + \\DC3com.google.protobufB\SOTimestampProtoP\SOHZ2google.golang.org/protobuf/types/known/timestamppb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\197/\n\ + \\a\DC2\ENQ\RS\NUL\146\SOH\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX\"\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX\"\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX#\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX#\NUL\US\n\ + \\b\n\ + \\SOH\b\DC2\ETX$\NULI\n\ + \\t\n\ + \\STX\b\v\DC2\ETX$\NULI\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX%\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL/\n\ + \\t\n\ + \\STX\b\b\DC2\ETX&\NUL/\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX'\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX(\NUL!\n\ + \\222\GS\n\ + \\STX\EOT\NUL\DC2\ACK\135\SOH\NUL\146\SOH\SOH\SUB\207\GS A Timestamp represents a point in time independent of any time zone or local\n\ + \ calendar, encoded as a count of seconds and fractions of seconds at\n\ + \ nanosecond resolution. The count is relative to an epoch at UTC midnight on\n\ + \ January 1, 1970, in the proleptic Gregorian calendar which extends the\n\ + \ Gregorian calendar backwards to year one.\n\ + \\n\ + \ All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n\ + \ second table is needed for interpretation, using a [24-hour linear\n\ + \ smear](https://developers.google.com/time/smear).\n\ + \\n\ + \ The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n\ + \ restricting to that range, we ensure that we can convert to and from [RFC\n\ + \ 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\ + \\n\ + \ # Examples\n\ + \\n\ + \ Example 1: Compute Timestamp from POSIX `time()`.\n\ + \\n\ + \ Timestamp timestamp;\n\ + \ timestamp.set_seconds(time(NULL));\n\ + \ timestamp.set_nanos(0);\n\ + \\n\ + \ Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\ + \\n\ + \ struct timeval tv;\n\ + \ gettimeofday(&tv, NULL);\n\ + \\n\ + \ Timestamp timestamp;\n\ + \ timestamp.set_seconds(tv.tv_sec);\n\ + \ timestamp.set_nanos(tv.tv_usec * 1000);\n\ + \\n\ + \ Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\ + \\n\ + \ FILETIME ft;\n\ + \ GetSystemTimeAsFileTime(&ft);\n\ + \ UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\ + \\n\ + \ // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n\ + \ // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n\ + \ Timestamp timestamp;\n\ + \ timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n\ + \ timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\ + \\n\ + \ Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\ + \\n\ + \ long millis = System.currentTimeMillis();\n\ + \\n\ + \ Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n\ + \ .setNanos((int) ((millis % 1000) * 1000000)).build();\n\ + \\n\ + \\n\ + \ Example 5: Compute Timestamp from Java `Instant.now()`.\n\ + \\n\ + \ Instant now = Instant.now();\n\ + \\n\ + \ Timestamp timestamp =\n\ + \ Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n\ + \ .setNanos(now.getNano()).build();\n\ + \\n\ + \\n\ + \ Example 6: Compute Timestamp from current time in Python.\n\ + \\n\ + \ timestamp = Timestamp()\n\ + \ timestamp.GetCurrentTime()\n\ + \\n\ + \ # JSON Mapping\n\ + \\n\ + \ In JSON format, the Timestamp type is encoded as a string in the\n\ + \ [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n\ + \ format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n\ + \ where {year} is always expressed using four digits while {month}, {day},\n\ + \ {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n\ + \ seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n\ + \ are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n\ + \ is required. A proto3 JSON serializer should always use UTC (as indicated by\n\ + \ \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n\ + \ able to accept both UTC and other timezones (as indicated by an offset).\n\ + \\n\ + \ For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n\ + \ 01:30 UTC on January 15, 2017.\n\ + \\n\ + \ In JavaScript, one can convert a Date object to this format using the\n\ + \ standard\n\ + \ [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n\ + \ method. In Python, a standard `datetime.datetime` object can be converted\n\ + \ to this format using\n\ + \ [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n\ + \ the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n\ + \ the Joda Time's [`ISODateTimeFormat.dateTime()`](\n\ + \ http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n\ + \ ) to obtain a formatter capable of generating timestamps in this format.\n\ + \\n\ + \\n\ + \\n\ + \\v\n\ + \\ETX\EOT\NUL\SOH\DC2\EOT\135\SOH\b\DC1\n\ + \\157\SOH\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\EOT\139\SOH\STX\DC4\SUB\142\SOH Represents seconds of UTC time since Unix epoch\n\ + \ 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n\ + \ 9999-12-31T23:59:59Z inclusive.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\139\SOH\STX\a\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\139\SOH\b\SI\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\139\SOH\DC2\DC3\n\ + \\229\SOH\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\EOT\145\SOH\STX\DC2\SUB\214\SOH Non-negative fractions of a second at nanosecond resolution. Negative\n\ + \ second values with fractions must still have non-negative nanos values\n\ + \ that count forward in time. Must be from 0 to 999,999,999\n\ + \ inclusive.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\EOT\145\SOH\STX\a\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\EOT\145\SOH\b\r\n\ + \\r\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\EOT\145\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp_Fields.hs new file mode 100644 index 00000000..317d3891 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp_Fields.hs @@ -0,0 +1,39 @@ +{- This file was auto-generated from google/protobuf/timestamp.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Timestamp_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +nanos :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "nanos" a) => + Lens.Family2.LensLike' f s a +nanos = Data.ProtoLens.Field.field @"nanos" +seconds :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "seconds" a) => + Lens.Family2.LensLike' f s a +seconds = Data.ProtoLens.Field.field @"seconds" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs new file mode 100644 index 00000000..94744755 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs @@ -0,0 +1,2667 @@ +{- This file was auto-generated from google/protobuf/type.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Type ( + Enum(), EnumValue(), Field(), Field'Cardinality(..), + Field'Cardinality(), Field'Cardinality'UnrecognizedValue, + Field'Kind(..), Field'Kind(), Field'Kind'UnrecognizedValue, + Option(), Syntax(..), Syntax(), Syntax'UnrecognizedValue, Type() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +import qualified Proto.Google.Protobuf.Any +import qualified Proto.Google.Protobuf.SourceContext +{- | Fields : + + * 'Proto.Google.Protobuf.Type_Fields.name' @:: Lens' Enum Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.enumvalue' @:: Lens' Enum [EnumValue]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'enumvalue' @:: Lens' Enum (Data.Vector.Vector EnumValue)@ + * 'Proto.Google.Protobuf.Type_Fields.options' @:: Lens' Enum [Option]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'options' @:: Lens' Enum (Data.Vector.Vector Option)@ + * 'Proto.Google.Protobuf.Type_Fields.sourceContext' @:: Lens' Enum Proto.Google.Protobuf.SourceContext.SourceContext@ + * 'Proto.Google.Protobuf.Type_Fields.maybe'sourceContext' @:: Lens' Enum (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext)@ + * 'Proto.Google.Protobuf.Type_Fields.syntax' @:: Lens' Enum Syntax@ -} +data Enum + = Enum'_constructor {_Enum'name :: !Data.Text.Text, + _Enum'enumvalue :: !(Data.Vector.Vector EnumValue), + _Enum'options :: !(Data.Vector.Vector Option), + _Enum'sourceContext :: !(Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext), + _Enum'syntax :: !Syntax, + _Enum'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Enum where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Enum "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'name (\ x__ y__ -> x__ {_Enum'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Enum "enumvalue" [EnumValue] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'enumvalue (\ x__ y__ -> x__ {_Enum'enumvalue = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Enum "vec'enumvalue" (Data.Vector.Vector EnumValue) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'enumvalue (\ x__ y__ -> x__ {_Enum'enumvalue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Enum "options" [Option] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'options (\ x__ y__ -> x__ {_Enum'options = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Enum "vec'options" (Data.Vector.Vector Option) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'options (\ x__ y__ -> x__ {_Enum'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Enum "sourceContext" Proto.Google.Protobuf.SourceContext.SourceContext where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'sourceContext (\ x__ y__ -> x__ {_Enum'sourceContext = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField Enum "maybe'sourceContext" (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'sourceContext (\ x__ y__ -> x__ {_Enum'sourceContext = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Enum "syntax" Syntax where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'syntax (\ x__ y__ -> x__ {_Enum'syntax = y__})) + Prelude.id +instance Data.ProtoLens.Message Enum where + messageName _ = Data.Text.pack "google.protobuf.Enum" + packedMessageDescriptor _ + = "\n\ + \\EOTEnum\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\ + \\tenumvalue\CAN\STX \ETX(\v2\SUB.google.protobuf.EnumValueR\tenumvalue\DC21\n\ + \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ + \\SOsource_context\CAN\EOT \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ + \\ACKsyntax\CAN\ENQ \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Enum + enumvalue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "enumvalue" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor EnumValue) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"enumvalue")) :: + Data.ProtoLens.FieldDescriptor Enum + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Option) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"options")) :: + Data.ProtoLens.FieldDescriptor Enum + sourceContext__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_context" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.SourceContext.SourceContext) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'sourceContext")) :: + Data.ProtoLens.FieldDescriptor Enum + syntax__field_descriptor + = Data.ProtoLens.FieldDescriptor + "syntax" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Syntax) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"syntax")) :: + Data.ProtoLens.FieldDescriptor Enum + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, enumvalue__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor), + (Data.ProtoLens.Tag 4, sourceContext__field_descriptor), + (Data.ProtoLens.Tag 5, syntax__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Enum'_unknownFields + (\ x__ y__ -> x__ {_Enum'_unknownFields = y__}) + defMessage + = Enum'_constructor + {_Enum'name = Data.ProtoLens.fieldDefault, + _Enum'enumvalue = Data.Vector.Generic.empty, + _Enum'options = Data.Vector.Generic.empty, + _Enum'sourceContext = Prelude.Nothing, + _Enum'syntax = Data.ProtoLens.fieldDefault, + _Enum'_unknownFields = []} + parseMessage + = let + loop :: + Enum + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld EnumValue + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Option + -> Data.ProtoLens.Encoding.Bytes.Parser Enum + loop x mutable'enumvalue mutable'options + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'enumvalue <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'enumvalue) + frozen'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'options) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'enumvalue") frozen'enumvalue + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'options") frozen'options x))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'enumvalue mutable'options + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "enumvalue" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'enumvalue y) + loop x v mutable'options + 26 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "options" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'options y) + loop x mutable'enumvalue v + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "source_context" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"sourceContext") y x) + mutable'enumvalue mutable'options + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "syntax" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + mutable'enumvalue mutable'options + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'enumvalue mutable'options + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'enumvalue <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'enumvalue mutable'options) + "Enum" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'enumvalue") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'options") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'sourceContext") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"syntax") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData Enum where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Enum'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Enum'name x__) + (Control.DeepSeq.deepseq + (_Enum'enumvalue x__) + (Control.DeepSeq.deepseq + (_Enum'options x__) + (Control.DeepSeq.deepseq + (_Enum'sourceContext x__) + (Control.DeepSeq.deepseq (_Enum'syntax x__) ()))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Type_Fields.name' @:: Lens' EnumValue Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.number' @:: Lens' EnumValue Data.Int.Int32@ + * 'Proto.Google.Protobuf.Type_Fields.options' @:: Lens' EnumValue [Option]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'options' @:: Lens' EnumValue (Data.Vector.Vector Option)@ -} +data EnumValue + = EnumValue'_constructor {_EnumValue'name :: !Data.Text.Text, + _EnumValue'number :: !Data.Int.Int32, + _EnumValue'options :: !(Data.Vector.Vector Option), + _EnumValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show EnumValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField EnumValue "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValue'name (\ x__ y__ -> x__ {_EnumValue'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValue "number" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValue'number (\ x__ y__ -> x__ {_EnumValue'number = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValue "options" [Option] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValue'options (\ x__ y__ -> x__ {_EnumValue'options = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField EnumValue "vec'options" (Data.Vector.Vector Option) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValue'options (\ x__ y__ -> x__ {_EnumValue'options = y__})) + Prelude.id +instance Data.ProtoLens.Message EnumValue where + messageName _ = Data.Text.pack "google.protobuf.EnumValue" + packedMessageDescriptor _ + = "\n\ + \\tEnumValue\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\STX \SOH(\ENQR\ACKnumber\DC21\n\ + \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor EnumValue + number__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"number")) :: + Data.ProtoLens.FieldDescriptor EnumValue + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Option) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"options")) :: + Data.ProtoLens.FieldDescriptor EnumValue + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, number__field_descriptor), + (Data.ProtoLens.Tag 3, options__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _EnumValue'_unknownFields + (\ x__ y__ -> x__ {_EnumValue'_unknownFields = y__}) + defMessage + = EnumValue'_constructor + {_EnumValue'name = Data.ProtoLens.fieldDefault, + _EnumValue'number = Data.ProtoLens.fieldDefault, + _EnumValue'options = Data.Vector.Generic.empty, + _EnumValue'_unknownFields = []} + parseMessage + = let + loop :: + EnumValue + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Option + -> Data.ProtoLens.Encoding.Bytes.Parser EnumValue + loop x mutable'options + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'options) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'options") frozen'options x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'options + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "number" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) + mutable'options + 26 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "options" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'options y) + loop x v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'options + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'options) + "EnumValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"number") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'options") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData EnumValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_EnumValue'_unknownFields x__) + (Control.DeepSeq.deepseq + (_EnumValue'name x__) + (Control.DeepSeq.deepseq + (_EnumValue'number x__) + (Control.DeepSeq.deepseq (_EnumValue'options x__) ()))) +{- | Fields : + + * 'Proto.Google.Protobuf.Type_Fields.kind' @:: Lens' Field Field'Kind@ + * 'Proto.Google.Protobuf.Type_Fields.cardinality' @:: Lens' Field Field'Cardinality@ + * 'Proto.Google.Protobuf.Type_Fields.number' @:: Lens' Field Data.Int.Int32@ + * 'Proto.Google.Protobuf.Type_Fields.name' @:: Lens' Field Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.typeUrl' @:: Lens' Field Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.oneofIndex' @:: Lens' Field Data.Int.Int32@ + * 'Proto.Google.Protobuf.Type_Fields.packed' @:: Lens' Field Prelude.Bool@ + * 'Proto.Google.Protobuf.Type_Fields.options' @:: Lens' Field [Option]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'options' @:: Lens' Field (Data.Vector.Vector Option)@ + * 'Proto.Google.Protobuf.Type_Fields.jsonName' @:: Lens' Field Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.defaultValue' @:: Lens' Field Data.Text.Text@ -} +data Field + = Field'_constructor {_Field'kind :: !Field'Kind, + _Field'cardinality :: !Field'Cardinality, + _Field'number :: !Data.Int.Int32, + _Field'name :: !Data.Text.Text, + _Field'typeUrl :: !Data.Text.Text, + _Field'oneofIndex :: !Data.Int.Int32, + _Field'packed :: !Prelude.Bool, + _Field'options :: !(Data.Vector.Vector Option), + _Field'jsonName :: !Data.Text.Text, + _Field'defaultValue :: !Data.Text.Text, + _Field'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Field where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Field "kind" Field'Kind where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'kind (\ x__ y__ -> x__ {_Field'kind = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "cardinality" Field'Cardinality where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'cardinality (\ x__ y__ -> x__ {_Field'cardinality = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "number" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'number (\ x__ y__ -> x__ {_Field'number = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'name (\ x__ y__ -> x__ {_Field'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "typeUrl" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'typeUrl (\ x__ y__ -> x__ {_Field'typeUrl = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "oneofIndex" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'oneofIndex (\ x__ y__ -> x__ {_Field'oneofIndex = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "packed" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'packed (\ x__ y__ -> x__ {_Field'packed = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "options" [Option] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'options (\ x__ y__ -> x__ {_Field'options = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Field "vec'options" (Data.Vector.Vector Option) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'options (\ x__ y__ -> x__ {_Field'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "jsonName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'jsonName (\ x__ y__ -> x__ {_Field'jsonName = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Field "defaultValue" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Field'defaultValue (\ x__ y__ -> x__ {_Field'defaultValue = y__})) + Prelude.id +instance Data.ProtoLens.Message Field where + messageName _ = Data.Text.pack "google.protobuf.Field" + packedMessageDescriptor _ + = "\n\ + \\ENQField\DC2/\n\ + \\EOTkind\CAN\SOH \SOH(\SO2\ESC.google.protobuf.Field.KindR\EOTkind\DC2D\n\ + \\vcardinality\CAN\STX \SOH(\SO2\".google.protobuf.Field.CardinalityR\vcardinality\DC2\SYN\n\ + \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2\DC2\n\ + \\EOTname\CAN\EOT \SOH(\tR\EOTname\DC2\EM\n\ + \\btype_url\CAN\ACK \SOH(\tR\atypeUrl\DC2\US\n\ + \\voneof_index\CAN\a \SOH(\ENQR\n\ + \oneofIndex\DC2\SYN\n\ + \\ACKpacked\CAN\b \SOH(\bR\ACKpacked\DC21\n\ + \\aoptions\CAN\t \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2\ESC\n\ + \\tjson_name\CAN\n\ + \ \SOH(\tR\bjsonName\DC2#\n\ + \\rdefault_value\CAN\v \SOH(\tR\fdefaultValue\"\200\STX\n\ + \\EOTKind\DC2\DLE\n\ + \\fTYPE_UNKNOWN\DLE\NUL\DC2\SI\n\ + \\vTYPE_DOUBLE\DLE\SOH\DC2\SO\n\ + \\n\ + \TYPE_FLOAT\DLE\STX\DC2\SO\n\ + \\n\ + \TYPE_INT64\DLE\ETX\DC2\SI\n\ + \\vTYPE_UINT64\DLE\EOT\DC2\SO\n\ + \\n\ + \TYPE_INT32\DLE\ENQ\DC2\DLE\n\ + \\fTYPE_FIXED64\DLE\ACK\DC2\DLE\n\ + \\fTYPE_FIXED32\DLE\a\DC2\r\n\ + \\tTYPE_BOOL\DLE\b\DC2\SI\n\ + \\vTYPE_STRING\DLE\t\DC2\SO\n\ + \\n\ + \TYPE_GROUP\DLE\n\ + \\DC2\DLE\n\ + \\fTYPE_MESSAGE\DLE\v\DC2\SO\n\ + \\n\ + \TYPE_BYTES\DLE\f\DC2\SI\n\ + \\vTYPE_UINT32\DLE\r\DC2\r\n\ + \\tTYPE_ENUM\DLE\SO\DC2\DC1\n\ + \\rTYPE_SFIXED32\DLE\SI\DC2\DC1\n\ + \\rTYPE_SFIXED64\DLE\DLE\DC2\SI\n\ + \\vTYPE_SINT32\DLE\DC1\DC2\SI\n\ + \\vTYPE_SINT64\DLE\DC2\"t\n\ + \\vCardinality\DC2\ETB\n\ + \\DC3CARDINALITY_UNKNOWN\DLE\NUL\DC2\CAN\n\ + \\DC4CARDINALITY_OPTIONAL\DLE\SOH\DC2\CAN\n\ + \\DC4CARDINALITY_REQUIRED\DLE\STX\DC2\CAN\n\ + \\DC4CARDINALITY_REPEATED\DLE\ETX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + kind__field_descriptor + = Data.ProtoLens.FieldDescriptor + "kind" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Field'Kind) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"kind")) :: + Data.ProtoLens.FieldDescriptor Field + cardinality__field_descriptor + = Data.ProtoLens.FieldDescriptor + "cardinality" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Field'Cardinality) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"cardinality")) :: + Data.ProtoLens.FieldDescriptor Field + number__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"number")) :: + Data.ProtoLens.FieldDescriptor Field + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Field + typeUrl__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type_url" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"typeUrl")) :: + Data.ProtoLens.FieldDescriptor Field + oneofIndex__field_descriptor + = Data.ProtoLens.FieldDescriptor + "oneof_index" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"oneofIndex")) :: + Data.ProtoLens.FieldDescriptor Field + packed__field_descriptor + = Data.ProtoLens.FieldDescriptor + "packed" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"packed")) :: + Data.ProtoLens.FieldDescriptor Field + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Option) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"options")) :: + Data.ProtoLens.FieldDescriptor Field + jsonName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "json_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"jsonName")) :: + Data.ProtoLens.FieldDescriptor Field + defaultValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "default_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional + (Data.ProtoLens.Field.field @"defaultValue")) :: + Data.ProtoLens.FieldDescriptor Field + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, kind__field_descriptor), + (Data.ProtoLens.Tag 2, cardinality__field_descriptor), + (Data.ProtoLens.Tag 3, number__field_descriptor), + (Data.ProtoLens.Tag 4, name__field_descriptor), + (Data.ProtoLens.Tag 6, typeUrl__field_descriptor), + (Data.ProtoLens.Tag 7, oneofIndex__field_descriptor), + (Data.ProtoLens.Tag 8, packed__field_descriptor), + (Data.ProtoLens.Tag 9, options__field_descriptor), + (Data.ProtoLens.Tag 10, jsonName__field_descriptor), + (Data.ProtoLens.Tag 11, defaultValue__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Field'_unknownFields + (\ x__ y__ -> x__ {_Field'_unknownFields = y__}) + defMessage + = Field'_constructor + {_Field'kind = Data.ProtoLens.fieldDefault, + _Field'cardinality = Data.ProtoLens.fieldDefault, + _Field'number = Data.ProtoLens.fieldDefault, + _Field'name = Data.ProtoLens.fieldDefault, + _Field'typeUrl = Data.ProtoLens.fieldDefault, + _Field'oneofIndex = Data.ProtoLens.fieldDefault, + _Field'packed = Data.ProtoLens.fieldDefault, + _Field'options = Data.Vector.Generic.empty, + _Field'jsonName = Data.ProtoLens.fieldDefault, + _Field'defaultValue = Data.ProtoLens.fieldDefault, + _Field'_unknownFields = []} + parseMessage + = let + loop :: + Field + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Option + -> Data.ProtoLens.Encoding.Bytes.Parser Field + loop x mutable'options + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'options) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'options") frozen'options x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "kind" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"kind") y x) + mutable'options + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "cardinality" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"cardinality") y x) + mutable'options + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "number" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) + mutable'options + 34 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'options + 50 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "type_url" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"typeUrl") y x) + mutable'options + 56 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "oneof_index" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"oneofIndex") y x) + mutable'options + 64 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "packed" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"packed") y x) + mutable'options + 74 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "options" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'options y) + loop x v + 82 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "json_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jsonName") y x) + mutable'options + 90 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "default_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"defaultValue") y x) + mutable'options + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'options + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'options) + "Field" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"kind") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view (Data.ProtoLens.Field.field @"cardinality") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"number") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"typeUrl") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view (Data.ProtoLens.Field.field @"oneofIndex") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 56) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral + _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"packed") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 64) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 74) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'options") _x)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view + (Data.ProtoLens.Field.field @"jsonName") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 82) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (let + _v + = Lens.Family2.view + (Data.ProtoLens.Field.field @"defaultValue") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 90) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x))))))))))) +instance Control.DeepSeq.NFData Field where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Field'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Field'kind x__) + (Control.DeepSeq.deepseq + (_Field'cardinality x__) + (Control.DeepSeq.deepseq + (_Field'number x__) + (Control.DeepSeq.deepseq + (_Field'name x__) + (Control.DeepSeq.deepseq + (_Field'typeUrl x__) + (Control.DeepSeq.deepseq + (_Field'oneofIndex x__) + (Control.DeepSeq.deepseq + (_Field'packed x__) + (Control.DeepSeq.deepseq + (_Field'options x__) + (Control.DeepSeq.deepseq + (_Field'jsonName x__) + (Control.DeepSeq.deepseq + (_Field'defaultValue x__) ())))))))))) +newtype Field'Cardinality'UnrecognizedValue + = Field'Cardinality'UnrecognizedValue Data.Int.Int32 + deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show) +data Field'Cardinality + = Field'CARDINALITY_UNKNOWN | + Field'CARDINALITY_OPTIONAL | + Field'CARDINALITY_REQUIRED | + Field'CARDINALITY_REPEATED | + Field'Cardinality'Unrecognized !Field'Cardinality'UnrecognizedValue + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum Field'Cardinality where + maybeToEnum 0 = Prelude.Just Field'CARDINALITY_UNKNOWN + maybeToEnum 1 = Prelude.Just Field'CARDINALITY_OPTIONAL + maybeToEnum 2 = Prelude.Just Field'CARDINALITY_REQUIRED + maybeToEnum 3 = Prelude.Just Field'CARDINALITY_REPEATED + maybeToEnum k + = Prelude.Just + (Field'Cardinality'Unrecognized + (Field'Cardinality'UnrecognizedValue (Prelude.fromIntegral k))) + showEnum Field'CARDINALITY_UNKNOWN = "CARDINALITY_UNKNOWN" + showEnum Field'CARDINALITY_OPTIONAL = "CARDINALITY_OPTIONAL" + showEnum Field'CARDINALITY_REQUIRED = "CARDINALITY_REQUIRED" + showEnum Field'CARDINALITY_REPEATED = "CARDINALITY_REPEATED" + showEnum + (Field'Cardinality'Unrecognized (Field'Cardinality'UnrecognizedValue k)) + = Prelude.show k + readEnum k + | (Prelude.==) k "CARDINALITY_UNKNOWN" + = Prelude.Just Field'CARDINALITY_UNKNOWN + | (Prelude.==) k "CARDINALITY_OPTIONAL" + = Prelude.Just Field'CARDINALITY_OPTIONAL + | (Prelude.==) k "CARDINALITY_REQUIRED" + = Prelude.Just Field'CARDINALITY_REQUIRED + | (Prelude.==) k "CARDINALITY_REPEATED" + = Prelude.Just Field'CARDINALITY_REPEATED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded Field'Cardinality where + minBound = Field'CARDINALITY_UNKNOWN + maxBound = Field'CARDINALITY_REPEATED +instance Prelude.Enum Field'Cardinality where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Cardinality: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum Field'CARDINALITY_UNKNOWN = 0 + fromEnum Field'CARDINALITY_OPTIONAL = 1 + fromEnum Field'CARDINALITY_REQUIRED = 2 + fromEnum Field'CARDINALITY_REPEATED = 3 + fromEnum + (Field'Cardinality'Unrecognized (Field'Cardinality'UnrecognizedValue k)) + = Prelude.fromIntegral k + succ Field'CARDINALITY_REPEATED + = Prelude.error + "Field'Cardinality.succ: bad argument Field'CARDINALITY_REPEATED. This value would be out of bounds." + succ Field'CARDINALITY_UNKNOWN = Field'CARDINALITY_OPTIONAL + succ Field'CARDINALITY_OPTIONAL = Field'CARDINALITY_REQUIRED + succ Field'CARDINALITY_REQUIRED = Field'CARDINALITY_REPEATED + succ (Field'Cardinality'Unrecognized _) + = Prelude.error + "Field'Cardinality.succ: bad argument: unrecognized value" + pred Field'CARDINALITY_UNKNOWN + = Prelude.error + "Field'Cardinality.pred: bad argument Field'CARDINALITY_UNKNOWN. This value would be out of bounds." + pred Field'CARDINALITY_OPTIONAL = Field'CARDINALITY_UNKNOWN + pred Field'CARDINALITY_REQUIRED = Field'CARDINALITY_OPTIONAL + pred Field'CARDINALITY_REPEATED = Field'CARDINALITY_REQUIRED + pred (Field'Cardinality'Unrecognized _) + = Prelude.error + "Field'Cardinality.pred: bad argument: unrecognized value" + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault Field'Cardinality where + fieldDefault = Field'CARDINALITY_UNKNOWN +instance Control.DeepSeq.NFData Field'Cardinality where + rnf x__ = Prelude.seq x__ () +newtype Field'Kind'UnrecognizedValue + = Field'Kind'UnrecognizedValue Data.Int.Int32 + deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show) +data Field'Kind + = Field'TYPE_UNKNOWN | + Field'TYPE_DOUBLE | + Field'TYPE_FLOAT | + Field'TYPE_INT64 | + Field'TYPE_UINT64 | + Field'TYPE_INT32 | + Field'TYPE_FIXED64 | + Field'TYPE_FIXED32 | + Field'TYPE_BOOL | + Field'TYPE_STRING | + Field'TYPE_GROUP | + Field'TYPE_MESSAGE | + Field'TYPE_BYTES | + Field'TYPE_UINT32 | + Field'TYPE_ENUM | + Field'TYPE_SFIXED32 | + Field'TYPE_SFIXED64 | + Field'TYPE_SINT32 | + Field'TYPE_SINT64 | + Field'Kind'Unrecognized !Field'Kind'UnrecognizedValue + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum Field'Kind where + maybeToEnum 0 = Prelude.Just Field'TYPE_UNKNOWN + maybeToEnum 1 = Prelude.Just Field'TYPE_DOUBLE + maybeToEnum 2 = Prelude.Just Field'TYPE_FLOAT + maybeToEnum 3 = Prelude.Just Field'TYPE_INT64 + maybeToEnum 4 = Prelude.Just Field'TYPE_UINT64 + maybeToEnum 5 = Prelude.Just Field'TYPE_INT32 + maybeToEnum 6 = Prelude.Just Field'TYPE_FIXED64 + maybeToEnum 7 = Prelude.Just Field'TYPE_FIXED32 + maybeToEnum 8 = Prelude.Just Field'TYPE_BOOL + maybeToEnum 9 = Prelude.Just Field'TYPE_STRING + maybeToEnum 10 = Prelude.Just Field'TYPE_GROUP + maybeToEnum 11 = Prelude.Just Field'TYPE_MESSAGE + maybeToEnum 12 = Prelude.Just Field'TYPE_BYTES + maybeToEnum 13 = Prelude.Just Field'TYPE_UINT32 + maybeToEnum 14 = Prelude.Just Field'TYPE_ENUM + maybeToEnum 15 = Prelude.Just Field'TYPE_SFIXED32 + maybeToEnum 16 = Prelude.Just Field'TYPE_SFIXED64 + maybeToEnum 17 = Prelude.Just Field'TYPE_SINT32 + maybeToEnum 18 = Prelude.Just Field'TYPE_SINT64 + maybeToEnum k + = Prelude.Just + (Field'Kind'Unrecognized + (Field'Kind'UnrecognizedValue (Prelude.fromIntegral k))) + showEnum Field'TYPE_UNKNOWN = "TYPE_UNKNOWN" + showEnum Field'TYPE_DOUBLE = "TYPE_DOUBLE" + showEnum Field'TYPE_FLOAT = "TYPE_FLOAT" + showEnum Field'TYPE_INT64 = "TYPE_INT64" + showEnum Field'TYPE_UINT64 = "TYPE_UINT64" + showEnum Field'TYPE_INT32 = "TYPE_INT32" + showEnum Field'TYPE_FIXED64 = "TYPE_FIXED64" + showEnum Field'TYPE_FIXED32 = "TYPE_FIXED32" + showEnum Field'TYPE_BOOL = "TYPE_BOOL" + showEnum Field'TYPE_STRING = "TYPE_STRING" + showEnum Field'TYPE_GROUP = "TYPE_GROUP" + showEnum Field'TYPE_MESSAGE = "TYPE_MESSAGE" + showEnum Field'TYPE_BYTES = "TYPE_BYTES" + showEnum Field'TYPE_UINT32 = "TYPE_UINT32" + showEnum Field'TYPE_ENUM = "TYPE_ENUM" + showEnum Field'TYPE_SFIXED32 = "TYPE_SFIXED32" + showEnum Field'TYPE_SFIXED64 = "TYPE_SFIXED64" + showEnum Field'TYPE_SINT32 = "TYPE_SINT32" + showEnum Field'TYPE_SINT64 = "TYPE_SINT64" + showEnum (Field'Kind'Unrecognized (Field'Kind'UnrecognizedValue k)) + = Prelude.show k + readEnum k + | (Prelude.==) k "TYPE_UNKNOWN" = Prelude.Just Field'TYPE_UNKNOWN + | (Prelude.==) k "TYPE_DOUBLE" = Prelude.Just Field'TYPE_DOUBLE + | (Prelude.==) k "TYPE_FLOAT" = Prelude.Just Field'TYPE_FLOAT + | (Prelude.==) k "TYPE_INT64" = Prelude.Just Field'TYPE_INT64 + | (Prelude.==) k "TYPE_UINT64" = Prelude.Just Field'TYPE_UINT64 + | (Prelude.==) k "TYPE_INT32" = Prelude.Just Field'TYPE_INT32 + | (Prelude.==) k "TYPE_FIXED64" = Prelude.Just Field'TYPE_FIXED64 + | (Prelude.==) k "TYPE_FIXED32" = Prelude.Just Field'TYPE_FIXED32 + | (Prelude.==) k "TYPE_BOOL" = Prelude.Just Field'TYPE_BOOL + | (Prelude.==) k "TYPE_STRING" = Prelude.Just Field'TYPE_STRING + | (Prelude.==) k "TYPE_GROUP" = Prelude.Just Field'TYPE_GROUP + | (Prelude.==) k "TYPE_MESSAGE" = Prelude.Just Field'TYPE_MESSAGE + | (Prelude.==) k "TYPE_BYTES" = Prelude.Just Field'TYPE_BYTES + | (Prelude.==) k "TYPE_UINT32" = Prelude.Just Field'TYPE_UINT32 + | (Prelude.==) k "TYPE_ENUM" = Prelude.Just Field'TYPE_ENUM + | (Prelude.==) k "TYPE_SFIXED32" = Prelude.Just Field'TYPE_SFIXED32 + | (Prelude.==) k "TYPE_SFIXED64" = Prelude.Just Field'TYPE_SFIXED64 + | (Prelude.==) k "TYPE_SINT32" = Prelude.Just Field'TYPE_SINT32 + | (Prelude.==) k "TYPE_SINT64" = Prelude.Just Field'TYPE_SINT64 + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded Field'Kind where + minBound = Field'TYPE_UNKNOWN + maxBound = Field'TYPE_SINT64 +instance Prelude.Enum Field'Kind where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Kind: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum Field'TYPE_UNKNOWN = 0 + fromEnum Field'TYPE_DOUBLE = 1 + fromEnum Field'TYPE_FLOAT = 2 + fromEnum Field'TYPE_INT64 = 3 + fromEnum Field'TYPE_UINT64 = 4 + fromEnum Field'TYPE_INT32 = 5 + fromEnum Field'TYPE_FIXED64 = 6 + fromEnum Field'TYPE_FIXED32 = 7 + fromEnum Field'TYPE_BOOL = 8 + fromEnum Field'TYPE_STRING = 9 + fromEnum Field'TYPE_GROUP = 10 + fromEnum Field'TYPE_MESSAGE = 11 + fromEnum Field'TYPE_BYTES = 12 + fromEnum Field'TYPE_UINT32 = 13 + fromEnum Field'TYPE_ENUM = 14 + fromEnum Field'TYPE_SFIXED32 = 15 + fromEnum Field'TYPE_SFIXED64 = 16 + fromEnum Field'TYPE_SINT32 = 17 + fromEnum Field'TYPE_SINT64 = 18 + fromEnum (Field'Kind'Unrecognized (Field'Kind'UnrecognizedValue k)) + = Prelude.fromIntegral k + succ Field'TYPE_SINT64 + = Prelude.error + "Field'Kind.succ: bad argument Field'TYPE_SINT64. This value would be out of bounds." + succ Field'TYPE_UNKNOWN = Field'TYPE_DOUBLE + succ Field'TYPE_DOUBLE = Field'TYPE_FLOAT + succ Field'TYPE_FLOAT = Field'TYPE_INT64 + succ Field'TYPE_INT64 = Field'TYPE_UINT64 + succ Field'TYPE_UINT64 = Field'TYPE_INT32 + succ Field'TYPE_INT32 = Field'TYPE_FIXED64 + succ Field'TYPE_FIXED64 = Field'TYPE_FIXED32 + succ Field'TYPE_FIXED32 = Field'TYPE_BOOL + succ Field'TYPE_BOOL = Field'TYPE_STRING + succ Field'TYPE_STRING = Field'TYPE_GROUP + succ Field'TYPE_GROUP = Field'TYPE_MESSAGE + succ Field'TYPE_MESSAGE = Field'TYPE_BYTES + succ Field'TYPE_BYTES = Field'TYPE_UINT32 + succ Field'TYPE_UINT32 = Field'TYPE_ENUM + succ Field'TYPE_ENUM = Field'TYPE_SFIXED32 + succ Field'TYPE_SFIXED32 = Field'TYPE_SFIXED64 + succ Field'TYPE_SFIXED64 = Field'TYPE_SINT32 + succ Field'TYPE_SINT32 = Field'TYPE_SINT64 + succ (Field'Kind'Unrecognized _) + = Prelude.error "Field'Kind.succ: bad argument: unrecognized value" + pred Field'TYPE_UNKNOWN + = Prelude.error + "Field'Kind.pred: bad argument Field'TYPE_UNKNOWN. This value would be out of bounds." + pred Field'TYPE_DOUBLE = Field'TYPE_UNKNOWN + pred Field'TYPE_FLOAT = Field'TYPE_DOUBLE + pred Field'TYPE_INT64 = Field'TYPE_FLOAT + pred Field'TYPE_UINT64 = Field'TYPE_INT64 + pred Field'TYPE_INT32 = Field'TYPE_UINT64 + pred Field'TYPE_FIXED64 = Field'TYPE_INT32 + pred Field'TYPE_FIXED32 = Field'TYPE_FIXED64 + pred Field'TYPE_BOOL = Field'TYPE_FIXED32 + pred Field'TYPE_STRING = Field'TYPE_BOOL + pred Field'TYPE_GROUP = Field'TYPE_STRING + pred Field'TYPE_MESSAGE = Field'TYPE_GROUP + pred Field'TYPE_BYTES = Field'TYPE_MESSAGE + pred Field'TYPE_UINT32 = Field'TYPE_BYTES + pred Field'TYPE_ENUM = Field'TYPE_UINT32 + pred Field'TYPE_SFIXED32 = Field'TYPE_ENUM + pred Field'TYPE_SFIXED64 = Field'TYPE_SFIXED32 + pred Field'TYPE_SINT32 = Field'TYPE_SFIXED64 + pred Field'TYPE_SINT64 = Field'TYPE_SINT32 + pred (Field'Kind'Unrecognized _) + = Prelude.error "Field'Kind.pred: bad argument: unrecognized value" + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault Field'Kind where + fieldDefault = Field'TYPE_UNKNOWN +instance Control.DeepSeq.NFData Field'Kind where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Type_Fields.name' @:: Lens' Option Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.value' @:: Lens' Option Proto.Google.Protobuf.Any.Any@ + * 'Proto.Google.Protobuf.Type_Fields.maybe'value' @:: Lens' Option (Prelude.Maybe Proto.Google.Protobuf.Any.Any)@ -} +data Option + = Option'_constructor {_Option'name :: !Data.Text.Text, + _Option'value :: !(Prelude.Maybe Proto.Google.Protobuf.Any.Any), + _Option'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Option where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Option "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Option'name (\ x__ y__ -> x__ {_Option'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Option "value" Proto.Google.Protobuf.Any.Any where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Option'value (\ x__ y__ -> x__ {_Option'value = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField Option "maybe'value" (Prelude.Maybe Proto.Google.Protobuf.Any.Any) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Option'value (\ x__ y__ -> x__ {_Option'value = y__})) + Prelude.id +instance Data.ProtoLens.Message Option where + messageName _ = Data.Text.pack "google.protobuf.Option" + packedMessageDescriptor _ + = "\n\ + \\ACKOption\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2*\n\ + \\ENQvalue\CAN\STX \SOH(\v2\DC4.google.protobuf.AnyR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Option + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Any.Any) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'value")) :: + Data.ProtoLens.FieldDescriptor Option + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Option'_unknownFields + (\ x__ y__ -> x__ {_Option'_unknownFields = y__}) + defMessage + = Option'_constructor + {_Option'name = Data.ProtoLens.fieldDefault, + _Option'value = Prelude.Nothing, _Option'_unknownFields = []} + parseMessage + = let + loop :: Option -> Data.ProtoLens.Encoding.Bytes.Parser Option + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Option" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) +instance Control.DeepSeq.NFData Option where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Option'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Option'name x__) + (Control.DeepSeq.deepseq (_Option'value x__) ())) +newtype Syntax'UnrecognizedValue + = Syntax'UnrecognizedValue Data.Int.Int32 + deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show) +data Syntax + = SYNTAX_PROTO2 | + SYNTAX_PROTO3 | + Syntax'Unrecognized !Syntax'UnrecognizedValue + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum Syntax where + maybeToEnum 0 = Prelude.Just SYNTAX_PROTO2 + maybeToEnum 1 = Prelude.Just SYNTAX_PROTO3 + maybeToEnum k + = Prelude.Just + (Syntax'Unrecognized + (Syntax'UnrecognizedValue (Prelude.fromIntegral k))) + showEnum SYNTAX_PROTO2 = "SYNTAX_PROTO2" + showEnum SYNTAX_PROTO3 = "SYNTAX_PROTO3" + showEnum (Syntax'Unrecognized (Syntax'UnrecognizedValue k)) + = Prelude.show k + readEnum k + | (Prelude.==) k "SYNTAX_PROTO2" = Prelude.Just SYNTAX_PROTO2 + | (Prelude.==) k "SYNTAX_PROTO3" = Prelude.Just SYNTAX_PROTO3 + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded Syntax where + minBound = SYNTAX_PROTO2 + maxBound = SYNTAX_PROTO3 +instance Prelude.Enum Syntax where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Syntax: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum SYNTAX_PROTO2 = 0 + fromEnum SYNTAX_PROTO3 = 1 + fromEnum (Syntax'Unrecognized (Syntax'UnrecognizedValue k)) + = Prelude.fromIntegral k + succ SYNTAX_PROTO3 + = Prelude.error + "Syntax.succ: bad argument SYNTAX_PROTO3. This value would be out of bounds." + succ SYNTAX_PROTO2 = SYNTAX_PROTO3 + succ (Syntax'Unrecognized _) + = Prelude.error "Syntax.succ: bad argument: unrecognized value" + pred SYNTAX_PROTO2 + = Prelude.error + "Syntax.pred: bad argument SYNTAX_PROTO2. This value would be out of bounds." + pred SYNTAX_PROTO3 = SYNTAX_PROTO2 + pred (Syntax'Unrecognized _) + = Prelude.error "Syntax.pred: bad argument: unrecognized value" + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault Syntax where + fieldDefault = SYNTAX_PROTO2 +instance Control.DeepSeq.NFData Syntax where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Type_Fields.name' @:: Lens' Type Data.Text.Text@ + * 'Proto.Google.Protobuf.Type_Fields.fields' @:: Lens' Type [Field]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'fields' @:: Lens' Type (Data.Vector.Vector Field)@ + * 'Proto.Google.Protobuf.Type_Fields.oneofs' @:: Lens' Type [Data.Text.Text]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'oneofs' @:: Lens' Type (Data.Vector.Vector Data.Text.Text)@ + * 'Proto.Google.Protobuf.Type_Fields.options' @:: Lens' Type [Option]@ + * 'Proto.Google.Protobuf.Type_Fields.vec'options' @:: Lens' Type (Data.Vector.Vector Option)@ + * 'Proto.Google.Protobuf.Type_Fields.sourceContext' @:: Lens' Type Proto.Google.Protobuf.SourceContext.SourceContext@ + * 'Proto.Google.Protobuf.Type_Fields.maybe'sourceContext' @:: Lens' Type (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext)@ + * 'Proto.Google.Protobuf.Type_Fields.syntax' @:: Lens' Type Syntax@ -} +data Type + = Type'_constructor {_Type'name :: !Data.Text.Text, + _Type'fields :: !(Data.Vector.Vector Field), + _Type'oneofs :: !(Data.Vector.Vector Data.Text.Text), + _Type'options :: !(Data.Vector.Vector Option), + _Type'sourceContext :: !(Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext), + _Type'syntax :: !Syntax, + _Type'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Type where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Type "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'name (\ x__ y__ -> x__ {_Type'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Type "fields" [Field] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'fields (\ x__ y__ -> x__ {_Type'fields = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Type "vec'fields" (Data.Vector.Vector Field) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'fields (\ x__ y__ -> x__ {_Type'fields = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Type "oneofs" [Data.Text.Text] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'oneofs (\ x__ y__ -> x__ {_Type'oneofs = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Type "vec'oneofs" (Data.Vector.Vector Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'oneofs (\ x__ y__ -> x__ {_Type'oneofs = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Type "options" [Option] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'options (\ x__ y__ -> x__ {_Type'options = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField Type "vec'options" (Data.Vector.Vector Option) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'options (\ x__ y__ -> x__ {_Type'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Type "sourceContext" Proto.Google.Protobuf.SourceContext.SourceContext where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'sourceContext (\ x__ y__ -> x__ {_Type'sourceContext = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField Type "maybe'sourceContext" (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'sourceContext (\ x__ y__ -> x__ {_Type'sourceContext = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField Type "syntax" Syntax where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'syntax (\ x__ y__ -> x__ {_Type'syntax = y__})) + Prelude.id +instance Data.ProtoLens.Message Type where + messageName _ = Data.Text.pack "google.protobuf.Type" + packedMessageDescriptor _ + = "\n\ + \\EOTType\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2.\n\ + \\ACKfields\CAN\STX \ETX(\v2\SYN.google.protobuf.FieldR\ACKfields\DC2\SYN\n\ + \\ACKoneofs\CAN\ETX \ETX(\tR\ACKoneofs\DC21\n\ + \\aoptions\CAN\EOT \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ + \\SOsource_context\CAN\ENQ \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ + \\ACKsyntax\CAN\ACK \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) :: + Data.ProtoLens.FieldDescriptor Type + fields__field_descriptor + = Data.ProtoLens.FieldDescriptor + "fields" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Field) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"fields")) :: + Data.ProtoLens.FieldDescriptor Type + oneofs__field_descriptor + = Data.ProtoLens.FieldDescriptor + "oneofs" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"oneofs")) :: + Data.ProtoLens.FieldDescriptor Type + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Option) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"options")) :: + Data.ProtoLens.FieldDescriptor Type + sourceContext__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_context" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.SourceContext.SourceContext) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'sourceContext")) :: + Data.ProtoLens.FieldDescriptor Type + syntax__field_descriptor + = Data.ProtoLens.FieldDescriptor + "syntax" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Syntax) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"syntax")) :: + Data.ProtoLens.FieldDescriptor Type + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 2, fields__field_descriptor), + (Data.ProtoLens.Tag 3, oneofs__field_descriptor), + (Data.ProtoLens.Tag 4, options__field_descriptor), + (Data.ProtoLens.Tag 5, sourceContext__field_descriptor), + (Data.ProtoLens.Tag 6, syntax__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Type'_unknownFields + (\ x__ y__ -> x__ {_Type'_unknownFields = y__}) + defMessage + = Type'_constructor + {_Type'name = Data.ProtoLens.fieldDefault, + _Type'fields = Data.Vector.Generic.empty, + _Type'oneofs = Data.Vector.Generic.empty, + _Type'options = Data.Vector.Generic.empty, + _Type'sourceContext = Prelude.Nothing, + _Type'syntax = Data.ProtoLens.fieldDefault, + _Type'_unknownFields = []} + parseMessage + = let + loop :: + Type + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Field + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Option + -> Data.ProtoLens.Encoding.Bytes.Parser Type + loop x mutable'fields mutable'oneofs mutable'options + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'fields <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'fields) + frozen'oneofs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'oneofs) + frozen'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'options) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'fields") frozen'fields + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'oneofs") frozen'oneofs + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'options") frozen'options x)))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + mutable'fields mutable'oneofs mutable'options + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "fields" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'fields y) + loop x v mutable'oneofs mutable'options + 26 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "oneofs" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'oneofs y) + loop x mutable'fields v mutable'options + 34 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "options" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'options y) + loop x mutable'fields mutable'oneofs v + 42 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "source_context" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"sourceContext") y x) + mutable'fields mutable'oneofs mutable'options + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "syntax" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + mutable'fields mutable'oneofs mutable'options + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'fields mutable'oneofs mutable'options + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'fields <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'oneofs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'options <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'fields mutable'oneofs + mutable'options) + "Type" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'fields") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'oneofs") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 34) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'options") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'sourceContext") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 42) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"syntax") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))) +instance Control.DeepSeq.NFData Type where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Type'_unknownFields x__) + (Control.DeepSeq.deepseq + (_Type'name x__) + (Control.DeepSeq.deepseq + (_Type'fields x__) + (Control.DeepSeq.deepseq + (_Type'oneofs x__) + (Control.DeepSeq.deepseq + (_Type'options x__) + (Control.DeepSeq.deepseq + (_Type'sourceContext x__) + (Control.DeepSeq.deepseq (_Type'syntax x__) ())))))) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\SUBgoogle/protobuf/type.proto\DC2\SIgoogle.protobuf\SUB\EMgoogle/protobuf/any.proto\SUB$google/protobuf/source_context.proto\"\141\STX\n\ + \\EOTType\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2.\n\ + \\ACKfields\CAN\STX \ETX(\v2\SYN.google.protobuf.FieldR\ACKfields\DC2\SYN\n\ + \\ACKoneofs\CAN\ETX \ETX(\tR\ACKoneofs\DC21\n\ + \\aoptions\CAN\EOT \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ + \\SOsource_context\CAN\ENQ \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ + \\ACKsyntax\CAN\ACK \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\"\180\ACK\n\ + \\ENQField\DC2/\n\ + \\EOTkind\CAN\SOH \SOH(\SO2\ESC.google.protobuf.Field.KindR\EOTkind\DC2D\n\ + \\vcardinality\CAN\STX \SOH(\SO2\".google.protobuf.Field.CardinalityR\vcardinality\DC2\SYN\n\ + \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2\DC2\n\ + \\EOTname\CAN\EOT \SOH(\tR\EOTname\DC2\EM\n\ + \\btype_url\CAN\ACK \SOH(\tR\atypeUrl\DC2\US\n\ + \\voneof_index\CAN\a \SOH(\ENQR\n\ + \oneofIndex\DC2\SYN\n\ + \\ACKpacked\CAN\b \SOH(\bR\ACKpacked\DC21\n\ + \\aoptions\CAN\t \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2\ESC\n\ + \\tjson_name\CAN\n\ + \ \SOH(\tR\bjsonName\DC2#\n\ + \\rdefault_value\CAN\v \SOH(\tR\fdefaultValue\"\200\STX\n\ + \\EOTKind\DC2\DLE\n\ + \\fTYPE_UNKNOWN\DLE\NUL\DC2\SI\n\ + \\vTYPE_DOUBLE\DLE\SOH\DC2\SO\n\ + \\n\ + \TYPE_FLOAT\DLE\STX\DC2\SO\n\ + \\n\ + \TYPE_INT64\DLE\ETX\DC2\SI\n\ + \\vTYPE_UINT64\DLE\EOT\DC2\SO\n\ + \\n\ + \TYPE_INT32\DLE\ENQ\DC2\DLE\n\ + \\fTYPE_FIXED64\DLE\ACK\DC2\DLE\n\ + \\fTYPE_FIXED32\DLE\a\DC2\r\n\ + \\tTYPE_BOOL\DLE\b\DC2\SI\n\ + \\vTYPE_STRING\DLE\t\DC2\SO\n\ + \\n\ + \TYPE_GROUP\DLE\n\ + \\DC2\DLE\n\ + \\fTYPE_MESSAGE\DLE\v\DC2\SO\n\ + \\n\ + \TYPE_BYTES\DLE\f\DC2\SI\n\ + \\vTYPE_UINT32\DLE\r\DC2\r\n\ + \\tTYPE_ENUM\DLE\SO\DC2\DC1\n\ + \\rTYPE_SFIXED32\DLE\SI\DC2\DC1\n\ + \\rTYPE_SFIXED64\DLE\DLE\DC2\SI\n\ + \\vTYPE_SINT32\DLE\DC1\DC2\SI\n\ + \\vTYPE_SINT64\DLE\DC2\"t\n\ + \\vCardinality\DC2\ETB\n\ + \\DC3CARDINALITY_UNKNOWN\DLE\NUL\DC2\CAN\n\ + \\DC4CARDINALITY_OPTIONAL\DLE\SOH\DC2\CAN\n\ + \\DC4CARDINALITY_REQUIRED\DLE\STX\DC2\CAN\n\ + \\DC4CARDINALITY_REPEATED\DLE\ETX\"\255\SOH\n\ + \\EOTEnum\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\ + \\tenumvalue\CAN\STX \ETX(\v2\SUB.google.protobuf.EnumValueR\tenumvalue\DC21\n\ + \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ + \\SOsource_context\CAN\EOT \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ + \\ACKsyntax\CAN\ENQ \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\"j\n\ + \\tEnumValue\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\STX \SOH(\ENQR\ACKnumber\DC21\n\ + \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\"H\n\ + \\ACKOption\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2*\n\ + \\ENQvalue\CAN\STX \SOH(\v2\DC4.google.protobuf.AnyR\ENQvalue*.\n\ + \\ACKSyntax\DC2\DC1\n\ + \\rSYNTAX_PROTO2\DLE\NUL\DC2\DC1\n\ + \\rSYNTAX_PROTO3\DLE\SOHB{\n\ + \\DC3com.google.protobufB\tTypeProtoP\SOHZ-google.golang.org/protobuf/types/known/typepb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\195\&8\n\ + \\a\DC2\ENQ\RS\NUL\186\SOH\SOH\n\ + \\204\f\n\ + \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX \NUL\CAN\n\ + \\t\n\ + \\STX\ETX\NUL\DC2\ETX\"\NUL#\n\ + \\t\n\ + \\STX\ETX\SOH\DC2\ETX#\NUL.\n\ + \\b\n\ + \\SOH\b\DC2\ETX%\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX%\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX&\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX&\NUL\US\n\ + \\b\n\ + \\SOH\b\DC2\ETX'\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX'\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX(\NUL*\n\ + \\t\n\ + \\STX\b\b\DC2\ETX(\NUL*\n\ + \\b\n\ + \\SOH\b\DC2\ETX)\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX)\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX*\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX*\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX+\NULD\n\ + \\t\n\ + \\STX\b\v\DC2\ETX+\NULD\n\ + \-\n\ + \\STX\EOT\NUL\DC2\EOT.\NUL;\SOH\SUB! A protocol buffer message type.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX.\b\f\n\ + \0\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX0\STX\DC2\SUB# The fully qualified message name.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX0\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX0\t\r\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX0\DLE\DC1\n\ + \\"\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETX2\STX\FS\SUB\NAK The list of fields.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX2\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX2\v\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX2\DC1\ETB\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX2\SUB\ESC\n\ + \O\n\ + \\EOT\EOT\NUL\STX\STX\DC2\ETX4\STX\GS\SUBB The list of types appearing in `oneof` definitions in this type.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX4\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX4\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX4\DC2\CAN\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX4\ESC\FS\n\ + \+\n\ + \\EOT\EOT\NUL\STX\ETX\DC2\ETX6\STX\RS\SUB\RS The protocol buffer options.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\EOT\DC2\ETX6\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX6\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX6\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX6\FS\GS\n\ + \\"\n\ + \\EOT\EOT\NUL\STX\EOT\DC2\ETX8\STX#\SUB\NAK The source context.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX8\STX\SI\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX8\DLE\RS\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX8!\"\n\ + \!\n\ + \\EOT\EOT\NUL\STX\ENQ\DC2\ETX:\STX\DC4\SUB\DC4 The source syntax.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX:\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX:\t\SI\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX:\DC2\DC3\n\ + \0\n\ + \\STX\EOT\SOH\DC2\ENQ>\NUL\139\SOH\SOH\SUB# A single field of a message type.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX>\b\r\n\ + \\"\n\ + \\EOT\EOT\SOH\EOT\NUL\DC2\EOT@\STXg\ETX\SUB\DC4 Basic field types.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\EOT\NUL\SOH\DC2\ETX@\a\v\n\ + \$\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\NUL\DC2\ETXB\EOT\NAK\SUB\NAK Field type unknown.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\NUL\SOH\DC2\ETXB\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\NUL\STX\DC2\ETXB\DC3\DC4\n\ + \#\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\SOH\DC2\ETXD\EOT\DC4\SUB\DC4 Field type double.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\SOH\SOH\DC2\ETXD\EOT\SI\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\SOH\STX\DC2\ETXD\DC2\DC3\n\ + \\"\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\STX\DC2\ETXF\EOT\DC3\SUB\DC3 Field type float.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\STX\SOH\DC2\ETXF\EOT\SO\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\STX\STX\DC2\ETXF\DC1\DC2\n\ + \\"\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\ETX\DC2\ETXH\EOT\DC3\SUB\DC3 Field type int64.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ETX\SOH\DC2\ETXH\EOT\SO\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ETX\STX\DC2\ETXH\DC1\DC2\n\ + \#\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\EOT\DC2\ETXJ\EOT\DC4\SUB\DC4 Field type uint64.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\EOT\SOH\DC2\ETXJ\EOT\SI\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\EOT\STX\DC2\ETXJ\DC2\DC3\n\ + \\"\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\ENQ\DC2\ETXL\EOT\DC3\SUB\DC3 Field type int32.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ENQ\SOH\DC2\ETXL\EOT\SO\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ENQ\STX\DC2\ETXL\DC1\DC2\n\ + \$\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\ACK\DC2\ETXN\EOT\NAK\SUB\NAK Field type fixed64.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ACK\SOH\DC2\ETXN\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ACK\STX\DC2\ETXN\DC3\DC4\n\ + \$\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\a\DC2\ETXP\EOT\NAK\SUB\NAK Field type fixed32.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\a\SOH\DC2\ETXP\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\a\STX\DC2\ETXP\DC3\DC4\n\ + \!\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\b\DC2\ETXR\EOT\DC2\SUB\DC2 Field type bool.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\b\SOH\DC2\ETXR\EOT\r\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\b\STX\DC2\ETXR\DLE\DC1\n\ + \#\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\t\DC2\ETXT\EOT\DC4\SUB\DC4 Field type string.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\t\SOH\DC2\ETXT\EOT\SI\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\t\STX\DC2\ETXT\DC2\DC3\n\ + \F\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\n\ + \\DC2\ETXV\EOT\DC4\SUB7 Field type group. Proto2 syntax only, and deprecated.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\n\ + \\SOH\DC2\ETXV\EOT\SO\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\n\ + \\STX\DC2\ETXV\DC1\DC3\n\ + \$\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\v\DC2\ETXX\EOT\SYN\SUB\NAK Field type message.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\v\SOH\DC2\ETXX\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\v\STX\DC2\ETXX\DC3\NAK\n\ + \\"\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\f\DC2\ETXZ\EOT\DC4\SUB\DC3 Field type bytes.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\f\SOH\DC2\ETXZ\EOT\SO\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\f\STX\DC2\ETXZ\DC1\DC3\n\ + \#\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\r\DC2\ETX\\\EOT\NAK\SUB\DC4 Field type uint32.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\r\SOH\DC2\ETX\\\EOT\SI\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\r\STX\DC2\ETX\\\DC2\DC4\n\ + \!\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\SO\DC2\ETX^\EOT\DC3\SUB\DC2 Field type enum.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\SO\SOH\DC2\ETX^\EOT\r\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\SO\STX\DC2\ETX^\DLE\DC2\n\ + \%\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\SI\DC2\ETX`\EOT\ETB\SUB\SYN Field type sfixed32.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\SI\SOH\DC2\ETX`\EOT\DC1\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\SI\STX\DC2\ETX`\DC4\SYN\n\ + \%\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\DLE\DC2\ETXb\EOT\ETB\SUB\SYN Field type sfixed64.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\DLE\SOH\DC2\ETXb\EOT\DC1\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\DLE\STX\DC2\ETXb\DC4\SYN\n\ + \#\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\DC1\DC2\ETXd\EOT\NAK\SUB\DC4 Field type sint32.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC1\SOH\DC2\ETXd\EOT\SI\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC1\STX\DC2\ETXd\DC2\DC4\n\ + \#\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\DC2\DC2\ETXf\EOT\NAK\SUB\DC4 Field type sint64.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC2\SOH\DC2\ETXf\EOT\SI\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC2\STX\DC2\ETXf\DC2\DC4\n\ + \C\n\ + \\EOT\EOT\SOH\EOT\SOH\DC2\EOTj\STXs\ETX\SUB5 Whether a field is optional, required, or repeated.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\EOT\SOH\SOH\DC2\ETXj\a\DC2\n\ + \5\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\NUL\DC2\ETXl\EOT\FS\SUB& For fields with unknown cardinality.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\NUL\SOH\DC2\ETXl\EOT\ETB\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\NUL\STX\DC2\ETXl\SUB\ESC\n\ + \%\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\SOH\DC2\ETXn\EOT\GS\SUB\SYN For optional fields.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\SOH\SOH\DC2\ETXn\EOT\CAN\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\SOH\STX\DC2\ETXn\ESC\FS\n\ + \9\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\STX\DC2\ETXp\EOT\GS\SUB* For required fields. Proto2 syntax only.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\STX\SOH\DC2\ETXp\EOT\CAN\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\STX\STX\DC2\ETXp\ESC\FS\n\ + \%\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\ETX\DC2\ETXr\EOT\GS\SUB\SYN For repeated fields.\n\ + \\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\ETX\SOH\DC2\ETXr\EOT\CAN\n\ + \\SO\n\ + \\a\EOT\SOH\EOT\SOH\STX\ETX\STX\DC2\ETXr\ESC\FS\n\ + \\RS\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXv\STX\DLE\SUB\DC1 The field type.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETXv\STX\ACK\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXv\a\v\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXv\SO\SI\n\ + \%\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXx\STX\RS\SUB\CAN The field cardinality.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETXx\STX\r\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXx\SO\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXx\FS\GS\n\ + \ \n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXz\STX\DC3\SUB\DC3 The field number.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXz\STX\a\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXz\b\SO\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXz\DC1\DC2\n\ + \\RS\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETX|\STX\DC2\SUB\DC1 The field name.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETX|\STX\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX|\t\r\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX|\DLE\DC1\n\ + \\150\SOH\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETX\DEL\STX\SYN\SUB\136\SOH The field type URL, without the scheme, for message or enumeration\n\ + \ types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETX\DEL\STX\b\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETX\DEL\t\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETX\DEL\DC4\NAK\n\ + \\165\SOH\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\EOT\130\SOH\STX\CAN\SUB\150\SOH The index of the field type in `Type.oneofs`, for message or enumeration\n\ + \ types. The first type has index 1; zero means the type is not in the list.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\ENQ\ENQ\DC2\EOT\130\SOH\STX\a\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\EOT\130\SOH\b\DC3\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\EOT\130\SOH\SYN\ETB\n\ + \F\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\EOT\132\SOH\STX\DC2\SUB8 Whether to use alternative packed wire representation.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\ACK\ENQ\DC2\EOT\132\SOH\STX\ACK\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\EOT\132\SOH\a\r\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\EOT\132\SOH\DLE\DC1\n\ + \,\n\ + \\EOT\EOT\SOH\STX\a\DC2\EOT\134\SOH\STX\RS\SUB\RS The protocol buffer options.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\a\EOT\DC2\EOT\134\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\a\ACK\DC2\EOT\134\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\a\SOH\DC2\EOT\134\SOH\DC2\EM\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\a\ETX\DC2\EOT\134\SOH\FS\GS\n\ + \$\n\ + \\EOT\EOT\SOH\STX\b\DC2\EOT\136\SOH\STX\CAN\SUB\SYN The field JSON name.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\b\ENQ\DC2\EOT\136\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\b\SOH\DC2\EOT\136\SOH\t\DC2\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\b\ETX\DC2\EOT\136\SOH\NAK\ETB\n\ + \X\n\ + \\EOT\EOT\SOH\STX\t\DC2\EOT\138\SOH\STX\FS\SUBJ The string value of the default value of this field. Proto2 syntax only.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\t\ENQ\DC2\EOT\138\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\t\SOH\DC2\EOT\138\SOH\t\SYN\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\t\ETX\DC2\EOT\138\SOH\EM\ESC\n\ + \%\n\ + \\STX\EOT\STX\DC2\ACK\142\SOH\NUL\153\SOH\SOH\SUB\ETB Enum type definition.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\STX\SOH\DC2\EOT\142\SOH\b\f\n\ + \\US\n\ + \\EOT\EOT\STX\STX\NUL\DC2\EOT\144\SOH\STX\DC2\SUB\DC1 Enum type name.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\144\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\144\SOH\t\r\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\144\SOH\DLE\DC1\n\ + \'\n\ + \\EOT\EOT\STX\STX\SOH\DC2\EOT\146\SOH\STX#\SUB\EM Enum value definitions.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\EOT\146\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\ACK\DC2\EOT\146\SOH\v\DC4\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\146\SOH\NAK\RS\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\146\SOH!\"\n\ + \(\n\ + \\EOT\EOT\STX\STX\STX\DC2\EOT\148\SOH\STX\RS\SUB\SUB Protocol buffer options.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\148\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\148\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\148\SOH\DC2\EM\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\148\SOH\FS\GS\n\ + \#\n\ + \\EOT\EOT\STX\STX\ETX\DC2\EOT\150\SOH\STX#\SUB\NAK The source context.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ETX\ACK\DC2\EOT\150\SOH\STX\SI\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ETX\SOH\DC2\EOT\150\SOH\DLE\RS\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ETX\ETX\DC2\EOT\150\SOH!\"\n\ + \\"\n\ + \\EOT\EOT\STX\STX\EOT\DC2\EOT\152\SOH\STX\DC4\SUB\DC4 The source syntax.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\EOT\ACK\DC2\EOT\152\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\EOT\SOH\DC2\EOT\152\SOH\t\SI\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\EOT\ETX\DC2\EOT\152\SOH\DC2\DC3\n\ + \&\n\ + \\STX\EOT\ETX\DC2\ACK\156\SOH\NUL\163\SOH\SOH\SUB\CAN Enum value definition.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\ETX\SOH\DC2\EOT\156\SOH\b\DC1\n\ + \ \n\ + \\EOT\EOT\ETX\STX\NUL\DC2\EOT\158\SOH\STX\DC2\SUB\DC2 Enum value name.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\158\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\158\SOH\t\r\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\158\SOH\DLE\DC1\n\ + \\"\n\ + \\EOT\EOT\ETX\STX\SOH\DC2\EOT\160\SOH\STX\DC3\SUB\DC4 Enum value number.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\160\SOH\STX\a\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\160\SOH\b\SO\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\160\SOH\DC1\DC2\n\ + \(\n\ + \\EOT\EOT\ETX\STX\STX\DC2\EOT\162\SOH\STX\RS\SUB\SUB Protocol buffer options.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\EOT\DC2\EOT\162\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\ACK\DC2\EOT\162\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\162\SOH\DC2\EM\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\162\SOH\FS\GS\n\ + \g\n\ + \\STX\EOT\EOT\DC2\ACK\167\SOH\NUL\178\SOH\SOH\SUBY A protocol buffer option, which can be attached to a message, field,\n\ + \ enumeration, etc.\n\ + \\n\ + \\v\n\ + \\ETX\EOT\EOT\SOH\DC2\EOT\167\SOH\b\SO\n\ + \\252\SOH\n\ + \\EOT\EOT\EOT\STX\NUL\DC2\EOT\172\SOH\STX\DC2\SUB\237\SOH The option's name. For protobuf built-in options (options defined in\n\ + \ descriptor.proto), this is the short name. For example, `\"map_entry\"`.\n\ + \ For custom options, it should be the fully-qualified name. For example,\n\ + \ `\"google.api.http\"`.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\172\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\172\SOH\t\r\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\172\SOH\DLE\DC1\n\ + \\160\STX\n\ + \\EOT\EOT\EOT\STX\SOH\DC2\EOT\177\SOH\STX\DLE\SUB\145\STX The option's value packed in an Any message. If the value is a primitive,\n\ + \ the corresponding wrapper type defined in google/protobuf/wrappers.proto\n\ + \ should be used. If the value is an enum, it should be stored as an int32\n\ + \ value using the google.protobuf.Int32Value type.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\EOT\177\SOH\STX\ENQ\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\177\SOH\ACK\v\n\ + \\r\n\ + \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\177\SOH\SO\SI\n\ + \I\n\ + \\STX\ENQ\NUL\DC2\ACK\181\SOH\NUL\186\SOH\SOH\SUB; The syntax in which a protocol buffer element is defined.\n\ + \\n\ + \\v\n\ + \\ETX\ENQ\NUL\SOH\DC2\EOT\181\SOH\ENQ\v\n\ + \ \n\ + \\EOT\ENQ\NUL\STX\NUL\DC2\EOT\183\SOH\STX\DC4\SUB\DC2 Syntax `proto2`.\n\ + \\n\ + \\r\n\ + \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\EOT\183\SOH\STX\SI\n\ + \\r\n\ + \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\EOT\183\SOH\DC2\DC3\n\ + \ \n\ + \\EOT\ENQ\NUL\STX\SOH\DC2\EOT\185\SOH\STX\DC4\SUB\DC2 Syntax `proto3`.\n\ + \\n\ + \\r\n\ + \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\EOT\185\SOH\STX\SI\n\ + \\r\n\ + \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\EOT\185\SOH\DC2\DC3b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs new file mode 100644 index 00000000..ec821a2d --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs @@ -0,0 +1,154 @@ +{- This file was auto-generated from google/protobuf/type.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Type_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +import qualified Proto.Google.Protobuf.Any +import qualified Proto.Google.Protobuf.SourceContext +cardinality :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "cardinality" a) => + Lens.Family2.LensLike' f s a +cardinality = Data.ProtoLens.Field.field @"cardinality" +defaultValue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "defaultValue" a) => + Lens.Family2.LensLike' f s a +defaultValue = Data.ProtoLens.Field.field @"defaultValue" +enumvalue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "enumvalue" a) => + Lens.Family2.LensLike' f s a +enumvalue = Data.ProtoLens.Field.field @"enumvalue" +fields :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "fields" a) => + Lens.Family2.LensLike' f s a +fields = Data.ProtoLens.Field.field @"fields" +jsonName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "jsonName" a) => + Lens.Family2.LensLike' f s a +jsonName = Data.ProtoLens.Field.field @"jsonName" +kind :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "kind" a) => + Lens.Family2.LensLike' f s a +kind = Data.ProtoLens.Field.field @"kind" +maybe'sourceContext :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'sourceContext" a) => + Lens.Family2.LensLike' f s a +maybe'sourceContext + = Data.ProtoLens.Field.field @"maybe'sourceContext" +maybe'value :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'value" a) => + Lens.Family2.LensLike' f s a +maybe'value = Data.ProtoLens.Field.field @"maybe'value" +name :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) => + Lens.Family2.LensLike' f s a +name = Data.ProtoLens.Field.field @"name" +number :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "number" a) => + Lens.Family2.LensLike' f s a +number = Data.ProtoLens.Field.field @"number" +oneofIndex :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "oneofIndex" a) => + Lens.Family2.LensLike' f s a +oneofIndex = Data.ProtoLens.Field.field @"oneofIndex" +oneofs :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "oneofs" a) => + Lens.Family2.LensLike' f s a +oneofs = Data.ProtoLens.Field.field @"oneofs" +options :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "options" a) => + Lens.Family2.LensLike' f s a +options = Data.ProtoLens.Field.field @"options" +packed :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "packed" a) => + Lens.Family2.LensLike' f s a +packed = Data.ProtoLens.Field.field @"packed" +sourceContext :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "sourceContext" a) => + Lens.Family2.LensLike' f s a +sourceContext = Data.ProtoLens.Field.field @"sourceContext" +syntax :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "syntax" a) => + Lens.Family2.LensLike' f s a +syntax = Data.ProtoLens.Field.field @"syntax" +typeUrl :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "typeUrl" a) => + Lens.Family2.LensLike' f s a +typeUrl = Data.ProtoLens.Field.field @"typeUrl" +value :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => + Lens.Family2.LensLike' f s a +value = Data.ProtoLens.Field.field @"value" +vec'enumvalue :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'enumvalue" a) => + Lens.Family2.LensLike' f s a +vec'enumvalue = Data.ProtoLens.Field.field @"vec'enumvalue" +vec'fields :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'fields" a) => + Lens.Family2.LensLike' f s a +vec'fields = Data.ProtoLens.Field.field @"vec'fields" +vec'oneofs :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'oneofs" a) => + Lens.Family2.LensLike' f s a +vec'oneofs = Data.ProtoLens.Field.field @"vec'oneofs" +vec'options :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'options" a) => + Lens.Family2.LensLike' f s a +vec'options = Data.ProtoLens.Field.field @"vec'options" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs new file mode 100644 index 00000000..707d0380 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs @@ -0,0 +1,1236 @@ +{- This file was auto-generated from google/protobuf/wrappers.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Wrappers ( + BoolValue(), BytesValue(), DoubleValue(), FloatValue(), + Int32Value(), Int64Value(), StringValue(), UInt32Value(), + UInt64Value() + ) where +import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' BoolValue Prelude.Bool@ -} +data BoolValue + = BoolValue'_constructor {_BoolValue'value :: !Prelude.Bool, + _BoolValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show BoolValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField BoolValue "value" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _BoolValue'value (\ x__ y__ -> x__ {_BoolValue'value = y__})) + Prelude.id +instance Data.ProtoLens.Message BoolValue where + messageName _ = Data.Text.pack "google.protobuf.BoolValue" + packedMessageDescriptor _ + = "\n\ + \\tBoolValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\bR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor BoolValue + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _BoolValue'_unknownFields + (\ x__ y__ -> x__ {_BoolValue'_unknownFields = y__}) + defMessage + = BoolValue'_constructor + {_BoolValue'value = Data.ProtoLens.fieldDefault, + _BoolValue'_unknownFields = []} + parseMessage + = let + loop :: BoolValue -> Data.ProtoLens.Encoding.Bytes.Parser BoolValue + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "BoolValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData BoolValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_BoolValue'_unknownFields x__) + (Control.DeepSeq.deepseq (_BoolValue'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' BytesValue Data.ByteString.ByteString@ -} +data BytesValue + = BytesValue'_constructor {_BytesValue'value :: !Data.ByteString.ByteString, + _BytesValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show BytesValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField BytesValue "value" Data.ByteString.ByteString where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _BytesValue'value (\ x__ y__ -> x__ {_BytesValue'value = y__})) + Prelude.id +instance Data.ProtoLens.Message BytesValue where + messageName _ = Data.Text.pack "google.protobuf.BytesValue" + packedMessageDescriptor _ + = "\n\ + \\n\ + \BytesValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\fR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField :: + Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor BytesValue + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _BytesValue'_unknownFields + (\ x__ y__ -> x__ {_BytesValue'_unknownFields = y__}) + defMessage + = BytesValue'_constructor + {_BytesValue'value = Data.ProtoLens.fieldDefault, + _BytesValue'_unknownFields = []} + parseMessage + = let + loop :: + BytesValue -> Data.ProtoLens.Encoding.Bytes.Parser BytesValue + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getBytes + (Prelude.fromIntegral len)) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "BytesValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData BytesValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_BytesValue'_unknownFields x__) + (Control.DeepSeq.deepseq (_BytesValue'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' DoubleValue Prelude.Double@ -} +data DoubleValue + = DoubleValue'_constructor {_DoubleValue'value :: !Prelude.Double, + _DoubleValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show DoubleValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField DoubleValue "value" Prelude.Double where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _DoubleValue'value (\ x__ y__ -> x__ {_DoubleValue'value = y__})) + Prelude.id +instance Data.ProtoLens.Message DoubleValue where + messageName _ = Data.Text.pack "google.protobuf.DoubleValue" + packedMessageDescriptor _ + = "\n\ + \\vDoubleValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\SOHR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Double) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor DoubleValue + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _DoubleValue'_unknownFields + (\ x__ y__ -> x__ {_DoubleValue'_unknownFields = y__}) + defMessage + = DoubleValue'_constructor + {_DoubleValue'value = Data.ProtoLens.fieldDefault, + _DoubleValue'_unknownFields = []} + parseMessage + = let + loop :: + DoubleValue -> Data.ProtoLens.Encoding.Bytes.Parser DoubleValue + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Data.ProtoLens.Encoding.Bytes.wordToDouble + Data.ProtoLens.Encoding.Bytes.getFixed64) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "DoubleValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 9) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putFixed64 + Data.ProtoLens.Encoding.Bytes.doubleToWord _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData DoubleValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_DoubleValue'_unknownFields x__) + (Control.DeepSeq.deepseq (_DoubleValue'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' FloatValue Prelude.Float@ -} +data FloatValue + = FloatValue'_constructor {_FloatValue'value :: !Prelude.Float, + _FloatValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FloatValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FloatValue "value" Prelude.Float where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FloatValue'value (\ x__ y__ -> x__ {_FloatValue'value = y__})) + Prelude.id +instance Data.ProtoLens.Message FloatValue where + messageName _ = Data.Text.pack "google.protobuf.FloatValue" + packedMessageDescriptor _ + = "\n\ + \\n\ + \FloatValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\STXR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Float) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor FloatValue + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FloatValue'_unknownFields + (\ x__ y__ -> x__ {_FloatValue'_unknownFields = y__}) + defMessage + = FloatValue'_constructor + {_FloatValue'value = Data.ProtoLens.fieldDefault, + _FloatValue'_unknownFields = []} + parseMessage + = let + loop :: + FloatValue -> Data.ProtoLens.Encoding.Bytes.Parser FloatValue + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 13 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Data.ProtoLens.Encoding.Bytes.wordToFloat + Data.ProtoLens.Encoding.Bytes.getFixed32) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FloatValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 13) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putFixed32 + Data.ProtoLens.Encoding.Bytes.floatToWord _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData FloatValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FloatValue'_unknownFields x__) + (Control.DeepSeq.deepseq (_FloatValue'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' Int32Value Data.Int.Int32@ -} +data Int32Value + = Int32Value'_constructor {_Int32Value'value :: !Data.Int.Int32, + _Int32Value'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Int32Value where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Int32Value "value" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Int32Value'value (\ x__ y__ -> x__ {_Int32Value'value = y__})) + Prelude.id +instance Data.ProtoLens.Message Int32Value where + messageName _ = Data.Text.pack "google.protobuf.Int32Value" + packedMessageDescriptor _ + = "\n\ + \\n\ + \Int32Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\ENQR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor Int32Value + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Int32Value'_unknownFields + (\ x__ y__ -> x__ {_Int32Value'_unknownFields = y__}) + defMessage + = Int32Value'_constructor + {_Int32Value'value = Data.ProtoLens.fieldDefault, + _Int32Value'_unknownFields = []} + parseMessage + = let + loop :: + Int32Value -> Data.ProtoLens.Encoding.Bytes.Parser Int32Value + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Int32Value" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData Int32Value where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Int32Value'_unknownFields x__) + (Control.DeepSeq.deepseq (_Int32Value'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' Int64Value Data.Int.Int64@ -} +data Int64Value + = Int64Value'_constructor {_Int64Value'value :: !Data.Int.Int64, + _Int64Value'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show Int64Value where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField Int64Value "value" Data.Int.Int64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Int64Value'value (\ x__ y__ -> x__ {_Int64Value'value = y__})) + Prelude.id +instance Data.ProtoLens.Message Int64Value where + messageName _ = Data.Text.pack "google.protobuf.Int64Value" + packedMessageDescriptor _ + = "\n\ + \\n\ + \Int64Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\ETXR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor Int64Value + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _Int64Value'_unknownFields + (\ x__ y__ -> x__ {_Int64Value'_unknownFields = y__}) + defMessage + = Int64Value'_constructor + {_Int64Value'value = Data.ProtoLens.fieldDefault, + _Int64Value'_unknownFields = []} + parseMessage + = let + loop :: + Int64Value -> Data.ProtoLens.Encoding.Bytes.Parser Int64Value + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Int64Value" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData Int64Value where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_Int64Value'_unknownFields x__) + (Control.DeepSeq.deepseq (_Int64Value'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' StringValue Data.Text.Text@ -} +data StringValue + = StringValue'_constructor {_StringValue'value :: !Data.Text.Text, + _StringValue'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show StringValue where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField StringValue "value" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _StringValue'value (\ x__ y__ -> x__ {_StringValue'value = y__})) + Prelude.id +instance Data.ProtoLens.Message StringValue where + messageName _ = Data.Text.pack "google.protobuf.StringValue" + packedMessageDescriptor _ + = "\n\ + \\vStringValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\tR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor StringValue + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _StringValue'_unknownFields + (\ x__ y__ -> x__ {_StringValue'_unknownFields = y__}) + defMessage + = StringValue'_constructor + {_StringValue'value = Data.ProtoLens.fieldDefault, + _StringValue'_unknownFields = []} + parseMessage + = let + loop :: + StringValue -> Data.ProtoLens.Encoding.Bytes.Parser StringValue + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "StringValue" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData StringValue where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_StringValue'_unknownFields x__) + (Control.DeepSeq.deepseq (_StringValue'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' UInt32Value Data.Word.Word32@ -} +data UInt32Value + = UInt32Value'_constructor {_UInt32Value'value :: !Data.Word.Word32, + _UInt32Value'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show UInt32Value where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField UInt32Value "value" Data.Word.Word32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UInt32Value'value (\ x__ y__ -> x__ {_UInt32Value'value = y__})) + Prelude.id +instance Data.ProtoLens.Message UInt32Value where + messageName _ = Data.Text.pack "google.protobuf.UInt32Value" + packedMessageDescriptor _ + = "\n\ + \\vUInt32Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\rR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor UInt32Value + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _UInt32Value'_unknownFields + (\ x__ y__ -> x__ {_UInt32Value'_unknownFields = y__}) + defMessage + = UInt32Value'_constructor + {_UInt32Value'value = Data.ProtoLens.fieldDefault, + _UInt32Value'_unknownFields = []} + parseMessage + = let + loop :: + UInt32Value -> Data.ProtoLens.Encoding.Bytes.Parser UInt32Value + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "UInt32Value" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData UInt32Value where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_UInt32Value'_unknownFields x__) + (Control.DeepSeq.deepseq (_UInt32Value'value x__) ()) +{- | Fields : + + * 'Proto.Google.Protobuf.Wrappers_Fields.value' @:: Lens' UInt64Value Data.Word.Word64@ -} +data UInt64Value + = UInt64Value'_constructor {_UInt64Value'value :: !Data.Word.Word64, + _UInt64Value'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show UInt64Value where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField UInt64Value "value" Data.Word.Word64 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _UInt64Value'value (\ x__ y__ -> x__ {_UInt64Value'value = y__})) + Prelude.id +instance Data.ProtoLens.Message UInt64Value where + messageName _ = Data.Text.pack "google.protobuf.UInt64Value" + packedMessageDescriptor _ + = "\n\ + \\vUInt64Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\EOTR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) :: + Data.ProtoLens.FieldDescriptor UInt64Value + in + Data.Map.fromList [(Data.ProtoLens.Tag 1, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _UInt64Value'_unknownFields + (\ x__ y__ -> x__ {_UInt64Value'_unknownFields = y__}) + defMessage + = UInt64Value'_constructor + {_UInt64Value'value = Data.ProtoLens.fieldDefault, + _UInt64Value'_unknownFields = []} + parseMessage + = let + loop :: + UInt64Value -> Data.ProtoLens.Encoding.Bytes.Parser UInt64Value + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + Data.ProtoLens.Encoding.Bytes.getVarInt "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "UInt64Value" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + (Data.ProtoLens.Encoding.Bytes.putVarInt _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)) +instance Control.DeepSeq.NFData UInt64Value where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_UInt64Value'_unknownFields x__) + (Control.DeepSeq.deepseq (_UInt64Value'value x__) ()) +packedFileDescriptor :: Data.ByteString.ByteString +packedFileDescriptor + = "\n\ + \\RSgoogle/protobuf/wrappers.proto\DC2\SIgoogle.protobuf\"#\n\ + \\vDoubleValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\SOHR\ENQvalue\"\"\n\ + \\n\ + \FloatValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\STXR\ENQvalue\"\"\n\ + \\n\ + \Int64Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\ETXR\ENQvalue\"#\n\ + \\vUInt64Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\EOTR\ENQvalue\"\"\n\ + \\n\ + \Int32Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\ENQR\ENQvalue\"#\n\ + \\vUInt32Value\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\rR\ENQvalue\"!\n\ + \\tBoolValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\bR\ENQvalue\"#\n\ + \\vStringValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\tR\ENQvalue\"\"\n\ + \\n\ + \BytesValue\DC2\DC4\n\ + \\ENQvalue\CAN\SOH \SOH(\fR\ENQvalueB\131\SOH\n\ + \\DC3com.google.protobufB\rWrappersProtoP\SOHZ1google.golang.org/protobuf/types/known/wrapperspb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\198\US\n\ + \\ACK\DC2\EOT(\NULz\SOH\n\ + \\219\DLE\n\ + \\SOH\f\DC2\ETX(\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \ Copyright 2008 Google Inc. All rights reserved.\n\ + \ https://developers.google.com/protocol-buffers/\n\ + \\n\ + \ Redistribution and use in source and binary forms, with or without\n\ + \ modification, are permitted provided that the following conditions are\n\ + \ met:\n\ + \\n\ + \ * Redistributions of source code must retain the above copyright\n\ + \ notice, this list of conditions and the following disclaimer.\n\ + \ * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n\ + \ in the documentation and/or other materials provided with the\n\ + \ distribution.\n\ + \ * Neither the name of Google Inc. nor the names of its\n\ + \ contributors may be used to endorse or promote products derived from\n\ + \ this software without specific prior written permission.\n\ + \\n\ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ + \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \2\140\EOT Wrappers for primitive (non-message) types. These types are useful\n\ + \ for embedding primitives in the `google.protobuf.Any` type and for places\n\ + \ where we need to distinguish between the absence of a primitive\n\ + \ typed field and its default value.\n\ + \\n\ + \ These wrappers have no meaningful use within repeated fields as they lack\n\ + \ the ability to detect presence on individual elements.\n\ + \ These wrappers have no meaningful use within a map or a oneof since\n\ + \ individual entries of a map or fields of a oneof can already detect presence.\n\ + \\n\ + \\b\n\ + \\SOH\STX\DC2\ETX*\NUL\CAN\n\ + \\b\n\ + \\SOH\b\DC2\ETX,\NUL;\n\ + \\t\n\ + \\STX\b%\DC2\ETX,\NUL;\n\ + \\b\n\ + \\SOH\b\DC2\ETX-\NUL\US\n\ + \\t\n\ + \\STX\b\US\DC2\ETX-\NUL\US\n\ + \\b\n\ + \\SOH\b\DC2\ETX.\NULH\n\ + \\t\n\ + \\STX\b\v\DC2\ETX.\NULH\n\ + \\b\n\ + \\SOH\b\DC2\ETX/\NUL,\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX/\NUL,\n\ + \\b\n\ + \\SOH\b\DC2\ETX0\NUL.\n\ + \\t\n\ + \\STX\b\b\DC2\ETX0\NUL.\n\ + \\b\n\ + \\SOH\b\DC2\ETX1\NUL\"\n\ + \\t\n\ + \\STX\b\n\ + \\DC2\ETX1\NUL\"\n\ + \\b\n\ + \\SOH\b\DC2\ETX2\NUL!\n\ + \\t\n\ + \\STX\b$\DC2\ETX2\NUL!\n\ + \g\n\ + \\STX\EOT\NUL\DC2\EOT7\NUL:\SOH\SUB[ Wrapper message for `double`.\n\ + \\n\ + \ The JSON representation for `DoubleValue` is JSON number.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX7\b\DC3\n\ + \ \n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX9\STX\DC3\SUB\DC3 The double value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX9\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX9\t\SO\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX9\DC1\DC2\n\ + \e\n\ + \\STX\EOT\SOH\DC2\EOT?\NULB\SOH\SUBY Wrapper message for `float`.\n\ + \\n\ + \ The JSON representation for `FloatValue` is JSON number.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX?\b\DC2\n\ + \\US\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXA\STX\DC2\SUB\DC2 The float value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXA\STX\a\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXA\b\r\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXA\DLE\DC1\n\ + \e\n\ + \\STX\EOT\STX\DC2\EOTG\NULJ\SOH\SUBY Wrapper message for `int64`.\n\ + \\n\ + \ The JSON representation for `Int64Value` is JSON string.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\STX\SOH\DC2\ETXG\b\DC2\n\ + \\US\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETXI\STX\DC2\SUB\DC2 The int64 value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXI\STX\a\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXI\b\r\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXI\DLE\DC1\n\ + \g\n\ + \\STX\EOT\ETX\DC2\EOTO\NULR\SOH\SUB[ Wrapper message for `uint64`.\n\ + \\n\ + \ The JSON representation for `UInt64Value` is JSON string.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\ETX\SOH\DC2\ETXO\b\DC3\n\ + \ \n\ + \\EOT\EOT\ETX\STX\NUL\DC2\ETXQ\STX\DC3\SUB\DC3 The uint64 value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXQ\STX\b\n\ + \\f\n\ + \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXQ\t\SO\n\ + \\f\n\ + \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXQ\DC1\DC2\n\ + \e\n\ + \\STX\EOT\EOT\DC2\EOTW\NULZ\SOH\SUBY Wrapper message for `int32`.\n\ + \\n\ + \ The JSON representation for `Int32Value` is JSON number.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\EOT\SOH\DC2\ETXW\b\DC2\n\ + \\US\n\ + \\EOT\EOT\EOT\STX\NUL\DC2\ETXY\STX\DC2\SUB\DC2 The int32 value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXY\STX\a\n\ + \\f\n\ + \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXY\b\r\n\ + \\f\n\ + \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXY\DLE\DC1\n\ + \g\n\ + \\STX\EOT\ENQ\DC2\EOT_\NULb\SOH\SUB[ Wrapper message for `uint32`.\n\ + \\n\ + \ The JSON representation for `UInt32Value` is JSON number.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\ENQ\SOH\DC2\ETX_\b\DC3\n\ + \ \n\ + \\EOT\EOT\ENQ\STX\NUL\DC2\ETXa\STX\DC3\SUB\DC3 The uint32 value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXa\STX\b\n\ + \\f\n\ + \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXa\t\SO\n\ + \\f\n\ + \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXa\DC1\DC2\n\ + \o\n\ + \\STX\EOT\ACK\DC2\EOTg\NULj\SOH\SUBc Wrapper message for `bool`.\n\ + \\n\ + \ The JSON representation for `BoolValue` is JSON `true` and `false`.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\ACK\SOH\DC2\ETXg\b\DC1\n\ + \\RS\n\ + \\EOT\EOT\ACK\STX\NUL\DC2\ETXi\STX\DC1\SUB\DC1 The bool value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXi\STX\ACK\n\ + \\f\n\ + \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXi\a\f\n\ + \\f\n\ + \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXi\SI\DLE\n\ + \g\n\ + \\STX\EOT\a\DC2\EOTo\NULr\SOH\SUB[ Wrapper message for `string`.\n\ + \\n\ + \ The JSON representation for `StringValue` is JSON string.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\a\SOH\DC2\ETXo\b\DC3\n\ + \ \n\ + \\EOT\EOT\a\STX\NUL\DC2\ETXq\STX\DC3\SUB\DC3 The string value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETXq\STX\b\n\ + \\f\n\ + \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETXq\t\SO\n\ + \\f\n\ + \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETXq\DC1\DC2\n\ + \e\n\ + \\STX\EOT\b\DC2\EOTw\NULz\SOH\SUBY Wrapper message for `bytes`.\n\ + \\n\ + \ The JSON representation for `BytesValue` is JSON string.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\b\SOH\DC2\ETXw\b\DC2\n\ + \\US\n\ + \\EOT\EOT\b\STX\NUL\DC2\ETXy\STX\DC2\SUB\DC2 The bytes value.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\b\STX\NUL\ENQ\DC2\ETXy\STX\a\n\ + \\f\n\ + \\ENQ\EOT\b\STX\NUL\SOH\DC2\ETXy\b\r\n\ + \\f\n\ + \\ENQ\EOT\b\STX\NUL\ETX\DC2\ETXy\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers_Fields.hs new file mode 100644 index 00000000..aca44109 --- /dev/null +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers_Fields.hs @@ -0,0 +1,34 @@ +{- This file was auto-generated from google/protobuf/wrappers.proto by the proto-lens-protoc program. -} +{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} +{-# OPTIONS_GHC -Wno-unused-imports#-} +{-# OPTIONS_GHC -Wno-duplicate-exports#-} +{-# OPTIONS_GHC -Wno-dodgy-exports#-} +module Proto.Google.Protobuf.Wrappers_Fields where +import qualified Data.ProtoLens.Runtime.Prelude as Prelude +import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int +import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid +import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word +import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum +import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types +import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2 +import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked +import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text +import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map +import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString +import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8 +import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding +import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector +import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic +import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed +import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read +value :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => + Lens.Family2.LensLike' f s a +value = Data.ProtoLens.Field.field @"value" \ No newline at end of file From dca8bd670a443c130285e8071aa1ff4b51520523 Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Mon, 25 Sep 2023 17:46:13 +0200 Subject: [PATCH 3/9] cool --- .gitmodules | 4 +- google/protobuf | 1 - proto-lens-protobuf-types/Setup.hs | 3 - .../generate-haskell-modules | 26 +- proto-lens-protobuf-types/package.yaml | 16 +- .../proto-lens-protobuf-types.cabal | 16 +- proto-lens-protobuf-types/proto-src | 2 +- .../src/Proto/Google/Protobuf/Any.hs | 64 +- .../src/Proto/Google/Protobuf/Api.hs | 151 +- .../Proto/Google/Protobuf/Compiler/Plugin.hs | 445 +- .../Google/Protobuf/Compiler/Plugin_Fields.hs | 16 +- .../src/Proto/Google/Protobuf/Descriptor.hs | 7225 ++++++++++++++--- .../Google/Protobuf/Descriptor_Fields.hs | 314 + .../src/Proto/Google/Protobuf/Duration.hs | 57 +- .../src/Proto/Google/Protobuf/Empty.hs | 37 +- .../src/Proto/Google/Protobuf/FieldMask.hs | 22 +- .../Proto/Google/Protobuf/SourceContext.hs | 22 +- .../src/Proto/Google/Protobuf/Struct.hs | 42 +- .../src/Proto/Google/Protobuf/Timestamp.hs | 61 +- .../src/Proto/Google/Protobuf/Type.hs | 557 +- .../src/Proto/Google/Protobuf/Type_Fields.hs | 5 + .../src/Proto/Google/Protobuf/Wrappers.hs | 39 +- proto-lens/package.yaml | 4 +- proto-lens/proto-lens-imports/google | 1 - proto-lens/proto-lens.cabal | 4 +- 25 files changed, 7190 insertions(+), 1944 deletions(-) delete mode 160000 google/protobuf delete mode 100644 proto-lens-protobuf-types/Setup.hs mode change 120000 => 160000 proto-lens-protobuf-types/proto-src delete mode 120000 proto-lens/proto-lens-imports/google diff --git a/.gitmodules b/.gitmodules index f8c7428e..f4d63425 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "google/protobuf"] - path = google/protobuf +[submodule "proto-lens-protobuf-types/proto-src"] + path = proto-lens-protobuf-types/proto-src url = https://github.com/google/protobuf diff --git a/google/protobuf b/google/protobuf deleted file mode 160000 index 2514f0bd..00000000 --- a/google/protobuf +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2514f0bd7da7e2af1bed4c5d1b84f031c4d12c10 diff --git a/proto-lens-protobuf-types/Setup.hs b/proto-lens-protobuf-types/Setup.hs deleted file mode 100644 index b4f8fbaf..00000000 --- a/proto-lens-protobuf-types/Setup.hs +++ /dev/null @@ -1,3 +0,0 @@ -import Data.ProtoLens.Setup - -main = defaultMainGeneratingProtos "proto-src" diff --git a/proto-lens-protobuf-types/generate-haskell-modules b/proto-lens-protobuf-types/generate-haskell-modules index fa3fc6f5..7a33a074 100755 --- a/proto-lens-protobuf-types/generate-haskell-modules +++ b/proto-lens-protobuf-types/generate-haskell-modules @@ -6,16 +6,16 @@ set -x stack exec -- protoc \ --plugin=protoc-gen-haskell=`which proto-lens-protoc` \ --haskell_out=$PWD/src \ - --proto_path=$PWD/proto-src \ - $PWD/proto-src/google/protobuf/any.proto \ - $PWD/proto-src/google/protobuf/api.proto \ - $PWD/proto-src/google/protobuf/descriptor.proto \ - $PWD/proto-src/google/protobuf/duration.proto \ - $PWD/proto-src/google/protobuf/empty.proto \ - $PWD/proto-src/google/protobuf/field_mask.proto \ - $PWD/proto-src/google/protobuf/source_context.proto \ - $PWD/proto-src/google/protobuf/struct.proto \ - $PWD/proto-src/google/protobuf/timestamp.proto \ - $PWD/proto-src/google/protobuf/type.proto \ - $PWD/proto-src/google/protobuf/wrappers.proto \ - $PWD/proto-src/google/protobuf/compiler/plugin.proto + --proto_path=$PWD/proto-src/src \ + $PWD/proto-src/src/google/protobuf/any.proto \ + $PWD/proto-src/src/google/protobuf/api.proto \ + $PWD/proto-src/src/google/protobuf/descriptor.proto \ + $PWD/proto-src/src/google/protobuf/duration.proto \ + $PWD/proto-src/src/google/protobuf/empty.proto \ + $PWD/proto-src/src/google/protobuf/field_mask.proto \ + $PWD/proto-src/src/google/protobuf/source_context.proto \ + $PWD/proto-src/src/google/protobuf/struct.proto \ + $PWD/proto-src/src/google/protobuf/timestamp.proto \ + $PWD/proto-src/src/google/protobuf/type.proto \ + $PWD/proto-src/src/google/protobuf/wrappers.proto \ + $PWD/proto-src/src/google/protobuf/compiler/plugin.proto diff --git a/proto-lens-protobuf-types/package.yaml b/proto-lens-protobuf-types/package.yaml index b21546a8..4e2bbc83 100644 --- a/proto-lens-protobuf-types/package.yaml +++ b/proto-lens-protobuf-types/package.yaml @@ -12,14 +12,14 @@ license: BSD3 github: google/proto-lens/proto-lens-protobuf-types extra-source-files: - Changelog.md - - proto-src/google/protobuf/any.proto - - proto-src/google/protobuf/compiler/plugin.proto - - proto-src/google/protobuf/descriptor.proto - - proto-src/google/protobuf/duration.proto - - proto-src/google/protobuf/empty.proto - - proto-src/google/protobuf/wrappers.proto - - proto-src/google/protobuf/struct.proto - - proto-src/google/protobuf/timestamp.proto + - proto-src/src/google/protobuf/any.proto + - proto-src/src/google/protobuf/compiler/plugin.proto + - proto-src/src/google/protobuf/descriptor.proto + - proto-src/src/google/protobuf/duration.proto + - proto-src/src/google/protobuf/empty.proto + - proto-src/src/google/protobuf/wrappers.proto + - proto-src/src/google/protobuf/struct.proto + - proto-src/src/google/protobuf/timestamp.proto dependencies: - base >= 4.10 && < 4.19 diff --git a/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal b/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal index 1dea7c08..79042725 100644 --- a/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal +++ b/proto-lens-protobuf-types/proto-lens-protobuf-types.cabal @@ -19,14 +19,14 @@ license-file: LICENSE build-type: Simple extra-source-files: Changelog.md - proto-src/google/protobuf/any.proto - proto-src/google/protobuf/compiler/plugin.proto - proto-src/google/protobuf/descriptor.proto - proto-src/google/protobuf/duration.proto - proto-src/google/protobuf/empty.proto - proto-src/google/protobuf/wrappers.proto - proto-src/google/protobuf/struct.proto - proto-src/google/protobuf/timestamp.proto + proto-src/src/google/protobuf/any.proto + proto-src/src/google/protobuf/compiler/plugin.proto + proto-src/src/google/protobuf/descriptor.proto + proto-src/src/google/protobuf/duration.proto + proto-src/src/google/protobuf/empty.proto + proto-src/src/google/protobuf/wrappers.proto + proto-src/src/google/protobuf/struct.proto + proto-src/src/google/protobuf/timestamp.proto source-repository head type: git diff --git a/proto-lens-protobuf-types/proto-src b/proto-lens-protobuf-types/proto-src deleted file mode 120000 index b5ea7279..00000000 --- a/proto-lens-protobuf-types/proto-src +++ /dev/null @@ -1 +0,0 @@ -../google/protobuf/src/ \ No newline at end of file diff --git a/proto-lens-protobuf-types/proto-src b/proto-lens-protobuf-types/proto-src new file mode 160000 index 00000000..d58ed887 --- /dev/null +++ b/proto-lens-protobuf-types/proto-src @@ -0,0 +1 @@ +Subproject commit d58ed887ffd94e641894d5b122ff947a4edf0879 diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs index 98299716..9be5c875 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Any.hs @@ -188,8 +188,8 @@ packedFileDescriptor \\ETXAny\DC2\EM\n\ \\btype_url\CAN\SOH \SOH(\tR\atypeUrl\DC2\DC4\n\ \\ENQvalue\CAN\STX \SOH(\fR\ENQvalueBv\n\ - \\DC3com.google.protobufB\bAnyProtoP\SOHZ,google.golang.org/protobuf/types/known/anypb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\249*\n\ - \\a\DC2\ENQ\RS\NUL\157\SOH\SOH\n\ + \\DC3com.google.protobufB\bAnyProtoP\SOHZ,google.golang.org/protobuf/types/known/anypb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\221,\n\ + \\a\DC2\ENQ\RS\NUL\161\SOH\SOH\n\ \\204\f\n\ \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ @@ -224,32 +224,32 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NULC\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\v\DC2\ETX\"\NULC\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NULC\n\ + \\SOH\b\DC2\ETX#\NUL,\n\ \\t\n\ - \\STX\b\v\DC2\ETX#\NULC\n\ + \\STX\b\SOH\DC2\ETX#\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NUL,\n\ + \\SOH\b\DC2\ETX$\NUL)\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX$\NUL,\n\ + \\STX\b\b\DC2\ETX$\NUL)\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL)\n\ + \\SOH\b\DC2\ETX%\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX%\NUL)\n\ + \\STX\b\n\ + \\DC2\ETX%\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL\"\n\ + \\SOH\b\DC2\ETX&\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX&\NUL\"\n\ + \\STX\b$\DC2\ETX&\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL!\n\ + \\SOH\b\DC2\ETX'\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX'\NUL!\n\ - \\253\DLE\n\ - \\STX\EOT\NUL\DC2\ENQ|\NUL\157\SOH\SOH\SUB\239\DLE `Any` contains an arbitrary serialized protocol buffer message along with a\n\ + \\STX\b%\DC2\ETX'\NUL;\n\ + \\252\DC1\n\ + \\STX\EOT\NUL\DC2\ENQ\DEL\NUL\161\SOH\SOH\SUB\238\DC1 `Any` contains an arbitrary serialized protocol buffer message along with a\n\ \ URL that describes the type of the serialized message.\n\ \\n\ \ Protobuf library provides support to pack/unpack Any values in the form\n\ @@ -273,6 +273,10 @@ packedFileDescriptor \ if (any.is(Foo.class)) {\n\ \ foo = any.unpack(Foo.class);\n\ \ }\n\ + \ // or ...\n\ + \ if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n\ + \ foo = any.unpack(Foo.getDefaultInstance());\n\ + \ }\n\ \\n\ \ Example 3: Pack and unpack a message in Python.\n\ \\n\ @@ -303,7 +307,6 @@ packedFileDescriptor \ in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n\ \ name \"y.z\".\n\ \\n\ - \\n\ \ JSON\n\ \ ====\n\ \ The JSON representation of an `Any` value uses the regular\n\ @@ -335,11 +338,9 @@ packedFileDescriptor \\n\ \\n\ \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETX|\b\v\n\ - \\215\n\ - \\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\EOT\153\SOH\STX\SYN\SUB\200\n\ - \ A URL/resource name that uniquely identifies the type of the serialized\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX\DEL\b\v\n\ + \\188\v\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\EOT\157\SOH\STX\SYN\SUB\173\v A URL/resource name that uniquely identifies the type of the serialized\n\ \ protocol buffer message. This string must contain at least\n\ \ one \"/\" character. The last segment of the URL's path must represent\n\ \ the fully qualified name of the type (as in\n\ @@ -362,24 +363,25 @@ packedFileDescriptor \\n\ \ Note: this functionality is not currently available in the official\n\ \ protobuf release, and it is not used for type URLs beginning with\n\ - \ type.googleapis.com.\n\ + \ type.googleapis.com. As of May 2023, there are no widely used type server\n\ + \ implementations and no plans to implement one.\n\ \\n\ \ Schemes other than `http`, `https` (or the empty scheme) might be\n\ \ used with implementation specific semantics.\n\ \\n\ \\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\153\SOH\STX\b\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\157\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\153\SOH\t\DC1\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\157\SOH\t\DC1\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\153\SOH\DC4\NAK\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\157\SOH\DC4\NAK\n\ \W\n\ - \\EOT\EOT\NUL\STX\SOH\DC2\EOT\156\SOH\STX\DC2\SUBI Must be a valid serialized protocol buffer of the above specified type.\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\EOT\160\SOH\STX\DC2\SUBI Must be a valid serialized protocol buffer of the above specified type.\n\ \\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\EOT\156\SOH\STX\a\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\EOT\160\SOH\STX\a\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\EOT\156\SOH\b\r\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\EOT\160\SOH\b\r\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\EOT\156\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\EOT\160\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs index 1d2236ef..6e6a9167 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Api.hs @@ -1070,8 +1070,8 @@ packedFileDescriptor \\ENQMixin\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\DC2\n\ \\EOTroot\CAN\STX \SOH(\tR\EOTrootBv\n\ - \\DC3com.google.protobufB\bApiProtoP\SOHZ,google.golang.org/protobuf/types/known/apipb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\129<\n\ - \\a\DC2\ENQ\RS\NUL\207\SOH\SOH\n\ + \\DC3com.google.protobufB\bApiProtoP\SOHZ,google.golang.org/protobuf/types/known/apipb\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\255;\n\ + \\a\DC2\ENQ\RS\NUL\206\SOH\SOH\n\ \\204\f\n\ \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ @@ -1110,32 +1110,32 @@ packedFileDescriptor \\t\n\ \\STX\ETX\SOH\DC2\ETX#\NUL$\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL;\n\ + \\SOH\b\DC2\ETX%\NUL,\n\ \\t\n\ - \\STX\b%\DC2\ETX%\NUL;\n\ + \\STX\b\SOH\DC2\ETX%\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL,\n\ + \\SOH\b\DC2\ETX&\NUL)\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX&\NUL,\n\ + \\STX\b\b\DC2\ETX&\NUL)\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL)\n\ + \\SOH\b\DC2\ETX'\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX'\NUL)\n\ + \\STX\b\n\ + \\DC2\ETX'\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX(\NUL\"\n\ + \\SOH\b\DC2\ETX(\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX(\NUL\"\n\ + \\STX\b$\DC2\ETX(\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX)\NUL!\n\ + \\SOH\b\DC2\ETX)\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX)\NUL!\n\ + \\STX\b%\DC2\ETX)\NUL;\n\ \\b\n\ \\SOH\b\DC2\ETX*\NULC\n\ \\t\n\ \\STX\b\v\DC2\ETX*\NULC\n\ \\171\EOT\n\ - \\STX\EOT\NUL\DC2\EOT5\NUL`\SOH\SUB\158\EOT Api is a light-weight descriptor for an API Interface.\n\ + \\STX\EOT\NUL\DC2\EOT5\NUL_\SOH\SUB\158\EOT Api is a light-weight descriptor for an API Interface.\n\ \\n\ \ Interfaces are also described as \"protocol buffer services\" in some contexts,\n\ \ such as by the \"service\" keyword in a .proto file, but they are different\n\ @@ -1182,8 +1182,8 @@ packedFileDescriptor \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX>\DC2\EM\n\ \\f\n\ \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX>\FS\GS\n\ - \\130\b\n\ - \\EOT\EOT\NUL\STX\ETX\DC2\ETXU\STX\NAK\SUB\244\a A version string for this interface. If specified, must have the form\n\ + \\129\b\n\ + \\EOT\EOT\NUL\STX\ETX\DC2\ETXT\STX\NAK\SUB\243\a A version string for this interface. If specified, must have the form\n\ \ `major-version.minor-version`, as in `1.10`. If the minor version is\n\ \ omitted, it defaults to zero. If the entire version field is empty, the\n\ \ major version is derived from the package name, as outlined below. If the\n\ @@ -1204,118 +1204,117 @@ packedFileDescriptor \ experimental, non-GA interfaces.\n\ \\n\ \\n\ - \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETXU\STX\b\n\ + \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETXT\STX\b\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETXU\t\DLE\n\ + \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETXT\t\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETXU\DC3\DC4\n\ + \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETXT\DC3\DC4\n\ \[\n\ - \\EOT\EOT\NUL\STX\EOT\DC2\ETXY\STX#\SUBN Source context for the protocol buffer service represented by this\n\ + \\EOT\EOT\NUL\STX\EOT\DC2\ETXX\STX#\SUBN Source context for the protocol buffer service represented by this\n\ \ message.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETXY\STX\SI\n\ + \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETXX\STX\SI\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETXY\DLE\RS\n\ + \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETXX\DLE\RS\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETXY!\"\n\ + \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETXX!\"\n\ \2\n\ - \\EOT\EOT\NUL\STX\ENQ\DC2\ETX\\\STX\FS\SUB% Included interfaces. See [Mixin][].\n\ + \\EOT\EOT\NUL\STX\ENQ\DC2\ETX[\STX\FS\SUB% Included interfaces. See [Mixin][].\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ENQ\EOT\DC2\ETX\\\STX\n\ + \\ENQ\EOT\NUL\STX\ENQ\EOT\DC2\ETX[\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX\\\v\DLE\n\ + \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX[\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX\\\DC1\ETB\n\ + \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX[\DC1\ETB\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX\\\SUB\ESC\n\ + \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX[\SUB\ESC\n\ \0\n\ - \\EOT\EOT\NUL\STX\ACK\DC2\ETX_\STX\DC4\SUB# The source syntax of the service.\n\ + \\EOT\EOT\NUL\STX\ACK\DC2\ETX^\STX\DC4\SUB# The source syntax of the service.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX_\STX\b\n\ + \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX^\STX\b\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX_\t\SI\n\ + \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX^\t\SI\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX_\DC2\DC3\n\ + \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX^\DC2\DC3\n\ \=\n\ - \\STX\EOT\SOH\DC2\EOTc\NULx\SOH\SUB1 Method represents a method of an API interface.\n\ + \\STX\EOT\SOH\DC2\EOTb\NULw\SOH\SUB1 Method represents a method of an API interface.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\SOH\SOH\DC2\ETXc\b\SO\n\ + \\ETX\EOT\SOH\SOH\DC2\ETXb\b\SO\n\ \.\n\ - \\EOT\EOT\SOH\STX\NUL\DC2\ETXe\STX\DC2\SUB! The simple name of this method.\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXd\STX\DC2\SUB! The simple name of this method.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXe\STX\b\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXd\STX\b\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXe\t\r\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXd\t\r\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXe\DLE\DC1\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXd\DLE\DC1\n\ \/\n\ - \\EOT\EOT\SOH\STX\SOH\DC2\ETXh\STX\RS\SUB\" A URL of the input message type.\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXg\STX\RS\SUB\" A URL of the input message type.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXh\STX\b\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXg\STX\b\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXh\t\EM\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXg\t\EM\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXh\FS\GS\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXg\FS\GS\n\ \0\n\ - \\EOT\EOT\SOH\STX\STX\DC2\ETXk\STX\GS\SUB# If true, the request is streamed.\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXj\STX\GS\SUB# If true, the request is streamed.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXk\STX\ACK\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXj\STX\ACK\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXk\a\CAN\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXj\a\CAN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXk\ESC\FS\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXj\ESC\FS\n\ \2\n\ - \\EOT\EOT\SOH\STX\ETX\DC2\ETXn\STX\US\SUB% The URL of the output message type.\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXm\STX\US\SUB% The URL of the output message type.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXn\STX\b\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXm\STX\b\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXn\t\SUB\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXm\t\SUB\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXn\GS\RS\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXm\GS\RS\n\ \1\n\ - \\EOT\EOT\SOH\STX\EOT\DC2\ETXq\STX\RS\SUB$ If true, the response is streamed.\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXp\STX\RS\SUB$ If true, the response is streamed.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXq\STX\ACK\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXp\STX\ACK\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXq\a\EM\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXp\a\EM\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXq\FS\GS\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXp\FS\GS\n\ \3\n\ - \\EOT\EOT\SOH\STX\ENQ\DC2\ETXt\STX\RS\SUB& Any metadata attached to the method.\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\ETXs\STX\RS\SUB& Any metadata attached to the method.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETXt\STX\n\ + \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETXs\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXt\v\DC1\n\ + \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXs\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXt\DC2\EM\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXs\DC2\EM\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXt\FS\GS\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXs\FS\GS\n\ \0\n\ - \\EOT\EOT\SOH\STX\ACK\DC2\ETXw\STX\DC4\SUB# The source syntax of this method.\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\ETXv\STX\DC4\SUB# The source syntax of this method.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXw\STX\b\n\ + \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXv\STX\b\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXw\t\SI\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXv\t\SI\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXw\DC2\DC3\n\ - \\202\DC3\n\ - \\STX\EOT\STX\DC2\ACK\200\SOH\NUL\207\SOH\SOH\SUB\187\DC3 Declares an API Interface to be included in this interface. The including\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXv\DC2\DC3\n\ + \\201\DC3\n\ + \\STX\EOT\STX\DC2\ACK\199\SOH\NUL\206\SOH\SOH\SUB\186\DC3 Declares an API Interface to be included in this interface. The including\n\ \ interface must redeclare all the methods from the included interface, but\n\ \ documentation and options are inherited as follows:\n\ \\n\ @@ -1362,7 +1361,7 @@ packedFileDescriptor \ The mixin construct implies that all methods in `AccessControl` are\n\ \ also declared with same name and request/response types in\n\ \ `Storage`. A documentation generator or annotation processor will\n\ - \ see the effective `Storage.GetAcl` method after inheriting\n\ + \ see the effective `Storage.GetAcl` method after inherting\n\ \ documentation and annotations as follows:\n\ \\n\ \ service Storage {\n\ @@ -1395,23 +1394,23 @@ packedFileDescriptor \ }\n\ \\n\ \\v\n\ - \\ETX\EOT\STX\SOH\DC2\EOT\200\SOH\b\r\n\ + \\ETX\EOT\STX\SOH\DC2\EOT\199\SOH\b\r\n\ \L\n\ - \\EOT\EOT\STX\STX\NUL\DC2\EOT\202\SOH\STX\DC2\SUB> The fully qualified name of the interface which is included.\n\ + \\EOT\EOT\STX\STX\NUL\DC2\EOT\201\SOH\STX\DC2\SUB> The fully qualified name of the interface which is included.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\202\SOH\STX\b\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\201\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\202\SOH\t\r\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\201\SOH\t\r\n\ \\r\n\ - \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\202\SOH\DLE\DC1\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\201\SOH\DLE\DC1\n\ \[\n\ - \\EOT\EOT\STX\STX\SOH\DC2\EOT\206\SOH\STX\DC2\SUBM If non-empty specifies a path under which inherited HTTP paths\n\ + \\EOT\EOT\STX\STX\SOH\DC2\EOT\205\SOH\STX\DC2\SUBM If non-empty specifies a path under which inherited HTTP paths\n\ \ are rooted.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\EOT\206\SOH\STX\b\n\ + \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\EOT\205\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\206\SOH\t\r\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\205\SOH\t\r\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\206\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\205\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs index 5b601f79..1a2038fa 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs @@ -42,12 +42,15 @@ import qualified Proto.Google.Protobuf.Descriptor * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'parameter' @:: Lens' CodeGeneratorRequest (Prelude.Maybe Data.Text.Text)@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.protoFile' @:: Lens' CodeGeneratorRequest [Proto.Google.Protobuf.Descriptor.FileDescriptorProto]@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'protoFile' @:: Lens' CodeGeneratorRequest (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.sourceFileDescriptors' @:: Lens' CodeGeneratorRequest [Proto.Google.Protobuf.Descriptor.FileDescriptorProto]@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'sourceFileDescriptors' @:: Lens' CodeGeneratorRequest (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto)@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.compilerVersion' @:: Lens' CodeGeneratorRequest Version@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'compilerVersion' @:: Lens' CodeGeneratorRequest (Prelude.Maybe Version)@ -} data CodeGeneratorRequest = CodeGeneratorRequest'_constructor {_CodeGeneratorRequest'fileToGenerate :: !(Data.Vector.Vector Data.Text.Text), _CodeGeneratorRequest'parameter :: !(Prelude.Maybe Data.Text.Text), _CodeGeneratorRequest'protoFile :: !(Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto), + _CodeGeneratorRequest'sourceFileDescriptors :: !(Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto), _CodeGeneratorRequest'compilerVersion :: !(Prelude.Maybe Version), _CodeGeneratorRequest'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -103,6 +106,24 @@ instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "vec'protoFile" (Dat _CodeGeneratorRequest'protoFile (\ x__ y__ -> x__ {_CodeGeneratorRequest'protoFile = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "sourceFileDescriptors" [Proto.Google.Protobuf.Descriptor.FileDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'sourceFileDescriptors + (\ x__ y__ + -> x__ {_CodeGeneratorRequest'sourceFileDescriptors = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "vec'sourceFileDescriptors" (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'sourceFileDescriptors + (\ x__ y__ + -> x__ {_CodeGeneratorRequest'sourceFileDescriptors = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "compilerVersion" Version where fieldOf _ = (Prelude..) @@ -126,7 +147,8 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where \\DLEfile_to_generate\CAN\SOH \ETX(\tR\SOfileToGenerate\DC2\FS\n\ \\tparameter\CAN\STX \SOH(\tR\tparameter\DC2C\n\ \\n\ - \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2L\n\ + \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2\\\n\ + \\ETBsource_file_descriptors\CAN\DC1 \ETX(\v2$.google.protobuf.FileDescriptorProtoR\NAKsourceFileDescriptors\DC2L\n\ \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion" packedFileDescriptor _ = packedFileDescriptor fieldsByTag @@ -157,6 +179,15 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"protoFile")) :: Data.ProtoLens.FieldDescriptor CodeGeneratorRequest + sourceFileDescriptors__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_file_descriptors" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Descriptor.FileDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"sourceFileDescriptors")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorRequest compilerVersion__field_descriptor = Data.ProtoLens.FieldDescriptor "compiler_version" @@ -170,6 +201,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where [(Data.ProtoLens.Tag 1, fileToGenerate__field_descriptor), (Data.ProtoLens.Tag 2, parameter__field_descriptor), (Data.ProtoLens.Tag 15, protoFile__field_descriptor), + (Data.ProtoLens.Tag 17, sourceFileDescriptors__field_descriptor), (Data.ProtoLens.Tag 3, compilerVersion__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -180,6 +212,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where {_CodeGeneratorRequest'fileToGenerate = Data.Vector.Generic.empty, _CodeGeneratorRequest'parameter = Prelude.Nothing, _CodeGeneratorRequest'protoFile = Data.Vector.Generic.empty, + _CodeGeneratorRequest'sourceFileDescriptors = Data.Vector.Generic.empty, _CodeGeneratorRequest'compilerVersion = Prelude.Nothing, _CodeGeneratorRequest'_unknownFields = []} parseMessage @@ -188,8 +221,13 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where CodeGeneratorRequest -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Descriptor.FileDescriptorProto - -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorRequest - loop x mutable'fileToGenerate mutable'protoFile + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Descriptor.FileDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorRequest + loop + x + mutable'fileToGenerate + mutable'protoFile + mutable'sourceFileDescriptors = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then do frozen'fileToGenerate <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO @@ -198,6 +236,9 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where frozen'protoFile <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'protoFile) + frozen'sourceFileDescriptors <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'sourceFileDescriptors) (let missing = [] in if Prelude.null missing then @@ -214,7 +255,10 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Data.ProtoLens.Field.field @"vec'fileToGenerate") frozen'fileToGenerate (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'protoFile") frozen'protoFile x))) + (Data.ProtoLens.Field.field @"vec'protoFile") frozen'protoFile + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'sourceFileDescriptors") + frozen'sourceFileDescriptors x)))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -227,7 +271,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'fileToGenerate y) - loop x v mutable'protoFile + loop x v mutable'protoFile mutable'sourceFileDescriptors 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -237,6 +281,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"parameter") y x) mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors 122 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -246,7 +291,18 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where "proto_file" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'protoFile y) - loop x mutable'fileToGenerate v + loop x mutable'fileToGenerate v mutable'sourceFileDescriptors + 138 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "source_file_descriptors" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'sourceFileDescriptors y) + loop x mutable'fileToGenerate mutable'protoFile v 26 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -257,6 +313,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Lens.Family2.set (Data.ProtoLens.Field.field @"compilerVersion") y x) mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire @@ -264,14 +321,18 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors in (Data.ProtoLens.Encoding.Bytes.) (do mutable'fileToGenerate <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new mutable'protoFile <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new + mutable'sourceFileDescriptors <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new loop - Data.ProtoLens.defMessage mutable'fileToGenerate mutable'protoFile) + Data.ProtoLens.defMessage mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors) "CodeGeneratorRequest" buildMessage = \ _x @@ -320,23 +381,37 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'protoFile") _x)) ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'compilerVersion") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 26) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 138) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'sourceFileDescriptors") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'compilerVersion") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) instance Control.DeepSeq.NFData CodeGeneratorRequest where rnf = \ x__ @@ -349,7 +424,9 @@ instance Control.DeepSeq.NFData CodeGeneratorRequest where (Control.DeepSeq.deepseq (_CodeGeneratorRequest'protoFile x__) (Control.DeepSeq.deepseq - (_CodeGeneratorRequest'compilerVersion x__) ())))) + (_CodeGeneratorRequest'sourceFileDescriptors x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorRequest'compilerVersion x__) ()))))) {- | Fields : * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.error' @:: Lens' CodeGeneratorResponse Data.Text.Text@ @@ -429,10 +506,11 @@ instance Data.ProtoLens.Message CodeGeneratorResponse where \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ - \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"8\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"W\n\ \\aFeature\DC2\DLE\n\ \\fFEATURE_NONE\DLE\NUL\DC2\ESC\n\ - \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH" + \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH\DC2\GS\n\ + \\EMFEATURE_SUPPORTS_EDITIONS\DLE\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -596,26 +674,33 @@ instance Control.DeepSeq.NFData CodeGeneratorResponse where (Control.DeepSeq.deepseq (_CodeGeneratorResponse'file x__) ()))) data CodeGeneratorResponse'Feature = CodeGeneratorResponse'FEATURE_NONE | - CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL | + CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum CodeGeneratorResponse'Feature where maybeToEnum 0 = Prelude.Just CodeGeneratorResponse'FEATURE_NONE maybeToEnum 1 = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + maybeToEnum 2 + = Prelude.Just CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS maybeToEnum _ = Prelude.Nothing showEnum CodeGeneratorResponse'FEATURE_NONE = "FEATURE_NONE" showEnum CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = "FEATURE_PROTO3_OPTIONAL" + showEnum CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS + = "FEATURE_SUPPORTS_EDITIONS" readEnum k | (Prelude.==) k "FEATURE_NONE" = Prelude.Just CodeGeneratorResponse'FEATURE_NONE | (Prelude.==) k "FEATURE_PROTO3_OPTIONAL" = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + | (Prelude.==) k "FEATURE_SUPPORTS_EDITIONS" + = Prelude.Just CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS | Prelude.otherwise = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum instance Prelude.Bounded CodeGeneratorResponse'Feature where minBound = CodeGeneratorResponse'FEATURE_NONE - maxBound = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + maxBound = CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS instance Prelude.Enum CodeGeneratorResponse'Feature where toEnum k__ = Prelude.maybe @@ -625,16 +710,21 @@ instance Prelude.Enum CodeGeneratorResponse'Feature where Prelude.id (Data.ProtoLens.maybeToEnum k__) fromEnum CodeGeneratorResponse'FEATURE_NONE = 0 fromEnum CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = 1 - succ CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + fromEnum CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS = 2 + succ CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS = Prelude.error - "CodeGeneratorResponse'Feature.succ: bad argument CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL. This value would be out of bounds." + "CodeGeneratorResponse'Feature.succ: bad argument CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS. This value would be out of bounds." succ CodeGeneratorResponse'FEATURE_NONE = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + succ CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + = CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS pred CodeGeneratorResponse'FEATURE_NONE = Prelude.error "CodeGeneratorResponse'Feature.pred: bad argument CodeGeneratorResponse'FEATURE_NONE. This value would be out of bounds." pred CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse'FEATURE_NONE + pred CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS + = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen @@ -1189,13 +1279,14 @@ packedFileDescriptor \\ENQmajor\CAN\SOH \SOH(\ENQR\ENQmajor\DC2\DC4\n\ \\ENQminor\CAN\STX \SOH(\ENQR\ENQminor\DC2\DC4\n\ \\ENQpatch\CAN\ETX \SOH(\ENQR\ENQpatch\DC2\SYN\n\ - \\ACKsuffix\CAN\EOT \SOH(\tR\ACKsuffix\"\241\SOH\n\ + \\ACKsuffix\CAN\EOT \SOH(\tR\ACKsuffix\"\207\STX\n\ \\DC4CodeGeneratorRequest\DC2(\n\ \\DLEfile_to_generate\CAN\SOH \ETX(\tR\SOfileToGenerate\DC2\FS\n\ \\tparameter\CAN\STX \SOH(\tR\tparameter\DC2C\n\ \\n\ - \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2L\n\ - \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion\"\148\ETX\n\ + \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2\\\n\ + \\ETBsource_file_descriptors\CAN\DC1 \ETX(\v2$.google.protobuf.FileDescriptorProtoR\NAKsourceFileDescriptors\DC2L\n\ + \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion\"\179\ETX\n\ \\NAKCodeGeneratorResponse\DC2\DC4\n\ \\ENQerror\CAN\SOH \SOH(\tR\ENQerror\DC2-\n\ \\DC2supported_features\CAN\STX \SOH(\EOTR\DC1supportedFeatures\DC2H\n\ @@ -1204,46 +1295,21 @@ packedFileDescriptor \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ - \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"8\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"W\n\ \\aFeature\DC2\DLE\n\ \\fFEATURE_NONE\DLE\NUL\DC2\ESC\n\ - \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOHBW\n\ - \\FScom.google.protobuf.compilerB\fPluginProtosZ)google.golang.org/protobuf/types/pluginpbJ\249C\n\ - \\a\DC2\ENQ.\NUL\182\SOH\SOH\n\ - \\202\DC1\n\ - \\SOH\f\DC2\ETX.\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH\DC2\GS\n\ + \\EMFEATURE_SUPPORTS_EDITIONS\DLE\STXBr\n\ + \\FScom.google.protobuf.compilerB\fPluginProtosZ)google.golang.org/protobuf/types/pluginpb\170\STX\CANGoogle.Protobuf.CompilerJ\153=\n\ + \\a\DC2\ENQ\DC4\NUL\167\SOH\SOH\n\ + \\186\ACK\n\ + \\SOH\f\DC2\ETX\DC4\NUL\DC22\137\STX Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ - \ https://developers.google.com/protocol-buffers/\n\ - \\n\ - \ Redistribution and use in source and binary forms, with or without\n\ - \ modification, are permitted provided that the following conditions are\n\ - \ met:\n\ - \\n\ - \ * Redistributions of source code must retain the above copyright\n\ - \ notice, this list of conditions and the following disclaimer.\n\ - \ * Redistributions in binary form must reproduce the above\n\ - \ copyright notice, this list of conditions and the following disclaimer\n\ - \ in the documentation and/or other materials provided with the\n\ - \ distribution.\n\ - \ * Neither the name of Google Inc. nor the names of its\n\ - \ contributors may be used to endorse or promote products derived from\n\ - \ this software without specific prior written permission.\n\ - \\n\ - \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ - \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ - \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ - \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ - \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ - \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ - \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ - \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ - \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ - \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ - \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ - \2\251\EOT Author: kenton@google.com (Kenton Varda)\n\ \\n\ - \ WARNING: The plugin interface is currently EXPERIMENTAL and is subject to\n\ - \ change.\n\ + \ Use of this source code is governed by a BSD-style\n\ + \ license that can be found in the LICENSE file or at\n\ + \ https://developers.google.com/open-source/licenses/bsd\n\ + \2\163\EOT Author: kenton@google.com (Kenton Varda)\n\ \\n\ \ protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is\n\ \ just a program that reads a CodeGeneratorRequest from stdin and writes a\n\ @@ -1257,110 +1323,119 @@ packedFileDescriptor \ flag \"--${NAME}_out\" is passed to protoc.\n\ \\n\ \\b\n\ - \\SOH\STX\DC2\ETX0\NUL!\n\ + \\SOH\STX\DC2\ETX\SYN\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX1\NUL5\n\ + \\SOH\b\DC2\ETX\ETB\NUL5\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX1\NUL5\n\ + \\STX\b\SOH\DC2\ETX\ETB\NUL5\n\ \\b\n\ - \\SOH\b\DC2\ETX2\NUL-\n\ + \\SOH\b\DC2\ETX\CAN\NUL-\n\ \\t\n\ - \\STX\b\b\DC2\ETX2\NUL-\n\ + \\STX\b\b\DC2\ETX\CAN\NUL-\n\ \\b\n\ - \\SOH\b\DC2\ETX4\NUL@\n\ + \\SOH\b\DC2\ETX\SUB\NUL5\n\ \\t\n\ - \\STX\b\v\DC2\ETX4\NUL@\n\ + \\STX\b%\DC2\ETX\SUB\NUL5\n\ + \\b\n\ + \\SOH\b\DC2\ETX\ESC\NUL@\n\ + \\t\n\ + \\STX\b\v\DC2\ETX\ESC\NUL@\n\ \\t\n\ - \\STX\ETX\NUL\DC2\ETX6\NUL*\n\ + \\STX\ETX\NUL\DC2\ETX\GS\NUL*\n\ \6\n\ - \\STX\EOT\NUL\DC2\EOT9\NUL@\SOH\SUB* The version number of protocol compiler.\n\ + \\STX\EOT\NUL\DC2\EOT \NUL'\SOH\SUB* The version number of protocol compiler.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETX9\b\SI\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX \b\SI\n\ \\v\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\ETX:\STX\ESC\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX!\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX:\STX\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX!\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX:\v\DLE\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX!\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX:\DC1\SYN\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX!\DC1\SYN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX:\EM\SUB\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX!\EM\SUB\n\ \\v\n\ - \\EOT\EOT\NUL\STX\SOH\DC2\ETX;\STX\ESC\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETX\"\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX;\STX\n\ + \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX\"\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX;\v\DLE\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\"\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX;\DC1\SYN\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\"\DC1\SYN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX;\EM\SUB\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\"\EM\SUB\n\ \\v\n\ - \\EOT\EOT\NUL\STX\STX\DC2\ETX<\STX\ESC\n\ + \\EOT\EOT\NUL\STX\STX\DC2\ETX#\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX<\STX\n\ + \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX#\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX<\v\DLE\n\ + \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX#\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX<\DC1\SYN\n\ + \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX#\DC1\SYN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX<\EM\SUB\n\ + \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX#\EM\SUB\n\ \\128\SOH\n\ - \\EOT\EOT\NUL\STX\ETX\DC2\ETX?\STX\GS\SUBs A suffix for alpha, beta or rc release, e.g., \"alpha-1\", \"rc2\". It should\n\ + \\EOT\EOT\NUL\STX\ETX\DC2\ETX&\STX\GS\SUBs A suffix for alpha, beta or rc release, e.g., \"alpha-1\", \"rc2\". It should\n\ \ be empty for mainline stable releases.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\EOT\DC2\ETX?\STX\n\ + \\ENQ\EOT\NUL\STX\ETX\EOT\DC2\ETX&\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX?\v\DC1\n\ + \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX&\v\DC1\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX?\DC2\CAN\n\ + \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX&\DC2\CAN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX?\ESC\FS\n\ + \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX&\ESC\FS\n\ \O\n\ - \\STX\EOT\SOH\DC2\EOTC\NUL_\SOH\SUBC An encoded CodeGeneratorRequest is written to the plugin's stdin.\n\ + \\STX\EOT\SOH\DC2\EOT*\NULO\SOH\SUBC An encoded CodeGeneratorRequest is written to the plugin's stdin.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\SOH\SOH\DC2\ETXC\b\FS\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX*\b\FS\n\ \\209\SOH\n\ - \\EOT\EOT\SOH\STX\NUL\DC2\ETXG\STX'\SUB\195\SOH The .proto files that were explicitly listed on the command-line. The\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETX.\STX'\SUB\195\SOH The .proto files that were explicitly listed on the command-line. The\n\ \ code generator should generate code only for these files. Each file's\n\ \ descriptor will be included in proto_file, below.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETXG\STX\n\ + \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX.\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXG\v\DC1\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX.\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXG\DC2\"\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX.\DC2\"\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXG%&\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX.%&\n\ \B\n\ - \\EOT\EOT\SOH\STX\SOH\DC2\ETXJ\STX \SUB5 The generator parameter passed on the command-line.\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETX1\STX \SUB5 The generator parameter passed on the command-line.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETXJ\STX\n\ + \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX1\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXJ\v\DC1\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX1\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXJ\DC2\ESC\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX1\DC2\ESC\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXJ\RS\US\n\ - \\135\ACK\n\ - \\EOT\EOT\SOH\STX\STX\DC2\ETXZ\STX/\SUB\249\ENQ FileDescriptorProtos for all files in files_to_generate and everything\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX1\RS\US\n\ + \\150\b\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXF\STX/\SUB\136\b FileDescriptorProtos for all files in files_to_generate and everything\n\ \ they import. The files will appear in topological order, so each file\n\ \ appears before any file that imports it.\n\ \\n\ + \ Note: the files listed in files_to_generate will include runtime-retention\n\ + \ options only, but all other files will include source-retention options.\n\ + \ The source_file_descriptors field below is available in case you need\n\ + \ source-retention options for files_to_generate.\n\ + \\n\ \ protoc guarantees that all proto_files will be written after\n\ \ the fields above, even though this is not technically guaranteed by the\n\ \ protobuf wire format. This theoretically could allow a plugin to stream\n\ @@ -1373,34 +1448,48 @@ packedFileDescriptor \ fully qualified.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXZ\STX\n\ + \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXF\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXZ\v\RS\n\ + \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXF\v\RS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXZ\US)\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXF\US)\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXZ,.\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXF,.\n\ + \\167\SOH\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXK\STX<\SUB\153\SOH File descriptors with all options, including source-retention options.\n\ + \ These descriptors are only provided for the files listed in\n\ + \ files_to_generate.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXK\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETXK\v\RS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXK\US6\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXK9;\n\ \7\n\ - \\EOT\EOT\SOH\STX\ETX\DC2\ETX]\STX(\SUB* The version number of protocol compiler.\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXN\STX(\SUB* The version number of protocol compiler.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETX]\STX\n\ + \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXN\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETX]\v\DC2\n\ + \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\ETXN\v\DC2\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX]\DC3#\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXN\DC3#\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX]&'\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXN&'\n\ \L\n\ - \\STX\EOT\STX\DC2\ENQb\NUL\182\SOH\SOH\SUB? The plugin writes an encoded CodeGeneratorResponse to stdout.\n\ + \\STX\EOT\STX\DC2\ENQR\NUL\167\SOH\SOH\SUB? The plugin writes an encoded CodeGeneratorResponse to stdout.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\STX\SOH\DC2\ETXb\b\GS\n\ + \\ETX\EOT\STX\SOH\DC2\ETXR\b\GS\n\ \\237\ETX\n\ - \\EOT\EOT\STX\STX\NUL\DC2\ETXk\STX\FS\SUB\223\ETX Error message. If non-empty, code generation failed. The plugin process\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETX[\STX\FS\SUB\223\ETX Error message. If non-empty, code generation failed. The plugin process\n\ \ should exit with status code zero even if it reports an error in this way.\n\ \\n\ \ This should be used to indicate errors in .proto files which prevent the\n\ @@ -1410,52 +1499,58 @@ packedFileDescriptor \ exiting with a non-zero status code.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETXk\STX\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX[\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXk\v\DC1\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX[\v\DC1\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXk\DC2\ETB\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX[\DC2\ETB\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXk\SUB\ESC\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX[\SUB\ESC\n\ \\137\SOH\n\ - \\EOT\EOT\STX\STX\SOH\DC2\ETXo\STX)\SUB| A bitmask of supported features that the code generator supports.\n\ + \\EOT\EOT\STX\STX\SOH\DC2\ETX_\STX)\SUB| A bitmask of supported features that the code generator supports.\n\ \ This is a bitwise \"or\" of values from the Feature enum.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXo\STX\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX_\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXo\v\DC1\n\ + \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX_\v\DC1\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXo\DC2$\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX_\DC2$\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXo'(\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX_'(\n\ \+\n\ - \\EOT\EOT\STX\EOT\NUL\DC2\EOTr\STXu\ETX\SUB\GS Sync with code_generator.h.\n\ + \\EOT\EOT\STX\EOT\NUL\DC2\EOTb\STXf\ETX\SUB\GS Sync with code_generator.h.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\EOT\NUL\SOH\DC2\ETXr\a\SO\n\ + \\ENQ\EOT\STX\EOT\NUL\SOH\DC2\ETXb\a\SO\n\ + \\r\n\ + \\ACK\EOT\STX\EOT\NUL\STX\NUL\DC2\ETXc\EOT\NAK\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\NUL\SOH\DC2\ETXc\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\NUL\STX\DC2\ETXc\DC3\DC4\n\ \\r\n\ - \\ACK\EOT\STX\EOT\NUL\STX\NUL\DC2\ETXs\EOT\NAK\n\ + \\ACK\EOT\STX\EOT\NUL\STX\SOH\DC2\ETXd\EOT \n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\NUL\SOH\DC2\ETXs\EOT\DLE\n\ + \\a\EOT\STX\EOT\NUL\STX\SOH\SOH\DC2\ETXd\EOT\ESC\n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\NUL\STX\DC2\ETXs\DC3\DC4\n\ + \\a\EOT\STX\EOT\NUL\STX\SOH\STX\DC2\ETXd\RS\US\n\ \\r\n\ - \\ACK\EOT\STX\EOT\NUL\STX\SOH\DC2\ETXt\EOT \n\ + \\ACK\EOT\STX\EOT\NUL\STX\STX\DC2\ETXe\EOT\"\n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\SOH\SOH\DC2\ETXt\EOT\ESC\n\ + \\a\EOT\STX\EOT\NUL\STX\STX\SOH\DC2\ETXe\EOT\GS\n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\SOH\STX\DC2\ETXt\RS\US\n\ + \\a\EOT\STX\EOT\NUL\STX\STX\STX\DC2\ETXe !\n\ \4\n\ - \\EOT\EOT\STX\ETX\NUL\DC2\ENQx\STX\180\SOH\ETX\SUB% Represents a single generated file.\n\ + \\EOT\EOT\STX\ETX\NUL\DC2\ENQi\STX\165\SOH\ETX\SUB% Represents a single generated file.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXx\n\ + \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXi\n\ \\SO\n\ - \\174\ENQ\n\ - \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\EOT\132\SOH\EOT\GS\SUB\157\ENQ The file name, relative to the output directory. The name must not\n\ + \\173\ENQ\n\ + \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\ETXu\EOT\GS\SUB\157\ENQ The file name, relative to the output directory. The name must not\n\ \ contain \".\" or \"..\" components and must be relative, not be absolute (so,\n\ \ the file cannot lie outside the output directory). \"/\" must be used as\n\ \ the path separator, not \"\\\".\n\ @@ -1467,16 +1562,16 @@ packedFileDescriptor \ this writing protoc does not optimize for this -- it will read the entire\n\ \ CodeGeneratorResponse before writing files to disk.\n\ \\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\EOT\132\SOH\EOT\f\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\132\SOH\r\DC3\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\EOT\132\SOH\DC4\CAN\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\EOT\132\SOH\ESC\FS\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\ETXu\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\ETXu\r\DC3\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\ETXu\DC4\CAN\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\ETXu\ESC\FS\n\ \\174\DLE\n\ - \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\171\SOH\EOT(\SUB\157\DLE If non-empty, indicates that the named file should already exist, and the\n\ + \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\156\SOH\EOT(\SUB\157\DLE If non-empty, indicates that the named file should already exist, and the\n\ \ content here is to be inserted into that file at a defined insertion\n\ \ point. This feature allows a code generator to extend the output\n\ \ produced by another code generator. The original generator may provide\n\ @@ -1515,45 +1610,45 @@ packedFileDescriptor \ If |insertion_point| is present, |name| must also be present.\n\ \\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\171\SOH\EOT\f\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\156\SOH\EOT\f\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\171\SOH\r\DC3\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\156\SOH\r\DC3\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\171\SOH\DC4#\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\156\SOH\DC4#\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\171\SOH&'\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\156\SOH&'\n\ \$\n\ - \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\174\SOH\EOT!\SUB\DC4 The file contents.\n\ + \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\159\SOH\EOT!\SUB\DC4 The file contents.\n\ \\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\174\SOH\EOT\f\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\159\SOH\EOT\f\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ENQ\DC2\EOT\174\SOH\r\DC3\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ENQ\DC2\EOT\159\SOH\r\DC3\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\174\SOH\DC4\ESC\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\159\SOH\DC4\ESC\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\174\SOH\RS \n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\159\SOH\RS \n\ \\225\SOH\n\ - \\ACK\EOT\STX\ETX\NUL\STX\ETX\DC2\EOT\179\SOH\EOT8\SUB\208\SOH Information describing the file content being inserted. If an insertion\n\ + \\ACK\EOT\STX\ETX\NUL\STX\ETX\DC2\EOT\164\SOH\EOT8\SUB\208\SOH Information describing the file content being inserted. If an insertion\n\ \ point is used, this information will be appropriately offset and inserted\n\ \ into the code generation metadata for the generated files.\n\ \\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\EOT\DC2\EOT\179\SOH\EOT\f\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\EOT\DC2\EOT\164\SOH\EOT\f\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\ACK\DC2\EOT\179\SOH\r\RS\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\ACK\DC2\EOT\164\SOH\r\RS\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\SOH\DC2\EOT\179\SOH\US2\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\SOH\DC2\EOT\164\SOH\US2\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\ETX\DC2\EOT\179\SOH57\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\ETX\DC2\EOT\164\SOH57\n\ \\f\n\ - \\EOT\EOT\STX\STX\STX\DC2\EOT\181\SOH\STX\SUB\n\ + \\EOT\EOT\STX\STX\STX\DC2\EOT\166\SOH\STX\SUB\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\181\SOH\STX\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\166\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\181\SOH\v\SI\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\166\SOH\v\SI\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\181\SOH\DLE\DC4\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\166\SOH\DLE\DC4\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\181\SOH\ETB\EM" \ No newline at end of file + \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\166\SOH\ETB\EM" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs index 18300737..41d42bd5 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs @@ -175,6 +175,13 @@ protoFile :: Data.ProtoLens.Field.HasField s "protoFile" a) => Lens.Family2.LensLike' f s a protoFile = Data.ProtoLens.Field.field @"protoFile" +sourceFileDescriptors :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "sourceFileDescriptors" a) => + Lens.Family2.LensLike' f s a +sourceFileDescriptors + = Data.ProtoLens.Field.field @"sourceFileDescriptors" suffix :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "suffix" a) => @@ -204,4 +211,11 @@ vec'protoFile :: (Prelude.Functor f, Data.ProtoLens.Field.HasField s "vec'protoFile" a) => Lens.Family2.LensLike' f s a -vec'protoFile = Data.ProtoLens.Field.field @"vec'protoFile" \ No newline at end of file +vec'protoFile = Data.ProtoLens.Field.field @"vec'protoFile" +vec'sourceFileDescriptors :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'sourceFileDescriptors" a) => + Lens.Family2.LensLike' f s a +vec'sourceFileDescriptors + = Data.ProtoLens.Field.field @"vec'sourceFileDescriptors" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs index 5d6da512..afd69739 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs @@ -5,18 +5,33 @@ {-# OPTIONS_GHC -Wno-dodgy-exports#-} module Proto.Google.Protobuf.Descriptor ( DescriptorProto(), DescriptorProto'ExtensionRange(), - DescriptorProto'ReservedRange(), EnumDescriptorProto(), - EnumDescriptorProto'EnumReservedRange(), EnumOptions(), - EnumValueDescriptorProto(), EnumValueOptions(), - ExtensionRangeOptions(), FieldDescriptorProto(), - FieldDescriptorProto'Label(..), FieldDescriptorProto'Label(), - FieldDescriptorProto'Type(..), FieldDescriptorProto'Type(), - FieldOptions(), FieldOptions'CType(..), FieldOptions'CType(), - FieldOptions'JSType(..), FieldOptions'JSType(), - FileDescriptorProto(), FileDescriptorSet(), FileOptions(), - FileOptions'OptimizeMode(..), FileOptions'OptimizeMode(), - GeneratedCodeInfo(), GeneratedCodeInfo'Annotation(), - MessageOptions(), MethodDescriptorProto(), MethodOptions(), + DescriptorProto'ReservedRange(), Edition(..), Edition(), + EnumDescriptorProto(), EnumDescriptorProto'EnumReservedRange(), + EnumOptions(), EnumValueDescriptorProto(), EnumValueOptions(), + ExtensionRangeOptions(), ExtensionRangeOptions'Declaration(), + ExtensionRangeOptions'VerificationState(..), + ExtensionRangeOptions'VerificationState(), FeatureSet(), + FeatureSet'EnumType(..), FeatureSet'EnumType(), + FeatureSet'FieldPresence(..), FeatureSet'FieldPresence(), + FeatureSet'JsonFormat(..), FeatureSet'JsonFormat(), + FeatureSet'MessageEncoding(..), FeatureSet'MessageEncoding(), + FeatureSet'RepeatedFieldEncoding(..), + FeatureSet'RepeatedFieldEncoding(), FeatureSetDefaults(), + FeatureSetDefaults'FeatureSetEditionDefault(), + FieldDescriptorProto(), FieldDescriptorProto'Label(..), + FieldDescriptorProto'Label(), FieldDescriptorProto'Type(..), + FieldDescriptorProto'Type(), FieldOptions(), + FieldOptions'CType(..), FieldOptions'CType(), + FieldOptions'EditionDefault(), FieldOptions'JSType(..), + FieldOptions'JSType(), FieldOptions'OptionRetention(..), + FieldOptions'OptionRetention(), FieldOptions'OptionTargetType(..), + FieldOptions'OptionTargetType(), FileDescriptorProto(), + FileDescriptorSet(), FileOptions(), FileOptions'OptimizeMode(..), + FileOptions'OptimizeMode(), GeneratedCodeInfo(), + GeneratedCodeInfo'Annotation(), + GeneratedCodeInfo'Annotation'Semantic(..), + GeneratedCodeInfo'Annotation'Semantic(), MessageOptions(), + MethodDescriptorProto(), MethodOptions(), MethodOptions'IdempotencyLevel(..), MethodOptions'IdempotencyLevel(), OneofDescriptorProto(), OneofOptions(), ServiceDescriptorProto(), ServiceOptions(), @@ -1193,6 +1208,89 @@ instance Control.DeepSeq.NFData DescriptorProto'ReservedRange where (_DescriptorProto'ReservedRange'start x__) (Control.DeepSeq.deepseq (_DescriptorProto'ReservedRange'end x__) ())) +data Edition + = EDITION_UNKNOWN | + EDITION_1_TEST_ONLY | + EDITION_2_TEST_ONLY | + EDITION_2023 | + EDITION_99997_TEST_ONLY | + EDITION_99998_TEST_ONLY | + EDITION_99999_TEST_ONLY + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum Edition where + maybeToEnum 0 = Prelude.Just EDITION_UNKNOWN + maybeToEnum 1 = Prelude.Just EDITION_1_TEST_ONLY + maybeToEnum 2 = Prelude.Just EDITION_2_TEST_ONLY + maybeToEnum 1000 = Prelude.Just EDITION_2023 + maybeToEnum 99997 = Prelude.Just EDITION_99997_TEST_ONLY + maybeToEnum 99998 = Prelude.Just EDITION_99998_TEST_ONLY + maybeToEnum 99999 = Prelude.Just EDITION_99999_TEST_ONLY + maybeToEnum _ = Prelude.Nothing + showEnum EDITION_UNKNOWN = "EDITION_UNKNOWN" + showEnum EDITION_2023 = "EDITION_2023" + showEnum EDITION_1_TEST_ONLY = "EDITION_1_TEST_ONLY" + showEnum EDITION_2_TEST_ONLY = "EDITION_2_TEST_ONLY" + showEnum EDITION_99997_TEST_ONLY = "EDITION_99997_TEST_ONLY" + showEnum EDITION_99998_TEST_ONLY = "EDITION_99998_TEST_ONLY" + showEnum EDITION_99999_TEST_ONLY = "EDITION_99999_TEST_ONLY" + readEnum k + | (Prelude.==) k "EDITION_UNKNOWN" = Prelude.Just EDITION_UNKNOWN + | (Prelude.==) k "EDITION_2023" = Prelude.Just EDITION_2023 + | (Prelude.==) k "EDITION_1_TEST_ONLY" + = Prelude.Just EDITION_1_TEST_ONLY + | (Prelude.==) k "EDITION_2_TEST_ONLY" + = Prelude.Just EDITION_2_TEST_ONLY + | (Prelude.==) k "EDITION_99997_TEST_ONLY" + = Prelude.Just EDITION_99997_TEST_ONLY + | (Prelude.==) k "EDITION_99998_TEST_ONLY" + = Prelude.Just EDITION_99998_TEST_ONLY + | (Prelude.==) k "EDITION_99999_TEST_ONLY" + = Prelude.Just EDITION_99999_TEST_ONLY + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded Edition where + minBound = EDITION_UNKNOWN + maxBound = EDITION_99999_TEST_ONLY +instance Prelude.Enum Edition where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Edition: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum EDITION_UNKNOWN = 0 + fromEnum EDITION_1_TEST_ONLY = 1 + fromEnum EDITION_2_TEST_ONLY = 2 + fromEnum EDITION_2023 = 1000 + fromEnum EDITION_99997_TEST_ONLY = 99997 + fromEnum EDITION_99998_TEST_ONLY = 99998 + fromEnum EDITION_99999_TEST_ONLY = 99999 + succ EDITION_99999_TEST_ONLY + = Prelude.error + "Edition.succ: bad argument EDITION_99999_TEST_ONLY. This value would be out of bounds." + succ EDITION_UNKNOWN = EDITION_1_TEST_ONLY + succ EDITION_1_TEST_ONLY = EDITION_2_TEST_ONLY + succ EDITION_2_TEST_ONLY = EDITION_2023 + succ EDITION_2023 = EDITION_99997_TEST_ONLY + succ EDITION_99997_TEST_ONLY = EDITION_99998_TEST_ONLY + succ EDITION_99998_TEST_ONLY = EDITION_99999_TEST_ONLY + pred EDITION_UNKNOWN + = Prelude.error + "Edition.pred: bad argument EDITION_UNKNOWN. This value would be out of bounds." + pred EDITION_1_TEST_ONLY = EDITION_UNKNOWN + pred EDITION_2_TEST_ONLY = EDITION_1_TEST_ONLY + pred EDITION_2023 = EDITION_2_TEST_ONLY + pred EDITION_99997_TEST_ONLY = EDITION_2023 + pred EDITION_99998_TEST_ONLY = EDITION_99997_TEST_ONLY + pred EDITION_99999_TEST_ONLY = EDITION_99998_TEST_ONLY + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault Edition where + fieldDefault = EDITION_UNKNOWN +instance Control.DeepSeq.NFData Edition where + rnf x__ = Prelude.seq x__ () {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' EnumDescriptorProto Data.Text.Text@ @@ -1750,11 +1848,17 @@ instance Control.DeepSeq.NFData EnumDescriptorProto'EnumReservedRange where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'allowAlias' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' EnumOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecatedLegacyJsonFieldConflicts' @:: Lens' EnumOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecatedLegacyJsonFieldConflicts' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' EnumOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' EnumOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' EnumOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' EnumOptions (Data.Vector.Vector UninterpretedOption)@ -} data EnumOptions = EnumOptions'_constructor {_EnumOptions'allowAlias :: !(Prelude.Maybe Prelude.Bool), _EnumOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _EnumOptions'deprecatedLegacyJsonFieldConflicts :: !(Prelude.Maybe Prelude.Bool), + _EnumOptions'features :: !(Prelude.Maybe FeatureSet), _EnumOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _EnumOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -1792,6 +1896,36 @@ instance Data.ProtoLens.Field.HasField EnumOptions "maybe'deprecated" (Prelude.M _EnumOptions'deprecated (\ x__ y__ -> x__ {_EnumOptions'deprecated = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField EnumOptions "deprecatedLegacyJsonFieldConflicts" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_EnumOptions'deprecatedLegacyJsonFieldConflicts = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumOptions "maybe'deprecatedLegacyJsonFieldConflicts" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_EnumOptions'deprecatedLegacyJsonFieldConflicts = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'features + (\ x__ y__ -> x__ {_EnumOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField EnumOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'features + (\ x__ y__ -> x__ {_EnumOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField EnumOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -1817,7 +1951,9 @@ instance Data.ProtoLens.Message EnumOptions where \allowAlias\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ + \deprecated\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\ACK \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\a \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK" packedFileDescriptor _ = packedFileDescriptor fieldsByTag @@ -1838,6 +1974,23 @@ instance Data.ProtoLens.Message EnumOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'deprecated")) :: Data.ProtoLens.FieldDescriptor EnumOptions + deprecatedLegacyJsonFieldConflicts__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated_legacy_json_field_conflicts" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts")) :: + Data.ProtoLens.FieldDescriptor EnumOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor EnumOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -1851,6 +2004,9 @@ instance Data.ProtoLens.Message EnumOptions where Data.Map.fromList [(Data.ProtoLens.Tag 2, allowAlias__field_descriptor), (Data.ProtoLens.Tag 3, deprecated__field_descriptor), + (Data.ProtoLens.Tag 6, + deprecatedLegacyJsonFieldConflicts__field_descriptor), + (Data.ProtoLens.Tag 7, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -1860,6 +2016,8 @@ instance Data.ProtoLens.Message EnumOptions where = EnumOptions'_constructor {_EnumOptions'allowAlias = Prelude.Nothing, _EnumOptions'deprecated = Prelude.Nothing, + _EnumOptions'deprecatedLegacyJsonFieldConflicts = Prelude.Nothing, + _EnumOptions'features = Prelude.Nothing, _EnumOptions'uninterpretedOption = Data.Vector.Generic.empty, _EnumOptions'_unknownFields = []} parseMessage @@ -1908,6 +2066,26 @@ instance Data.ProtoLens.Message EnumOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) mutable'uninterpretedOption + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated_legacy_json_field_conflicts" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field + @"deprecatedLegacyJsonFieldConflicts") + y x) + mutable'uninterpretedOption + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -1959,21 +2137,51 @@ instance Data.ProtoLens.Message EnumOptions where Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) instance Control.DeepSeq.NFData EnumOptions where rnf = \ x__ @@ -1984,7 +2192,11 @@ instance Control.DeepSeq.NFData EnumOptions where (Control.DeepSeq.deepseq (_EnumOptions'deprecated x__) (Control.DeepSeq.deepseq - (_EnumOptions'uninterpretedOption x__) ()))) + (_EnumOptions'deprecatedLegacyJsonFieldConflicts x__) + (Control.DeepSeq.deepseq + (_EnumOptions'features x__) + (Control.DeepSeq.deepseq + (_EnumOptions'uninterpretedOption x__) ()))))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' EnumValueDescriptorProto Data.Text.Text@ @@ -2210,10 +2422,16 @@ instance Control.DeepSeq.NFData EnumValueDescriptorProto where * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' EnumValueOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' EnumValueOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' EnumValueOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' EnumValueOptions (Prelude.Maybe FeatureSet)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.debugRedact' @:: Lens' EnumValueOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'debugRedact' @:: Lens' EnumValueOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' EnumValueOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' EnumValueOptions (Data.Vector.Vector UninterpretedOption)@ -} data EnumValueOptions = EnumValueOptions'_constructor {_EnumValueOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _EnumValueOptions'features :: !(Prelude.Maybe FeatureSet), + _EnumValueOptions'debugRedact :: !(Prelude.Maybe Prelude.Bool), _EnumValueOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _EnumValueOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -2237,6 +2455,34 @@ instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'deprecated" (Prel _EnumValueOptions'deprecated (\ x__ y__ -> x__ {_EnumValueOptions'deprecated = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'features + (\ x__ y__ -> x__ {_EnumValueOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'features + (\ x__ y__ -> x__ {_EnumValueOptions'features = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueOptions "debugRedact" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'debugRedact + (\ x__ y__ -> x__ {_EnumValueOptions'debugRedact = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'debugRedact" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'debugRedact + (\ x__ y__ -> x__ {_EnumValueOptions'debugRedact = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField EnumValueOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -2260,7 +2506,9 @@ instance Data.ProtoLens.Message EnumValueOptions where \\DLEEnumValueOptions\DC2%\n\ \\n\ \deprecated\CAN\SOH \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ + \deprecated\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2(\n\ + \\fdebug_redact\CAN\ETX \SOH(\b:\ENQfalseR\vdebugRedact\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag @@ -2273,6 +2521,22 @@ instance Data.ProtoLens.Message EnumValueOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'deprecated")) :: Data.ProtoLens.FieldDescriptor EnumValueOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor EnumValueOptions + debugRedact__field_descriptor + = Data.ProtoLens.FieldDescriptor + "debug_redact" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'debugRedact")) :: + Data.ProtoLens.FieldDescriptor EnumValueOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -2285,6 +2549,8 @@ instance Data.ProtoLens.Message EnumValueOptions where in Data.Map.fromList [(Data.ProtoLens.Tag 1, deprecated__field_descriptor), + (Data.ProtoLens.Tag 2, features__field_descriptor), + (Data.ProtoLens.Tag 3, debugRedact__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -2293,6 +2559,8 @@ instance Data.ProtoLens.Message EnumValueOptions where defMessage = EnumValueOptions'_constructor {_EnumValueOptions'deprecated = Prelude.Nothing, + _EnumValueOptions'features = Prelude.Nothing, + _EnumValueOptions'debugRedact = Prelude.Nothing, _EnumValueOptions'uninterpretedOption = Data.Vector.Generic.empty, _EnumValueOptions'_unknownFields = []} parseMessage @@ -2332,6 +2600,23 @@ instance Data.ProtoLens.Message EnumValueOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) mutable'uninterpretedOption + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "debug_redact" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"debugRedact") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -2371,21 +2656,48 @@ instance Data.ProtoLens.Message EnumValueOptions where Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'debugRedact") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData EnumValueOptions where rnf = \ x__ @@ -2394,13 +2706,26 @@ instance Control.DeepSeq.NFData EnumValueOptions where (Control.DeepSeq.deepseq (_EnumValueOptions'deprecated x__) (Control.DeepSeq.deepseq - (_EnumValueOptions'uninterpretedOption x__) ())) + (_EnumValueOptions'features x__) + (Control.DeepSeq.deepseq + (_EnumValueOptions'debugRedact x__) + (Control.DeepSeq.deepseq + (_EnumValueOptions'uninterpretedOption x__) ())))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' ExtensionRangeOptions [UninterpretedOption]@ - * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector UninterpretedOption)@ -} + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector UninterpretedOption)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.declaration' @:: Lens' ExtensionRangeOptions [ExtensionRangeOptions'Declaration]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'declaration' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector ExtensionRangeOptions'Declaration)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' ExtensionRangeOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' ExtensionRangeOptions (Prelude.Maybe FeatureSet)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.verification' @:: Lens' ExtensionRangeOptions ExtensionRangeOptions'VerificationState@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'verification' @:: Lens' ExtensionRangeOptions (Prelude.Maybe ExtensionRangeOptions'VerificationState)@ -} data ExtensionRangeOptions = ExtensionRangeOptions'_constructor {_ExtensionRangeOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _ExtensionRangeOptions'declaration :: !(Data.Vector.Vector ExtensionRangeOptions'Declaration), + _ExtensionRangeOptions'features :: !(Prelude.Maybe FeatureSet), + _ExtensionRangeOptions'verification :: !(Prelude.Maybe ExtensionRangeOptions'VerificationState), _ExtensionRangeOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show ExtensionRangeOptions where @@ -2427,13 +2752,71 @@ instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "vec'uninterpretedO (\ x__ y__ -> x__ {_ExtensionRangeOptions'uninterpretedOption = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "declaration" [ExtensionRangeOptions'Declaration] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'declaration + (\ x__ y__ -> x__ {_ExtensionRangeOptions'declaration = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "vec'declaration" (Data.Vector.Vector ExtensionRangeOptions'Declaration) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'declaration + (\ x__ y__ -> x__ {_ExtensionRangeOptions'declaration = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'features + (\ x__ y__ -> x__ {_ExtensionRangeOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'features + (\ x__ y__ -> x__ {_ExtensionRangeOptions'features = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "verification" ExtensionRangeOptions'VerificationState where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'verification + (\ x__ y__ -> x__ {_ExtensionRangeOptions'verification = y__})) + (Data.ProtoLens.maybeLens ExtensionRangeOptions'UNVERIFIED) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "maybe'verification" (Prelude.Maybe ExtensionRangeOptions'VerificationState) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'verification + (\ x__ y__ -> x__ {_ExtensionRangeOptions'verification = y__})) + Prelude.id instance Data.ProtoLens.Message ExtensionRangeOptions where messageName _ = Data.Text.pack "google.protobuf.ExtensionRangeOptions" packedMessageDescriptor _ = "\n\ \\NAKExtensionRangeOptions\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\DC2Y\n\ + \\vdeclaration\CAN\STX \ETX(\v22.google.protobuf.ExtensionRangeOptions.DeclarationR\vdeclarationB\ETX\136\SOH\STX\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2h\n\ + \\fverification\CAN\ETX \SOH(\SO28.google.protobuf.ExtensionRangeOptions.VerificationState:\n\ + \UNVERIFIEDR\fverification\SUB\148\SOH\n\ + \\vDeclaration\DC2\SYN\n\ + \\ACKnumber\CAN\SOH \SOH(\ENQR\ACKnumber\DC2\ESC\n\ + \\tfull_name\CAN\STX \SOH(\tR\bfullName\DC2\DC2\n\ + \\EOTtype\CAN\ETX \SOH(\tR\EOTtype\DC2\SUB\n\ + \\breserved\CAN\ENQ \SOH(\bR\breserved\DC2\SUB\n\ + \\brepeated\CAN\ACK \SOH(\bR\brepeatedJ\EOT\b\EOT\DLE\ENQ\"4\n\ + \\DC1VerificationState\DC2\SI\n\ + \\vDECLARATION\DLE\NUL\DC2\SO\n\ + \\n\ + \UNVERIFIED\DLE\SOH*\t\b\232\a\DLE\128\128\128\128\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -2446,9 +2829,37 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"uninterpretedOption")) :: Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + declaration__field_descriptor + = Data.ProtoLens.FieldDescriptor + "declaration" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor ExtensionRangeOptions'Declaration) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"declaration")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + verification__field_descriptor + = Data.ProtoLens.FieldDescriptor + "verification" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor ExtensionRangeOptions'VerificationState) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'verification")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions in Data.Map.fromList - [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor), + (Data.ProtoLens.Tag 2, declaration__field_descriptor), + (Data.ProtoLens.Tag 50, features__field_descriptor), + (Data.ProtoLens.Tag 3, verification__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _ExtensionRangeOptions'_unknownFields @@ -2456,17 +2867,24 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where defMessage = ExtensionRangeOptions'_constructor {_ExtensionRangeOptions'uninterpretedOption = Data.Vector.Generic.empty, + _ExtensionRangeOptions'declaration = Data.Vector.Generic.empty, + _ExtensionRangeOptions'features = Prelude.Nothing, + _ExtensionRangeOptions'verification = Prelude.Nothing, _ExtensionRangeOptions'_unknownFields = []} parseMessage = let loop :: ExtensionRangeOptions - -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption - -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions - loop x mutable'uninterpretedOption + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ExtensionRangeOptions'Declaration + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions + loop x mutable'declaration mutable'uninterpretedOption = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then - do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + do frozen'declaration <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'declaration) + frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'uninterpretedOption) (let missing = [] @@ -2482,8 +2900,10 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption x)) + (Data.ProtoLens.Field.field @"vec'declaration") frozen'declaration + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -2497,19 +2917,55 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'uninterpretedOption y) - loop x v + loop x mutable'declaration v + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "declaration" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'declaration y) + loop x v mutable'uninterpretedOption + 402 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'declaration mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "verification" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"verification") y x) + mutable'declaration mutable'uninterpretedOption wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'uninterpretedOption + mutable'declaration mutable'uninterpretedOption in (Data.ProtoLens.Encoding.Bytes.) - (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (do mutable'declaration <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new - loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + loop + Data.ProtoLens.defMessage mutable'declaration + mutable'uninterpretedOption) "ExtensionRangeOptions" buildMessage = \ _x @@ -2527,15 +2983,1681 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'declaration") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 402) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'verification") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData ExtensionRangeOptions where rnf = \ x__ -> Control.DeepSeq.deepseq - (_ExtensionRangeOptions'_unknownFields x__) + (_ExtensionRangeOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'uninterpretedOption x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'declaration x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'features x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'verification x__) ())))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.number' @:: Lens' ExtensionRangeOptions'Declaration Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'number' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.fullName' @:: Lens' ExtensionRangeOptions'Declaration Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'fullName' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.type'' @:: Lens' ExtensionRangeOptions'Declaration Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'type'' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.reserved' @:: Lens' ExtensionRangeOptions'Declaration Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'reserved' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.repeated' @:: Lens' ExtensionRangeOptions'Declaration Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'repeated' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Prelude.Bool)@ -} +data ExtensionRangeOptions'Declaration + = ExtensionRangeOptions'Declaration'_constructor {_ExtensionRangeOptions'Declaration'number :: !(Prelude.Maybe Data.Int.Int32), + _ExtensionRangeOptions'Declaration'fullName :: !(Prelude.Maybe Data.Text.Text), + _ExtensionRangeOptions'Declaration'type' :: !(Prelude.Maybe Data.Text.Text), + _ExtensionRangeOptions'Declaration'reserved :: !(Prelude.Maybe Prelude.Bool), + _ExtensionRangeOptions'Declaration'repeated :: !(Prelude.Maybe Prelude.Bool), + _ExtensionRangeOptions'Declaration'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show ExtensionRangeOptions'Declaration where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "number" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'number + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'number = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'number" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'number + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'number = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "fullName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'fullName + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'fullName = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'fullName" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'fullName + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'fullName = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "type'" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'type' + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'type' = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'type'" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'type' + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'type' = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "reserved" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'reserved + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'reserved = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'reserved" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'reserved + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'reserved = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "repeated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'repeated + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'repeated = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'repeated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'repeated + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'repeated = y__})) + Prelude.id +instance Data.ProtoLens.Message ExtensionRangeOptions'Declaration where + messageName _ + = Data.Text.pack + "google.protobuf.ExtensionRangeOptions.Declaration" + packedMessageDescriptor _ + = "\n\ + \\vDeclaration\DC2\SYN\n\ + \\ACKnumber\CAN\SOH \SOH(\ENQR\ACKnumber\DC2\ESC\n\ + \\tfull_name\CAN\STX \SOH(\tR\bfullName\DC2\DC2\n\ + \\EOTtype\CAN\ETX \SOH(\tR\EOTtype\DC2\SUB\n\ + \\breserved\CAN\ENQ \SOH(\bR\breserved\DC2\SUB\n\ + \\brepeated\CAN\ACK \SOH(\bR\brepeatedJ\EOT\b\EOT\DLE\ENQ" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + number__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'number")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + fullName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "full_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'fullName")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + type'__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'type'")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + reserved__field_descriptor + = Data.ProtoLens.FieldDescriptor + "reserved" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'reserved")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + repeated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "repeated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'repeated")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, number__field_descriptor), + (Data.ProtoLens.Tag 2, fullName__field_descriptor), + (Data.ProtoLens.Tag 3, type'__field_descriptor), + (Data.ProtoLens.Tag 5, reserved__field_descriptor), + (Data.ProtoLens.Tag 6, repeated__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'Declaration'_unknownFields + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'_unknownFields = y__}) + defMessage + = ExtensionRangeOptions'Declaration'_constructor + {_ExtensionRangeOptions'Declaration'number = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'fullName = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'type' = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'reserved = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'repeated = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'_unknownFields = []} + parseMessage + = let + loop :: + ExtensionRangeOptions'Declaration + -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions'Declaration + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "number" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "full_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"fullName") y x) + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "type" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x) + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "reserved" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"reserved") y x) + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "repeated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"repeated") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "Declaration" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'fullName") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'type'") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'reserved") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'repeated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData ExtensionRangeOptions'Declaration where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_ExtensionRangeOptions'Declaration'_unknownFields x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'Declaration'number x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'Declaration'fullName x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'Declaration'type' x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'Declaration'reserved x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'Declaration'repeated x__) ()))))) +data ExtensionRangeOptions'VerificationState + = ExtensionRangeOptions'DECLARATION | + ExtensionRangeOptions'UNVERIFIED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum ExtensionRangeOptions'VerificationState where + maybeToEnum 0 = Prelude.Just ExtensionRangeOptions'DECLARATION + maybeToEnum 1 = Prelude.Just ExtensionRangeOptions'UNVERIFIED + maybeToEnum _ = Prelude.Nothing + showEnum ExtensionRangeOptions'DECLARATION = "DECLARATION" + showEnum ExtensionRangeOptions'UNVERIFIED = "UNVERIFIED" + readEnum k + | (Prelude.==) k "DECLARATION" + = Prelude.Just ExtensionRangeOptions'DECLARATION + | (Prelude.==) k "UNVERIFIED" + = Prelude.Just ExtensionRangeOptions'UNVERIFIED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded ExtensionRangeOptions'VerificationState where + minBound = ExtensionRangeOptions'DECLARATION + maxBound = ExtensionRangeOptions'UNVERIFIED +instance Prelude.Enum ExtensionRangeOptions'VerificationState where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum VerificationState: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum ExtensionRangeOptions'DECLARATION = 0 + fromEnum ExtensionRangeOptions'UNVERIFIED = 1 + succ ExtensionRangeOptions'UNVERIFIED + = Prelude.error + "ExtensionRangeOptions'VerificationState.succ: bad argument ExtensionRangeOptions'UNVERIFIED. This value would be out of bounds." + succ ExtensionRangeOptions'DECLARATION + = ExtensionRangeOptions'UNVERIFIED + pred ExtensionRangeOptions'DECLARATION + = Prelude.error + "ExtensionRangeOptions'VerificationState.pred: bad argument ExtensionRangeOptions'DECLARATION. This value would be out of bounds." + pred ExtensionRangeOptions'UNVERIFIED + = ExtensionRangeOptions'DECLARATION + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault ExtensionRangeOptions'VerificationState where + fieldDefault = ExtensionRangeOptions'DECLARATION +instance Control.DeepSeq.NFData ExtensionRangeOptions'VerificationState where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.fieldPresence' @:: Lens' FeatureSet FeatureSet'FieldPresence@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'fieldPresence' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'FieldPresence)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.enumType' @:: Lens' FeatureSet FeatureSet'EnumType@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'enumType' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'EnumType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.repeatedFieldEncoding' @:: Lens' FeatureSet FeatureSet'RepeatedFieldEncoding@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'repeatedFieldEncoding' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'RepeatedFieldEncoding)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.messageEncoding' @:: Lens' FeatureSet FeatureSet'MessageEncoding@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'messageEncoding' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'MessageEncoding)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.jsonFormat' @:: Lens' FeatureSet FeatureSet'JsonFormat@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jsonFormat' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'JsonFormat)@ -} +data FeatureSet + = FeatureSet'_constructor {_FeatureSet'fieldPresence :: !(Prelude.Maybe FeatureSet'FieldPresence), + _FeatureSet'enumType :: !(Prelude.Maybe FeatureSet'EnumType), + _FeatureSet'repeatedFieldEncoding :: !(Prelude.Maybe FeatureSet'RepeatedFieldEncoding), + _FeatureSet'messageEncoding :: !(Prelude.Maybe FeatureSet'MessageEncoding), + _FeatureSet'jsonFormat :: !(Prelude.Maybe FeatureSet'JsonFormat), + _FeatureSet'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FeatureSet where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FeatureSet "fieldPresence" FeatureSet'FieldPresence where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'fieldPresence + (\ x__ y__ -> x__ {_FeatureSet'fieldPresence = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'fieldPresence" (Prelude.Maybe FeatureSet'FieldPresence) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'fieldPresence + (\ x__ y__ -> x__ {_FeatureSet'fieldPresence = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "enumType" FeatureSet'EnumType where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'enumType + (\ x__ y__ -> x__ {_FeatureSet'enumType = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'enumType" (Prelude.Maybe FeatureSet'EnumType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'enumType + (\ x__ y__ -> x__ {_FeatureSet'enumType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "repeatedFieldEncoding" FeatureSet'RepeatedFieldEncoding where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'repeatedFieldEncoding + (\ x__ y__ -> x__ {_FeatureSet'repeatedFieldEncoding = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'repeatedFieldEncoding" (Prelude.Maybe FeatureSet'RepeatedFieldEncoding) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'repeatedFieldEncoding + (\ x__ y__ -> x__ {_FeatureSet'repeatedFieldEncoding = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "messageEncoding" FeatureSet'MessageEncoding where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'messageEncoding + (\ x__ y__ -> x__ {_FeatureSet'messageEncoding = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'messageEncoding" (Prelude.Maybe FeatureSet'MessageEncoding) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'messageEncoding + (\ x__ y__ -> x__ {_FeatureSet'messageEncoding = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "jsonFormat" FeatureSet'JsonFormat where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'jsonFormat + (\ x__ y__ -> x__ {_FeatureSet'jsonFormat = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'jsonFormat" (Prelude.Maybe FeatureSet'JsonFormat) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'jsonFormat + (\ x__ y__ -> x__ {_FeatureSet'jsonFormat = y__})) + Prelude.id +instance Data.ProtoLens.Message FeatureSet where + messageName _ = Data.Text.pack "google.protobuf.FeatureSet" + packedMessageDescriptor _ + = "\n\ + \\n\ + \FeatureSet\DC2k\n\ + \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\DC2\bEXPLICIT\CAN\232\a\DC2X\n\ + \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\DC2\EOTOPEN\CAN\232\a\DC2\130\SOH\n\ + \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\DC2\ACKPACKED\CAN\232\a\DC2x\n\ + \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\DC2\SILENGTH_PREFIXED\CAN\232\a\DC2b\n\ + \\vjson_format\CAN\ACK \SOH(\SO2&.google.protobuf.FeatureSet.JsonFormatR\n\ + \jsonFormatB\EM\136\SOH\SOH\152\SOH\ETX\152\SOH\ACK\152\SOH\SOH\162\SOH\n\ + \\DC2\ENQALLOW\CAN\232\a\"\\\n\ + \\rFieldPresence\DC2\SUB\n\ + \\SYNFIELD_PRESENCE_UNKNOWN\DLE\NUL\DC2\f\n\ + \\bEXPLICIT\DLE\SOH\DC2\f\n\ + \\bIMPLICIT\DLE\STX\DC2\DC3\n\ + \\SILEGACY_REQUIRED\DLE\ETX\"7\n\ + \\bEnumType\DC2\NAK\n\ + \\DC1ENUM_TYPE_UNKNOWN\DLE\NUL\DC2\b\n\ + \\EOTOPEN\DLE\SOH\DC2\n\ + \\n\ + \\ACKCLOSED\DLE\STX\"V\n\ + \\NAKRepeatedFieldEncoding\DC2#\n\ + \\USREPEATED_FIELD_ENCODING_UNKNOWN\DLE\NUL\DC2\n\ + \\n\ + \\ACKPACKED\DLE\SOH\DC2\f\n\ + \\bEXPANDED\DLE\STX\"S\n\ + \\SIMessageEncoding\DC2\FS\n\ + \\CANMESSAGE_ENCODING_UNKNOWN\DLE\NUL\DC2\DC3\n\ + \\SILENGTH_PREFIXED\DLE\SOH\DC2\r\n\ + \\tDELIMITED\DLE\STX\"H\n\ + \\n\ + \JsonFormat\DC2\ETB\n\ + \\DC3JSON_FORMAT_UNKNOWN\DLE\NUL\DC2\t\n\ + \\ENQALLOW\DLE\SOH\DC2\SYN\n\ + \\DC2LEGACY_BEST_EFFORT\DLE\STX*\ACK\b\232\a\DLE\233\a*\ACK\b\233\a\DLE\234\a*\ACK\b\139N\DLE\144NJ\EOT\b\EOT\DLE\ENQJ\ACK\b\231\a\DLE\232\a" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + fieldPresence__field_descriptor + = Data.ProtoLens.FieldDescriptor + "field_presence" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'FieldPresence) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'fieldPresence")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + enumType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "enum_type" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'EnumType) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'enumType")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + repeatedFieldEncoding__field_descriptor + = Data.ProtoLens.FieldDescriptor + "repeated_field_encoding" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'RepeatedFieldEncoding) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'repeatedFieldEncoding")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + messageEncoding__field_descriptor + = Data.ProtoLens.FieldDescriptor + "message_encoding" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'MessageEncoding) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'messageEncoding")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + jsonFormat__field_descriptor + = Data.ProtoLens.FieldDescriptor + "json_format" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'JsonFormat) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'jsonFormat")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, fieldPresence__field_descriptor), + (Data.ProtoLens.Tag 2, enumType__field_descriptor), + (Data.ProtoLens.Tag 3, repeatedFieldEncoding__field_descriptor), + (Data.ProtoLens.Tag 5, messageEncoding__field_descriptor), + (Data.ProtoLens.Tag 6, jsonFormat__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FeatureSet'_unknownFields + (\ x__ y__ -> x__ {_FeatureSet'_unknownFields = y__}) + defMessage + = FeatureSet'_constructor + {_FeatureSet'fieldPresence = Prelude.Nothing, + _FeatureSet'enumType = Prelude.Nothing, + _FeatureSet'repeatedFieldEncoding = Prelude.Nothing, + _FeatureSet'messageEncoding = Prelude.Nothing, + _FeatureSet'jsonFormat = Prelude.Nothing, + _FeatureSet'_unknownFields = []} + parseMessage + = let + loop :: + FeatureSet -> Data.ProtoLens.Encoding.Bytes.Parser FeatureSet + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "field_presence" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"fieldPresence") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "enum_type" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"enumType") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "repeated_field_encoding" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"repeatedFieldEncoding") y x) + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "message_encoding" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"messageEncoding") y x) + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "json_format" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jsonFormat") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FeatureSet" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'fieldPresence") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'enumType") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'repeatedFieldEncoding") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'messageEncoding") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'jsonFormat") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData FeatureSet where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FeatureSet'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FeatureSet'fieldPresence x__) + (Control.DeepSeq.deepseq + (_FeatureSet'enumType x__) + (Control.DeepSeq.deepseq + (_FeatureSet'repeatedFieldEncoding x__) + (Control.DeepSeq.deepseq + (_FeatureSet'messageEncoding x__) + (Control.DeepSeq.deepseq (_FeatureSet'jsonFormat x__) ()))))) +data FeatureSet'EnumType + = FeatureSet'ENUM_TYPE_UNKNOWN | + FeatureSet'OPEN | + FeatureSet'CLOSED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'EnumType where + maybeToEnum 0 = Prelude.Just FeatureSet'ENUM_TYPE_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'OPEN + maybeToEnum 2 = Prelude.Just FeatureSet'CLOSED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'ENUM_TYPE_UNKNOWN = "ENUM_TYPE_UNKNOWN" + showEnum FeatureSet'OPEN = "OPEN" + showEnum FeatureSet'CLOSED = "CLOSED" + readEnum k + | (Prelude.==) k "ENUM_TYPE_UNKNOWN" + = Prelude.Just FeatureSet'ENUM_TYPE_UNKNOWN + | (Prelude.==) k "OPEN" = Prelude.Just FeatureSet'OPEN + | (Prelude.==) k "CLOSED" = Prelude.Just FeatureSet'CLOSED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'EnumType where + minBound = FeatureSet'ENUM_TYPE_UNKNOWN + maxBound = FeatureSet'CLOSED +instance Prelude.Enum FeatureSet'EnumType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum EnumType: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'ENUM_TYPE_UNKNOWN = 0 + fromEnum FeatureSet'OPEN = 1 + fromEnum FeatureSet'CLOSED = 2 + succ FeatureSet'CLOSED + = Prelude.error + "FeatureSet'EnumType.succ: bad argument FeatureSet'CLOSED. This value would be out of bounds." + succ FeatureSet'ENUM_TYPE_UNKNOWN = FeatureSet'OPEN + succ FeatureSet'OPEN = FeatureSet'CLOSED + pred FeatureSet'ENUM_TYPE_UNKNOWN + = Prelude.error + "FeatureSet'EnumType.pred: bad argument FeatureSet'ENUM_TYPE_UNKNOWN. This value would be out of bounds." + pred FeatureSet'OPEN = FeatureSet'ENUM_TYPE_UNKNOWN + pred FeatureSet'CLOSED = FeatureSet'OPEN + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'EnumType where + fieldDefault = FeatureSet'ENUM_TYPE_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'EnumType where + rnf x__ = Prelude.seq x__ () +data FeatureSet'FieldPresence + = FeatureSet'FIELD_PRESENCE_UNKNOWN | + FeatureSet'EXPLICIT | + FeatureSet'IMPLICIT | + FeatureSet'LEGACY_REQUIRED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'FieldPresence where + maybeToEnum 0 = Prelude.Just FeatureSet'FIELD_PRESENCE_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'EXPLICIT + maybeToEnum 2 = Prelude.Just FeatureSet'IMPLICIT + maybeToEnum 3 = Prelude.Just FeatureSet'LEGACY_REQUIRED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'FIELD_PRESENCE_UNKNOWN + = "FIELD_PRESENCE_UNKNOWN" + showEnum FeatureSet'EXPLICIT = "EXPLICIT" + showEnum FeatureSet'IMPLICIT = "IMPLICIT" + showEnum FeatureSet'LEGACY_REQUIRED = "LEGACY_REQUIRED" + readEnum k + | (Prelude.==) k "FIELD_PRESENCE_UNKNOWN" + = Prelude.Just FeatureSet'FIELD_PRESENCE_UNKNOWN + | (Prelude.==) k "EXPLICIT" = Prelude.Just FeatureSet'EXPLICIT + | (Prelude.==) k "IMPLICIT" = Prelude.Just FeatureSet'IMPLICIT + | (Prelude.==) k "LEGACY_REQUIRED" + = Prelude.Just FeatureSet'LEGACY_REQUIRED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'FieldPresence where + minBound = FeatureSet'FIELD_PRESENCE_UNKNOWN + maxBound = FeatureSet'LEGACY_REQUIRED +instance Prelude.Enum FeatureSet'FieldPresence where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum FieldPresence: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'FIELD_PRESENCE_UNKNOWN = 0 + fromEnum FeatureSet'EXPLICIT = 1 + fromEnum FeatureSet'IMPLICIT = 2 + fromEnum FeatureSet'LEGACY_REQUIRED = 3 + succ FeatureSet'LEGACY_REQUIRED + = Prelude.error + "FeatureSet'FieldPresence.succ: bad argument FeatureSet'LEGACY_REQUIRED. This value would be out of bounds." + succ FeatureSet'FIELD_PRESENCE_UNKNOWN = FeatureSet'EXPLICIT + succ FeatureSet'EXPLICIT = FeatureSet'IMPLICIT + succ FeatureSet'IMPLICIT = FeatureSet'LEGACY_REQUIRED + pred FeatureSet'FIELD_PRESENCE_UNKNOWN + = Prelude.error + "FeatureSet'FieldPresence.pred: bad argument FeatureSet'FIELD_PRESENCE_UNKNOWN. This value would be out of bounds." + pred FeatureSet'EXPLICIT = FeatureSet'FIELD_PRESENCE_UNKNOWN + pred FeatureSet'IMPLICIT = FeatureSet'EXPLICIT + pred FeatureSet'LEGACY_REQUIRED = FeatureSet'IMPLICIT + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'FieldPresence where + fieldDefault = FeatureSet'FIELD_PRESENCE_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'FieldPresence where + rnf x__ = Prelude.seq x__ () +data FeatureSet'JsonFormat + = FeatureSet'JSON_FORMAT_UNKNOWN | + FeatureSet'ALLOW | + FeatureSet'LEGACY_BEST_EFFORT + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'JsonFormat where + maybeToEnum 0 = Prelude.Just FeatureSet'JSON_FORMAT_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'ALLOW + maybeToEnum 2 = Prelude.Just FeatureSet'LEGACY_BEST_EFFORT + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'JSON_FORMAT_UNKNOWN = "JSON_FORMAT_UNKNOWN" + showEnum FeatureSet'ALLOW = "ALLOW" + showEnum FeatureSet'LEGACY_BEST_EFFORT = "LEGACY_BEST_EFFORT" + readEnum k + | (Prelude.==) k "JSON_FORMAT_UNKNOWN" + = Prelude.Just FeatureSet'JSON_FORMAT_UNKNOWN + | (Prelude.==) k "ALLOW" = Prelude.Just FeatureSet'ALLOW + | (Prelude.==) k "LEGACY_BEST_EFFORT" + = Prelude.Just FeatureSet'LEGACY_BEST_EFFORT + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'JsonFormat where + minBound = FeatureSet'JSON_FORMAT_UNKNOWN + maxBound = FeatureSet'LEGACY_BEST_EFFORT +instance Prelude.Enum FeatureSet'JsonFormat where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum JsonFormat: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'JSON_FORMAT_UNKNOWN = 0 + fromEnum FeatureSet'ALLOW = 1 + fromEnum FeatureSet'LEGACY_BEST_EFFORT = 2 + succ FeatureSet'LEGACY_BEST_EFFORT + = Prelude.error + "FeatureSet'JsonFormat.succ: bad argument FeatureSet'LEGACY_BEST_EFFORT. This value would be out of bounds." + succ FeatureSet'JSON_FORMAT_UNKNOWN = FeatureSet'ALLOW + succ FeatureSet'ALLOW = FeatureSet'LEGACY_BEST_EFFORT + pred FeatureSet'JSON_FORMAT_UNKNOWN + = Prelude.error + "FeatureSet'JsonFormat.pred: bad argument FeatureSet'JSON_FORMAT_UNKNOWN. This value would be out of bounds." + pred FeatureSet'ALLOW = FeatureSet'JSON_FORMAT_UNKNOWN + pred FeatureSet'LEGACY_BEST_EFFORT = FeatureSet'ALLOW + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'JsonFormat where + fieldDefault = FeatureSet'JSON_FORMAT_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'JsonFormat where + rnf x__ = Prelude.seq x__ () +data FeatureSet'MessageEncoding + = FeatureSet'MESSAGE_ENCODING_UNKNOWN | + FeatureSet'LENGTH_PREFIXED | + FeatureSet'DELIMITED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'MessageEncoding where + maybeToEnum 0 = Prelude.Just FeatureSet'MESSAGE_ENCODING_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'LENGTH_PREFIXED + maybeToEnum 2 = Prelude.Just FeatureSet'DELIMITED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'MESSAGE_ENCODING_UNKNOWN + = "MESSAGE_ENCODING_UNKNOWN" + showEnum FeatureSet'LENGTH_PREFIXED = "LENGTH_PREFIXED" + showEnum FeatureSet'DELIMITED = "DELIMITED" + readEnum k + | (Prelude.==) k "MESSAGE_ENCODING_UNKNOWN" + = Prelude.Just FeatureSet'MESSAGE_ENCODING_UNKNOWN + | (Prelude.==) k "LENGTH_PREFIXED" + = Prelude.Just FeatureSet'LENGTH_PREFIXED + | (Prelude.==) k "DELIMITED" = Prelude.Just FeatureSet'DELIMITED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'MessageEncoding where + minBound = FeatureSet'MESSAGE_ENCODING_UNKNOWN + maxBound = FeatureSet'DELIMITED +instance Prelude.Enum FeatureSet'MessageEncoding where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum MessageEncoding: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'MESSAGE_ENCODING_UNKNOWN = 0 + fromEnum FeatureSet'LENGTH_PREFIXED = 1 + fromEnum FeatureSet'DELIMITED = 2 + succ FeatureSet'DELIMITED + = Prelude.error + "FeatureSet'MessageEncoding.succ: bad argument FeatureSet'DELIMITED. This value would be out of bounds." + succ FeatureSet'MESSAGE_ENCODING_UNKNOWN + = FeatureSet'LENGTH_PREFIXED + succ FeatureSet'LENGTH_PREFIXED = FeatureSet'DELIMITED + pred FeatureSet'MESSAGE_ENCODING_UNKNOWN + = Prelude.error + "FeatureSet'MessageEncoding.pred: bad argument FeatureSet'MESSAGE_ENCODING_UNKNOWN. This value would be out of bounds." + pred FeatureSet'LENGTH_PREFIXED + = FeatureSet'MESSAGE_ENCODING_UNKNOWN + pred FeatureSet'DELIMITED = FeatureSet'LENGTH_PREFIXED + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'MessageEncoding where + fieldDefault = FeatureSet'MESSAGE_ENCODING_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'MessageEncoding where + rnf x__ = Prelude.seq x__ () +data FeatureSet'RepeatedFieldEncoding + = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN | + FeatureSet'PACKED | + FeatureSet'EXPANDED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'RepeatedFieldEncoding where + maybeToEnum 0 + = Prelude.Just FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'PACKED + maybeToEnum 2 = Prelude.Just FeatureSet'EXPANDED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + = "REPEATED_FIELD_ENCODING_UNKNOWN" + showEnum FeatureSet'PACKED = "PACKED" + showEnum FeatureSet'EXPANDED = "EXPANDED" + readEnum k + | (Prelude.==) k "REPEATED_FIELD_ENCODING_UNKNOWN" + = Prelude.Just FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + | (Prelude.==) k "PACKED" = Prelude.Just FeatureSet'PACKED + | (Prelude.==) k "EXPANDED" = Prelude.Just FeatureSet'EXPANDED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'RepeatedFieldEncoding where + minBound = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + maxBound = FeatureSet'EXPANDED +instance Prelude.Enum FeatureSet'RepeatedFieldEncoding where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum RepeatedFieldEncoding: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN = 0 + fromEnum FeatureSet'PACKED = 1 + fromEnum FeatureSet'EXPANDED = 2 + succ FeatureSet'EXPANDED + = Prelude.error + "FeatureSet'RepeatedFieldEncoding.succ: bad argument FeatureSet'EXPANDED. This value would be out of bounds." + succ FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet'PACKED + succ FeatureSet'PACKED = FeatureSet'EXPANDED + pred FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + = Prelude.error + "FeatureSet'RepeatedFieldEncoding.pred: bad argument FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN. This value would be out of bounds." + pred FeatureSet'PACKED = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + pred FeatureSet'EXPANDED = FeatureSet'PACKED + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'RepeatedFieldEncoding where + fieldDefault = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'RepeatedFieldEncoding where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.defaults' @:: Lens' FeatureSetDefaults [FeatureSetDefaults'FeatureSetEditionDefault]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'defaults' @:: Lens' FeatureSetDefaults (Data.Vector.Vector FeatureSetDefaults'FeatureSetEditionDefault)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.minimumEdition' @:: Lens' FeatureSetDefaults Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'minimumEdition' @:: Lens' FeatureSetDefaults (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maximumEdition' @:: Lens' FeatureSetDefaults Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'maximumEdition' @:: Lens' FeatureSetDefaults (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.minimumEditionEnum' @:: Lens' FeatureSetDefaults Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'minimumEditionEnum' @:: Lens' FeatureSetDefaults (Prelude.Maybe Edition)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maximumEditionEnum' @:: Lens' FeatureSetDefaults Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'maximumEditionEnum' @:: Lens' FeatureSetDefaults (Prelude.Maybe Edition)@ -} +data FeatureSetDefaults + = FeatureSetDefaults'_constructor {_FeatureSetDefaults'defaults :: !(Data.Vector.Vector FeatureSetDefaults'FeatureSetEditionDefault), + _FeatureSetDefaults'minimumEdition :: !(Prelude.Maybe Data.Text.Text), + _FeatureSetDefaults'maximumEdition :: !(Prelude.Maybe Data.Text.Text), + _FeatureSetDefaults'minimumEditionEnum :: !(Prelude.Maybe Edition), + _FeatureSetDefaults'maximumEditionEnum :: !(Prelude.Maybe Edition), + _FeatureSetDefaults'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FeatureSetDefaults where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "defaults" [FeatureSetDefaults'FeatureSetEditionDefault] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'defaults + (\ x__ y__ -> x__ {_FeatureSetDefaults'defaults = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "vec'defaults" (Data.Vector.Vector FeatureSetDefaults'FeatureSetEditionDefault) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'defaults + (\ x__ y__ -> x__ {_FeatureSetDefaults'defaults = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "minimumEdition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEdition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'minimumEdition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEdition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maximumEdition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEdition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'maximumEdition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEdition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "minimumEditionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEditionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'minimumEditionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEditionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maximumEditionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEditionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'maximumEditionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEditionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Message FeatureSetDefaults where + messageName _ = Data.Text.pack "google.protobuf.FeatureSetDefaults" + packedMessageDescriptor _ + = "\n\ + \\DC2FeatureSetDefaults\DC2X\n\ + \\bdefaults\CAN\SOH \ETX(\v2<.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultR\bdefaults\DC2'\n\ + \\SIminimum_edition\CAN\STX \SOH(\tR\SOminimumEdition\DC2'\n\ + \\SImaximum_edition\CAN\ETX \SOH(\tR\SOmaximumEdition\DC2J\n\ + \\DC4minimum_edition_enum\CAN\EOT \SOH(\SO2\CAN.google.protobuf.EditionR\DC2minimumEditionEnum\DC2J\n\ + \\DC4maximum_edition_enum\CAN\ENQ \SOH(\SO2\CAN.google.protobuf.EditionR\DC2maximumEditionEnum\SUB\170\SOH\n\ + \\CANFeatureSetEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + defaults__field_descriptor + = Data.ProtoLens.FieldDescriptor + "defaults" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSetDefaults'FeatureSetEditionDefault) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"defaults")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + minimumEdition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "minimum_edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'minimumEdition")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + maximumEdition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "maximum_edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'maximumEdition")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + minimumEditionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "minimum_edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'minimumEditionEnum")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + maximumEditionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "maximum_edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'maximumEditionEnum")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, defaults__field_descriptor), + (Data.ProtoLens.Tag 2, minimumEdition__field_descriptor), + (Data.ProtoLens.Tag 3, maximumEdition__field_descriptor), + (Data.ProtoLens.Tag 4, minimumEditionEnum__field_descriptor), + (Data.ProtoLens.Tag 5, maximumEditionEnum__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FeatureSetDefaults'_unknownFields + (\ x__ y__ -> x__ {_FeatureSetDefaults'_unknownFields = y__}) + defMessage + = FeatureSetDefaults'_constructor + {_FeatureSetDefaults'defaults = Data.Vector.Generic.empty, + _FeatureSetDefaults'minimumEdition = Prelude.Nothing, + _FeatureSetDefaults'maximumEdition = Prelude.Nothing, + _FeatureSetDefaults'minimumEditionEnum = Prelude.Nothing, + _FeatureSetDefaults'maximumEditionEnum = Prelude.Nothing, + _FeatureSetDefaults'_unknownFields = []} + parseMessage + = let + loop :: + FeatureSetDefaults + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FeatureSetDefaults'FeatureSetEditionDefault + -> Data.ProtoLens.Encoding.Bytes.Parser FeatureSetDefaults + loop x mutable'defaults + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'defaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'defaults) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'defaults") frozen'defaults x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "defaults" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'defaults y) + loop x v + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "minimum_edition" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"minimumEdition") y x) + mutable'defaults + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "maximum_edition" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"maximumEdition") y x) + mutable'defaults + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "minimum_edition_enum" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"minimumEditionEnum") y x) + mutable'defaults + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "maximum_edition_enum" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"maximumEditionEnum") y x) + mutable'defaults + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'defaults + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'defaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'defaults) + "FeatureSetDefaults" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'defaults") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'minimumEdition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'maximumEdition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'minimumEditionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'maximumEditionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData FeatureSetDefaults where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FeatureSetDefaults'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'defaults x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'minimumEdition x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'maximumEdition x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'minimumEditionEnum x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'maximumEditionEnum x__) ()))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.edition' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'edition' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionEnum' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'editionEnum' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault (Prelude.Maybe Edition)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault (Prelude.Maybe FeatureSet)@ -} +data FeatureSetDefaults'FeatureSetEditionDefault + = FeatureSetDefaults'FeatureSetEditionDefault'_constructor {_FeatureSetDefaults'FeatureSetEditionDefault'edition :: !(Prelude.Maybe Data.Text.Text), + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum :: !(Prelude.Maybe Edition), + _FeatureSetDefaults'FeatureSetEditionDefault'features :: !(Prelude.Maybe FeatureSet), + _FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FeatureSetDefaults'FeatureSetEditionDefault where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'edition + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'edition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "maybe'edition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'edition + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'edition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "editionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'editionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "maybe'editionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'editionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'features + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'features + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'features = y__})) + Prelude.id +instance Data.ProtoLens.Message FeatureSetDefaults'FeatureSetEditionDefault where + messageName _ + = Data.Text.pack + "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault" + packedMessageDescriptor _ + = "\n\ + \\CANFeatureSetEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'edition")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults'FeatureSetEditionDefault + editionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'editionEnum")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults'FeatureSetEditionDefault + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults'FeatureSetEditionDefault + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, edition__field_descriptor), + (Data.ProtoLens.Tag 3, editionEnum__field_descriptor), + (Data.ProtoLens.Tag 2, features__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields = y__}) + defMessage + = FeatureSetDefaults'FeatureSetEditionDefault'_constructor + {_FeatureSetDefaults'FeatureSetEditionDefault'edition = Prelude.Nothing, + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum = Prelude.Nothing, + _FeatureSetDefaults'FeatureSetEditionDefault'features = Prelude.Nothing, + _FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields = []} + parseMessage + = let + loop :: + FeatureSetDefaults'FeatureSetEditionDefault + -> Data.ProtoLens.Encoding.Bytes.Parser FeatureSetDefaults'FeatureSetEditionDefault + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "edition_enum" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"editionEnum") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FeatureSetEditionDefault" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'edition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'editionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData FeatureSetDefaults'FeatureSetEditionDefault where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields x__) (Control.DeepSeq.deepseq - (_ExtensionRangeOptions'uninterpretedOption x__) ()) + (_FeatureSetDefaults'FeatureSetEditionDefault'edition x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'editionEnum x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'features x__) ()))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FieldDescriptorProto Data.Text.Text@ @@ -3490,10 +5612,22 @@ instance Control.DeepSeq.NFData FieldDescriptorProto'Type where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jstype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'JSType)@ * 'Proto.Google.Protobuf.Descriptor_Fields.lazy' @:: Lens' FieldOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'lazy' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.unverifiedLazy' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'unverifiedLazy' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' FieldOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.weak' @:: Lens' FieldOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'weak' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.debugRedact' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'debugRedact' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.retention' @:: Lens' FieldOptions FieldOptions'OptionRetention@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'retention' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'OptionRetention)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.targets' @:: Lens' FieldOptions [FieldOptions'OptionTargetType]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'targets' @:: Lens' FieldOptions (Data.Vector.Vector FieldOptions'OptionTargetType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionDefaults' @:: Lens' FieldOptions [FieldOptions'EditionDefault]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'editionDefaults' @:: Lens' FieldOptions (Data.Vector.Vector FieldOptions'EditionDefault)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' FieldOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' FieldOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FieldOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FieldOptions (Data.Vector.Vector UninterpretedOption)@ -} data FieldOptions @@ -3501,8 +5635,14 @@ data FieldOptions _FieldOptions'packed :: !(Prelude.Maybe Prelude.Bool), _FieldOptions'jstype :: !(Prelude.Maybe FieldOptions'JSType), _FieldOptions'lazy :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'unverifiedLazy :: !(Prelude.Maybe Prelude.Bool), _FieldOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _FieldOptions'weak :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'debugRedact :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'retention :: !(Prelude.Maybe FieldOptions'OptionRetention), + _FieldOptions'targets :: !(Data.Vector.Vector FieldOptions'OptionTargetType), + _FieldOptions'editionDefaults :: !(Data.Vector.Vector FieldOptions'EditionDefault), + _FieldOptions'features :: !(Prelude.Maybe FeatureSet), _FieldOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _FieldOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -3564,6 +5704,20 @@ instance Data.ProtoLens.Field.HasField FieldOptions "maybe'lazy" (Prelude.Maybe (Lens.Family2.Unchecked.lens _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "unverifiedLazy" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'unverifiedLazy + (\ x__ y__ -> x__ {_FieldOptions'unverifiedLazy = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'unverifiedLazy" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'unverifiedLazy + (\ x__ y__ -> x__ {_FieldOptions'unverifiedLazy = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField FieldOptions "deprecated" Prelude.Bool where fieldOf _ = (Prelude..) @@ -3590,6 +5744,80 @@ instance Data.ProtoLens.Field.HasField FieldOptions "maybe'weak" (Prelude.Maybe (Lens.Family2.Unchecked.lens _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "debugRedact" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'debugRedact + (\ x__ y__ -> x__ {_FieldOptions'debugRedact = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'debugRedact" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'debugRedact + (\ x__ y__ -> x__ {_FieldOptions'debugRedact = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "retention" FieldOptions'OptionRetention where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'retention + (\ x__ y__ -> x__ {_FieldOptions'retention = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'retention" (Prelude.Maybe FieldOptions'OptionRetention) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'retention + (\ x__ y__ -> x__ {_FieldOptions'retention = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "targets" [FieldOptions'OptionTargetType] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'targets + (\ x__ y__ -> x__ {_FieldOptions'targets = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldOptions "vec'targets" (Data.Vector.Vector FieldOptions'OptionTargetType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'targets + (\ x__ y__ -> x__ {_FieldOptions'targets = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "editionDefaults" [FieldOptions'EditionDefault] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'editionDefaults + (\ x__ y__ -> x__ {_FieldOptions'editionDefaults = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldOptions "vec'editionDefaults" (Data.Vector.Vector FieldOptions'EditionDefault) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'editionDefaults + (\ x__ y__ -> x__ {_FieldOptions'editionDefaults = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'features + (\ x__ y__ -> x__ {_FieldOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'features + (\ x__ y__ -> x__ {_FieldOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField FieldOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -3614,13 +5842,23 @@ instance Data.ProtoLens.Message FieldOptions where \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ - \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2%\n\ + \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2.\n\ + \\SIunverified_lazy\CAN\SI \SOH(\b:\ENQfalseR\SOunverifiedLazy\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\EM\n\ \\EOTweak\CAN\n\ - \ \SOH(\b:\ENQfalseR\EOTweak\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"/\n\ + \ \SOH(\b:\ENQfalseR\EOTweak\DC2(\n\ + \\fdebug_redact\CAN\DLE \SOH(\b:\ENQfalseR\vdebugRedact\DC2K\n\ + \\tretention\CAN\DC1 \SOH(\SO2-.google.protobuf.FieldOptions.OptionRetentionR\tretention\DC2H\n\ + \\atargets\CAN\DC3 \ETX(\SO2..google.protobuf.FieldOptions.OptionTargetTypeR\atargets\DC2W\n\ + \\DLEedition_defaults\CAN\DC4 \ETX(\v2,.google.protobuf.FieldOptions.EditionDefaultR\SIeditionDefaults\DC27\n\ + \\bfeatures\CAN\NAK \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\SUB}\n\ + \\SOEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue\"/\n\ \\ENQCType\DC2\n\ \\n\ \\ACKSTRING\DLE\NUL\DC2\b\n\ @@ -3629,7 +5867,22 @@ instance Data.ProtoLens.Message FieldOptions where \\ACKJSType\DC2\r\n\ \\tJS_NORMAL\DLE\NUL\DC2\r\n\ \\tJS_STRING\DLE\SOH\DC2\r\n\ - \\tJS_NUMBER\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQ" + \\tJS_NUMBER\DLE\STX\"U\n\ + \\SIOptionRetention\DC2\NAK\n\ + \\DC1RETENTION_UNKNOWN\DLE\NUL\DC2\NAK\n\ + \\DC1RETENTION_RUNTIME\DLE\SOH\DC2\DC4\n\ + \\DLERETENTION_SOURCE\DLE\STX\"\140\STX\n\ + \\DLEOptionTargetType\DC2\ETB\n\ + \\DC3TARGET_TYPE_UNKNOWN\DLE\NUL\DC2\DC4\n\ + \\DLETARGET_TYPE_FILE\DLE\SOH\DC2\US\n\ + \\ESCTARGET_TYPE_EXTENSION_RANGE\DLE\STX\DC2\ETB\n\ + \\DC3TARGET_TYPE_MESSAGE\DLE\ETX\DC2\NAK\n\ + \\DC1TARGET_TYPE_FIELD\DLE\EOT\DC2\NAK\n\ + \\DC1TARGET_TYPE_ONEOF\DLE\ENQ\DC2\DC4\n\ + \\DLETARGET_TYPE_ENUM\DLE\ACK\DC2\SUB\n\ + \\SYNTARGET_TYPE_ENUM_ENTRY\DLE\a\DC2\ETB\n\ + \\DC3TARGET_TYPE_SERVICE\DLE\b\DC2\SYN\n\ + \\DC2TARGET_TYPE_METHOD\DLE\t*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\DC2\DLE\DC3" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -3665,6 +5918,14 @@ instance Data.ProtoLens.Message FieldOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'lazy")) :: Data.ProtoLens.FieldDescriptor FieldOptions + unverifiedLazy__field_descriptor + = Data.ProtoLens.FieldDescriptor + "unverified_lazy" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'unverifiedLazy")) :: + Data.ProtoLens.FieldDescriptor FieldOptions deprecated__field_descriptor = Data.ProtoLens.FieldDescriptor "deprecated" @@ -3681,6 +5942,47 @@ instance Data.ProtoLens.Message FieldOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'weak")) :: Data.ProtoLens.FieldDescriptor FieldOptions + debugRedact__field_descriptor + = Data.ProtoLens.FieldDescriptor + "debug_redact" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'debugRedact")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + retention__field_descriptor + = Data.ProtoLens.FieldDescriptor + "retention" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'OptionRetention) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'retention")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + targets__field_descriptor + = Data.ProtoLens.FieldDescriptor + "targets" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'OptionTargetType) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"targets")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + editionDefaults__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_defaults" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'EditionDefault) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"editionDefaults")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor FieldOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -3696,8 +5998,14 @@ instance Data.ProtoLens.Message FieldOptions where (Data.ProtoLens.Tag 2, packed__field_descriptor), (Data.ProtoLens.Tag 6, jstype__field_descriptor), (Data.ProtoLens.Tag 5, lazy__field_descriptor), + (Data.ProtoLens.Tag 15, unverifiedLazy__field_descriptor), (Data.ProtoLens.Tag 3, deprecated__field_descriptor), (Data.ProtoLens.Tag 10, weak__field_descriptor), + (Data.ProtoLens.Tag 16, debugRedact__field_descriptor), + (Data.ProtoLens.Tag 17, retention__field_descriptor), + (Data.ProtoLens.Tag 19, targets__field_descriptor), + (Data.ProtoLens.Tag 20, editionDefaults__field_descriptor), + (Data.ProtoLens.Tag 21, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -3709,20 +6017,38 @@ instance Data.ProtoLens.Message FieldOptions where _FieldOptions'packed = Prelude.Nothing, _FieldOptions'jstype = Prelude.Nothing, _FieldOptions'lazy = Prelude.Nothing, + _FieldOptions'unverifiedLazy = Prelude.Nothing, _FieldOptions'deprecated = Prelude.Nothing, _FieldOptions'weak = Prelude.Nothing, + _FieldOptions'debugRedact = Prelude.Nothing, + _FieldOptions'retention = Prelude.Nothing, + _FieldOptions'targets = Data.Vector.Generic.empty, + _FieldOptions'editionDefaults = Data.Vector.Generic.empty, + _FieldOptions'features = Prelude.Nothing, _FieldOptions'uninterpretedOption = Data.Vector.Generic.empty, _FieldOptions'_unknownFields = []} parseMessage = let loop :: FieldOptions - -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption - -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions - loop x mutable'uninterpretedOption + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldOptions'EditionDefault + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldOptions'OptionTargetType + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions + loop + x + mutable'editionDefaults + mutable'targets + mutable'uninterpretedOption = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then - do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + do frozen'editionDefaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'editionDefaults) + frozen'targets <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'targets) + frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'uninterpretedOption) (let missing = [] @@ -3738,8 +6064,13 @@ instance Data.ProtoLens.Message FieldOptions where (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption x)) + (Data.ProtoLens.Field.field @"vec'editionDefaults") + frozen'editionDefaults + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'targets") frozen'targets + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -3752,6 +6083,7 @@ instance Data.ProtoLens.Message FieldOptions where "ctype" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"ctype") y x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption 16 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -3760,6 +6092,7 @@ instance Data.ProtoLens.Message FieldOptions where "packed" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"packed") y x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption 48 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -3771,6 +6104,7 @@ instance Data.ProtoLens.Message FieldOptions where "jstype" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"jstype") y x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption 40 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -3779,6 +6113,17 @@ instance Data.ProtoLens.Message FieldOptions where "lazy" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"lazy") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 120 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "unverified_lazy" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"unverifiedLazy") y x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption 24 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -3787,6 +6132,7 @@ instance Data.ProtoLens.Message FieldOptions where "deprecated" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption 80 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -3795,6 +6141,84 @@ instance Data.ProtoLens.Message FieldOptions where "weak" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"weak") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 128 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "debug_redact" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"debugRedact") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 136 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "retention" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"retention") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 152 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "targets" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'targets y) + loop x mutable'editionDefaults v mutable'uninterpretedOption + 154 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "targets" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'targets) + loop x mutable'editionDefaults y mutable'uninterpretedOption + 162 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "edition_defaults" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'editionDefaults y) + loop x v mutable'targets mutable'uninterpretedOption + 170 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -3806,19 +6230,26 @@ instance Data.ProtoLens.Message FieldOptions where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'uninterpretedOption y) - loop x v + loop x mutable'editionDefaults mutable'targets v wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'editionDefaults mutable'targets mutable'uninterpretedOption in (Data.ProtoLens.Encoding.Bytes.) - (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (do mutable'editionDefaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'targets <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new - loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + loop + Data.ProtoLens.defMessage mutable'editionDefaults mutable'targets + mutable'uninterpretedOption) "FieldOptions" buildMessage = \ _x @@ -3871,43 +6302,137 @@ instance Data.ProtoLens.Message FieldOptions where ((Data.Monoid.<>) (case Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'deprecated") _x + (Data.ProtoLens.Field.field @"maybe'unverifiedLazy") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + (Data.ProtoLens.Encoding.Bytes.putVarInt 120) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'weak") _x + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 80) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'weak") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 80) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'debugRedact") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 128) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'retention") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 136) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 152) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'targets") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 162) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'editionDefaults") + _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'features") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 170) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field + @"vec'uninterpretedOption") + _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x)))))))))))))) instance Control.DeepSeq.NFData FieldOptions where rnf = \ x__ @@ -3922,11 +6447,24 @@ instance Control.DeepSeq.NFData FieldOptions where (Control.DeepSeq.deepseq (_FieldOptions'lazy x__) (Control.DeepSeq.deepseq - (_FieldOptions'deprecated x__) + (_FieldOptions'unverifiedLazy x__) (Control.DeepSeq.deepseq - (_FieldOptions'weak x__) + (_FieldOptions'deprecated x__) (Control.DeepSeq.deepseq - (_FieldOptions'uninterpretedOption x__) ()))))))) + (_FieldOptions'weak x__) + (Control.DeepSeq.deepseq + (_FieldOptions'debugRedact x__) + (Control.DeepSeq.deepseq + (_FieldOptions'retention x__) + (Control.DeepSeq.deepseq + (_FieldOptions'targets x__) + (Control.DeepSeq.deepseq + (_FieldOptions'editionDefaults x__) + (Control.DeepSeq.deepseq + (_FieldOptions'features x__) + (Control.DeepSeq.deepseq + (_FieldOptions'uninterpretedOption x__) + ()))))))))))))) data FieldOptions'CType = FieldOptions'STRING | FieldOptions'CORD | @@ -3978,6 +6516,236 @@ instance Data.ProtoLens.FieldDefault FieldOptions'CType where fieldDefault = FieldOptions'STRING instance Control.DeepSeq.NFData FieldOptions'CType where rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.edition' @:: Lens' FieldOptions'EditionDefault Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'edition' @:: Lens' FieldOptions'EditionDefault (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionEnum' @:: Lens' FieldOptions'EditionDefault Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'editionEnum' @:: Lens' FieldOptions'EditionDefault (Prelude.Maybe Edition)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.value' @:: Lens' FieldOptions'EditionDefault Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'value' @:: Lens' FieldOptions'EditionDefault (Prelude.Maybe Data.Text.Text)@ -} +data FieldOptions'EditionDefault + = FieldOptions'EditionDefault'_constructor {_FieldOptions'EditionDefault'edition :: !(Prelude.Maybe Data.Text.Text), + _FieldOptions'EditionDefault'editionEnum :: !(Prelude.Maybe Edition), + _FieldOptions'EditionDefault'value :: !(Prelude.Maybe Data.Text.Text), + _FieldOptions'EditionDefault'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldOptions'EditionDefault where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'edition + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'edition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "maybe'edition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'edition + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'edition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "editionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'editionEnum + (\ x__ y__ + -> x__ {_FieldOptions'EditionDefault'editionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "maybe'editionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'editionEnum + (\ x__ y__ + -> x__ {_FieldOptions'EditionDefault'editionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "value" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'value + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'value = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "maybe'value" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'value + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'value = y__})) + Prelude.id +instance Data.ProtoLens.Message FieldOptions'EditionDefault where + messageName _ + = Data.Text.pack "google.protobuf.FieldOptions.EditionDefault" + packedMessageDescriptor _ + = "\n\ + \\SOEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'edition")) :: + Data.ProtoLens.FieldDescriptor FieldOptions'EditionDefault + editionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'editionEnum")) :: + Data.ProtoLens.FieldDescriptor FieldOptions'EditionDefault + value__field_descriptor + = Data.ProtoLens.FieldDescriptor + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'value")) :: + Data.ProtoLens.FieldDescriptor FieldOptions'EditionDefault + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, edition__field_descriptor), + (Data.ProtoLens.Tag 3, editionEnum__field_descriptor), + (Data.ProtoLens.Tag 2, value__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FieldOptions'EditionDefault'_unknownFields + (\ x__ y__ + -> x__ {_FieldOptions'EditionDefault'_unknownFields = y__}) + defMessage + = FieldOptions'EditionDefault'_constructor + {_FieldOptions'EditionDefault'edition = Prelude.Nothing, + _FieldOptions'EditionDefault'editionEnum = Prelude.Nothing, + _FieldOptions'EditionDefault'value = Prelude.Nothing, + _FieldOptions'EditionDefault'_unknownFields = []} + parseMessage + = let + loop :: + FieldOptions'EditionDefault + -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions'EditionDefault + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "edition_enum" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"editionEnum") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "EditionDefault" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'edition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'editionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData FieldOptions'EditionDefault where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FieldOptions'EditionDefault'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FieldOptions'EditionDefault'edition x__) + (Control.DeepSeq.deepseq + (_FieldOptions'EditionDefault'editionEnum x__) + (Control.DeepSeq.deepseq + (_FieldOptions'EditionDefault'value x__) ()))) data FieldOptions'JSType = FieldOptions'JS_NORMAL | FieldOptions'JS_STRING | @@ -4028,6 +6796,191 @@ instance Data.ProtoLens.FieldDefault FieldOptions'JSType where fieldDefault = FieldOptions'JS_NORMAL instance Control.DeepSeq.NFData FieldOptions'JSType where rnf x__ = Prelude.seq x__ () +data FieldOptions'OptionRetention + = FieldOptions'RETENTION_UNKNOWN | + FieldOptions'RETENTION_RUNTIME | + FieldOptions'RETENTION_SOURCE + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'OptionRetention where + maybeToEnum 0 = Prelude.Just FieldOptions'RETENTION_UNKNOWN + maybeToEnum 1 = Prelude.Just FieldOptions'RETENTION_RUNTIME + maybeToEnum 2 = Prelude.Just FieldOptions'RETENTION_SOURCE + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'RETENTION_UNKNOWN = "RETENTION_UNKNOWN" + showEnum FieldOptions'RETENTION_RUNTIME = "RETENTION_RUNTIME" + showEnum FieldOptions'RETENTION_SOURCE = "RETENTION_SOURCE" + readEnum k + | (Prelude.==) k "RETENTION_UNKNOWN" + = Prelude.Just FieldOptions'RETENTION_UNKNOWN + | (Prelude.==) k "RETENTION_RUNTIME" + = Prelude.Just FieldOptions'RETENTION_RUNTIME + | (Prelude.==) k "RETENTION_SOURCE" + = Prelude.Just FieldOptions'RETENTION_SOURCE + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'OptionRetention where + minBound = FieldOptions'RETENTION_UNKNOWN + maxBound = FieldOptions'RETENTION_SOURCE +instance Prelude.Enum FieldOptions'OptionRetention where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum OptionRetention: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'RETENTION_UNKNOWN = 0 + fromEnum FieldOptions'RETENTION_RUNTIME = 1 + fromEnum FieldOptions'RETENTION_SOURCE = 2 + succ FieldOptions'RETENTION_SOURCE + = Prelude.error + "FieldOptions'OptionRetention.succ: bad argument FieldOptions'RETENTION_SOURCE. This value would be out of bounds." + succ FieldOptions'RETENTION_UNKNOWN + = FieldOptions'RETENTION_RUNTIME + succ FieldOptions'RETENTION_RUNTIME = FieldOptions'RETENTION_SOURCE + pred FieldOptions'RETENTION_UNKNOWN + = Prelude.error + "FieldOptions'OptionRetention.pred: bad argument FieldOptions'RETENTION_UNKNOWN. This value would be out of bounds." + pred FieldOptions'RETENTION_RUNTIME + = FieldOptions'RETENTION_UNKNOWN + pred FieldOptions'RETENTION_SOURCE = FieldOptions'RETENTION_RUNTIME + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'OptionRetention where + fieldDefault = FieldOptions'RETENTION_UNKNOWN +instance Control.DeepSeq.NFData FieldOptions'OptionRetention where + rnf x__ = Prelude.seq x__ () +data FieldOptions'OptionTargetType + = FieldOptions'TARGET_TYPE_UNKNOWN | + FieldOptions'TARGET_TYPE_FILE | + FieldOptions'TARGET_TYPE_EXTENSION_RANGE | + FieldOptions'TARGET_TYPE_MESSAGE | + FieldOptions'TARGET_TYPE_FIELD | + FieldOptions'TARGET_TYPE_ONEOF | + FieldOptions'TARGET_TYPE_ENUM | + FieldOptions'TARGET_TYPE_ENUM_ENTRY | + FieldOptions'TARGET_TYPE_SERVICE | + FieldOptions'TARGET_TYPE_METHOD + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'OptionTargetType where + maybeToEnum 0 = Prelude.Just FieldOptions'TARGET_TYPE_UNKNOWN + maybeToEnum 1 = Prelude.Just FieldOptions'TARGET_TYPE_FILE + maybeToEnum 2 + = Prelude.Just FieldOptions'TARGET_TYPE_EXTENSION_RANGE + maybeToEnum 3 = Prelude.Just FieldOptions'TARGET_TYPE_MESSAGE + maybeToEnum 4 = Prelude.Just FieldOptions'TARGET_TYPE_FIELD + maybeToEnum 5 = Prelude.Just FieldOptions'TARGET_TYPE_ONEOF + maybeToEnum 6 = Prelude.Just FieldOptions'TARGET_TYPE_ENUM + maybeToEnum 7 = Prelude.Just FieldOptions'TARGET_TYPE_ENUM_ENTRY + maybeToEnum 8 = Prelude.Just FieldOptions'TARGET_TYPE_SERVICE + maybeToEnum 9 = Prelude.Just FieldOptions'TARGET_TYPE_METHOD + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'TARGET_TYPE_UNKNOWN = "TARGET_TYPE_UNKNOWN" + showEnum FieldOptions'TARGET_TYPE_FILE = "TARGET_TYPE_FILE" + showEnum FieldOptions'TARGET_TYPE_EXTENSION_RANGE + = "TARGET_TYPE_EXTENSION_RANGE" + showEnum FieldOptions'TARGET_TYPE_MESSAGE = "TARGET_TYPE_MESSAGE" + showEnum FieldOptions'TARGET_TYPE_FIELD = "TARGET_TYPE_FIELD" + showEnum FieldOptions'TARGET_TYPE_ONEOF = "TARGET_TYPE_ONEOF" + showEnum FieldOptions'TARGET_TYPE_ENUM = "TARGET_TYPE_ENUM" + showEnum FieldOptions'TARGET_TYPE_ENUM_ENTRY + = "TARGET_TYPE_ENUM_ENTRY" + showEnum FieldOptions'TARGET_TYPE_SERVICE = "TARGET_TYPE_SERVICE" + showEnum FieldOptions'TARGET_TYPE_METHOD = "TARGET_TYPE_METHOD" + readEnum k + | (Prelude.==) k "TARGET_TYPE_UNKNOWN" + = Prelude.Just FieldOptions'TARGET_TYPE_UNKNOWN + | (Prelude.==) k "TARGET_TYPE_FILE" + = Prelude.Just FieldOptions'TARGET_TYPE_FILE + | (Prelude.==) k "TARGET_TYPE_EXTENSION_RANGE" + = Prelude.Just FieldOptions'TARGET_TYPE_EXTENSION_RANGE + | (Prelude.==) k "TARGET_TYPE_MESSAGE" + = Prelude.Just FieldOptions'TARGET_TYPE_MESSAGE + | (Prelude.==) k "TARGET_TYPE_FIELD" + = Prelude.Just FieldOptions'TARGET_TYPE_FIELD + | (Prelude.==) k "TARGET_TYPE_ONEOF" + = Prelude.Just FieldOptions'TARGET_TYPE_ONEOF + | (Prelude.==) k "TARGET_TYPE_ENUM" + = Prelude.Just FieldOptions'TARGET_TYPE_ENUM + | (Prelude.==) k "TARGET_TYPE_ENUM_ENTRY" + = Prelude.Just FieldOptions'TARGET_TYPE_ENUM_ENTRY + | (Prelude.==) k "TARGET_TYPE_SERVICE" + = Prelude.Just FieldOptions'TARGET_TYPE_SERVICE + | (Prelude.==) k "TARGET_TYPE_METHOD" + = Prelude.Just FieldOptions'TARGET_TYPE_METHOD + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'OptionTargetType where + minBound = FieldOptions'TARGET_TYPE_UNKNOWN + maxBound = FieldOptions'TARGET_TYPE_METHOD +instance Prelude.Enum FieldOptions'OptionTargetType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum OptionTargetType: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'TARGET_TYPE_UNKNOWN = 0 + fromEnum FieldOptions'TARGET_TYPE_FILE = 1 + fromEnum FieldOptions'TARGET_TYPE_EXTENSION_RANGE = 2 + fromEnum FieldOptions'TARGET_TYPE_MESSAGE = 3 + fromEnum FieldOptions'TARGET_TYPE_FIELD = 4 + fromEnum FieldOptions'TARGET_TYPE_ONEOF = 5 + fromEnum FieldOptions'TARGET_TYPE_ENUM = 6 + fromEnum FieldOptions'TARGET_TYPE_ENUM_ENTRY = 7 + fromEnum FieldOptions'TARGET_TYPE_SERVICE = 8 + fromEnum FieldOptions'TARGET_TYPE_METHOD = 9 + succ FieldOptions'TARGET_TYPE_METHOD + = Prelude.error + "FieldOptions'OptionTargetType.succ: bad argument FieldOptions'TARGET_TYPE_METHOD. This value would be out of bounds." + succ FieldOptions'TARGET_TYPE_UNKNOWN + = FieldOptions'TARGET_TYPE_FILE + succ FieldOptions'TARGET_TYPE_FILE + = FieldOptions'TARGET_TYPE_EXTENSION_RANGE + succ FieldOptions'TARGET_TYPE_EXTENSION_RANGE + = FieldOptions'TARGET_TYPE_MESSAGE + succ FieldOptions'TARGET_TYPE_MESSAGE + = FieldOptions'TARGET_TYPE_FIELD + succ FieldOptions'TARGET_TYPE_FIELD + = FieldOptions'TARGET_TYPE_ONEOF + succ FieldOptions'TARGET_TYPE_ONEOF = FieldOptions'TARGET_TYPE_ENUM + succ FieldOptions'TARGET_TYPE_ENUM + = FieldOptions'TARGET_TYPE_ENUM_ENTRY + succ FieldOptions'TARGET_TYPE_ENUM_ENTRY + = FieldOptions'TARGET_TYPE_SERVICE + succ FieldOptions'TARGET_TYPE_SERVICE + = FieldOptions'TARGET_TYPE_METHOD + pred FieldOptions'TARGET_TYPE_UNKNOWN + = Prelude.error + "FieldOptions'OptionTargetType.pred: bad argument FieldOptions'TARGET_TYPE_UNKNOWN. This value would be out of bounds." + pred FieldOptions'TARGET_TYPE_FILE + = FieldOptions'TARGET_TYPE_UNKNOWN + pred FieldOptions'TARGET_TYPE_EXTENSION_RANGE + = FieldOptions'TARGET_TYPE_FILE + pred FieldOptions'TARGET_TYPE_MESSAGE + = FieldOptions'TARGET_TYPE_EXTENSION_RANGE + pred FieldOptions'TARGET_TYPE_FIELD + = FieldOptions'TARGET_TYPE_MESSAGE + pred FieldOptions'TARGET_TYPE_ONEOF + = FieldOptions'TARGET_TYPE_FIELD + pred FieldOptions'TARGET_TYPE_ENUM = FieldOptions'TARGET_TYPE_ONEOF + pred FieldOptions'TARGET_TYPE_ENUM_ENTRY + = FieldOptions'TARGET_TYPE_ENUM + pred FieldOptions'TARGET_TYPE_SERVICE + = FieldOptions'TARGET_TYPE_ENUM_ENTRY + pred FieldOptions'TARGET_TYPE_METHOD + = FieldOptions'TARGET_TYPE_SERVICE + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'OptionTargetType where + fieldDefault = FieldOptions'TARGET_TYPE_UNKNOWN +instance Control.DeepSeq.NFData FieldOptions'OptionTargetType where + rnf x__ = Prelude.seq x__ () {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FileDescriptorProto Data.Text.Text@ @@ -4053,7 +7006,11 @@ instance Control.DeepSeq.NFData FieldOptions'JSType where * 'Proto.Google.Protobuf.Descriptor_Fields.sourceCodeInfo' @:: Lens' FileDescriptorProto SourceCodeInfo@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'sourceCodeInfo' @:: Lens' FileDescriptorProto (Prelude.Maybe SourceCodeInfo)@ * 'Proto.Google.Protobuf.Descriptor_Fields.syntax' @:: Lens' FileDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'syntax' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ -} + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'syntax' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.edition' @:: Lens' FileDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'edition' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionEnum' @:: Lens' FileDescriptorProto Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'editionEnum' @:: Lens' FileDescriptorProto (Prelude.Maybe Edition)@ -} data FileDescriptorProto = FileDescriptorProto'_constructor {_FileDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), _FileDescriptorProto'package :: !(Prelude.Maybe Data.Text.Text), @@ -4067,6 +7024,8 @@ data FileDescriptorProto _FileDescriptorProto'options :: !(Prelude.Maybe FileOptions), _FileDescriptorProto'sourceCodeInfo :: !(Prelude.Maybe SourceCodeInfo), _FileDescriptorProto'syntax :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'edition :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'editionEnum :: !(Prelude.Maybe Edition), _FileDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show FileDescriptorProto where @@ -4257,6 +7216,34 @@ instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'syntax" (Prelu _FileDescriptorProto'syntax (\ x__ y__ -> x__ {_FileDescriptorProto'syntax = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'edition + (\ x__ y__ -> x__ {_FileDescriptorProto'edition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'edition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'edition + (\ x__ y__ -> x__ {_FileDescriptorProto'edition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "editionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'editionEnum + (\ x__ y__ -> x__ {_FileDescriptorProto'editionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'editionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'editionEnum + (\ x__ y__ -> x__ {_FileDescriptorProto'editionEnum = y__})) + Prelude.id instance Data.ProtoLens.Message FileDescriptorProto where messageName _ = Data.Text.pack "google.protobuf.FileDescriptorProto" @@ -4277,7 +7264,9 @@ instance Data.ProtoLens.Message FileDescriptorProto where \\textension\CAN\a \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC26\n\ \\aoptions\CAN\b \SOH(\v2\FS.google.protobuf.FileOptionsR\aoptions\DC2I\n\ \\DLEsource_code_info\CAN\t \SOH(\v2\US.google.protobuf.SourceCodeInfoR\SOsourceCodeInfo\DC2\SYN\n\ - \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax" + \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\r \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\SO \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -4383,6 +7372,22 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'syntax")) :: Data.ProtoLens.FieldDescriptor FileDescriptorProto + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'edition")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + editionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'editionEnum")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto in Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor), @@ -4396,7 +7401,9 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Tag 7, extension__field_descriptor), (Data.ProtoLens.Tag 8, options__field_descriptor), (Data.ProtoLens.Tag 9, sourceCodeInfo__field_descriptor), - (Data.ProtoLens.Tag 12, syntax__field_descriptor)] + (Data.ProtoLens.Tag 12, syntax__field_descriptor), + (Data.ProtoLens.Tag 13, edition__field_descriptor), + (Data.ProtoLens.Tag 14, editionEnum__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _FileDescriptorProto'_unknownFields @@ -4415,6 +7422,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where _FileDescriptorProto'options = Prelude.Nothing, _FileDescriptorProto'sourceCodeInfo = Prelude.Nothing, _FileDescriptorProto'syntax = Prelude.Nothing, + _FileDescriptorProto'edition = Prelude.Nothing, + _FileDescriptorProto'editionEnum = Prelude.Nothing, _FileDescriptorProto'_unknownFields = []} parseMessage = let @@ -4678,7 +7687,31 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Prelude.fromIntegral len)) "syntax" loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 106 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 112 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "edition_enum" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"editionEnum") y x) mutable'dependency mutable'enumType mutable'extension mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency @@ -4896,9 +7929,49 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putBytes bs)) Data.Text.Encoding.encodeUtf8 _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view - Data.ProtoLens.unknownFields _x))))))))))))) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'edition") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 106) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'editionEnum") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 112) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields + _x))))))))))))))) instance Control.DeepSeq.NFData FileDescriptorProto where rnf = \ x__ @@ -4927,7 +8000,12 @@ instance Control.DeepSeq.NFData FileDescriptorProto where (Control.DeepSeq.deepseq (_FileDescriptorProto'sourceCodeInfo x__) (Control.DeepSeq.deepseq - (_FileDescriptorProto'syntax x__) ())))))))))))) + (_FileDescriptorProto'syntax x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'edition x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'editionEnum x__) + ())))))))))))))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.file' @:: Lens' FileDescriptorSet [FileDescriptorProto]@ @@ -5101,6 +8179,8 @@ instance Control.DeepSeq.NFData FileDescriptorSet where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'phpMetadataNamespace' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ * 'Proto.Google.Protobuf.Descriptor_Fields.rubyPackage' @:: Lens' FileOptions Data.Text.Text@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'rubyPackage' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' FileOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' FileOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FileOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FileOptions (Data.Vector.Vector UninterpretedOption)@ -} data FileOptions @@ -5124,6 +8204,7 @@ data FileOptions _FileOptions'phpNamespace :: !(Prelude.Maybe Data.Text.Text), _FileOptions'phpMetadataNamespace :: !(Prelude.Maybe Data.Text.Text), _FileOptions'rubyPackage :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'features :: !(Prelude.Maybe FeatureSet), _FileOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _FileOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -5413,6 +8494,20 @@ instance Data.ProtoLens.Field.HasField FileOptions "maybe'rubyPackage" (Prelude. _FileOptions'rubyPackage (\ x__ y__ -> x__ {_FileOptions'rubyPackage = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'features + (\ x__ y__ -> x__ {_FileOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'features + (\ x__ y__ -> x__ {_FileOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField FileOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -5457,7 +8552,8 @@ instance Data.ProtoLens.Message FileOptions where \\DLEphp_class_prefix\CAN( \SOH(\tR\SOphpClassPrefix\DC2#\n\ \\rphp_namespace\CAN) \SOH(\tR\fphpNamespace\DC24\n\ \\SYNphp_metadata_namespace\CAN, \SOH(\tR\DC4phpMetadataNamespace\DC2!\n\ - \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC2X\n\ + \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\":\n\ \\fOptimizeMode\DC2\t\n\ \\ENQSPEED\DLE\SOH\DC2\r\n\ @@ -5626,6 +8722,14 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'rubyPackage")) :: Data.ProtoLens.FieldDescriptor FileOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor FileOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -5658,6 +8762,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Tag 41, phpNamespace__field_descriptor), (Data.ProtoLens.Tag 44, phpMetadataNamespace__field_descriptor), (Data.ProtoLens.Tag 45, rubyPackage__field_descriptor), + (Data.ProtoLens.Tag 50, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -5685,6 +8790,7 @@ instance Data.ProtoLens.Message FileOptions where _FileOptions'phpNamespace = Prelude.Nothing, _FileOptions'phpMetadataNamespace = Prelude.Nothing, _FileOptions'rubyPackage = Prelude.Nothing, + _FileOptions'features = Prelude.Nothing, _FileOptions'uninterpretedOption = Data.Vector.Generic.empty, _FileOptions'_unknownFields = []} parseMessage @@ -5904,6 +9010,15 @@ instance Data.ProtoLens.Message FileOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"rubyPackage") y x) mutable'uninterpretedOption + 402 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -6278,30 +9393,54 @@ instance Data.ProtoLens.Message FileOptions where Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length - bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes - bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field - @"vec'uninterpretedOption") - _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view - Data.ProtoLens.unknownFields - _x)))))))))))))))))))))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'features") + _x + of + Prelude.Nothing + -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 402) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage + _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field + @"vec'uninterpretedOption") + _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields + _x))))))))))))))))))))))) instance Control.DeepSeq.NFData FileOptions where rnf = \ x__ @@ -6350,9 +9489,12 @@ instance Control.DeepSeq.NFData FileOptions where (_FileOptions'rubyPackage x__) (Control.DeepSeq.deepseq - (_FileOptions'uninterpretedOption + (_FileOptions'features x__) - ()))))))))))))))))))))) + (Control.DeepSeq.deepseq + (_FileOptions'uninterpretedOption + x__) + ())))))))))))))))))))))) data FileOptions'OptimizeMode = FileOptions'SPEED | FileOptions'CODE_SIZE | @@ -6442,14 +9584,19 @@ instance Data.ProtoLens.Message GeneratedCodeInfo where \\DC1GeneratedCodeInfo\DC2M\n\ \\n\ \annotation\CAN\SOH \ETX(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n\ - \annotation\SUBm\n\ + \annotation\SUB\235\SOH\n\ \\n\ \Annotation\DC2\SYN\n\ \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ \\vsource_file\CAN\STX \SOH(\tR\n\ \sourceFile\DC2\DC4\n\ \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ - \\ETXend\CAN\EOT \SOH(\ENQR\ETXend" + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend\DC2R\n\ + \\bsemantic\CAN\ENQ \SOH(\SO26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n\ + \\bSemantic\DC2\b\n\ + \\EOTNONE\DLE\NUL\DC2\a\n\ + \\ETXSET\DLE\SOH\DC2\t\n\ + \\ENQALIAS\DLE\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -6559,12 +9706,15 @@ instance Control.DeepSeq.NFData GeneratedCodeInfo where * 'Proto.Google.Protobuf.Descriptor_Fields.begin' @:: Lens' GeneratedCodeInfo'Annotation Data.Int.Int32@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'begin' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ * 'Proto.Google.Protobuf.Descriptor_Fields.end' @:: Lens' GeneratedCodeInfo'Annotation Data.Int.Int32@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ -} + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.semantic' @:: Lens' GeneratedCodeInfo'Annotation GeneratedCodeInfo'Annotation'Semantic@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'semantic' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe GeneratedCodeInfo'Annotation'Semantic)@ -} data GeneratedCodeInfo'Annotation = GeneratedCodeInfo'Annotation'_constructor {_GeneratedCodeInfo'Annotation'path :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), _GeneratedCodeInfo'Annotation'sourceFile :: !(Prelude.Maybe Data.Text.Text), _GeneratedCodeInfo'Annotation'begin :: !(Prelude.Maybe Data.Int.Int32), _GeneratedCodeInfo'Annotation'end :: !(Prelude.Maybe Data.Int.Int32), + _GeneratedCodeInfo'Annotation'semantic :: !(Prelude.Maybe GeneratedCodeInfo'Annotation'Semantic), _GeneratedCodeInfo'Annotation'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show GeneratedCodeInfo'Annotation where @@ -6633,6 +9783,20 @@ instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'end" _GeneratedCodeInfo'Annotation'end (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'end = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "semantic" GeneratedCodeInfo'Annotation'Semantic where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'semantic + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'semantic = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'semantic" (Prelude.Maybe GeneratedCodeInfo'Annotation'Semantic) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'semantic + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'semantic = y__})) + Prelude.id instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where messageName _ = Data.Text.pack "google.protobuf.GeneratedCodeInfo.Annotation" @@ -6644,7 +9808,12 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where \\vsource_file\CAN\STX \SOH(\tR\n\ \sourceFile\DC2\DC4\n\ \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ - \\ETXend\CAN\EOT \SOH(\ENQR\ETXend" + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend\DC2R\n\ + \\bsemantic\CAN\ENQ \SOH(\SO26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n\ + \\bSemantic\DC2\b\n\ + \\EOTNONE\DLE\NUL\DC2\a\n\ + \\ETXSET\DLE\SOH\DC2\t\n\ + \\ENQALIAS\DLE\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -6680,12 +9849,21 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'end")) :: Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation + semantic__field_descriptor + = Data.ProtoLens.FieldDescriptor + "semantic" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor GeneratedCodeInfo'Annotation'Semantic) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'semantic")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation in Data.Map.fromList [(Data.ProtoLens.Tag 1, path__field_descriptor), (Data.ProtoLens.Tag 2, sourceFile__field_descriptor), (Data.ProtoLens.Tag 3, begin__field_descriptor), - (Data.ProtoLens.Tag 4, end__field_descriptor)] + (Data.ProtoLens.Tag 4, end__field_descriptor), + (Data.ProtoLens.Tag 5, semantic__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _GeneratedCodeInfo'Annotation'_unknownFields @@ -6697,6 +9875,7 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where _GeneratedCodeInfo'Annotation'sourceFile = Prelude.Nothing, _GeneratedCodeInfo'Annotation'begin = Prelude.Nothing, _GeneratedCodeInfo'Annotation'end = Prelude.Nothing, + _GeneratedCodeInfo'Annotation'semantic = Prelude.Nothing, _GeneratedCodeInfo'Annotation'_unknownFields = []} parseMessage = let @@ -6783,6 +9962,17 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x) mutable'path + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "semantic" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"semantic") y x) + mutable'path wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire @@ -6853,8 +10043,21 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where (Data.ProtoLens.Encoding.Bytes.putVarInt 32) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'semantic") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where rnf = \ x__ @@ -6867,7 +10070,66 @@ instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where (Control.DeepSeq.deepseq (_GeneratedCodeInfo'Annotation'begin x__) (Control.DeepSeq.deepseq - (_GeneratedCodeInfo'Annotation'end x__) ())))) + (_GeneratedCodeInfo'Annotation'end x__) + (Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'semantic x__) ()))))) +data GeneratedCodeInfo'Annotation'Semantic + = GeneratedCodeInfo'Annotation'NONE | + GeneratedCodeInfo'Annotation'SET | + GeneratedCodeInfo'Annotation'ALIAS + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum GeneratedCodeInfo'Annotation'Semantic where + maybeToEnum 0 = Prelude.Just GeneratedCodeInfo'Annotation'NONE + maybeToEnum 1 = Prelude.Just GeneratedCodeInfo'Annotation'SET + maybeToEnum 2 = Prelude.Just GeneratedCodeInfo'Annotation'ALIAS + maybeToEnum _ = Prelude.Nothing + showEnum GeneratedCodeInfo'Annotation'NONE = "NONE" + showEnum GeneratedCodeInfo'Annotation'SET = "SET" + showEnum GeneratedCodeInfo'Annotation'ALIAS = "ALIAS" + readEnum k + | (Prelude.==) k "NONE" + = Prelude.Just GeneratedCodeInfo'Annotation'NONE + | (Prelude.==) k "SET" + = Prelude.Just GeneratedCodeInfo'Annotation'SET + | (Prelude.==) k "ALIAS" + = Prelude.Just GeneratedCodeInfo'Annotation'ALIAS + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded GeneratedCodeInfo'Annotation'Semantic where + minBound = GeneratedCodeInfo'Annotation'NONE + maxBound = GeneratedCodeInfo'Annotation'ALIAS +instance Prelude.Enum GeneratedCodeInfo'Annotation'Semantic where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Semantic: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum GeneratedCodeInfo'Annotation'NONE = 0 + fromEnum GeneratedCodeInfo'Annotation'SET = 1 + fromEnum GeneratedCodeInfo'Annotation'ALIAS = 2 + succ GeneratedCodeInfo'Annotation'ALIAS + = Prelude.error + "GeneratedCodeInfo'Annotation'Semantic.succ: bad argument GeneratedCodeInfo'Annotation'ALIAS. This value would be out of bounds." + succ GeneratedCodeInfo'Annotation'NONE + = GeneratedCodeInfo'Annotation'SET + succ GeneratedCodeInfo'Annotation'SET + = GeneratedCodeInfo'Annotation'ALIAS + pred GeneratedCodeInfo'Annotation'NONE + = Prelude.error + "GeneratedCodeInfo'Annotation'Semantic.pred: bad argument GeneratedCodeInfo'Annotation'NONE. This value would be out of bounds." + pred GeneratedCodeInfo'Annotation'SET + = GeneratedCodeInfo'Annotation'NONE + pred GeneratedCodeInfo'Annotation'ALIAS + = GeneratedCodeInfo'Annotation'SET + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault GeneratedCodeInfo'Annotation'Semantic where + fieldDefault = GeneratedCodeInfo'Annotation'NONE +instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation'Semantic where + rnf x__ = Prelude.seq x__ () {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.messageSetWireFormat' @:: Lens' MessageOptions Prelude.Bool@ @@ -6878,6 +10140,10 @@ instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.mapEntry' @:: Lens' MessageOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'mapEntry' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecatedLegacyJsonFieldConflicts' @:: Lens' MessageOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecatedLegacyJsonFieldConflicts' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' MessageOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' MessageOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' MessageOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' MessageOptions (Data.Vector.Vector UninterpretedOption)@ -} data MessageOptions @@ -6885,6 +10151,8 @@ data MessageOptions _MessageOptions'noStandardDescriptorAccessor :: !(Prelude.Maybe Prelude.Bool), _MessageOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _MessageOptions'mapEntry :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'deprecatedLegacyJsonFieldConflicts :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'features :: !(Prelude.Maybe FeatureSet), _MessageOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _MessageOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -6952,6 +10220,36 @@ instance Data.ProtoLens.Field.HasField MessageOptions "maybe'mapEntry" (Prelude. _MessageOptions'mapEntry (\ x__ y__ -> x__ {_MessageOptions'mapEntry = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "deprecatedLegacyJsonFieldConflicts" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_MessageOptions'deprecatedLegacyJsonFieldConflicts = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'deprecatedLegacyJsonFieldConflicts" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_MessageOptions'deprecatedLegacyJsonFieldConflicts = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'features + (\ x__ y__ -> x__ {_MessageOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'features + (\ x__ y__ -> x__ {_MessageOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField MessageOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -6978,8 +10276,10 @@ instance Data.ProtoLens.Message MessageOptions where \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\ESC\n\ - \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n" + \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\v \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\f \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\ENQ\DLE\ACKJ\EOT\b\ACK\DLE\aJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -7016,6 +10316,23 @@ instance Data.ProtoLens.Message MessageOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'mapEntry")) :: Data.ProtoLens.FieldDescriptor MessageOptions + deprecatedLegacyJsonFieldConflicts__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated_legacy_json_field_conflicts" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor MessageOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -7032,6 +10349,9 @@ instance Data.ProtoLens.Message MessageOptions where noStandardDescriptorAccessor__field_descriptor), (Data.ProtoLens.Tag 3, deprecated__field_descriptor), (Data.ProtoLens.Tag 7, mapEntry__field_descriptor), + (Data.ProtoLens.Tag 11, + deprecatedLegacyJsonFieldConflicts__field_descriptor), + (Data.ProtoLens.Tag 12, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -7043,6 +10363,8 @@ instance Data.ProtoLens.Message MessageOptions where _MessageOptions'noStandardDescriptorAccessor = Prelude.Nothing, _MessageOptions'deprecated = Prelude.Nothing, _MessageOptions'mapEntry = Prelude.Nothing, + _MessageOptions'deprecatedLegacyJsonFieldConflicts = Prelude.Nothing, + _MessageOptions'features = Prelude.Nothing, _MessageOptions'uninterpretedOption = Data.Vector.Generic.empty, _MessageOptions'_unknownFields = []} parseMessage @@ -7109,6 +10431,26 @@ instance Data.ProtoLens.Message MessageOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"mapEntry") y x) mutable'uninterpretedOption + 88 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated_legacy_json_field_conflicts" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field + @"deprecatedLegacyJsonFieldConflicts") + y x) + mutable'uninterpretedOption + 98 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -7184,22 +10526,52 @@ instance Data.ProtoLens.Message MessageOptions where Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 88) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 98) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) instance Control.DeepSeq.NFData MessageOptions where rnf = \ x__ @@ -7214,7 +10586,11 @@ instance Control.DeepSeq.NFData MessageOptions where (Control.DeepSeq.deepseq (_MessageOptions'mapEntry x__) (Control.DeepSeq.deepseq - (_MessageOptions'uninterpretedOption x__) ()))))) + (_MessageOptions'deprecatedLegacyJsonFieldConflicts x__) + (Control.DeepSeq.deepseq + (_MessageOptions'features x__) + (Control.DeepSeq.deepseq + (_MessageOptions'uninterpretedOption x__) ()))))))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' MethodDescriptorProto Data.Text.Text@ @@ -7605,11 +10981,14 @@ instance Control.DeepSeq.NFData MethodDescriptorProto where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' MethodOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.idempotencyLevel' @:: Lens' MethodOptions MethodOptions'IdempotencyLevel@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'idempotencyLevel' @:: Lens' MethodOptions (Prelude.Maybe MethodOptions'IdempotencyLevel)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' MethodOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' MethodOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' MethodOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' MethodOptions (Data.Vector.Vector UninterpretedOption)@ -} data MethodOptions = MethodOptions'_constructor {_MethodOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _MethodOptions'idempotencyLevel :: !(Prelude.Maybe MethodOptions'IdempotencyLevel), + _MethodOptions'features :: !(Prelude.Maybe FeatureSet), _MethodOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _MethodOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -7647,6 +11026,20 @@ instance Data.ProtoLens.Field.HasField MethodOptions "maybe'idempotencyLevel" (P _MethodOptions'idempotencyLevel (\ x__ y__ -> x__ {_MethodOptions'idempotencyLevel = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField MethodOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'features + (\ x__ y__ -> x__ {_MethodOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField MethodOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'features + (\ x__ y__ -> x__ {_MethodOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField MethodOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -7671,7 +11064,8 @@ instance Data.ProtoLens.Message MethodOptions where \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2q\n\ - \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC2X\n\ + \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC27\n\ + \\bfeatures\CAN# \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"P\n\ \\DLEIdempotencyLevel\DC2\ETB\n\ \\DC3IDEMPOTENCY_UNKNOWN\DLE\NUL\DC2\DC3\n\ @@ -7697,6 +11091,14 @@ instance Data.ProtoLens.Message MethodOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'idempotencyLevel")) :: Data.ProtoLens.FieldDescriptor MethodOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor MethodOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -7710,6 +11112,7 @@ instance Data.ProtoLens.Message MethodOptions where Data.Map.fromList [(Data.ProtoLens.Tag 33, deprecated__field_descriptor), (Data.ProtoLens.Tag 34, idempotencyLevel__field_descriptor), + (Data.ProtoLens.Tag 35, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -7719,6 +11122,7 @@ instance Data.ProtoLens.Message MethodOptions where = MethodOptions'_constructor {_MethodOptions'deprecated = Prelude.Nothing, _MethodOptions'idempotencyLevel = Prelude.Nothing, + _MethodOptions'features = Prelude.Nothing, _MethodOptions'uninterpretedOption = Data.Vector.Generic.empty, _MethodOptions'_unknownFields = []} parseMessage @@ -7771,6 +11175,15 @@ instance Data.ProtoLens.Message MethodOptions where (Lens.Family2.set (Data.ProtoLens.Field.field @"idempotencyLevel") y x) mutable'uninterpretedOption + 282 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -7823,21 +11236,36 @@ instance Data.ProtoLens.Message MethodOptions where Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) Prelude.fromEnum _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 282) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData MethodOptions where rnf = \ x__ @@ -7848,7 +11276,9 @@ instance Control.DeepSeq.NFData MethodOptions where (Control.DeepSeq.deepseq (_MethodOptions'idempotencyLevel x__) (Control.DeepSeq.deepseq - (_MethodOptions'uninterpretedOption x__) ()))) + (_MethodOptions'features x__) + (Control.DeepSeq.deepseq + (_MethodOptions'uninterpretedOption x__) ())))) data MethodOptions'IdempotencyLevel = MethodOptions'IDEMPOTENCY_UNKNOWN | MethodOptions'NO_SIDE_EFFECTS | @@ -8080,10 +11510,13 @@ instance Control.DeepSeq.NFData OneofDescriptorProto where (Control.DeepSeq.deepseq (_OneofDescriptorProto'options x__) ())) {- | Fields : + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' OneofOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' OneofOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' OneofOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' OneofOptions (Data.Vector.Vector UninterpretedOption)@ -} data OneofOptions - = OneofOptions'_constructor {_OneofOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + = OneofOptions'_constructor {_OneofOptions'features :: !(Prelude.Maybe FeatureSet), + _OneofOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _OneofOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show OneofOptions where @@ -8092,6 +11525,20 @@ instance Prelude.Show OneofOptions where '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField OneofOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofOptions'features + (\ x__ y__ -> x__ {_OneofOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField OneofOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofOptions'features + (\ x__ y__ -> x__ {_OneofOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField OneofOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -8112,11 +11559,20 @@ instance Data.ProtoLens.Message OneofOptions where messageName _ = Data.Text.pack "google.protobuf.OneofOptions" packedMessageDescriptor _ = "\n\ - \\fOneofOptions\DC2X\n\ + \\fOneofOptions\DC27\n\ + \\bfeatures\CAN\SOH \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor OneofOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -8128,14 +11584,16 @@ instance Data.ProtoLens.Message OneofOptions where Data.ProtoLens.FieldDescriptor OneofOptions in Data.Map.fromList - [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + [(Data.ProtoLens.Tag 1, features__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _OneofOptions'_unknownFields (\ x__ y__ -> x__ {_OneofOptions'_unknownFields = y__}) defMessage = OneofOptions'_constructor - {_OneofOptions'uninterpretedOption = Data.Vector.Generic.empty, + {_OneofOptions'features = Prelude.Nothing, + _OneofOptions'uninterpretedOption = Data.Vector.Generic.empty, _OneofOptions'_unknownFields = []} parseMessage = let @@ -8167,6 +11625,15 @@ instance Data.ProtoLens.Message OneofOptions where else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -8194,28 +11661,45 @@ instance Data.ProtoLens.Message OneofOptions where buildMessage = \ _x -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) instance Control.DeepSeq.NFData OneofOptions where rnf = \ x__ -> Control.DeepSeq.deepseq (_OneofOptions'_unknownFields x__) (Control.DeepSeq.deepseq - (_OneofOptions'uninterpretedOption x__) ()) + (_OneofOptions'features x__) + (Control.DeepSeq.deepseq + (_OneofOptions'uninterpretedOption x__) ())) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' ServiceDescriptorProto Data.Text.Text@ @@ -8461,12 +11945,15 @@ instance Control.DeepSeq.NFData ServiceDescriptorProto where (_ServiceDescriptorProto'options x__) ()))) {- | Fields : + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' ServiceOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' ServiceOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' ServiceOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' ServiceOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' ServiceOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ServiceOptions (Data.Vector.Vector UninterpretedOption)@ -} data ServiceOptions - = ServiceOptions'_constructor {_ServiceOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + = ServiceOptions'_constructor {_ServiceOptions'features :: !(Prelude.Maybe FeatureSet), + _ServiceOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _ServiceOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _ServiceOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -8476,6 +11963,20 @@ instance Prelude.Show ServiceOptions where '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ServiceOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'features + (\ x__ y__ -> x__ {_ServiceOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField ServiceOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'features + (\ x__ y__ -> x__ {_ServiceOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField ServiceOptions "deprecated" Prelude.Bool where fieldOf _ = (Prelude..) @@ -8510,7 +12011,8 @@ instance Data.ProtoLens.Message ServiceOptions where messageName _ = Data.Text.pack "google.protobuf.ServiceOptions" packedMessageDescriptor _ = "\n\ - \\SOServiceOptions\DC2%\n\ + \\SOServiceOptions\DC27\n\ + \\bfeatures\CAN\" \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2%\n\ \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2X\n\ @@ -8518,6 +12020,14 @@ instance Data.ProtoLens.Message ServiceOptions where packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor ServiceOptions deprecated__field_descriptor = Data.ProtoLens.FieldDescriptor "deprecated" @@ -8537,7 +12047,8 @@ instance Data.ProtoLens.Message ServiceOptions where Data.ProtoLens.FieldDescriptor ServiceOptions in Data.Map.fromList - [(Data.ProtoLens.Tag 33, deprecated__field_descriptor), + [(Data.ProtoLens.Tag 34, features__field_descriptor), + (Data.ProtoLens.Tag 33, deprecated__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -8545,7 +12056,8 @@ instance Data.ProtoLens.Message ServiceOptions where (\ x__ y__ -> x__ {_ServiceOptions'_unknownFields = y__}) defMessage = ServiceOptions'_constructor - {_ServiceOptions'deprecated = Prelude.Nothing, + {_ServiceOptions'features = Prelude.Nothing, + _ServiceOptions'deprecated = Prelude.Nothing, _ServiceOptions'uninterpretedOption = Data.Vector.Generic.empty, _ServiceOptions'_unknownFields = []} parseMessage @@ -8578,6 +12090,15 @@ instance Data.ProtoLens.Message ServiceOptions where else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of + 274 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 264 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap @@ -8614,41 +12135,58 @@ instance Data.ProtoLens.Message ServiceOptions where = \ _x -> (Data.Monoid.<>) (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'deprecated") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 264) + (Data.ProtoLens.Encoding.Bytes.putVarInt 274) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) - _v)) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 264) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) instance Control.DeepSeq.NFData ServiceOptions where rnf = \ x__ -> Control.DeepSeq.deepseq (_ServiceOptions'_unknownFields x__) (Control.DeepSeq.deepseq - (_ServiceOptions'deprecated x__) + (_ServiceOptions'features x__) (Control.DeepSeq.deepseq - (_ServiceOptions'uninterpretedOption x__) ())) + (_ServiceOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_ServiceOptions'uninterpretedOption x__) ()))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.location' @:: Lens' SourceCodeInfo [SourceCodeInfo'Location]@ @@ -9845,7 +13383,7 @@ packedFileDescriptor = "\n\ \ google/protobuf/descriptor.proto\DC2\SIgoogle.protobuf\"M\n\ \\DC1FileDescriptorSet\DC28\n\ - \\EOTfile\CAN\SOH \ETX(\v2$.google.protobuf.FileDescriptorProtoR\EOTfile\"\228\EOT\n\ + \\EOTfile\CAN\SOH \ETX(\v2$.google.protobuf.FileDescriptorProtoR\EOTfile\"\187\ENQ\n\ \\DC3FileDescriptorProto\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\ \\apackage\CAN\STX \SOH(\tR\apackage\DC2\RS\n\ @@ -9861,7 +13399,9 @@ packedFileDescriptor \\textension\CAN\a \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC26\n\ \\aoptions\CAN\b \SOH(\v2\FS.google.protobuf.FileOptionsR\aoptions\DC2I\n\ \\DLEsource_code_info\CAN\t \SOH(\v2\US.google.protobuf.SourceCodeInfoR\SOsourceCodeInfo\DC2\SYN\n\ - \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\"\185\ACK\n\ + \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\r \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\SO \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\"\185\ACK\n\ \\SIDescriptorProto\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2;\n\ \\ENQfield\CAN\STX \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\ENQfield\DC2C\n\ @@ -9882,9 +13422,23 @@ packedFileDescriptor \\aoptions\CAN\ETX \SOH(\v2&.google.protobuf.ExtensionRangeOptionsR\aoptions\SUB7\n\ \\rReservedRange\DC2\DC4\n\ \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ - \\ETXend\CAN\STX \SOH(\ENQR\ETXend\"|\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\"\199\EOT\n\ \\NAKExtensionRangeOptions\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\193\ACK\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\DC2Y\n\ + \\vdeclaration\CAN\STX \ETX(\v22.google.protobuf.ExtensionRangeOptions.DeclarationR\vdeclarationB\ETX\136\SOH\STX\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2h\n\ + \\fverification\CAN\ETX \SOH(\SO28.google.protobuf.ExtensionRangeOptions.VerificationState:\n\ + \UNVERIFIEDR\fverification\SUB\148\SOH\n\ + \\vDeclaration\DC2\SYN\n\ + \\ACKnumber\CAN\SOH \SOH(\ENQR\ACKnumber\DC2\ESC\n\ + \\tfull_name\CAN\STX \SOH(\tR\bfullName\DC2\DC2\n\ + \\EOTtype\CAN\ETX \SOH(\tR\EOTtype\DC2\SUB\n\ + \\breserved\CAN\ENQ \SOH(\bR\breserved\DC2\SUB\n\ + \\brepeated\CAN\ACK \SOH(\bR\brepeatedJ\EOT\b\EOT\DLE\ENQ\"4\n\ + \\DC1VerificationState\DC2\SI\n\ + \\vDECLARATION\DLE\NUL\DC2\SO\n\ + \\n\ + \UNVERIFIED\DLE\SOH*\t\b\232\a\DLE\128\128\128\128\STX\"\193\ACK\n\ \\DC4FieldDescriptorProto\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2A\n\ @@ -9956,7 +13510,7 @@ packedFileDescriptor \outputType\DC28\n\ \\aoptions\CAN\EOT \SOH(\v2\RS.google.protobuf.MethodOptionsR\aoptions\DC20\n\ \\DLEclient_streaming\CAN\ENQ \SOH(\b:\ENQfalseR\SIclientStreaming\DC20\n\ - \\DLEserver_streaming\CAN\ACK \SOH(\b:\ENQfalseR\SIserverStreaming\"\145\t\n\ + \\DLEserver_streaming\CAN\ACK \SOH(\b:\ENQfalseR\SIserverStreaming\"\202\t\n\ \\vFileOptions\DC2!\n\ \\fjava_package\CAN\SOH \SOH(\tR\vjavaPackage\DC20\n\ \\DC4java_outer_classname\CAN\b \SOH(\tR\DC2javaOuterClassname\DC25\n\ @@ -9981,32 +13535,46 @@ packedFileDescriptor \\DLEphp_class_prefix\CAN( \SOH(\tR\SOphpClassPrefix\DC2#\n\ \\rphp_namespace\CAN) \SOH(\tR\fphpNamespace\DC24\n\ \\SYNphp_metadata_namespace\CAN, \SOH(\tR\DC4phpMetadataNamespace\DC2!\n\ - \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC2X\n\ + \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\":\n\ \\fOptimizeMode\DC2\t\n\ \\ENQSPEED\DLE\SOH\DC2\r\n\ \\tCODE_SIZE\DLE\STX\DC2\DLE\n\ - \\fLITE_RUNTIME\DLE\ETX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b&\DLE'\"\209\STX\n\ + \\fLITE_RUNTIME\DLE\ETX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b&\DLE'\"\244\ETX\n\ \\SOMessageOptions\DC2<\n\ \\ETBmessage_set_wire_format\CAN\SOH \SOH(\b:\ENQfalseR\DC4messageSetWireFormat\DC2L\n\ \\USno_standard_descriptor_accessor\CAN\STX \SOH(\b:\ENQfalseR\FSnoStandardDescriptorAccessor\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\ESC\n\ - \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n\ - \\"\226\ETX\n\ + \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\v \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\f \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\ENQ\DLE\ACKJ\EOT\b\ACK\DLE\aJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n\ + \\"\208\n\ + \\n\ \\fFieldOptions\DC2A\n\ \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ - \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2%\n\ + \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2.\n\ + \\SIunverified_lazy\CAN\SI \SOH(\b:\ENQfalseR\SOunverifiedLazy\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\EM\n\ \\EOTweak\CAN\n\ - \ \SOH(\b:\ENQfalseR\EOTweak\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"/\n\ + \ \SOH(\b:\ENQfalseR\EOTweak\DC2(\n\ + \\fdebug_redact\CAN\DLE \SOH(\b:\ENQfalseR\vdebugRedact\DC2K\n\ + \\tretention\CAN\DC1 \SOH(\SO2-.google.protobuf.FieldOptions.OptionRetentionR\tretention\DC2H\n\ + \\atargets\CAN\DC3 \ETX(\SO2..google.protobuf.FieldOptions.OptionTargetTypeR\atargets\DC2W\n\ + \\DLEedition_defaults\CAN\DC4 \ETX(\v2,.google.protobuf.FieldOptions.EditionDefaultR\SIeditionDefaults\DC27\n\ + \\bfeatures\CAN\NAK \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\SUB}\n\ + \\SOEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue\"/\n\ \\ENQCType\DC2\n\ \\n\ \\ACKSTRING\DLE\NUL\DC2\b\n\ @@ -10015,31 +13583,53 @@ packedFileDescriptor \\ACKJSType\DC2\r\n\ \\tJS_NORMAL\DLE\NUL\DC2\r\n\ \\tJS_STRING\DLE\SOH\DC2\r\n\ - \\tJS_NUMBER\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQ\"s\n\ - \\fOneofOptions\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\192\SOH\n\ + \\tJS_NUMBER\DLE\STX\"U\n\ + \\SIOptionRetention\DC2\NAK\n\ + \\DC1RETENTION_UNKNOWN\DLE\NUL\DC2\NAK\n\ + \\DC1RETENTION_RUNTIME\DLE\SOH\DC2\DC4\n\ + \\DLERETENTION_SOURCE\DLE\STX\"\140\STX\n\ + \\DLEOptionTargetType\DC2\ETB\n\ + \\DC3TARGET_TYPE_UNKNOWN\DLE\NUL\DC2\DC4\n\ + \\DLETARGET_TYPE_FILE\DLE\SOH\DC2\US\n\ + \\ESCTARGET_TYPE_EXTENSION_RANGE\DLE\STX\DC2\ETB\n\ + \\DC3TARGET_TYPE_MESSAGE\DLE\ETX\DC2\NAK\n\ + \\DC1TARGET_TYPE_FIELD\DLE\EOT\DC2\NAK\n\ + \\DC1TARGET_TYPE_ONEOF\DLE\ENQ\DC2\DC4\n\ + \\DLETARGET_TYPE_ENUM\DLE\ACK\DC2\SUB\n\ + \\SYNTARGET_TYPE_ENUM_ENTRY\DLE\a\DC2\ETB\n\ + \\DC3TARGET_TYPE_SERVICE\DLE\b\DC2\SYN\n\ + \\DC2TARGET_TYPE_METHOD\DLE\t*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\DC2\DLE\DC3\"\172\SOH\n\ + \\fOneofOptions\DC27\n\ + \\bfeatures\CAN\SOH \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\209\STX\n\ \\vEnumOptions\DC2\US\n\ \\vallow_alias\CAN\STX \SOH(\bR\n\ \allowAlias\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK\"\158\SOH\n\ + \deprecated\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\ACK \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\a \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK\"\129\STX\n\ \\DLEEnumValueOptions\DC2%\n\ \\n\ \deprecated\CAN\SOH \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\156\SOH\n\ - \\SOServiceOptions\DC2%\n\ + \deprecated\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2(\n\ + \\fdebug_redact\CAN\ETX \SOH(\b:\ENQfalseR\vdebugRedact\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\213\SOH\n\ + \\SOServiceOptions\DC27\n\ + \\bfeatures\CAN\" \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2%\n\ \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\224\STX\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\153\ETX\n\ \\rMethodOptions\DC2%\n\ \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2q\n\ - \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC2X\n\ + \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC27\n\ + \\bfeatures\CAN# \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"P\n\ \\DLEIdempotencyLevel\DC2\ETB\n\ \\DC3IDEMPOTENCY_UNKNOWN\DLE\NUL\DC2\DC3\n\ @@ -10056,7 +13646,50 @@ packedFileDescriptor \\SIaggregate_value\CAN\b \SOH(\tR\SOaggregateValue\SUBJ\n\ \\bNamePart\DC2\ESC\n\ \\tname_part\CAN\SOH \STX(\tR\bnamePart\DC2!\n\ - \\fis_extension\CAN\STX \STX(\bR\visExtension\"\167\STX\n\ + \\fis_extension\CAN\STX \STX(\bR\visExtension\"\234\a\n\ + \\n\ + \FeatureSet\DC2k\n\ + \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\DC2\bEXPLICIT\CAN\232\a\DC2X\n\ + \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\DC2\EOTOPEN\CAN\232\a\DC2\130\SOH\n\ + \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\DC2\ACKPACKED\CAN\232\a\DC2x\n\ + \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\DC2\SILENGTH_PREFIXED\CAN\232\a\DC2b\n\ + \\vjson_format\CAN\ACK \SOH(\SO2&.google.protobuf.FeatureSet.JsonFormatR\n\ + \jsonFormatB\EM\136\SOH\SOH\152\SOH\ETX\152\SOH\ACK\152\SOH\SOH\162\SOH\n\ + \\DC2\ENQALLOW\CAN\232\a\"\\\n\ + \\rFieldPresence\DC2\SUB\n\ + \\SYNFIELD_PRESENCE_UNKNOWN\DLE\NUL\DC2\f\n\ + \\bEXPLICIT\DLE\SOH\DC2\f\n\ + \\bIMPLICIT\DLE\STX\DC2\DC3\n\ + \\SILEGACY_REQUIRED\DLE\ETX\"7\n\ + \\bEnumType\DC2\NAK\n\ + \\DC1ENUM_TYPE_UNKNOWN\DLE\NUL\DC2\b\n\ + \\EOTOPEN\DLE\SOH\DC2\n\ + \\n\ + \\ACKCLOSED\DLE\STX\"V\n\ + \\NAKRepeatedFieldEncoding\DC2#\n\ + \\USREPEATED_FIELD_ENCODING_UNKNOWN\DLE\NUL\DC2\n\ + \\n\ + \\ACKPACKED\DLE\SOH\DC2\f\n\ + \\bEXPANDED\DLE\STX\"S\n\ + \\SIMessageEncoding\DC2\FS\n\ + \\CANMESSAGE_ENCODING_UNKNOWN\DLE\NUL\DC2\DC3\n\ + \\SILENGTH_PREFIXED\DLE\SOH\DC2\r\n\ + \\tDELIMITED\DLE\STX\"H\n\ + \\n\ + \JsonFormat\DC2\ETB\n\ + \\DC3JSON_FORMAT_UNKNOWN\DLE\NUL\DC2\t\n\ + \\ENQALLOW\DLE\SOH\DC2\SYN\n\ + \\DC2LEGACY_BEST_EFFORT\DLE\STX*\ACK\b\232\a\DLE\233\a*\ACK\b\233\a\DLE\234\a*\ACK\b\139N\DLE\144NJ\EOT\b\EOT\DLE\ENQJ\ACK\b\231\a\DLE\232\a\"\133\EOT\n\ + \\DC2FeatureSetDefaults\DC2X\n\ + \\bdefaults\CAN\SOH \ETX(\v2<.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultR\bdefaults\DC2'\n\ + \\SIminimum_edition\CAN\STX \SOH(\tR\SOminimumEdition\DC2'\n\ + \\SImaximum_edition\CAN\ETX \SOH(\tR\SOmaximumEdition\DC2J\n\ + \\DC4minimum_edition_enum\CAN\EOT \SOH(\SO2\CAN.google.protobuf.EditionR\DC2minimumEditionEnum\DC2J\n\ + \\DC4maximum_edition_enum\CAN\ENQ \SOH(\SO2\CAN.google.protobuf.EditionR\DC2maximumEditionEnum\SUB\170\SOH\n\ + \\CANFeatureSetEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\"\167\STX\n\ \\SOSourceCodeInfo\DC2D\n\ \\blocation\CAN\SOH \ETX(\v2(.google.protobuf.SourceCodeInfo.LocationR\blocation\SUB\206\SOH\n\ \\bLocation\DC2\SYN\n\ @@ -10064,22 +13697,35 @@ packedFileDescriptor \\EOTspan\CAN\STX \ETX(\ENQR\EOTspanB\STX\DLE\SOH\DC2)\n\ \\DLEleading_comments\CAN\ETX \SOH(\tR\SIleadingComments\DC2+\n\ \\DC1trailing_comments\CAN\EOT \SOH(\tR\DLEtrailingComments\DC2:\n\ - \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments\"\209\SOH\n\ + \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments\"\208\STX\n\ \\DC1GeneratedCodeInfo\DC2M\n\ \\n\ \annotation\CAN\SOH \ETX(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n\ - \annotation\SUBm\n\ + \annotation\SUB\235\SOH\n\ \\n\ \Annotation\DC2\SYN\n\ \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ \\vsource_file\CAN\STX \SOH(\tR\n\ \sourceFile\DC2\DC4\n\ \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ - \\ETXend\CAN\EOT \SOH(\ENQR\ETXendB~\n\ - \\DC3com.google.protobufB\DLEDescriptorProtosH\SOHZ-google.golang.org/protobuf/types/descriptorpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\SUBGoogle.Protobuf.ReflectionJ\188\200\STX\n\ - \\a\DC2\ENQ'\NUL\140\a\SOH\n\ + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend\DC2R\n\ + \\bsemantic\CAN\ENQ \SOH(\SO26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n\ + \\bSemantic\DC2\b\n\ + \\EOTNONE\DLE\NUL\DC2\a\n\ + \\ETXSET\DLE\SOH\DC2\t\n\ + \\ENQALIAS\DLE\STX*\192\SOH\n\ + \\aEdition\DC2\DC3\n\ + \\SIEDITION_UNKNOWN\DLE\NUL\DC2\DC1\n\ + \\fEDITION_2023\DLE\232\a\DC2\ETB\n\ + \\DC3EDITION_1_TEST_ONLY\DLE\SOH\DC2\ETB\n\ + \\DC3EDITION_2_TEST_ONLY\DLE\STX\DC2\GS\n\ + \\ETBEDITION_99997_TEST_ONLY\DLE\157\141\ACK\DC2\GS\n\ + \\ETBEDITION_99998_TEST_ONLY\DLE\158\141\ACK\DC2\GS\n\ + \\ETBEDITION_99999_TEST_ONLY\DLE\159\141\ACKB~\n\ + \\DC3com.google.protobufB\DLEDescriptorProtosH\SOHZ-google.golang.org/protobuf/types/descriptorpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\SUBGoogle.Protobuf.ReflectionJ\190\176\ETX\n\ + \\a\DC2\ENQ&\NUL\174\t\SOH\n\ \\170\SI\n\ - \\SOH\f\DC2\ETX'\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \\SOH\f\DC2\ETX&\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ \ https://developers.google.com/protocol-buffers/\n\ \\n\ @@ -10117,712 +13763,932 @@ packedFileDescriptor \ without any other information (e.g. without reading its imports).\n\ \\n\ \\b\n\ - \\SOH\STX\DC2\ETX)\NUL\CAN\n\ + \\SOH\STX\DC2\ETX(\NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX+\NULD\n\ + \\SOH\b\DC2\ETX*\NULD\n\ \\t\n\ - \\STX\b\v\DC2\ETX+\NULD\n\ + \\STX\b\v\DC2\ETX*\NULD\n\ \\b\n\ - \\SOH\b\DC2\ETX,\NUL,\n\ + \\SOH\b\DC2\ETX+\NUL,\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX,\NUL,\n\ + \\STX\b\SOH\DC2\ETX+\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX-\NUL1\n\ + \\SOH\b\DC2\ETX,\NUL1\n\ \\t\n\ - \\STX\b\b\DC2\ETX-\NUL1\n\ + \\STX\b\b\DC2\ETX,\NUL1\n\ \\b\n\ - \\SOH\b\DC2\ETX.\NUL7\n\ + \\SOH\b\DC2\ETX-\NUL7\n\ \\t\n\ - \\STX\b%\DC2\ETX.\NUL7\n\ + \\STX\b%\DC2\ETX-\NUL7\n\ \\b\n\ - \\SOH\b\DC2\ETX/\NUL!\n\ + \\SOH\b\DC2\ETX.\NUL!\n\ \\t\n\ - \\STX\b$\DC2\ETX/\NUL!\n\ + \\STX\b$\DC2\ETX.\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX0\NUL\US\n\ + \\SOH\b\DC2\ETX/\NUL\US\n\ \\t\n\ - \\STX\b\US\DC2\ETX0\NUL\US\n\ + \\STX\b\US\DC2\ETX/\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX4\NUL\FS\n\ + \\SOH\b\DC2\ETX3\NUL\FS\n\ \\DEL\n\ - \\STX\b\t\DC2\ETX4\NUL\FS\SUBt descriptor.proto must be optimized for speed because reflection-based\n\ + \\STX\b\t\DC2\ETX3\NUL\FS\SUBt descriptor.proto must be optimized for speed because reflection-based\n\ \ algorithms don't work during bootstrapping.\n\ \\n\ \j\n\ - \\STX\EOT\NUL\DC2\EOT8\NUL:\SOH\SUB^ The protocol compiler can output a FileDescriptorSet containing the .proto\n\ + \\STX\EOT\NUL\DC2\EOT7\NUL9\SOH\SUB^ The protocol compiler can output a FileDescriptorSet containing the .proto\n\ \ files it parses.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETX8\b\EM\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX7\b\EM\n\ \\v\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\ETX9\STX(\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX8\STX(\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX8\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX8\v\RS\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX8\US#\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX8&'\n\ + \-\n\ + \\STX\ENQ\NUL\DC2\EOT<\NULL\SOH\SUB! The full set of known editions.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\ENQ\NUL\SOH\DC2\ETX<\ENQ\f\n\ + \:\n\ + \\EOT\ENQ\NUL\STX\NUL\DC2\ETX>\STX\SYN\SUB- A placeholder for an unknown edition value.\n\ + \\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETX>\STX\DC1\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX9\STX\n\ + \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETX>\DC4\NAK\n\ + \\175\SOH\n\ + \\EOT\ENQ\NUL\STX\SOH\DC2\ETXC\STX\SYN\SUB\161\SOH Editions that have been released. The specific values are arbitrary and\n\ + \ should not be depended on, but they will always be time-ordered for easy\n\ + \ comparison.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX9\v\RS\n\ + \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETXC\STX\SO\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETXC\DC1\NAK\n\ + \}\n\ + \\EOT\ENQ\NUL\STX\STX\DC2\ETXG\STX\SUB\SUBp Placeholder editions for testing feature resolution. These should not be\n\ + \ used or relyed on outside of tests.\n\ + \\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETXG\STX\NAK\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETXG\CAN\EM\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\ETX\DC2\ETXH\STX\SUB\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ETX\SOH\DC2\ETXH\STX\NAK\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ETX\STX\DC2\ETXH\CAN\EM\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\EOT\DC2\ETXI\STX\"\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\EOT\SOH\DC2\ETXI\STX\EM\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\EOT\STX\DC2\ETXI\FS!\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\ENQ\DC2\ETXJ\STX\"\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ENQ\SOH\DC2\ETXJ\STX\EM\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX9\US#\n\ + \\ENQ\ENQ\NUL\STX\ENQ\STX\DC2\ETXJ\FS!\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\ACK\DC2\ETXK\STX\"\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ACK\SOH\DC2\ETXK\STX\EM\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX9&'\n\ + \\ENQ\ENQ\NUL\STX\ACK\STX\DC2\ETXK\FS!\n\ \/\n\ - \\STX\EOT\SOH\DC2\EOT=\NULZ\SOH\SUB# Describes a complete .proto file.\n\ + \\STX\EOT\SOH\DC2\EOTO\NULu\SOH\SUB# Describes a complete .proto file.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\SOH\SOH\DC2\ETX=\b\ESC\n\ + \\ETX\EOT\SOH\SOH\DC2\ETXO\b\ESC\n\ \9\n\ - \\EOT\EOT\SOH\STX\NUL\DC2\ETX>\STX\ESC\", file name, relative to root of source tree\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXP\STX\ESC\", file name, relative to root of source tree\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX>\STX\n\ + \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETXP\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX>\v\DC1\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXP\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX>\DC2\SYN\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXP\DC2\SYN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX>\EM\SUB\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXP\EM\SUB\n\ \*\n\ - \\EOT\EOT\SOH\STX\SOH\DC2\ETX?\STX\RS\"\GS e.g. \"foo\", \"foo.bar\", etc.\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXQ\STX\RS\"\GS e.g. \"foo\", \"foo.bar\", etc.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX?\STX\n\ + \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETXQ\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX?\v\DC1\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXQ\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX?\DC2\EM\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXQ\DC2\EM\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX?\FS\GS\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXQ\FS\GS\n\ \4\n\ - \\EOT\EOT\SOH\STX\STX\DC2\ETXB\STX!\SUB' Names of files imported by this file.\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXT\STX!\SUB' Names of files imported by this file.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXB\STX\n\ + \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXT\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXB\v\DC1\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXT\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXB\DC2\FS\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXT\DC2\FS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXB\US \n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXT\US \n\ \Q\n\ - \\EOT\EOT\SOH\STX\ETX\DC2\ETXD\STX(\SUBD Indexes of the public imported files in the dependency list above.\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXV\STX(\SUBD Indexes of the public imported files in the dependency list above.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXD\STX\n\ + \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXV\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXD\v\DLE\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXV\v\DLE\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXD\DC1\"\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXV\DC1\"\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXD%'\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXV%'\n\ \z\n\ - \\EOT\EOT\SOH\STX\EOT\DC2\ETXG\STX&\SUBm Indexes of the weak imported files in the dependency list.\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXY\STX&\SUBm Indexes of the weak imported files in the dependency list.\n\ \ For Google-internal migration only. Do not use.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXG\STX\n\ + \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXY\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXG\v\DLE\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXY\v\DLE\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXG\DC1 \n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXY\DC1 \n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXG#%\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXY#%\n\ \6\n\ - \\EOT\EOT\SOH\STX\ENQ\DC2\ETXJ\STX,\SUB) All top-level definitions in this file.\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\ETX\\\STX,\SUB) All top-level definitions in this file.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETXJ\STX\n\ + \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETX\\\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXJ\v\SUB\n\ + \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETX\\\v\SUB\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXJ\ESC'\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETX\\\ESC'\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXJ*+\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETX\\*+\n\ \\v\n\ - \\EOT\EOT\SOH\STX\ACK\DC2\ETXK\STX-\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\ETX]\STX-\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\EOT\DC2\ETXK\STX\n\ + \\ENQ\EOT\SOH\STX\ACK\EOT\DC2\ETX]\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXK\v\RS\n\ + \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETX]\v\RS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXK\US(\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETX]\US(\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXK+,\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETX]+,\n\ \\v\n\ - \\EOT\EOT\SOH\STX\a\DC2\ETXL\STX.\n\ + \\EOT\EOT\SOH\STX\a\DC2\ETX^\STX.\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\EOT\DC2\ETXL\STX\n\ + \\ENQ\EOT\SOH\STX\a\EOT\DC2\ETX^\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETXL\v!\n\ + \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETX^\v!\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETXL\")\n\ + \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETX^\")\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETXL,-\n\ + \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETX^,-\n\ \\v\n\ - \\EOT\EOT\SOH\STX\b\DC2\ETXM\STX.\n\ + \\EOT\EOT\SOH\STX\b\DC2\ETX_\STX.\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\EOT\DC2\ETXM\STX\n\ + \\ENQ\EOT\SOH\STX\b\EOT\DC2\ETX_\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETXM\v\US\n\ + \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETX_\v\US\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETXM )\n\ + \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETX_ )\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETXM,-\n\ + \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETX_,-\n\ \\v\n\ - \\EOT\EOT\SOH\STX\t\DC2\ETXO\STX#\n\ + \\EOT\EOT\SOH\STX\t\DC2\ETXa\STX#\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\EOT\DC2\ETXO\STX\n\ + \\ENQ\EOT\SOH\STX\t\EOT\DC2\ETXa\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETXO\v\SYN\n\ + \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETXa\v\SYN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETXO\ETB\RS\n\ + \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETXa\ETB\RS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETXO!\"\n\ + \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETXa!\"\n\ \\244\SOH\n\ \\EOT\EOT\SOH\STX\n\ - \\DC2\ETXU\STX/\SUB\230\SOH This field contains optional information about the original source code.\n\ + \\DC2\ETXg\STX/\SUB\230\SOH This field contains optional information about the original source code.\n\ \ You may safely remove this entire field without harming runtime\n\ \ functionality of the descriptors -- the information is needed only by\n\ \ development tools.\n\ \\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\EOT\DC2\ETXU\STX\n\ + \\EOT\DC2\ETXg\STX\n\ \\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\ACK\DC2\ETXU\v\EM\n\ + \\ACK\DC2\ETXg\v\EM\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\SOH\DC2\ETXU\SUB*\n\ + \\SOH\DC2\ETXg\SUB*\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\ETX\DC2\ETXU-.\n\ - \]\n\ - \\EOT\EOT\SOH\STX\v\DC2\ETXY\STX\RS\SUBP The syntax of the proto file.\n\ - \ The supported values are \"proto2\" and \"proto3\".\n\ + \\ETX\DC2\ETXg-.\n\ + \\165\SOH\n\ + \\EOT\EOT\SOH\STX\v\DC2\ETXm\STX\RS\SUB\151\SOH The syntax of the proto file.\n\ + \ The supported values are \"proto2\", \"proto3\", and \"editions\".\n\ + \\n\ + \ If `edition` is present, this value must be \"editions\".\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\EOT\DC2\ETXY\STX\n\ + \\ENQ\EOT\SOH\STX\v\EOT\DC2\ETXm\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\ENQ\DC2\ETXY\v\DC1\n\ + \\ENQ\EOT\SOH\STX\v\ENQ\DC2\ETXm\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETXY\DC2\CAN\n\ + \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETXm\DC2\CAN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETXY\ESC\GS\n\ - \'\n\ - \\STX\EOT\STX\DC2\EOT]\NUL}\SOH\SUB\ESC Describes a message type.\n\ + \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETXm\ESC\GS\n\ + \\129\SOH\n\ + \\EOT\EOT\SOH\STX\f\DC2\ETXq\STX\US\SUBt The edition of the proto file, which is an opaque string.\n\ + \ TODO Deprecate and remove this field in favor of enums.\n\ \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\EOT\DC2\ETXq\STX\n\ \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\ENQ\DC2\ETXq\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\SOH\DC2\ETXq\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\ETX\DC2\ETXq\FS\RS\n\ + \-\n\ + \\EOT\EOT\SOH\STX\r\DC2\ETXt\STX%\SUB The edition of the proto file.\n\ \\n\ - \\ETX\EOT\STX\SOH\DC2\ETX]\b\ETB\n\ - \\v\n\ - \\EOT\EOT\STX\STX\NUL\DC2\ETX^\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX^\STX\n\ + \\ENQ\EOT\SOH\STX\r\EOT\DC2\ETXt\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX^\v\DC1\n\ + \\ENQ\EOT\SOH\STX\r\ACK\DC2\ETXt\v\DC2\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX^\DC2\SYN\n\ + \\ENQ\EOT\SOH\STX\r\SOH\DC2\ETXt\DC3\US\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX^\EM\SUB\n\ + \\ENQ\EOT\SOH\STX\r\ETX\DC2\ETXt\"$\n\ + \(\n\ + \\STX\EOT\STX\DC2\ENQx\NUL\152\SOH\SOH\SUB\ESC Describes a message type.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\STX\SOH\DC2\ETXx\b\ETB\n\ \\v\n\ - \\EOT\EOT\STX\STX\SOH\DC2\ETX`\STX*\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETXy\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX`\STX\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETXy\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX`\v\US\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXy\v\DC1\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX` %\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXy\DC2\SYN\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX`()\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXy\EM\SUB\n\ \\v\n\ - \\EOT\EOT\STX\STX\STX\DC2\ETXa\STX.\n\ + \\EOT\EOT\STX\STX\SOH\DC2\ETX{\STX*\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETXa\STX\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX{\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETXa\v\US\n\ + \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX{\v\US\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXa )\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX{ %\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXa,-\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX{()\n\ \\v\n\ - \\EOT\EOT\STX\STX\ETX\DC2\ETXc\STX+\n\ + \\EOT\EOT\STX\STX\STX\DC2\ETX|\STX.\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETXc\STX\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETX|\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETXc\v\SUB\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETX|\v\US\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXc\ESC&\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETX| )\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXc)*\n\ + \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETX|,-\n\ \\v\n\ - \\EOT\EOT\STX\STX\EOT\DC2\ETXd\STX-\n\ + \\EOT\EOT\STX\STX\ETX\DC2\ETX~\STX+\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\EOT\DC2\ETXd\STX\n\ + \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETX~\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETXd\v\RS\n\ + \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETX~\v\SUB\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETX~\ESC&\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETX~)*\n\ + \\v\n\ + \\EOT\EOT\STX\STX\EOT\DC2\ETX\DEL\STX-\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETXd\US(\n\ + \\ENQ\EOT\STX\STX\EOT\EOT\DC2\ETX\DEL\STX\n\ + \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETXd+,\n\ + \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETX\DEL\v\RS\n\ \\f\n\ - \\EOT\EOT\STX\ETX\NUL\DC2\EOTf\STXk\ETX\n\ + \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETX\DEL\US(\n\ \\f\n\ - \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXf\n\ + \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETX\DEL+,\n\ + \\SO\n\ + \\EOT\EOT\STX\ETX\NUL\DC2\ACK\129\SOH\STX\134\SOH\ETX\n\ + \\r\n\ + \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\EOT\129\SOH\n\ \\CAN\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\ETXg\EOT\GS\"\f Inclusive.\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\EOT\130\SOH\EOT\GS\"\f Inclusive.\n\ \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\EOT\130\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\130\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\EOT\130\SOH\DC3\CAN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\EOT\130\SOH\ESC\FS\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\131\SOH\EOT\ESC\"\f Exclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\131\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\131\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\131\SOH\DC3\SYN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\131\SOH\EM\SUB\n\ \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\ETXg\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\ETXg\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\ETXg\DC3\CAN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\ETXg\ESC\FS\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\ETXh\EOT\ESC\"\f Exclusive.\n\ + \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\133\SOH\EOT/\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\133\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ACK\DC2\EOT\133\SOH\r\"\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\133\SOH#*\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\133\SOH-.\n\ + \\f\n\ + \\EOT\EOT\STX\STX\ENQ\DC2\EOT\135\SOH\STX.\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\EOT\DC2\EOT\135\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\EOT\135\SOH\v\EM\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\EOT\135\SOH\SUB)\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\EOT\135\SOH,-\n\ + \\f\n\ + \\EOT\EOT\STX\STX\ACK\DC2\EOT\137\SOH\STX/\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\EOT\DC2\EOT\137\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\ACK\DC2\EOT\137\SOH\v\US\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\SOH\DC2\EOT\137\SOH *\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\ETX\DC2\EOT\137\SOH-.\n\ + \\f\n\ + \\EOT\EOT\STX\STX\a\DC2\EOT\139\SOH\STX&\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\EOT\DC2\EOT\139\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\ACK\DC2\EOT\139\SOH\v\EM\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\SOH\DC2\EOT\139\SOH\SUB!\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\ETX\DC2\EOT\139\SOH$%\n\ + \\172\SOH\n\ + \\EOT\EOT\STX\ETX\SOH\DC2\ACK\144\SOH\STX\147\SOH\ETX\SUB\155\SOH Range of reserved tag numbers. Reserved tag numbers may not be used by\n\ + \ fields or extension ranges in the same message. Reserved ranges may\n\ + \ not overlap.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\ETX\SOH\SOH\DC2\EOT\144\SOH\n\ + \\ETB\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\SOH\STX\NUL\DC2\EOT\145\SOH\EOT\GS\"\f Inclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\EOT\DC2\EOT\145\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\ENQ\DC2\EOT\145\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\SOH\DC2\EOT\145\SOH\DC3\CAN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\ETX\DC2\EOT\145\SOH\ESC\FS\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\SOH\STX\SOH\DC2\EOT\146\SOH\EOT\ESC\"\f Exclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\EOT\DC2\EOT\146\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\ENQ\DC2\EOT\146\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\SOH\DC2\EOT\146\SOH\DC3\SYN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\ETX\DC2\EOT\146\SOH\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\STX\STX\b\DC2\EOT\148\SOH\STX,\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\EOT\DC2\EOT\148\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\ACK\DC2\EOT\148\SOH\v\CAN\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\SOH\DC2\EOT\148\SOH\EM'\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\ETX\DC2\EOT\148\SOH*+\n\ + \\131\SOH\n\ + \\EOT\EOT\STX\STX\t\DC2\EOT\151\SOH\STX%\SUBu Reserved field names, which may not be used by fields in the same message.\n\ + \ A given name may only be reserved once.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\EOT\DC2\EOT\151\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\ENQ\DC2\EOT\151\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\SOH\DC2\EOT\151\SOH\DC2\US\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\ETX\DC2\EOT\151\SOH\"$\n\ + \\f\n\ + \\STX\EOT\ETX\DC2\ACK\154\SOH\NUL\205\SOH\SOH\n\ + \\v\n\ + \\ETX\EOT\ETX\SOH\DC2\EOT\154\SOH\b\GS\n\ + \O\n\ + \\EOT\EOT\ETX\STX\NUL\DC2\EOT\156\SOH\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ \\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\ETXh\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\ETXh\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\ETXh\DC3\SYN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\ETXh\EM\SUB\n\ \\r\n\ - \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\ETXj\EOT/\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\ETXj\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ACK\DC2\ETXj\r\"\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\ETXj#*\n\ + \\ENQ\EOT\ETX\STX\NUL\EOT\DC2\EOT\156\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\156\SOH\v\RS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\156\SOH\US3\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\156\SOH69\n\ \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\ETXj-.\n\ - \\v\n\ - \\EOT\EOT\STX\STX\ENQ\DC2\ETXl\STX.\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\EOT\DC2\ETXl\STX\n\ + \\EOT\EOT\ETX\ETX\NUL\DC2\ACK\158\SOH\STX\181\SOH\ETX\n\ + \\r\n\ + \\ENQ\EOT\ETX\ETX\NUL\SOH\DC2\EOT\158\SOH\n\ + \\NAK\n\ + \K\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\NUL\DC2\EOT\160\SOH\EOT\RS\SUB; The extension number declared within the extension range.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\ETXl\v\EM\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\ETXl\SUB)\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\ETXl,-\n\ - \\v\n\ - \\EOT\EOT\STX\STX\ACK\DC2\ETXn\STX/\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\EOT\DC2\ETXn\STX\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\EOT\DC2\EOT\160\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\160\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\SOH\DC2\EOT\160\SOH\DC3\EM\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\ETX\DC2\EOT\160\SOH\FS\GS\n\ + \z\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\SOH\DC2\EOT\164\SOH\EOT\"\SUBj The fully-qualified name of the extension field. There must be a leading\n\ + \ dot in front of the full name.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\ACK\DC2\ETXn\v\US\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\SOH\DC2\ETXn *\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\ETX\DC2\ETXn-.\n\ - \\v\n\ - \\EOT\EOT\STX\STX\a\DC2\ETXp\STX&\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\EOT\DC2\ETXp\STX\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\EOT\DC2\EOT\164\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\164\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\SOH\DC2\EOT\164\SOH\DC4\GS\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\ETX\DC2\EOT\164\SOH !\n\ + \\161\SOH\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\STX\DC2\EOT\169\SOH\EOT\GS\SUB\144\SOH The fully-qualified type name of the extension field. Unlike\n\ + \ Metadata.type, Declaration.type must have a leading dot for messages\n\ + \ and enums.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\ACK\DC2\ETXp\v\EM\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\SOH\DC2\ETXp\SUB!\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\ETX\DC2\ETXp$%\n\ - \\170\SOH\n\ - \\EOT\EOT\STX\ETX\SOH\DC2\EOTu\STXx\ETX\SUB\155\SOH Range of reserved tag numbers. Reserved tag numbers may not be used by\n\ - \ fields or extension ranges in the same message. Reserved ranges may\n\ - \ not overlap.\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\EOT\DC2\EOT\169\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\ENQ\DC2\EOT\169\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\SOH\DC2\EOT\169\SOH\DC4\CAN\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\ETX\DC2\EOT\169\SOH\ESC\FS\n\ + \\206\SOH\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\ETX\DC2\EOT\174\SOH\EOT\US\SUB\189\SOH If true, indicates that the number is reserved in the extension range,\n\ + \ and any extension field with the number will fail to compile. Set this\n\ + \ when a declared extension field is deleted.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\ETX\SOH\SOH\DC2\ETXu\n\ - \\ETB\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\SOH\STX\NUL\DC2\ETXv\EOT\GS\"\f Inclusive.\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\EOT\DC2\EOT\174\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\ENQ\DC2\EOT\174\SOH\r\DC1\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\SOH\DC2\EOT\174\SOH\DC2\SUB\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\ETX\DC2\EOT\174\SOH\GS\RS\n\ + \\138\SOH\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\EOT\DC2\EOT\178\SOH\EOT\US\SUBz If true, indicates that the extension must be defined as repeated.\n\ + \ Otherwise the extension must be defined as optional.\n\ \\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\EOT\DC2\ETXv\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\ENQ\DC2\ETXv\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\SOH\DC2\ETXv\DC3\CAN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\ETX\DC2\ETXv\ESC\FS\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\SOH\STX\SOH\DC2\ETXw\EOT\ESC\"\f Exclusive.\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\EOT\DC2\EOT\178\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\ENQ\DC2\EOT\178\SOH\r\DC1\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\SOH\DC2\EOT\178\SOH\DC2\SUB\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\ETX\DC2\EOT\178\SOH\GS\RS\n\ + \$\n\ + \\ENQ\EOT\ETX\ETX\NUL\t\DC2\EOT\180\SOH\EOT\SI\"\NAK removed is_repeated\n\ \\n\ \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\EOT\DC2\ETXw\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\ENQ\DC2\ETXw\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\SOH\DC2\ETXw\DC3\SYN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\ETX\DC2\ETXw\EM\SUB\n\ - \\v\n\ - \\EOT\EOT\STX\STX\b\DC2\ETXy\STX,\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\EOT\DC2\ETXy\STX\n\ + \\ACK\EOT\ETX\ETX\NUL\t\NUL\DC2\EOT\180\SOH\r\SO\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\t\NUL\SOH\DC2\EOT\180\SOH\r\SO\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\t\NUL\STX\DC2\EOT\180\SOH\r\SO\n\ + \\177\SOH\n\ + \\EOT\EOT\ETX\STX\SOH\DC2\EOT\186\SOH\STXF\SUB\162\SOH For external users: DO NOT USE. We are in the process of open sourcing\n\ + \ extension declaration and executing internal cleanups before it can be\n\ + \ used externally.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\ACK\DC2\ETXy\v\CAN\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\SOH\DC2\ETXy\EM'\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\ETX\DC2\ETXy*+\n\ - \\130\SOH\n\ - \\EOT\EOT\STX\STX\t\DC2\ETX|\STX%\SUBu Reserved field names, which may not be used by fields in the same message.\n\ - \ A given name may only be reserved once.\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\EOT\DC2\EOT\186\SOH\STX\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\EOT\DC2\ETX|\STX\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\EOT\186\SOH\v\SYN\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\186\SOH\ETB\"\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\186\SOH%&\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\b\DC2\EOT\186\SOH'E\n\ + \\SO\n\ + \\ACK\EOT\ETX\STX\SOH\b\DC1\DC2\EOT\186\SOH(D\n\ + \=\n\ + \\EOT\EOT\ETX\STX\STX\DC2\EOT\189\SOH\STX$\SUB/ Any features defined in the specific edition.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\ENQ\DC2\ETX|\v\DC1\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\SOH\DC2\ETX|\DC2\US\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\ETX\DC2\ETX|\"$\n\ - \\v\n\ - \\STX\EOT\ETX\DC2\ENQ\DEL\NUL\134\SOH\SOH\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\EOT\DC2\EOT\189\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\ACK\DC2\EOT\189\SOH\v\NAK\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\189\SOH\SYN\RS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\189\SOH!#\n\ + \@\n\ + \\EOT\EOT\ETX\EOT\NUL\DC2\ACK\192\SOH\STX\196\SOH\ETX\SUB0 The verification state of the extension range.\n\ \\n\ + \\r\n\ + \\ENQ\EOT\ETX\EOT\NUL\SOH\DC2\EOT\192\SOH\a\CAN\n\ + \C\n\ + \\ACK\EOT\ETX\EOT\NUL\STX\NUL\DC2\EOT\194\SOH\EOT\DC4\SUB3 All the extensions of the range must be declared.\n\ \\n\ - \\ETX\EOT\ETX\SOH\DC2\ETX\DEL\b\GS\n\ - \O\n\ - \\EOT\EOT\ETX\STX\NUL\DC2\EOT\129\SOH\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\NUL\SOH\DC2\EOT\194\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\NUL\STX\DC2\EOT\194\SOH\DC2\DC3\n\ + \\SO\n\ + \\ACK\EOT\ETX\EOT\NUL\STX\SOH\DC2\EOT\195\SOH\EOT\DC3\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\SOH\SOH\DC2\EOT\195\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\SOH\STX\DC2\EOT\195\SOH\DC1\DC2\n\ + \\140\SOH\n\ + \\EOT\EOT\ETX\STX\ETX\DC2\EOT\201\SOH\STXE\SUB~ The verification state of the range.\n\ + \ TODO: flip the default to DECLARATION once all empty ranges\n\ + \ are marked as UNVERIFIED.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\EOT\DC2\EOT\129\SOH\STX\n\ + \\ENQ\EOT\ETX\STX\ETX\EOT\DC2\EOT\201\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\129\SOH\v\RS\n\ + \\ENQ\EOT\ETX\STX\ETX\ACK\DC2\EOT\201\SOH\v\FS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\EOT\201\SOH\GS)\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\129\SOH\US3\n\ + \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\EOT\201\SOH,-\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\129\SOH69\n\ + \\ENQ\EOT\ETX\STX\ETX\b\DC2\EOT\201\SOH.D\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\ETX\a\DC2\EOT\201\SOH9C\n\ \Z\n\ - \\ETX\EOT\ETX\ENQ\DC2\EOT\133\SOH\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\ETX\EOT\ETX\ENQ\DC2\EOT\204\SOH\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ \\n\ \\f\n\ - \\EOT\EOT\ETX\ENQ\NUL\DC2\EOT\133\SOH\r\CAN\n\ + \\EOT\EOT\ETX\ENQ\NUL\DC2\EOT\204\SOH\r\CAN\n\ \\r\n\ - \\ENQ\EOT\ETX\ENQ\NUL\SOH\DC2\EOT\133\SOH\r\DC1\n\ + \\ENQ\EOT\ETX\ENQ\NUL\SOH\DC2\EOT\204\SOH\r\DC1\n\ \\r\n\ - \\ENQ\EOT\ETX\ENQ\NUL\STX\DC2\EOT\133\SOH\NAK\CAN\n\ + \\ENQ\EOT\ETX\ENQ\NUL\STX\DC2\EOT\204\SOH\NAK\CAN\n\ \3\n\ - \\STX\EOT\EOT\DC2\ACK\137\SOH\NUL\238\SOH\SOH\SUB% Describes a field within a message.\n\ + \\STX\EOT\EOT\DC2\ACK\208\SOH\NUL\180\STX\SOH\SUB% Describes a field within a message.\n\ \\n\ \\v\n\ - \\ETX\EOT\EOT\SOH\DC2\EOT\137\SOH\b\FS\n\ + \\ETX\EOT\EOT\SOH\DC2\EOT\208\SOH\b\FS\n\ \\SO\n\ - \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\138\SOH\STX\169\SOH\ETX\n\ + \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\209\SOH\STX\240\SOH\ETX\n\ \\r\n\ - \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\138\SOH\a\v\n\ + \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\209\SOH\a\v\n\ \S\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\141\SOH\EOT\DC4\SUBC 0 is reserved for errors.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\212\SOH\EOT\DC4\SUBC 0 is reserved for errors.\n\ \ Order is weird for historical reasons.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\141\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\212\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\141\SOH\DC2\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\212\SOH\DC2\DC3\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\142\SOH\EOT\DC3\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\213\SOH\EOT\DC3\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\142\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\213\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\142\SOH\DC1\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\213\SOH\DC1\DC2\n\ \w\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\145\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\216\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n\ \ negative values are likely.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\145\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\216\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\145\SOH\DC1\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\216\SOH\DC1\DC2\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\ETX\DC2\EOT\146\SOH\EOT\DC4\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ETX\DC2\EOT\217\SOH\EOT\DC4\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ETX\SOH\DC2\EOT\146\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ETX\SOH\DC2\EOT\217\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ETX\STX\DC2\EOT\146\SOH\DC2\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\ETX\STX\DC2\EOT\217\SOH\DC2\DC3\n\ \w\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\EOT\DC2\EOT\149\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\EOT\DC2\EOT\220\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n\ \ negative values are likely.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\EOT\SOH\DC2\EOT\149\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\EOT\SOH\DC2\EOT\220\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\EOT\STX\DC2\EOT\149\SOH\DC1\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\EOT\STX\DC2\EOT\220\SOH\DC1\DC2\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\ENQ\DC2\EOT\150\SOH\EOT\NAK\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ENQ\DC2\EOT\221\SOH\EOT\NAK\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ENQ\SOH\DC2\EOT\150\SOH\EOT\DLE\n\ + \\a\EOT\EOT\EOT\NUL\STX\ENQ\SOH\DC2\EOT\221\SOH\EOT\DLE\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ENQ\STX\DC2\EOT\150\SOH\DC3\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\ENQ\STX\DC2\EOT\221\SOH\DC3\DC4\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\ACK\DC2\EOT\151\SOH\EOT\NAK\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ACK\DC2\EOT\222\SOH\EOT\NAK\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ACK\SOH\DC2\EOT\151\SOH\EOT\DLE\n\ + \\a\EOT\EOT\EOT\NUL\STX\ACK\SOH\DC2\EOT\222\SOH\EOT\DLE\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ACK\STX\DC2\EOT\151\SOH\DC3\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\ACK\STX\DC2\EOT\222\SOH\DC3\DC4\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\a\DC2\EOT\152\SOH\EOT\DC2\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\a\DC2\EOT\223\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\a\SOH\DC2\EOT\152\SOH\EOT\r\n\ + \\a\EOT\EOT\EOT\NUL\STX\a\SOH\DC2\EOT\223\SOH\EOT\r\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\a\STX\DC2\EOT\152\SOH\DLE\DC1\n\ + \\a\EOT\EOT\EOT\NUL\STX\a\STX\DC2\EOT\223\SOH\DLE\DC1\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\b\DC2\EOT\153\SOH\EOT\DC4\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\b\DC2\EOT\224\SOH\EOT\DC4\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\b\SOH\DC2\EOT\153\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\b\SOH\DC2\EOT\224\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\b\STX\DC2\EOT\153\SOH\DC2\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\b\STX\DC2\EOT\224\SOH\DC2\DC3\n\ \\226\SOH\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\t\DC2\EOT\158\SOH\EOT\DC4\SUB\209\SOH Tag-delimited aggregate.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\t\DC2\EOT\229\SOH\EOT\DC4\SUB\209\SOH Tag-delimited aggregate.\n\ \ Group type is deprecated and not supported in proto3. However, Proto3\n\ \ implementations should still be able to parse the group wire format and\n\ \ treat group fields as unknown fields.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\t\SOH\DC2\EOT\158\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\t\SOH\DC2\EOT\229\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\t\STX\DC2\EOT\158\SOH\DC1\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\t\STX\DC2\EOT\229\SOH\DC1\DC3\n\ \-\n\ \\ACK\EOT\EOT\EOT\NUL\STX\n\ - \\DC2\EOT\159\SOH\EOT\SYN\"\GS Length-delimited aggregate.\n\ + \\DC2\EOT\230\SOH\EOT\SYN\"\GS Length-delimited aggregate.\n\ \\n\ \\SI\n\ \\a\EOT\EOT\EOT\NUL\STX\n\ - \\SOH\DC2\EOT\159\SOH\EOT\DLE\n\ + \\SOH\DC2\EOT\230\SOH\EOT\DLE\n\ \\SI\n\ \\a\EOT\EOT\EOT\NUL\STX\n\ - \\STX\DC2\EOT\159\SOH\DC3\NAK\n\ + \\STX\DC2\EOT\230\SOH\DC3\NAK\n\ \#\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\v\DC2\EOT\162\SOH\EOT\DC4\SUB\DC3 New in version 2.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\v\DC2\EOT\233\SOH\EOT\DC4\SUB\DC3 New in version 2.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\v\SOH\DC2\EOT\162\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\v\SOH\DC2\EOT\233\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\v\STX\DC2\EOT\162\SOH\DC1\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\v\STX\DC2\EOT\233\SOH\DC1\DC3\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\f\DC2\EOT\163\SOH\EOT\NAK\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\f\DC2\EOT\234\SOH\EOT\NAK\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\f\SOH\DC2\EOT\163\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\f\SOH\DC2\EOT\234\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\f\STX\DC2\EOT\163\SOH\DC2\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\f\STX\DC2\EOT\234\SOH\DC2\DC4\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\r\DC2\EOT\164\SOH\EOT\DC3\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\r\DC2\EOT\235\SOH\EOT\DC3\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\r\SOH\DC2\EOT\164\SOH\EOT\r\n\ + \\a\EOT\EOT\EOT\NUL\STX\r\SOH\DC2\EOT\235\SOH\EOT\r\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\r\STX\DC2\EOT\164\SOH\DLE\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\r\STX\DC2\EOT\235\SOH\DLE\DC2\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\SO\DC2\EOT\165\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SO\DC2\EOT\236\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SO\SOH\DC2\EOT\165\SOH\EOT\DC1\n\ + \\a\EOT\EOT\EOT\NUL\STX\SO\SOH\DC2\EOT\236\SOH\EOT\DC1\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SO\STX\DC2\EOT\165\SOH\DC4\SYN\n\ + \\a\EOT\EOT\EOT\NUL\STX\SO\STX\DC2\EOT\236\SOH\DC4\SYN\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\SI\DC2\EOT\166\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SI\DC2\EOT\237\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SI\SOH\DC2\EOT\166\SOH\EOT\DC1\n\ + \\a\EOT\EOT\EOT\NUL\STX\SI\SOH\DC2\EOT\237\SOH\EOT\DC1\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SI\STX\DC2\EOT\166\SOH\DC4\SYN\n\ + \\a\EOT\EOT\EOT\NUL\STX\SI\STX\DC2\EOT\237\SOH\DC4\SYN\n\ \'\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\DLE\DC2\EOT\167\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\DLE\DC2\EOT\238\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DLE\SOH\DC2\EOT\167\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DLE\SOH\DC2\EOT\238\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DLE\STX\DC2\EOT\167\SOH\DC2\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\DLE\STX\DC2\EOT\238\SOH\DC2\DC4\n\ \'\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\DC1\DC2\EOT\168\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\DC1\DC2\EOT\239\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DC1\SOH\DC2\EOT\168\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DC1\SOH\DC2\EOT\239\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DC1\STX\DC2\EOT\168\SOH\DC2\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\DC1\STX\DC2\EOT\239\SOH\DC2\DC4\n\ \\SO\n\ - \\EOT\EOT\EOT\EOT\SOH\DC2\ACK\171\SOH\STX\176\SOH\ETX\n\ + \\EOT\EOT\EOT\EOT\SOH\DC2\ACK\242\SOH\STX\247\SOH\ETX\n\ \\r\n\ - \\ENQ\EOT\EOT\EOT\SOH\SOH\DC2\EOT\171\SOH\a\f\n\ + \\ENQ\EOT\EOT\EOT\SOH\SOH\DC2\EOT\242\SOH\a\f\n\ \*\n\ - \\ACK\EOT\EOT\EOT\SOH\STX\NUL\DC2\EOT\173\SOH\EOT\ETB\SUB\SUB 0 is reserved for errors\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\NUL\DC2\EOT\244\SOH\EOT\ETB\SUB\SUB 0 is reserved for errors\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\NUL\SOH\DC2\EOT\173\SOH\EOT\DC2\n\ + \\a\EOT\EOT\EOT\SOH\STX\NUL\SOH\DC2\EOT\244\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\NUL\STX\DC2\EOT\173\SOH\NAK\SYN\n\ + \\a\EOT\EOT\EOT\SOH\STX\NUL\STX\DC2\EOT\244\SOH\NAK\SYN\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\SOH\STX\SOH\DC2\EOT\174\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\SOH\DC2\EOT\245\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\SOH\SOH\DC2\EOT\174\SOH\EOT\DC2\n\ + \\a\EOT\EOT\EOT\SOH\STX\SOH\SOH\DC2\EOT\245\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\SOH\STX\DC2\EOT\174\SOH\NAK\SYN\n\ + \\a\EOT\EOT\EOT\SOH\STX\SOH\STX\DC2\EOT\245\SOH\NAK\SYN\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\SOH\STX\STX\DC2\EOT\175\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\STX\DC2\EOT\246\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\STX\SOH\DC2\EOT\175\SOH\EOT\DC2\n\ + \\a\EOT\EOT\EOT\SOH\STX\STX\SOH\DC2\EOT\246\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\STX\STX\DC2\EOT\175\SOH\NAK\SYN\n\ + \\a\EOT\EOT\EOT\SOH\STX\STX\STX\DC2\EOT\246\SOH\NAK\SYN\n\ \\f\n\ - \\EOT\EOT\EOT\STX\NUL\DC2\EOT\178\SOH\STX\ESC\n\ + \\EOT\EOT\EOT\STX\NUL\DC2\EOT\249\SOH\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\178\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\249\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\178\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\249\SOH\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\178\SOH\DC2\SYN\n\ + \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\249\SOH\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\178\SOH\EM\SUB\n\ + \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\249\SOH\EM\SUB\n\ \\f\n\ - \\EOT\EOT\EOT\STX\SOH\DC2\EOT\179\SOH\STX\FS\n\ + \\EOT\EOT\EOT\STX\SOH\DC2\EOT\250\SOH\STX\FS\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\EOT\DC2\EOT\179\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\SOH\EOT\DC2\EOT\250\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\179\SOH\v\DLE\n\ + \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\250\SOH\v\DLE\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\179\SOH\DC1\ETB\n\ + \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\250\SOH\DC1\ETB\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\179\SOH\SUB\ESC\n\ + \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\250\SOH\SUB\ESC\n\ \\f\n\ - \\EOT\EOT\EOT\STX\STX\DC2\EOT\180\SOH\STX\ESC\n\ + \\EOT\EOT\EOT\STX\STX\DC2\EOT\251\SOH\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\EOT\DC2\EOT\180\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\STX\EOT\DC2\EOT\251\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\180\SOH\v\DLE\n\ + \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\251\SOH\v\DLE\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\180\SOH\DC1\SYN\n\ + \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\251\SOH\DC1\SYN\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\180\SOH\EM\SUB\n\ + \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\251\SOH\EM\SUB\n\ \\156\SOH\n\ - \\EOT\EOT\EOT\STX\ETX\DC2\EOT\184\SOH\STX\EM\SUB\141\SOH If type_name is set, this need not be set. If both this and type_name\n\ + \\EOT\EOT\EOT\STX\ETX\DC2\EOT\255\SOH\STX\EM\SUB\141\SOH If type_name is set, this need not be set. If both this and type_name\n\ \ are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\EOT\DC2\EOT\184\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\ETX\EOT\DC2\EOT\255\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\184\SOH\v\SI\n\ + \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\255\SOH\v\SI\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\184\SOH\DLE\DC4\n\ + \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\255\SOH\DLE\DC4\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\184\SOH\ETB\CAN\n\ + \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\255\SOH\ETB\CAN\n\ \\183\STX\n\ - \\EOT\EOT\EOT\STX\EOT\DC2\EOT\191\SOH\STX \SUB\168\STX For message and enum types, this is the name of the type. If the name\n\ + \\EOT\EOT\EOT\STX\EOT\DC2\EOT\134\STX\STX \SUB\168\STX For message and enum types, this is the name of the type. If the name\n\ \ starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n\ \ rules are used to find the type (i.e. first the nested types within this\n\ \ message are searched, then within the parent, on up to the root\n\ \ namespace).\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\EOT\DC2\EOT\191\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\EOT\EOT\DC2\EOT\134\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\ENQ\DC2\EOT\191\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\EOT\ENQ\DC2\EOT\134\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\191\SOH\DC2\ESC\n\ + \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\134\STX\DC2\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\191\SOH\RS\US\n\ + \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\134\STX\RS\US\n\ \~\n\ - \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\195\SOH\STX\US\SUBp For extensions, this is the name of the type being extended. It is\n\ + \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\138\STX\STX\US\SUBp For extensions, this is the name of the type being extended. It is\n\ \ resolved in the same manner as type_name.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\EOT\DC2\EOT\195\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\ENQ\EOT\DC2\EOT\138\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\ENQ\DC2\EOT\195\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\ENQ\ENQ\DC2\EOT\138\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\195\SOH\DC2\SUB\n\ + \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\138\STX\DC2\SUB\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\195\SOH\GS\RS\n\ - \\177\STX\n\ - \\EOT\EOT\EOT\STX\ACK\DC2\EOT\202\SOH\STX$\SUB\162\STX For numeric types, contains the original text representation of the value.\n\ + \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\138\STX\GS\RS\n\ + \\145\STX\n\ + \\EOT\EOT\EOT\STX\ACK\DC2\EOT\144\STX\STX$\SUB\130\STX For numeric types, contains the original text representation of the value.\n\ \ For booleans, \"true\" or \"false\".\n\ \ For strings, contains the default text contents (not escaped in any way).\n\ \ For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n\ - \ TODO(kenton): Base-64 encode?\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\EOT\202\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\EOT\144\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\ENQ\DC2\EOT\202\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\ACK\ENQ\DC2\EOT\144\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\202\SOH\DC2\US\n\ + \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\144\STX\DC2\US\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\202\SOH\"#\n\ + \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\144\STX\"#\n\ \\132\SOH\n\ - \\EOT\EOT\EOT\STX\a\DC2\EOT\206\SOH\STX!\SUBv If set, gives the index of a oneof in the containing type's oneof_decl\n\ + \\EOT\EOT\EOT\STX\a\DC2\EOT\148\STX\STX!\SUBv If set, gives the index of a oneof in the containing type's oneof_decl\n\ \ list. This field is a member of that oneof.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\EOT\DC2\EOT\206\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\a\EOT\DC2\EOT\148\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\ENQ\DC2\EOT\206\SOH\v\DLE\n\ + \\ENQ\EOT\EOT\STX\a\ENQ\DC2\EOT\148\STX\v\DLE\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\206\SOH\DC1\FS\n\ + \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\148\STX\DC1\FS\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\206\SOH\US \n\ + \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\148\STX\US \n\ \\250\SOH\n\ - \\EOT\EOT\EOT\STX\b\DC2\EOT\212\SOH\STX!\SUB\235\SOH JSON name of this field. The value is set by protocol compiler. If the\n\ + \\EOT\EOT\EOT\STX\b\DC2\EOT\154\STX\STX!\SUB\235\SOH JSON name of this field. The value is set by protocol compiler. If the\n\ \ user has set a \"json_name\" option on this field, that option's value\n\ \ will be used. Otherwise, it's deduced from the field's name by converting\n\ \ it to camelCase.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\EOT\DC2\EOT\212\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\b\EOT\DC2\EOT\154\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\ENQ\DC2\EOT\212\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\b\ENQ\DC2\EOT\154\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\212\SOH\DC2\ESC\n\ + \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\154\STX\DC2\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\212\SOH\RS \n\ + \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\154\STX\RS \n\ \\f\n\ - \\EOT\EOT\EOT\STX\t\DC2\EOT\214\SOH\STX$\n\ + \\EOT\EOT\EOT\STX\t\DC2\EOT\156\STX\STX$\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\EOT\DC2\EOT\214\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\t\EOT\DC2\EOT\156\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\214\SOH\v\ETB\n\ + \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\156\STX\v\ETB\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\214\SOH\CAN\US\n\ + \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\156\STX\CAN\US\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\214\SOH\"#\n\ + \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\156\STX\"#\n\ \\179\t\n\ \\EOT\EOT\EOT\STX\n\ - \\DC2\EOT\237\SOH\STX%\SUB\164\t If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n\ + \\DC2\EOT\179\STX\STX%\SUB\164\t If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n\ \ tracks presence regardless of field type.\n\ \\n\ \ When proto3_optional is true, this field must be belong to a oneof to\n\ @@ -10846,84 +14712,84 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\EOT\DC2\EOT\237\SOH\STX\n\ + \\EOT\DC2\EOT\179\STX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\ENQ\DC2\EOT\237\SOH\v\SI\n\ + \\ENQ\DC2\EOT\179\STX\v\SI\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\SOH\DC2\EOT\237\SOH\DLE\US\n\ + \\SOH\DC2\EOT\179\STX\DLE\US\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\ETX\DC2\EOT\237\SOH\"$\n\ + \\ETX\DC2\EOT\179\STX\"$\n\ \\"\n\ - \\STX\EOT\ENQ\DC2\ACK\241\SOH\NUL\244\SOH\SOH\SUB\DC4 Describes a oneof.\n\ + \\STX\EOT\ENQ\DC2\ACK\183\STX\NUL\186\STX\SOH\SUB\DC4 Describes a oneof.\n\ \\n\ \\v\n\ - \\ETX\EOT\ENQ\SOH\DC2\EOT\241\SOH\b\FS\n\ + \\ETX\EOT\ENQ\SOH\DC2\EOT\183\STX\b\FS\n\ \\f\n\ - \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\242\SOH\STX\ESC\n\ + \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\184\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\242\SOH\STX\n\ + \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\184\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\242\SOH\v\DC1\n\ + \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\184\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\242\SOH\DC2\SYN\n\ + \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\184\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\242\SOH\EM\SUB\n\ + \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\184\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\243\SOH\STX$\n\ + \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\185\STX\STX$\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\EOT\DC2\EOT\243\SOH\STX\n\ + \\ENQ\EOT\ENQ\STX\SOH\EOT\DC2\EOT\185\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\243\SOH\v\ETB\n\ + \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\185\STX\v\ETB\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\243\SOH\CAN\US\n\ + \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\185\STX\CAN\US\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\243\SOH\"#\n\ + \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\185\STX\"#\n\ \'\n\ - \\STX\EOT\ACK\DC2\ACK\247\SOH\NUL\145\STX\SOH\SUB\EM Describes an enum type.\n\ + \\STX\EOT\ACK\DC2\ACK\189\STX\NUL\215\STX\SOH\SUB\EM Describes an enum type.\n\ \\n\ \\v\n\ - \\ETX\EOT\ACK\SOH\DC2\EOT\247\SOH\b\ESC\n\ + \\ETX\EOT\ACK\SOH\DC2\EOT\189\STX\b\ESC\n\ \\f\n\ - \\EOT\EOT\ACK\STX\NUL\DC2\EOT\248\SOH\STX\ESC\n\ + \\EOT\EOT\ACK\STX\NUL\DC2\EOT\190\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\248\SOH\STX\n\ + \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\190\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\248\SOH\v\DC1\n\ + \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\190\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\248\SOH\DC2\SYN\n\ + \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\190\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\248\SOH\EM\SUB\n\ + \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\190\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\ACK\STX\SOH\DC2\EOT\250\SOH\STX.\n\ + \\EOT\EOT\ACK\STX\SOH\DC2\EOT\192\STX\STX.\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\EOT\DC2\EOT\250\SOH\STX\n\ + \\ENQ\EOT\ACK\STX\SOH\EOT\DC2\EOT\192\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\250\SOH\v#\n\ + \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\192\STX\v#\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\250\SOH$)\n\ + \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\192\STX$)\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\250\SOH,-\n\ + \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\192\STX,-\n\ \\f\n\ - \\EOT\EOT\ACK\STX\STX\DC2\EOT\252\SOH\STX#\n\ + \\EOT\EOT\ACK\STX\STX\DC2\EOT\194\STX\STX#\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\EOT\DC2\EOT\252\SOH\STX\n\ + \\ENQ\EOT\ACK\STX\STX\EOT\DC2\EOT\194\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\252\SOH\v\SYN\n\ + \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\194\STX\v\SYN\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\252\SOH\ETB\RS\n\ + \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\194\STX\ETB\RS\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\252\SOH!\"\n\ + \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\194\STX!\"\n\ \\175\STX\n\ - \\EOT\EOT\ACK\ETX\NUL\DC2\ACK\132\STX\STX\135\STX\ETX\SUB\158\STX Range of reserved numeric values. Reserved values may not be used by\n\ + \\EOT\EOT\ACK\ETX\NUL\DC2\ACK\202\STX\STX\205\STX\ETX\SUB\158\STX Range of reserved numeric values. Reserved values may not be used by\n\ \ entries in the same enum. Reserved ranges may not overlap.\n\ \\n\ \ Note that this is distinct from DescriptorProto.ReservedRange in that it\n\ @@ -10931,219 +14797,219 @@ packedFileDescriptor \ domain.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\ETX\NUL\SOH\DC2\EOT\132\STX\n\ + \\ENQ\EOT\ACK\ETX\NUL\SOH\DC2\EOT\202\STX\n\ \\ESC\n\ \\FS\n\ - \\ACK\EOT\ACK\ETX\NUL\STX\NUL\DC2\EOT\133\STX\EOT\GS\"\f Inclusive.\n\ + \\ACK\EOT\ACK\ETX\NUL\STX\NUL\DC2\EOT\203\STX\EOT\GS\"\f Inclusive.\n\ \\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\EOT\DC2\EOT\133\STX\EOT\f\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\EOT\DC2\EOT\203\STX\EOT\f\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\ENQ\DC2\EOT\133\STX\r\DC2\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\ENQ\DC2\EOT\203\STX\r\DC2\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\SOH\DC2\EOT\133\STX\DC3\CAN\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\SOH\DC2\EOT\203\STX\DC3\CAN\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\ETX\DC2\EOT\133\STX\ESC\FS\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\ETX\DC2\EOT\203\STX\ESC\FS\n\ \\FS\n\ - \\ACK\EOT\ACK\ETX\NUL\STX\SOH\DC2\EOT\134\STX\EOT\ESC\"\f Inclusive.\n\ + \\ACK\EOT\ACK\ETX\NUL\STX\SOH\DC2\EOT\204\STX\EOT\ESC\"\f Inclusive.\n\ \\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\EOT\DC2\EOT\134\STX\EOT\f\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\EOT\DC2\EOT\204\STX\EOT\f\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\ENQ\DC2\EOT\134\STX\r\DC2\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\ENQ\DC2\EOT\204\STX\r\DC2\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\SOH\DC2\EOT\134\STX\DC3\SYN\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\SOH\DC2\EOT\204\STX\DC3\SYN\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\ETX\DC2\EOT\134\STX\EM\SUB\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\ETX\DC2\EOT\204\STX\EM\SUB\n\ \\170\SOH\n\ - \\EOT\EOT\ACK\STX\ETX\DC2\EOT\140\STX\STX0\SUB\155\SOH Range of reserved numeric values. Reserved numeric values may not be used\n\ + \\EOT\EOT\ACK\STX\ETX\DC2\EOT\210\STX\STX0\SUB\155\SOH Range of reserved numeric values. Reserved numeric values may not be used\n\ \ by enum values in the same enum declaration. Reserved ranges may not\n\ \ overlap.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\EOT\DC2\EOT\140\STX\STX\n\ + \\ENQ\EOT\ACK\STX\ETX\EOT\DC2\EOT\210\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\EOT\140\STX\v\FS\n\ + \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\EOT\210\STX\v\FS\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\140\STX\GS+\n\ + \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\210\STX\GS+\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\140\STX./\n\ + \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\210\STX./\n\ \l\n\ - \\EOT\EOT\ACK\STX\EOT\DC2\EOT\144\STX\STX$\SUB^ Reserved enum value names, which may not be reused. A given name may only\n\ + \\EOT\EOT\ACK\STX\EOT\DC2\EOT\214\STX\STX$\SUB^ Reserved enum value names, which may not be reused. A given name may only\n\ \ be reserved once.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\EOT\DC2\EOT\144\STX\STX\n\ + \\ENQ\EOT\ACK\STX\EOT\EOT\DC2\EOT\214\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\EOT\144\STX\v\DC1\n\ + \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\EOT\214\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\144\STX\DC2\US\n\ + \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\214\STX\DC2\US\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\144\STX\"#\n\ + \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\214\STX\"#\n\ \1\n\ - \\STX\EOT\a\DC2\ACK\148\STX\NUL\153\STX\SOH\SUB# Describes a value within an enum.\n\ + \\STX\EOT\a\DC2\ACK\218\STX\NUL\223\STX\SOH\SUB# Describes a value within an enum.\n\ \\n\ \\v\n\ - \\ETX\EOT\a\SOH\DC2\EOT\148\STX\b \n\ + \\ETX\EOT\a\SOH\DC2\EOT\218\STX\b \n\ \\f\n\ - \\EOT\EOT\a\STX\NUL\DC2\EOT\149\STX\STX\ESC\n\ + \\EOT\EOT\a\STX\NUL\DC2\EOT\219\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\149\STX\STX\n\ + \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\219\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\149\STX\v\DC1\n\ + \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\219\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\149\STX\DC2\SYN\n\ + \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\219\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\149\STX\EM\SUB\n\ + \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\219\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\a\STX\SOH\DC2\EOT\150\STX\STX\FS\n\ + \\EOT\EOT\a\STX\SOH\DC2\EOT\220\STX\STX\FS\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\EOT\DC2\EOT\150\STX\STX\n\ + \\ENQ\EOT\a\STX\SOH\EOT\DC2\EOT\220\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\150\STX\v\DLE\n\ + \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\220\STX\v\DLE\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\150\STX\DC1\ETB\n\ + \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\220\STX\DC1\ETB\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\150\STX\SUB\ESC\n\ + \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\220\STX\SUB\ESC\n\ \\f\n\ - \\EOT\EOT\a\STX\STX\DC2\EOT\152\STX\STX(\n\ + \\EOT\EOT\a\STX\STX\DC2\EOT\222\STX\STX(\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\EOT\DC2\EOT\152\STX\STX\n\ + \\ENQ\EOT\a\STX\STX\EOT\DC2\EOT\222\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\152\STX\v\ESC\n\ + \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\222\STX\v\ESC\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\152\STX\FS#\n\ + \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\222\STX\FS#\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\152\STX&'\n\ + \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\222\STX&'\n\ \$\n\ - \\STX\EOT\b\DC2\ACK\156\STX\NUL\161\STX\SOH\SUB\SYN Describes a service.\n\ + \\STX\EOT\b\DC2\ACK\226\STX\NUL\231\STX\SOH\SUB\SYN Describes a service.\n\ \\n\ \\v\n\ - \\ETX\EOT\b\SOH\DC2\EOT\156\STX\b\RS\n\ + \\ETX\EOT\b\SOH\DC2\EOT\226\STX\b\RS\n\ \\f\n\ - \\EOT\EOT\b\STX\NUL\DC2\EOT\157\STX\STX\ESC\n\ + \\EOT\EOT\b\STX\NUL\DC2\EOT\227\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\157\STX\STX\n\ + \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\227\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\157\STX\v\DC1\n\ + \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\227\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\157\STX\DC2\SYN\n\ + \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\227\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\157\STX\EM\SUB\n\ + \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\227\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\b\STX\SOH\DC2\EOT\158\STX\STX,\n\ + \\EOT\EOT\b\STX\SOH\DC2\EOT\228\STX\STX,\n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\EOT\DC2\EOT\158\STX\STX\n\ + \\ENQ\EOT\b\STX\SOH\EOT\DC2\EOT\228\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\158\STX\v \n\ + \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\228\STX\v \n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\158\STX!'\n\ + \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\228\STX!'\n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\158\STX*+\n\ + \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\228\STX*+\n\ \\f\n\ - \\EOT\EOT\b\STX\STX\DC2\EOT\160\STX\STX&\n\ + \\EOT\EOT\b\STX\STX\DC2\EOT\230\STX\STX&\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\EOT\DC2\EOT\160\STX\STX\n\ + \\ENQ\EOT\b\STX\STX\EOT\DC2\EOT\230\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\160\STX\v\EM\n\ + \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\230\STX\v\EM\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\160\STX\SUB!\n\ + \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\230\STX\SUB!\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\160\STX$%\n\ + \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\230\STX$%\n\ \0\n\ - \\STX\EOT\t\DC2\ACK\164\STX\NUL\178\STX\SOH\SUB\" Describes a method of a service.\n\ + \\STX\EOT\t\DC2\ACK\234\STX\NUL\248\STX\SOH\SUB\" Describes a method of a service.\n\ \\n\ \\v\n\ - \\ETX\EOT\t\SOH\DC2\EOT\164\STX\b\GS\n\ + \\ETX\EOT\t\SOH\DC2\EOT\234\STX\b\GS\n\ \\f\n\ - \\EOT\EOT\t\STX\NUL\DC2\EOT\165\STX\STX\ESC\n\ + \\EOT\EOT\t\STX\NUL\DC2\EOT\235\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\165\STX\STX\n\ + \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\235\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\165\STX\v\DC1\n\ + \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\235\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\165\STX\DC2\SYN\n\ + \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\235\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\165\STX\EM\SUB\n\ + \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\235\STX\EM\SUB\n\ \\151\SOH\n\ - \\EOT\EOT\t\STX\SOH\DC2\EOT\169\STX\STX!\SUB\136\SOH Input and output type names. These are resolved in the same way as\n\ + \\EOT\EOT\t\STX\SOH\DC2\EOT\239\STX\STX!\SUB\136\SOH Input and output type names. These are resolved in the same way as\n\ \ FieldDescriptorProto.type_name, but must refer to a message type.\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\EOT\DC2\EOT\169\STX\STX\n\ + \\ENQ\EOT\t\STX\SOH\EOT\DC2\EOT\239\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\169\STX\v\DC1\n\ + \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\239\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\169\STX\DC2\FS\n\ + \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\239\STX\DC2\FS\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\169\STX\US \n\ + \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\239\STX\US \n\ \\f\n\ - \\EOT\EOT\t\STX\STX\DC2\EOT\170\STX\STX\"\n\ + \\EOT\EOT\t\STX\STX\DC2\EOT\240\STX\STX\"\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\EOT\DC2\EOT\170\STX\STX\n\ + \\ENQ\EOT\t\STX\STX\EOT\DC2\EOT\240\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\170\STX\v\DC1\n\ + \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\240\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\170\STX\DC2\GS\n\ + \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\240\STX\DC2\GS\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\170\STX !\n\ + \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\240\STX !\n\ \\f\n\ - \\EOT\EOT\t\STX\ETX\DC2\EOT\172\STX\STX%\n\ + \\EOT\EOT\t\STX\ETX\DC2\EOT\242\STX\STX%\n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\EOT\DC2\EOT\172\STX\STX\n\ + \\ENQ\EOT\t\STX\ETX\EOT\DC2\EOT\242\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\172\STX\v\CAN\n\ + \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\242\STX\v\CAN\n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\172\STX\EM \n\ + \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\242\STX\EM \n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\172\STX#$\n\ + \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\242\STX#$\n\ \E\n\ - \\EOT\EOT\t\STX\EOT\DC2\EOT\175\STX\STX7\SUB7 Identifies if client streams multiple client messages\n\ + \\EOT\EOT\t\STX\EOT\DC2\EOT\245\STX\STX7\SUB7 Identifies if client streams multiple client messages\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\EOT\DC2\EOT\175\STX\STX\n\ + \\ENQ\EOT\t\STX\EOT\EOT\DC2\EOT\245\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\175\STX\v\SI\n\ + \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\245\STX\v\SI\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\175\STX\DLE \n\ + \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\245\STX\DLE \n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\175\STX#$\n\ + \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\245\STX#$\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\b\DC2\EOT\175\STX%6\n\ + \\ENQ\EOT\t\STX\EOT\b\DC2\EOT\245\STX%6\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\a\DC2\EOT\175\STX05\n\ + \\ENQ\EOT\t\STX\EOT\a\DC2\EOT\245\STX05\n\ \E\n\ - \\EOT\EOT\t\STX\ENQ\DC2\EOT\177\STX\STX7\SUB7 Identifies if server streams multiple server messages\n\ + \\EOT\EOT\t\STX\ENQ\DC2\EOT\247\STX\STX7\SUB7 Identifies if server streams multiple server messages\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\EOT\DC2\EOT\177\STX\STX\n\ + \\ENQ\EOT\t\STX\ENQ\EOT\DC2\EOT\247\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\177\STX\v\SI\n\ + \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\247\STX\v\SI\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\177\STX\DLE \n\ + \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\247\STX\DLE \n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\177\STX#$\n\ + \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\247\STX#$\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\b\DC2\EOT\177\STX%6\n\ + \\ENQ\EOT\t\STX\ENQ\b\DC2\EOT\247\STX%6\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\a\DC2\EOT\177\STX05\n\ + \\ENQ\EOT\t\STX\ENQ\a\DC2\EOT\247\STX05\n\ \\175\SO\n\ \\STX\EOT\n\ - \\DC2\ACK\213\STX\NUL\208\ETX\SOH2N ===================================================================\n\ + \\DC2\ACK\154\ETX\NUL\145\EOT\SOH2N ===================================================================\n\ \ Options\n\ \2\208\r Each of the definitions above may have \"options\" attached. These are\n\ \ just annotations which may cause code to be generated slightly differently\n\ @@ -11176,102 +15042,102 @@ packedFileDescriptor \\n\ \\v\n\ \\ETX\EOT\n\ - \\SOH\DC2\EOT\213\STX\b\DC3\n\ + \\SOH\DC2\EOT\154\ETX\b\DC3\n\ \\244\SOH\n\ \\EOT\EOT\n\ - \\STX\NUL\DC2\EOT\219\STX\STX#\SUB\229\SOH Sets the Java package where classes generated from this .proto will be\n\ + \\STX\NUL\DC2\EOT\160\ETX\STX#\SUB\229\SOH Sets the Java package where classes generated from this .proto will be\n\ \ placed. By default, the proto package is used, but this is often\n\ \ inappropriate because proto packages do not normally start with backwards\n\ \ domain names.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\EOT\DC2\EOT\219\STX\STX\n\ + \\STX\NUL\EOT\DC2\EOT\160\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\ENQ\DC2\EOT\219\STX\v\DC1\n\ + \\STX\NUL\ENQ\DC2\EOT\160\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\SOH\DC2\EOT\219\STX\DC2\RS\n\ + \\STX\NUL\SOH\DC2\EOT\160\ETX\DC2\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\ETX\DC2\EOT\219\STX!\"\n\ - \\191\STX\n\ + \\STX\NUL\ETX\DC2\EOT\160\ETX!\"\n\ + \\241\STX\n\ \\EOT\EOT\n\ - \\STX\SOH\DC2\EOT\227\STX\STX+\SUB\176\STX If set, all the classes from the .proto file are wrapped in a single\n\ - \ outer class with the given name. This applies to both Proto1\n\ - \ (equivalent to the old \"--one_java_file\" option) and Proto2 (where\n\ - \ a .proto always translates to a single class, but you may want to\n\ - \ explicitly choose the class name).\n\ + \\STX\SOH\DC2\EOT\167\ETX\STX+\SUB\226\STX Controls the name of the wrapper Java class generated for the .proto file.\n\ + \ That class will always contain the .proto file's getDescriptor() method as\n\ + \ well as any top-level extensions defined in the .proto file.\n\ + \ If java_multiple_files is disabled, then all the other classes from the\n\ + \ .proto file will be nested inside the single wrapper outer class.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\EOT\DC2\EOT\227\STX\STX\n\ + \\STX\SOH\EOT\DC2\EOT\167\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\ENQ\DC2\EOT\227\STX\v\DC1\n\ + \\STX\SOH\ENQ\DC2\EOT\167\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\SOH\DC2\EOT\227\STX\DC2&\n\ + \\STX\SOH\SOH\DC2\EOT\167\ETX\DC2&\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\ETX\DC2\EOT\227\STX)*\n\ - \\163\ETX\n\ + \\STX\SOH\ETX\DC2\EOT\167\ETX)*\n\ + \\166\ETX\n\ \\EOT\EOT\n\ - \\STX\STX\DC2\EOT\235\STX\STX;\SUB\148\ETX If set true, then the Java code generator will generate a separate .java\n\ + \\STX\STX\DC2\EOT\175\ETX\STX;\SUB\151\ETX If enabled, then the Java code generator will generate a separate .java\n\ \ file for each top-level message, enum, and service defined in the .proto\n\ - \ file. Thus, these types will *not* be nested inside the outer class\n\ - \ named by java_outer_classname. However, the outer class will still be\n\ + \ file. Thus, these types will *not* be nested inside the wrapper class\n\ + \ named by java_outer_classname. However, the wrapper class will still be\n\ \ generated to contain the file's getDescriptor() method as well as any\n\ \ top-level extensions defined in the file.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\EOT\DC2\EOT\235\STX\STX\n\ + \\STX\STX\EOT\DC2\EOT\175\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\ENQ\DC2\EOT\235\STX\v\SI\n\ + \\STX\STX\ENQ\DC2\EOT\175\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\SOH\DC2\EOT\235\STX\DLE#\n\ + \\STX\STX\SOH\DC2\EOT\175\ETX\DLE#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\ETX\DC2\EOT\235\STX&(\n\ + \\STX\STX\ETX\DC2\EOT\175\ETX&(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\b\DC2\EOT\235\STX):\n\ + \\STX\STX\b\DC2\EOT\175\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\a\DC2\EOT\235\STX49\n\ + \\STX\STX\a\DC2\EOT\175\ETX49\n\ \)\n\ \\EOT\EOT\n\ - \\STX\ETX\DC2\EOT\238\STX\STXE\SUB\ESC This option does nothing.\n\ + \\STX\ETX\DC2\EOT\178\ETX\STXE\SUB\ESC This option does nothing.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\EOT\DC2\EOT\238\STX\STX\n\ + \\STX\ETX\EOT\DC2\EOT\178\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\ENQ\DC2\EOT\238\STX\v\SI\n\ + \\STX\ETX\ENQ\DC2\EOT\178\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\SOH\DC2\EOT\238\STX\DLE-\n\ + \\STX\ETX\SOH\DC2\EOT\178\ETX\DLE-\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\ETX\DC2\EOT\238\STX02\n\ + \\STX\ETX\ETX\DC2\EOT\178\ETX02\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\b\DC2\EOT\238\STX3D\n\ + \\STX\ETX\b\DC2\EOT\178\ETX3D\n\ \\SO\n\ \\ACK\EOT\n\ - \\STX\ETX\b\ETX\DC2\EOT\238\STX4C\n\ + \\STX\ETX\b\ETX\DC2\EOT\178\ETX4C\n\ \\230\STX\n\ \\EOT\EOT\n\ - \\STX\EOT\DC2\EOT\246\STX\STX>\SUB\215\STX If set true, then the Java2 code generator will generate code that\n\ + \\STX\EOT\DC2\EOT\186\ETX\STX>\SUB\215\STX If set true, then the Java2 code generator will generate code that\n\ \ throws an exception whenever an attempt is made to assign a non-UTF-8\n\ \ byte sequence to a string field.\n\ \ Message reflection will do the same.\n\ @@ -11280,86 +15146,86 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\EOT\DC2\EOT\246\STX\STX\n\ + \\STX\EOT\EOT\DC2\EOT\186\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\ENQ\DC2\EOT\246\STX\v\SI\n\ + \\STX\EOT\ENQ\DC2\EOT\186\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\SOH\DC2\EOT\246\STX\DLE&\n\ + \\STX\EOT\SOH\DC2\EOT\186\ETX\DLE&\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\ETX\DC2\EOT\246\STX)+\n\ + \\STX\EOT\ETX\DC2\EOT\186\ETX)+\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\b\DC2\EOT\246\STX,=\n\ + \\STX\EOT\b\DC2\EOT\186\ETX,=\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\a\DC2\EOT\246\STX7<\n\ + \\STX\EOT\a\DC2\EOT\186\ETX7<\n\ \L\n\ \\EOT\EOT\n\ - \\EOT\NUL\DC2\ACK\250\STX\STX\255\STX\ETX\SUB< Generated classes can be optimized for speed or code size.\n\ + \\EOT\NUL\DC2\ACK\189\ETX\STX\194\ETX\ETX\SUB< Generated classes can be optimized for speed or code size.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\EOT\NUL\SOH\DC2\EOT\250\STX\a\DC3\n\ + \\EOT\NUL\SOH\DC2\EOT\189\ETX\a\DC3\n\ \D\n\ \\ACK\EOT\n\ - \\EOT\NUL\STX\NUL\DC2\EOT\251\STX\EOT\SO\"4 Generate complete code for parsing, serialization,\n\ + \\EOT\NUL\STX\NUL\DC2\EOT\190\ETX\EOT\SO\"4 Generate complete code for parsing, serialization,\n\ \\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\NUL\SOH\DC2\EOT\251\STX\EOT\t\n\ + \\EOT\NUL\STX\NUL\SOH\DC2\EOT\190\ETX\EOT\t\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\NUL\STX\DC2\EOT\251\STX\f\r\n\ + \\EOT\NUL\STX\NUL\STX\DC2\EOT\190\ETX\f\r\n\ \G\n\ \\ACK\EOT\n\ - \\EOT\NUL\STX\SOH\DC2\EOT\253\STX\EOT\DC2\SUB\ACK etc.\n\ + \\EOT\NUL\STX\SOH\DC2\EOT\192\ETX\EOT\DC2\SUB\ACK etc.\n\ \\"/ Use ReflectionOps to implement these methods.\n\ \\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\SOH\SOH\DC2\EOT\253\STX\EOT\r\n\ + \\EOT\NUL\STX\SOH\SOH\DC2\EOT\192\ETX\EOT\r\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\SOH\STX\DC2\EOT\253\STX\DLE\DC1\n\ + \\EOT\NUL\STX\SOH\STX\DC2\EOT\192\ETX\DLE\DC1\n\ \G\n\ \\ACK\EOT\n\ - \\EOT\NUL\STX\STX\DC2\EOT\254\STX\EOT\NAK\"7 Generate code using MessageLite and the lite runtime.\n\ + \\EOT\NUL\STX\STX\DC2\EOT\193\ETX\EOT\NAK\"7 Generate code using MessageLite and the lite runtime.\n\ \\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\STX\SOH\DC2\EOT\254\STX\EOT\DLE\n\ + \\EOT\NUL\STX\STX\SOH\DC2\EOT\193\ETX\EOT\DLE\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\STX\STX\DC2\EOT\254\STX\DC3\DC4\n\ + \\EOT\NUL\STX\STX\STX\DC2\EOT\193\ETX\DC3\DC4\n\ \\f\n\ \\EOT\EOT\n\ - \\STX\ENQ\DC2\EOT\128\ETX\STX;\n\ + \\STX\ENQ\DC2\EOT\195\ETX\STX;\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\EOT\DC2\EOT\128\ETX\STX\n\ + \\STX\ENQ\EOT\DC2\EOT\195\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\ACK\DC2\EOT\128\ETX\v\ETB\n\ + \\STX\ENQ\ACK\DC2\EOT\195\ETX\v\ETB\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\SOH\DC2\EOT\128\ETX\CAN$\n\ + \\STX\ENQ\SOH\DC2\EOT\195\ETX\CAN$\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\ETX\DC2\EOT\128\ETX'(\n\ + \\STX\ENQ\ETX\DC2\EOT\195\ETX'(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\b\DC2\EOT\128\ETX):\n\ + \\STX\ENQ\b\DC2\EOT\195\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\a\DC2\EOT\128\ETX49\n\ + \\STX\ENQ\a\DC2\EOT\195\ETX49\n\ \\226\STX\n\ \\EOT\EOT\n\ - \\STX\ACK\DC2\EOT\135\ETX\STX\"\SUB\211\STX Sets the Go package where structs generated from this .proto will be\n\ + \\STX\ACK\DC2\EOT\202\ETX\STX\"\SUB\211\STX Sets the Go package where structs generated from this .proto will be\n\ \ placed. If omitted, the Go package will be derived from the following:\n\ \ - The basename of the package import path, if provided.\n\ \ - Otherwise, the package statement in the .proto file, if present.\n\ @@ -11367,20 +15233,20 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\EOT\DC2\EOT\135\ETX\STX\n\ + \\STX\ACK\EOT\DC2\EOT\202\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\ENQ\DC2\EOT\135\ETX\v\DC1\n\ + \\STX\ACK\ENQ\DC2\EOT\202\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\SOH\DC2\EOT\135\ETX\DC2\FS\n\ + \\STX\ACK\SOH\DC2\EOT\202\ETX\DC2\FS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\ETX\DC2\EOT\135\ETX\US!\n\ + \\STX\ACK\ETX\DC2\EOT\202\ETX\US!\n\ \\212\EOT\n\ \\EOT\EOT\n\ - \\STX\a\DC2\EOT\150\ETX\STX;\SUB\197\EOT Should generic services be generated in each language? \"Generic\" services\n\ + \\STX\a\DC2\EOT\214\ETX\STX;\SUB\197\EOT Should generic services be generated in each language? \"Generic\" services\n\ \ are not specific to any particular RPC system. They are generated by the\n\ \ main code generators in each language (without additional plugins).\n\ \ Generic services were the only kind of service generation supported by\n\ @@ -11393,326 +15259,343 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\EOT\DC2\EOT\150\ETX\STX\n\ + \\STX\a\EOT\DC2\EOT\214\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\ENQ\DC2\EOT\150\ETX\v\SI\n\ + \\STX\a\ENQ\DC2\EOT\214\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\SOH\DC2\EOT\150\ETX\DLE#\n\ + \\STX\a\SOH\DC2\EOT\214\ETX\DLE#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\ETX\DC2\EOT\150\ETX&(\n\ + \\STX\a\ETX\DC2\EOT\214\ETX&(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\b\DC2\EOT\150\ETX):\n\ + \\STX\a\b\DC2\EOT\214\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\a\DC2\EOT\150\ETX49\n\ + \\STX\a\a\DC2\EOT\214\ETX49\n\ \\f\n\ \\EOT\EOT\n\ - \\STX\b\DC2\EOT\151\ETX\STX=\n\ + \\STX\b\DC2\EOT\215\ETX\STX=\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\EOT\DC2\EOT\151\ETX\STX\n\ + \\STX\b\EOT\DC2\EOT\215\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\ENQ\DC2\EOT\151\ETX\v\SI\n\ + \\STX\b\ENQ\DC2\EOT\215\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\SOH\DC2\EOT\151\ETX\DLE%\n\ + \\STX\b\SOH\DC2\EOT\215\ETX\DLE%\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\ETX\DC2\EOT\151\ETX(*\n\ + \\STX\b\ETX\DC2\EOT\215\ETX(*\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\b\DC2\EOT\151\ETX+<\n\ + \\STX\b\b\DC2\EOT\215\ETX+<\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\a\DC2\EOT\151\ETX6;\n\ + \\STX\b\a\DC2\EOT\215\ETX6;\n\ \\f\n\ \\EOT\EOT\n\ - \\STX\t\DC2\EOT\152\ETX\STX;\n\ + \\STX\t\DC2\EOT\216\ETX\STX;\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\EOT\DC2\EOT\152\ETX\STX\n\ + \\STX\t\EOT\DC2\EOT\216\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\ENQ\DC2\EOT\152\ETX\v\SI\n\ + \\STX\t\ENQ\DC2\EOT\216\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\SOH\DC2\EOT\152\ETX\DLE#\n\ + \\STX\t\SOH\DC2\EOT\216\ETX\DLE#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\ETX\DC2\EOT\152\ETX&(\n\ + \\STX\t\ETX\DC2\EOT\216\ETX&(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\b\DC2\EOT\152\ETX):\n\ + \\STX\t\b\DC2\EOT\216\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\a\DC2\EOT\152\ETX49\n\ + \\STX\t\a\DC2\EOT\216\ETX49\n\ \\f\n\ \\EOT\EOT\n\ \\STX\n\ - \\DC2\EOT\153\ETX\STX<\n\ + \\DC2\EOT\217\ETX\STX<\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\EOT\DC2\EOT\153\ETX\STX\n\ + \\EOT\DC2\EOT\217\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\ENQ\DC2\EOT\153\ETX\v\SI\n\ + \\ENQ\DC2\EOT\217\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\SOH\DC2\EOT\153\ETX\DLE$\n\ + \\SOH\DC2\EOT\217\ETX\DLE$\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\ETX\DC2\EOT\153\ETX')\n\ + \\ETX\DC2\EOT\217\ETX')\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\b\DC2\EOT\153\ETX*;\n\ + \\b\DC2\EOT\217\ETX*;\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\a\DC2\EOT\153\ETX5:\n\ + \\a\DC2\EOT\217\ETX5:\n\ \\243\SOH\n\ \\EOT\EOT\n\ - \\STX\v\DC2\EOT\159\ETX\STX2\SUB\228\SOH Is this file deprecated?\n\ + \\STX\v\DC2\EOT\223\ETX\STX2\SUB\228\SOH Is this file deprecated?\n\ \ Depending on the target platform, this can emit Deprecated annotations\n\ \ for everything in the file, or it will be completely ignored; in the very\n\ \ least, this is a formalization for deprecating files.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\EOT\DC2\EOT\159\ETX\STX\n\ + \\STX\v\EOT\DC2\EOT\223\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\ENQ\DC2\EOT\159\ETX\v\SI\n\ + \\STX\v\ENQ\DC2\EOT\223\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\SOH\DC2\EOT\159\ETX\DLE\SUB\n\ + \\STX\v\SOH\DC2\EOT\223\ETX\DLE\SUB\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\ETX\DC2\EOT\159\ETX\GS\US\n\ + \\STX\v\ETX\DC2\EOT\223\ETX\GS\US\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\b\DC2\EOT\159\ETX 1\n\ + \\STX\v\b\DC2\EOT\223\ETX 1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\a\DC2\EOT\159\ETX+0\n\ + \\STX\v\a\DC2\EOT\223\ETX+0\n\ \\DEL\n\ \\EOT\EOT\n\ - \\STX\f\DC2\EOT\163\ETX\STX7\SUBq Enables the use of arenas for the proto messages in this file. This applies\n\ + \\STX\f\DC2\EOT\227\ETX\STX7\SUBq Enables the use of arenas for the proto messages in this file. This applies\n\ \ only to generated classes for C++.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\EOT\DC2\EOT\163\ETX\STX\n\ + \\STX\f\EOT\DC2\EOT\227\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\ENQ\DC2\EOT\163\ETX\v\SI\n\ + \\STX\f\ENQ\DC2\EOT\227\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\SOH\DC2\EOT\163\ETX\DLE \n\ + \\STX\f\SOH\DC2\EOT\227\ETX\DLE \n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\ETX\DC2\EOT\163\ETX#%\n\ + \\STX\f\ETX\DC2\EOT\227\ETX#%\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\b\DC2\EOT\163\ETX&6\n\ + \\STX\f\b\DC2\EOT\227\ETX&6\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\a\DC2\EOT\163\ETX15\n\ + \\STX\f\a\DC2\EOT\227\ETX15\n\ \\146\SOH\n\ \\EOT\EOT\n\ - \\STX\r\DC2\EOT\168\ETX\STX)\SUB\131\SOH Sets the objective c class prefix which is prepended to all objective c\n\ + \\STX\r\DC2\EOT\231\ETX\STX)\SUB\131\SOH Sets the objective c class prefix which is prepended to all objective c\n\ \ generated classes from this .proto. There is no default.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\EOT\DC2\EOT\168\ETX\STX\n\ + \\STX\r\EOT\DC2\EOT\231\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\ENQ\DC2\EOT\168\ETX\v\DC1\n\ + \\STX\r\ENQ\DC2\EOT\231\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\SOH\DC2\EOT\168\ETX\DC2#\n\ + \\STX\r\SOH\DC2\EOT\231\ETX\DC2#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\ETX\DC2\EOT\168\ETX&(\n\ + \\STX\r\ETX\DC2\EOT\231\ETX&(\n\ \I\n\ \\EOT\EOT\n\ - \\STX\SO\DC2\EOT\171\ETX\STX(\SUB; Namespace for generated classes; defaults to the package.\n\ + \\STX\SO\DC2\EOT\234\ETX\STX(\SUB; Namespace for generated classes; defaults to the package.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\EOT\DC2\EOT\171\ETX\STX\n\ + \\STX\SO\EOT\DC2\EOT\234\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\ENQ\DC2\EOT\171\ETX\v\DC1\n\ + \\STX\SO\ENQ\DC2\EOT\234\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\SOH\DC2\EOT\171\ETX\DC2\"\n\ + \\STX\SO\SOH\DC2\EOT\234\ETX\DC2\"\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\ETX\DC2\EOT\171\ETX%'\n\ + \\STX\SO\ETX\DC2\EOT\234\ETX%'\n\ \\145\STX\n\ \\EOT\EOT\n\ - \\STX\SI\DC2\EOT\177\ETX\STX$\SUB\130\STX By default Swift generators will take the proto package and CamelCase it\n\ + \\STX\SI\DC2\EOT\240\ETX\STX$\SUB\130\STX By default Swift generators will take the proto package and CamelCase it\n\ \ replacing '.' with underscore and use that to prefix the types/symbols\n\ \ defined. When this options is provided, they will use this value instead\n\ \ to prefix the types/symbols defined.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\EOT\DC2\EOT\177\ETX\STX\n\ + \\STX\SI\EOT\DC2\EOT\240\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\ENQ\DC2\EOT\177\ETX\v\DC1\n\ + \\STX\SI\ENQ\DC2\EOT\240\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\SOH\DC2\EOT\177\ETX\DC2\RS\n\ + \\STX\SI\SOH\DC2\EOT\240\ETX\DC2\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\ETX\DC2\EOT\177\ETX!#\n\ + \\STX\SI\ETX\DC2\EOT\240\ETX!#\n\ \~\n\ \\EOT\EOT\n\ - \\STX\DLE\DC2\EOT\181\ETX\STX(\SUBp Sets the php class prefix which is prepended to all php generated classes\n\ + \\STX\DLE\DC2\EOT\244\ETX\STX(\SUBp Sets the php class prefix which is prepended to all php generated classes\n\ \ from this .proto. Default is empty.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\EOT\DC2\EOT\181\ETX\STX\n\ + \\STX\DLE\EOT\DC2\EOT\244\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\ENQ\DC2\EOT\181\ETX\v\DC1\n\ + \\STX\DLE\ENQ\DC2\EOT\244\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\SOH\DC2\EOT\181\ETX\DC2\"\n\ + \\STX\DLE\SOH\DC2\EOT\244\ETX\DC2\"\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\ETX\DC2\EOT\181\ETX%'\n\ + \\STX\DLE\ETX\DC2\EOT\244\ETX%'\n\ \\190\SOH\n\ \\EOT\EOT\n\ - \\STX\DC1\DC2\EOT\186\ETX\STX%\SUB\175\SOH Use this option to change the namespace of php generated classes. Default\n\ + \\STX\DC1\DC2\EOT\249\ETX\STX%\SUB\175\SOH Use this option to change the namespace of php generated classes. Default\n\ \ is empty. When this option is empty, the package name will be used for\n\ \ determining the namespace.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\EOT\DC2\EOT\186\ETX\STX\n\ + \\STX\DC1\EOT\DC2\EOT\249\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\ENQ\DC2\EOT\186\ETX\v\DC1\n\ + \\STX\DC1\ENQ\DC2\EOT\249\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\SOH\DC2\EOT\186\ETX\DC2\US\n\ + \\STX\DC1\SOH\DC2\EOT\249\ETX\DC2\US\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\ETX\DC2\EOT\186\ETX\"$\n\ + \\STX\DC1\ETX\DC2\EOT\249\ETX\"$\n\ \\202\SOH\n\ \\EOT\EOT\n\ - \\STX\DC2\DC2\EOT\191\ETX\STX.\SUB\187\SOH Use this option to change the namespace of php generated metadata classes.\n\ + \\STX\DC2\DC2\EOT\254\ETX\STX.\SUB\187\SOH Use this option to change the namespace of php generated metadata classes.\n\ \ Default is empty. When this option is empty, the proto file name will be\n\ \ used for determining the namespace.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\EOT\DC2\EOT\191\ETX\STX\n\ + \\STX\DC2\EOT\DC2\EOT\254\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\ENQ\DC2\EOT\191\ETX\v\DC1\n\ + \\STX\DC2\ENQ\DC2\EOT\254\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\SOH\DC2\EOT\191\ETX\DC2(\n\ + \\STX\DC2\SOH\DC2\EOT\254\ETX\DC2(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\ETX\DC2\EOT\191\ETX+-\n\ + \\STX\DC2\ETX\DC2\EOT\254\ETX+-\n\ \\194\SOH\n\ \\EOT\EOT\n\ - \\STX\DC3\DC2\EOT\196\ETX\STX$\SUB\179\SOH Use this option to change the package of ruby generated classes. Default\n\ + \\STX\DC3\DC2\EOT\131\EOT\STX$\SUB\179\SOH Use this option to change the package of ruby generated classes. Default\n\ \ is empty. When this option is not set, the package name will be used for\n\ \ determining the ruby package.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\EOT\DC2\EOT\196\ETX\STX\n\ + \\STX\DC3\EOT\DC2\EOT\131\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\ENQ\DC2\EOT\131\EOT\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\SOH\DC2\EOT\131\EOT\DC2\RS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\ETX\DC2\EOT\131\EOT!#\n\ + \=\n\ + \\EOT\EOT\n\ + \\STX\DC4\DC2\EOT\134\EOT\STX$\SUB/ Any features defined in the specific edition.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC4\EOT\DC2\EOT\134\EOT\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\ENQ\DC2\EOT\196\ETX\v\DC1\n\ + \\STX\DC4\ACK\DC2\EOT\134\EOT\v\NAK\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\SOH\DC2\EOT\196\ETX\DC2\RS\n\ + \\STX\DC4\SOH\DC2\EOT\134\EOT\SYN\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\ETX\DC2\EOT\196\ETX!#\n\ + \\STX\DC4\ETX\DC2\EOT\134\EOT!#\n\ \|\n\ \\EOT\EOT\n\ - \\STX\DC4\DC2\EOT\201\ETX\STX:\SUBn The parser stores options it doesn't recognize here.\n\ + \\STX\NAK\DC2\EOT\138\EOT\STX:\SUBn The parser stores options it doesn't recognize here.\n\ \ See the documentation for the \"Options\" section above.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\EOT\DC2\EOT\201\ETX\STX\n\ + \\STX\NAK\EOT\DC2\EOT\138\EOT\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\ACK\DC2\EOT\201\ETX\v\RS\n\ + \\STX\NAK\ACK\DC2\EOT\138\EOT\v\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\SOH\DC2\EOT\201\ETX\US3\n\ + \\STX\NAK\SOH\DC2\EOT\138\EOT\US3\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\ETX\DC2\EOT\201\ETX69\n\ + \\STX\NAK\ETX\DC2\EOT\138\EOT69\n\ \\135\SOH\n\ \\ETX\EOT\n\ - \\ENQ\DC2\EOT\205\ETX\STX\EM\SUBz Clients can define custom options in extensions of this message.\n\ + \\ENQ\DC2\EOT\142\EOT\STX\EM\SUBz Clients can define custom options in extensions of this message.\n\ \ See the documentation for the \"Options\" section above.\n\ \\n\ \\f\n\ \\EOT\EOT\n\ - \\ENQ\NUL\DC2\EOT\205\ETX\r\CAN\n\ + \\ENQ\NUL\DC2\EOT\142\EOT\r\CAN\n\ \\r\n\ \\ENQ\EOT\n\ - \\ENQ\NUL\SOH\DC2\EOT\205\ETX\r\DC1\n\ + \\ENQ\NUL\SOH\DC2\EOT\142\EOT\r\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\ENQ\NUL\STX\DC2\EOT\205\ETX\NAK\CAN\n\ + \\ENQ\NUL\STX\DC2\EOT\142\EOT\NAK\CAN\n\ \\v\n\ \\ETX\EOT\n\ - \\t\DC2\EOT\207\ETX\STX\SO\n\ + \\t\DC2\EOT\144\EOT\STX\SO\n\ \\f\n\ \\EOT\EOT\n\ - \\t\NUL\DC2\EOT\207\ETX\v\r\n\ + \\t\NUL\DC2\EOT\144\EOT\v\r\n\ \\r\n\ \\ENQ\EOT\n\ - \\t\NUL\SOH\DC2\EOT\207\ETX\v\r\n\ + \\t\NUL\SOH\DC2\EOT\144\EOT\v\r\n\ \\r\n\ \\ENQ\EOT\n\ - \\t\NUL\STX\DC2\EOT\207\ETX\v\r\n\ + \\t\NUL\STX\DC2\EOT\144\EOT\v\r\n\ \\f\n\ - \\STX\EOT\v\DC2\ACK\210\ETX\NUL\146\EOT\SOH\n\ + \\STX\EOT\v\DC2\ACK\147\EOT\NUL\227\EOT\SOH\n\ \\v\n\ - \\ETX\EOT\v\SOH\DC2\EOT\210\ETX\b\SYN\n\ + \\ETX\EOT\v\SOH\DC2\EOT\147\EOT\b\SYN\n\ \\216\ENQ\n\ - \\EOT\EOT\v\STX\NUL\DC2\EOT\229\ETX\STX>\SUB\201\ENQ Set true to use the old proto1 MessageSet wire format for extensions.\n\ + \\EOT\EOT\v\STX\NUL\DC2\EOT\166\EOT\STX>\SUB\201\ENQ Set true to use the old proto1 MessageSet wire format for extensions.\n\ \ This is provided for backwards-compatibility with the MessageSet wire\n\ \ format. You should not use this for any other reason: It's less\n\ \ efficient, has fewer features, and is more complicated.\n\ @@ -11732,57 +15615,81 @@ packedFileDescriptor \ the protocol compiler.\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\229\ETX\STX\n\ + \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\166\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\229\ETX\v\SI\n\ + \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\166\EOT\v\SI\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\229\ETX\DLE'\n\ + \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\166\EOT\DLE'\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\229\ETX*+\n\ + \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\166\EOT*+\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\b\DC2\EOT\229\ETX,=\n\ + \\ENQ\EOT\v\STX\NUL\b\DC2\EOT\166\EOT,=\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\a\DC2\EOT\229\ETX7<\n\ + \\ENQ\EOT\v\STX\NUL\a\DC2\EOT\166\EOT7<\n\ \\235\SOH\n\ - \\EOT\EOT\v\STX\SOH\DC2\EOT\234\ETX\STXF\SUB\220\SOH Disables the generation of the standard \"descriptor()\" accessor, which can\n\ + \\EOT\EOT\v\STX\SOH\DC2\EOT\171\EOT\STXF\SUB\220\SOH Disables the generation of the standard \"descriptor()\" accessor, which can\n\ \ conflict with a field of the same name. This is meant to make migration\n\ \ from proto1 easier; new code should avoid fields named \"descriptor\".\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\EOT\DC2\EOT\234\ETX\STX\n\ + \\ENQ\EOT\v\STX\SOH\EOT\DC2\EOT\171\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\234\ETX\v\SI\n\ + \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\171\EOT\v\SI\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\234\ETX\DLE/\n\ + \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\171\EOT\DLE/\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\234\ETX23\n\ + \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\171\EOT23\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\b\DC2\EOT\234\ETX4E\n\ + \\ENQ\EOT\v\STX\SOH\b\DC2\EOT\171\EOT4E\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\a\DC2\EOT\234\ETX?D\n\ + \\ENQ\EOT\v\STX\SOH\a\DC2\EOT\171\EOT?D\n\ \\238\SOH\n\ - \\EOT\EOT\v\STX\STX\DC2\EOT\240\ETX\STX1\SUB\223\SOH Is this message deprecated?\n\ + \\EOT\EOT\v\STX\STX\DC2\EOT\177\EOT\STX1\SUB\223\SOH Is this message deprecated?\n\ \ Depending on the target platform, this can emit Deprecated annotations\n\ \ for the message, or it will be completely ignored; in the very least,\n\ \ this is a formalization for deprecating messages.\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\240\ETX\STX\n\ + \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\177\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\240\ETX\v\SI\n\ + \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\177\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\177\EOT\DLE\SUB\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\240\ETX\DLE\SUB\n\ + \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\177\EOT\GS\RS\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\240\ETX\GS\RS\n\ + \\ENQ\EOT\v\STX\STX\b\DC2\EOT\177\EOT\US0\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\b\DC2\EOT\240\ETX\US0\n\ + \\ENQ\EOT\v\STX\STX\a\DC2\EOT\177\EOT*/\n\ + \\v\n\ + \\ETX\EOT\v\t\DC2\EOT\179\EOT\STX\DC3\n\ + \\f\n\ + \\EOT\EOT\v\t\NUL\DC2\EOT\179\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\NUL\SOH\DC2\EOT\179\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\NUL\STX\DC2\EOT\179\EOT\v\f\n\ + \\f\n\ + \\EOT\EOT\v\t\SOH\DC2\EOT\179\EOT\SO\SI\n\ + \\r\n\ + \\ENQ\EOT\v\t\SOH\SOH\DC2\EOT\179\EOT\SO\SI\n\ + \\r\n\ + \\ENQ\EOT\v\t\SOH\STX\DC2\EOT\179\EOT\SO\SI\n\ + \\f\n\ + \\EOT\EOT\v\t\STX\DC2\EOT\179\EOT\DC1\DC2\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\a\DC2\EOT\240\ETX*/\n\ + \\ENQ\EOT\v\t\STX\SOH\DC2\EOT\179\EOT\DC1\DC2\n\ + \\r\n\ + \\ENQ\EOT\v\t\STX\STX\DC2\EOT\179\EOT\DC1\DC2\n\ \\160\ACK\n\ - \\EOT\EOT\v\STX\ETX\DC2\EOT\135\EOT\STX\RS\SUB\145\ACK Whether the message is an automatically generated map entry type for the\n\ + \\EOT\EOT\v\STX\ETX\DC2\EOT\202\EOT\STX\RS\SUB\145\ACK NOTE: Do not set the option in .proto files. Always use the maps syntax\n\ + \ instead. The option should only be implicitly set by the proto compiler\n\ + \ parser.\n\ + \\n\ + \ Whether the message is an automatically generated map entry type for the\n\ \ maps field.\n\ \\n\ \ For maps fields:\n\ @@ -11800,123 +15707,164 @@ packedFileDescriptor \ The reflection APIs in such implementations still need to work as\n\ \ if the field is a repeated message field.\n\ \\n\ - \ NOTE: Do not set the option in .proto files. Always use the maps syntax\n\ - \ instead. The option should only be implicitly set by the proto compiler\n\ - \ parser.\n\ - \\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\EOT\DC2\EOT\135\EOT\STX\n\ + \\ENQ\EOT\v\STX\ETX\EOT\DC2\EOT\202\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\135\EOT\v\SI\n\ + \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\202\EOT\v\SI\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\135\EOT\DLE\EM\n\ + \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\202\EOT\DLE\EM\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\135\EOT\FS\GS\n\ + \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\202\EOT\FS\GS\n\ \$\n\ - \\ETX\EOT\v\t\DC2\EOT\137\EOT\STX\r\"\ETB javalite_serializable\n\ + \\ETX\EOT\v\t\DC2\EOT\204\EOT\STX\r\"\ETB javalite_serializable\n\ \\n\ \\f\n\ - \\EOT\EOT\v\t\NUL\DC2\EOT\137\EOT\v\f\n\ + \\EOT\EOT\v\t\ETX\DC2\EOT\204\EOT\v\f\n\ \\r\n\ - \\ENQ\EOT\v\t\NUL\SOH\DC2\EOT\137\EOT\v\f\n\ + \\ENQ\EOT\v\t\ETX\SOH\DC2\EOT\204\EOT\v\f\n\ \\r\n\ - \\ENQ\EOT\v\t\NUL\STX\DC2\EOT\137\EOT\v\f\n\ + \\ENQ\EOT\v\t\ETX\STX\DC2\EOT\204\EOT\v\f\n\ \\US\n\ - \\ETX\EOT\v\t\DC2\EOT\138\EOT\STX\r\"\DC2 javanano_as_lite\n\ + \\ETX\EOT\v\t\DC2\EOT\205\EOT\STX\r\"\DC2 javanano_as_lite\n\ \\n\ \\f\n\ - \\EOT\EOT\v\t\SOH\DC2\EOT\138\EOT\v\f\n\ + \\EOT\EOT\v\t\EOT\DC2\EOT\205\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\EOT\SOH\DC2\EOT\205\EOT\v\f\n\ \\r\n\ - \\ENQ\EOT\v\t\SOH\SOH\DC2\EOT\138\EOT\v\f\n\ + \\ENQ\EOT\v\t\EOT\STX\DC2\EOT\205\EOT\v\f\n\ + \\221\ETX\n\ + \\EOT\EOT\v\STX\EOT\DC2\EOT\217\EOT\STXP\SUB\206\ETX Enable the legacy handling of JSON field name conflicts. This lowercases\n\ + \ and strips underscored from the fields before comparison in proto3 only.\n\ + \ The new behavior takes `json_name` into account and applies to proto2 as\n\ + \ well.\n\ + \\n\ + \ This should only be used as a temporary measure against broken builds due\n\ + \ to the change in behavior for JSON field name conflicts.\n\ + \\n\ + \ TODO This is legacy behavior we plan to remove once downstream\n\ + \ teams have had time to migrate.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\EOT\DC2\EOT\217\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\ENQ\DC2\EOT\217\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\217\EOT\DLE6\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\217\EOT9;\n\ \\r\n\ - \\ENQ\EOT\v\t\SOH\STX\DC2\EOT\138\EOT\v\f\n\ + \\ENQ\EOT\v\STX\EOT\b\DC2\EOT\217\EOT Lens.Family2.LensLike' f s a ctype = Data.ProtoLens.Field.field @"ctype" +debugRedact :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "debugRedact" a) => + Lens.Family2.LensLike' f s a +debugRedact = Data.ProtoLens.Field.field @"debugRedact" +declaration :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "declaration" a) => + Lens.Family2.LensLike' f s a +declaration = Data.ProtoLens.Field.field @"declaration" defaultValue :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "defaultValue" a) => Lens.Family2.LensLike' f s a defaultValue = Data.ProtoLens.Field.field @"defaultValue" +defaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "defaults" a) => + Lens.Family2.LensLike' f s a +defaults = Data.ProtoLens.Field.field @"defaults" dependency :: forall f s a. (Prelude.Functor f, @@ -97,12 +115,36 @@ deprecated :: Data.ProtoLens.Field.HasField s "deprecated" a) => Lens.Family2.LensLike' f s a deprecated = Data.ProtoLens.Field.field @"deprecated" +deprecatedLegacyJsonFieldConflicts :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "deprecatedLegacyJsonFieldConflicts" a) => + Lens.Family2.LensLike' f s a +deprecatedLegacyJsonFieldConflicts + = Data.ProtoLens.Field.field @"deprecatedLegacyJsonFieldConflicts" doubleValue :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "doubleValue" a) => Lens.Family2.LensLike' f s a doubleValue = Data.ProtoLens.Field.field @"doubleValue" +edition :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "edition" a) => + Lens.Family2.LensLike' f s a +edition = Data.ProtoLens.Field.field @"edition" +editionDefaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "editionDefaults" a) => + Lens.Family2.LensLike' f s a +editionDefaults = Data.ProtoLens.Field.field @"editionDefaults" +editionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "editionEnum" a) => + Lens.Family2.LensLike' f s a +editionEnum = Data.ProtoLens.Field.field @"editionEnum" end :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "end" a) => @@ -132,16 +174,34 @@ extensionRange :: Data.ProtoLens.Field.HasField s "extensionRange" a) => Lens.Family2.LensLike' f s a extensionRange = Data.ProtoLens.Field.field @"extensionRange" +features :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "features" a) => + Lens.Family2.LensLike' f s a +features = Data.ProtoLens.Field.field @"features" field :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "field" a) => Lens.Family2.LensLike' f s a field = Data.ProtoLens.Field.field @"field" +fieldPresence :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "fieldPresence" a) => + Lens.Family2.LensLike' f s a +fieldPresence = Data.ProtoLens.Field.field @"fieldPresence" file :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "file" a) => Lens.Family2.LensLike' f s a file = Data.ProtoLens.Field.field @"file" +fullName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "fullName" a) => + Lens.Family2.LensLike' f s a +fullName = Data.ProtoLens.Field.field @"fullName" goPackage :: forall f s a. (Prelude.Functor f, @@ -212,6 +272,12 @@ javaStringCheckUtf8 :: Lens.Family2.LensLike' f s a javaStringCheckUtf8 = Data.ProtoLens.Field.field @"javaStringCheckUtf8" +jsonFormat :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "jsonFormat" a) => + Lens.Family2.LensLike' f s a +jsonFormat = Data.ProtoLens.Field.field @"jsonFormat" jsonName :: forall f s a. (Prelude.Functor f, @@ -258,6 +324,19 @@ mapEntry :: Data.ProtoLens.Field.HasField s "mapEntry" a) => Lens.Family2.LensLike' f s a mapEntry = Data.ProtoLens.Field.field @"mapEntry" +maximumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maximumEdition" a) => + Lens.Family2.LensLike' f s a +maximumEdition = Data.ProtoLens.Field.field @"maximumEdition" +maximumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maximumEditionEnum" a) => + Lens.Family2.LensLike' f s a +maximumEditionEnum + = Data.ProtoLens.Field.field @"maximumEditionEnum" maybe'aggregateValue :: forall f s a. (Prelude.Functor f, @@ -311,6 +390,12 @@ maybe'ctype :: Data.ProtoLens.Field.HasField s "maybe'ctype" a) => Lens.Family2.LensLike' f s a maybe'ctype = Data.ProtoLens.Field.field @"maybe'ctype" +maybe'debugRedact :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'debugRedact" a) => + Lens.Family2.LensLike' f s a +maybe'debugRedact = Data.ProtoLens.Field.field @"maybe'debugRedact" maybe'defaultValue :: forall f s a. (Prelude.Functor f, @@ -324,24 +409,69 @@ maybe'deprecated :: Data.ProtoLens.Field.HasField s "maybe'deprecated" a) => Lens.Family2.LensLike' f s a maybe'deprecated = Data.ProtoLens.Field.field @"maybe'deprecated" +maybe'deprecatedLegacyJsonFieldConflicts :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'deprecatedLegacyJsonFieldConflicts" a) => + Lens.Family2.LensLike' f s a +maybe'deprecatedLegacyJsonFieldConflicts + = Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts" maybe'doubleValue :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'doubleValue" a) => Lens.Family2.LensLike' f s a maybe'doubleValue = Data.ProtoLens.Field.field @"maybe'doubleValue" +maybe'edition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'edition" a) => + Lens.Family2.LensLike' f s a +maybe'edition = Data.ProtoLens.Field.field @"maybe'edition" +maybe'editionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'editionEnum" a) => + Lens.Family2.LensLike' f s a +maybe'editionEnum = Data.ProtoLens.Field.field @"maybe'editionEnum" maybe'end :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'end" a) => Lens.Family2.LensLike' f s a maybe'end = Data.ProtoLens.Field.field @"maybe'end" +maybe'enumType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'enumType" a) => + Lens.Family2.LensLike' f s a +maybe'enumType = Data.ProtoLens.Field.field @"maybe'enumType" maybe'extendee :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'extendee" a) => Lens.Family2.LensLike' f s a maybe'extendee = Data.ProtoLens.Field.field @"maybe'extendee" +maybe'features :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'features" a) => + Lens.Family2.LensLike' f s a +maybe'features = Data.ProtoLens.Field.field @"maybe'features" +maybe'fieldPresence :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'fieldPresence" a) => + Lens.Family2.LensLike' f s a +maybe'fieldPresence + = Data.ProtoLens.Field.field @"maybe'fieldPresence" +maybe'fullName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'fullName" a) => + Lens.Family2.LensLike' f s a +maybe'fullName = Data.ProtoLens.Field.field @"maybe'fullName" maybe'goPackage :: forall f s a. (Prelude.Functor f, @@ -409,6 +539,12 @@ maybe'javaStringCheckUtf8 :: Lens.Family2.LensLike' f s a maybe'javaStringCheckUtf8 = Data.ProtoLens.Field.field @"maybe'javaStringCheckUtf8" +maybe'jsonFormat :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'jsonFormat" a) => + Lens.Family2.LensLike' f s a +maybe'jsonFormat = Data.ProtoLens.Field.field @"maybe'jsonFormat" maybe'jsonName :: forall f s a. (Prelude.Functor f, @@ -446,6 +582,27 @@ maybe'mapEntry :: Data.ProtoLens.Field.HasField s "maybe'mapEntry" a) => Lens.Family2.LensLike' f s a maybe'mapEntry = Data.ProtoLens.Field.field @"maybe'mapEntry" +maybe'maximumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'maximumEdition" a) => + Lens.Family2.LensLike' f s a +maybe'maximumEdition + = Data.ProtoLens.Field.field @"maybe'maximumEdition" +maybe'maximumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'maximumEditionEnum" a) => + Lens.Family2.LensLike' f s a +maybe'maximumEditionEnum + = Data.ProtoLens.Field.field @"maybe'maximumEditionEnum" +maybe'messageEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'messageEncoding" a) => + Lens.Family2.LensLike' f s a +maybe'messageEncoding + = Data.ProtoLens.Field.field @"maybe'messageEncoding" maybe'messageSetWireFormat :: forall f s a. (Prelude.Functor f, @@ -453,6 +610,20 @@ maybe'messageSetWireFormat :: Lens.Family2.LensLike' f s a maybe'messageSetWireFormat = Data.ProtoLens.Field.field @"maybe'messageSetWireFormat" +maybe'minimumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'minimumEdition" a) => + Lens.Family2.LensLike' f s a +maybe'minimumEdition + = Data.ProtoLens.Field.field @"maybe'minimumEdition" +maybe'minimumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'minimumEditionEnum" a) => + Lens.Family2.LensLike' f s a +maybe'minimumEditionEnum + = Data.ProtoLens.Field.field @"maybe'minimumEditionEnum" maybe'name :: forall f s a. (Prelude.Functor f, @@ -571,12 +742,43 @@ maybe'pyGenericServices :: Lens.Family2.LensLike' f s a maybe'pyGenericServices = Data.ProtoLens.Field.field @"maybe'pyGenericServices" +maybe'repeated :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'repeated" a) => + Lens.Family2.LensLike' f s a +maybe'repeated = Data.ProtoLens.Field.field @"maybe'repeated" +maybe'repeatedFieldEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'repeatedFieldEncoding" a) => + Lens.Family2.LensLike' f s a +maybe'repeatedFieldEncoding + = Data.ProtoLens.Field.field @"maybe'repeatedFieldEncoding" +maybe'reserved :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'reserved" a) => + Lens.Family2.LensLike' f s a +maybe'reserved = Data.ProtoLens.Field.field @"maybe'reserved" +maybe'retention :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'retention" a) => + Lens.Family2.LensLike' f s a +maybe'retention = Data.ProtoLens.Field.field @"maybe'retention" maybe'rubyPackage :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'rubyPackage" a) => Lens.Family2.LensLike' f s a maybe'rubyPackage = Data.ProtoLens.Field.field @"maybe'rubyPackage" +maybe'semantic :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'semantic" a) => + Lens.Family2.LensLike' f s a +maybe'semantic = Data.ProtoLens.Field.field @"maybe'semantic" maybe'serverStreaming :: forall f s a. (Prelude.Functor f, @@ -640,12 +842,38 @@ maybe'typeName :: Data.ProtoLens.Field.HasField s "maybe'typeName" a) => Lens.Family2.LensLike' f s a maybe'typeName = Data.ProtoLens.Field.field @"maybe'typeName" +maybe'unverifiedLazy :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'unverifiedLazy" a) => + Lens.Family2.LensLike' f s a +maybe'unverifiedLazy + = Data.ProtoLens.Field.field @"maybe'unverifiedLazy" +maybe'value :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'value" a) => + Lens.Family2.LensLike' f s a +maybe'value = Data.ProtoLens.Field.field @"maybe'value" +maybe'verification :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'verification" a) => + Lens.Family2.LensLike' f s a +maybe'verification + = Data.ProtoLens.Field.field @"maybe'verification" maybe'weak :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'weak" a) => Lens.Family2.LensLike' f s a maybe'weak = Data.ProtoLens.Field.field @"maybe'weak" +messageEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "messageEncoding" a) => + Lens.Family2.LensLike' f s a +messageEncoding = Data.ProtoLens.Field.field @"messageEncoding" messageSetWireFormat :: forall f s a. (Prelude.Functor f, @@ -664,6 +892,19 @@ method :: (Prelude.Functor f, Data.ProtoLens.Field.HasField s "method" a) => Lens.Family2.LensLike' f s a method = Data.ProtoLens.Field.field @"method" +minimumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "minimumEdition" a) => + Lens.Family2.LensLike' f s a +minimumEdition = Data.ProtoLens.Field.field @"minimumEdition" +minimumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "minimumEditionEnum" a) => + Lens.Family2.LensLike' f s a +minimumEditionEnum + = Data.ProtoLens.Field.field @"minimumEditionEnum" name :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) => @@ -799,6 +1040,25 @@ pyGenericServices :: Data.ProtoLens.Field.HasField s "pyGenericServices" a) => Lens.Family2.LensLike' f s a pyGenericServices = Data.ProtoLens.Field.field @"pyGenericServices" +repeated :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "repeated" a) => + Lens.Family2.LensLike' f s a +repeated = Data.ProtoLens.Field.field @"repeated" +repeatedFieldEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "repeatedFieldEncoding" a) => + Lens.Family2.LensLike' f s a +repeatedFieldEncoding + = Data.ProtoLens.Field.field @"repeatedFieldEncoding" +reserved :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "reserved" a) => + Lens.Family2.LensLike' f s a +reserved = Data.ProtoLens.Field.field @"reserved" reservedName :: forall f s a. (Prelude.Functor f, @@ -811,12 +1071,24 @@ reservedRange :: Data.ProtoLens.Field.HasField s "reservedRange" a) => Lens.Family2.LensLike' f s a reservedRange = Data.ProtoLens.Field.field @"reservedRange" +retention :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "retention" a) => + Lens.Family2.LensLike' f s a +retention = Data.ProtoLens.Field.field @"retention" rubyPackage :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "rubyPackage" a) => Lens.Family2.LensLike' f s a rubyPackage = Data.ProtoLens.Field.field @"rubyPackage" +semantic :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "semantic" a) => + Lens.Family2.LensLike' f s a +semantic = Data.ProtoLens.Field.field @"semantic" serverStreaming :: forall f s a. (Prelude.Functor f, @@ -867,6 +1139,11 @@ syntax :: (Prelude.Functor f, Data.ProtoLens.Field.HasField s "syntax" a) => Lens.Family2.LensLike' f s a syntax = Data.ProtoLens.Field.field @"syntax" +targets :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "targets" a) => + Lens.Family2.LensLike' f s a +targets = Data.ProtoLens.Field.field @"targets" trailingComments :: forall f s a. (Prelude.Functor f, @@ -891,6 +1168,12 @@ uninterpretedOption :: Lens.Family2.LensLike' f s a uninterpretedOption = Data.ProtoLens.Field.field @"uninterpretedOption" +unverifiedLazy :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "unverifiedLazy" a) => + Lens.Family2.LensLike' f s a +unverifiedLazy = Data.ProtoLens.Field.field @"unverifiedLazy" value :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => @@ -902,12 +1185,31 @@ vec'annotation :: Data.ProtoLens.Field.HasField s "vec'annotation" a) => Lens.Family2.LensLike' f s a vec'annotation = Data.ProtoLens.Field.field @"vec'annotation" +vec'declaration :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'declaration" a) => + Lens.Family2.LensLike' f s a +vec'declaration = Data.ProtoLens.Field.field @"vec'declaration" +vec'defaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'defaults" a) => + Lens.Family2.LensLike' f s a +vec'defaults = Data.ProtoLens.Field.field @"vec'defaults" vec'dependency :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "vec'dependency" a) => Lens.Family2.LensLike' f s a vec'dependency = Data.ProtoLens.Field.field @"vec'dependency" +vec'editionDefaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'editionDefaults" a) => + Lens.Family2.LensLike' f s a +vec'editionDefaults + = Data.ProtoLens.Field.field @"vec'editionDefaults" vec'enumType :: forall f s a. (Prelude.Functor f, @@ -1019,6 +1321,12 @@ vec'span :: Data.ProtoLens.Field.HasField s "vec'span" a) => Lens.Family2.LensLike' f s a vec'span = Data.ProtoLens.Field.field @"vec'span" +vec'targets :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'targets" a) => + Lens.Family2.LensLike' f s a +vec'targets = Data.ProtoLens.Field.field @"vec'targets" vec'uninterpretedOption :: forall f s a. (Prelude.Functor f, @@ -1039,6 +1347,12 @@ vec'weakDependency :: Lens.Family2.LensLike' f s a vec'weakDependency = Data.ProtoLens.Field.field @"vec'weakDependency" +verification :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "verification" a) => + Lens.Family2.LensLike' f s a +verification = Data.ProtoLens.Field.field @"verification" weak :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "weak" a) => diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs index 5861455d..a22f2445 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Duration.hs @@ -181,8 +181,8 @@ packedFileDescriptor \\bDuration\DC2\CAN\n\ \\aseconds\CAN\SOH \SOH(\ETXR\aseconds\DC2\DC4\n\ \\ENQnanos\CAN\STX \SOH(\ENQR\ENQnanosB\131\SOH\n\ - \\DC3com.google.protobufB\rDurationProtoP\SOHZ1google.golang.org/protobuf/types/known/durationpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\218#\n\ - \\ACK\DC2\EOT\RS\NULs\SOH\n\ + \\DC3com.google.protobufB\rDurationProtoP\SOHZ1google.golang.org/protobuf/types/known/durationpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\217#\n\ + \\ACK\DC2\EOT\RS\NULr\SOH\n\ \\204\f\n\ \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ @@ -217,36 +217,36 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NUL\US\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\US\DC2\ETX\"\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NUL\US\n\ + \\SOH\b\DC2\ETX#\NULH\n\ \\t\n\ - \\STX\b\US\DC2\ETX#\NUL\US\n\ + \\STX\b\v\DC2\ETX#\NULH\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NULH\n\ + \\SOH\b\DC2\ETX$\NUL,\n\ \\t\n\ - \\STX\b\v\DC2\ETX$\NULH\n\ + \\STX\b\SOH\DC2\ETX$\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL,\n\ + \\SOH\b\DC2\ETX%\NUL.\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX%\NUL,\n\ + \\STX\b\b\DC2\ETX%\NUL.\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL.\n\ + \\SOH\b\DC2\ETX&\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX&\NUL.\n\ + \\STX\b\n\ + \\DC2\ETX&\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL\"\n\ + \\SOH\b\DC2\ETX'\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX'\NUL\"\n\ + \\STX\b$\DC2\ETX'\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX(\NUL!\n\ + \\SOH\b\DC2\ETX(\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX(\NUL!\n\ - \\158\DLE\n\ - \\STX\EOT\NUL\DC2\EOTf\NULs\SOH\SUB\145\DLE A Duration represents a signed, fixed-length span of time represented\n\ + \\STX\b%\DC2\ETX(\NUL;\n\ + \\157\DLE\n\ + \\STX\EOT\NUL\DC2\EOTe\NULr\SOH\SUB\144\DLE A Duration represents a signed, fixed-length span of time represented\n\ \ as a count of seconds and fractions of seconds at nanosecond\n\ \ resolution. It is independent of any calendar and concepts like \"day\"\n\ \ or \"month\". It is related to Timestamp in that the difference between\n\ @@ -308,21 +308,20 @@ packedFileDescriptor \\n\ \\n\ \\n\ - \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETXf\b\DLE\n\ + \\ETX\EOT\NUL\SOH\DC2\ETXe\b\DLE\n\ \\220\SOH\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\ETXj\STX\DC4\SUB\206\SOH Signed seconds of the span of time. Must be from -315,576,000,000\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETXi\STX\DC4\SUB\206\SOH Signed seconds of the span of time. Must be from -315,576,000,000\n\ \ to +315,576,000,000 inclusive. Note: these bounds are computed from:\n\ \ 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETXj\STX\a\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETXi\STX\a\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETXj\b\SI\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETXi\b\SI\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETXj\DC2\DC3\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETXi\DC2\DC3\n\ \\131\ETX\n\ - \\EOT\EOT\NUL\STX\SOH\DC2\ETXr\STX\DC2\SUB\245\STX Signed fractions of a second at nanosecond resolution of the span\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETXq\STX\DC2\SUB\245\STX Signed fractions of a second at nanosecond resolution of the span\n\ \ of time. Durations less than one second are represented with a 0\n\ \ `seconds` field and a positive or negative `nanos` field. For durations\n\ \ of one second or more, a non-zero value for the `nanos` field must be\n\ @@ -330,8 +329,8 @@ packedFileDescriptor \ to +999,999,999 inclusive.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETXr\STX\a\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETXq\STX\a\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETXr\b\r\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETXq\b\r\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETXr\DLE\DC1b\ACKproto3" \ No newline at end of file + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETXq\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs index a94e86c5..f0ea4cda 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Empty.hs @@ -97,8 +97,8 @@ packedFileDescriptor \\ESCgoogle/protobuf/empty.proto\DC2\SIgoogle.protobuf\"\a\n\ \\ENQEmptyB}\n\ \\DC3com.google.protobufB\n\ - \EmptyProtoP\SOHZ.google.golang.org/protobuf/types/known/emptypb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\254\DLE\n\ - \\ACK\DC2\EOT\RS\NUL3\DLE\n\ + \EmptyProtoP\SOHZ.google.golang.org/protobuf/types/known/emptypb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\190\DLE\n\ + \\ACK\DC2\EOT\RS\NUL2\DLE\n\ \\204\f\n\ \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ @@ -133,36 +133,36 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NULE\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\v\DC2\ETX\"\NULE\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NULE\n\ + \\SOH\b\DC2\ETX#\NUL,\n\ \\t\n\ - \\STX\b\v\DC2\ETX#\NULE\n\ + \\STX\b\SOH\DC2\ETX#\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NUL,\n\ + \\SOH\b\DC2\ETX$\NUL+\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX$\NUL,\n\ + \\STX\b\b\DC2\ETX$\NUL+\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL+\n\ + \\SOH\b\DC2\ETX%\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX%\NUL+\n\ + \\STX\b\n\ + \\DC2\ETX%\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL\"\n\ + \\SOH\b\DC2\ETX&\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX&\NUL\"\n\ + \\STX\b$\DC2\ETX&\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL!\n\ + \\SOH\b\DC2\ETX'\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX'\NUL!\n\ + \\STX\b%\DC2\ETX'\NUL;\n\ \\b\n\ \\SOH\b\DC2\ETX(\NUL\US\n\ \\t\n\ \\STX\b\US\DC2\ETX(\NUL\US\n\ - \\251\STX\n\ - \\STX\EOT\NUL\DC2\ETX3\NUL\DLE\SUB\239\STX A generic empty message that you can re-use to avoid defining duplicated\n\ + \\187\STX\n\ + \\STX\EOT\NUL\DC2\ETX2\NUL\DLE\SUB\175\STX A generic empty message that you can re-use to avoid defining duplicated\n\ \ empty messages in your APIs. A typical example is to use it as the request\n\ \ or the response type of an API method. For instance:\n\ \\n\ @@ -170,8 +170,7 @@ packedFileDescriptor \ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n\ \ }\n\ \\n\ - \ The JSON representation for `Empty` is empty JSON object `{}`.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETX3\b\rb\ACKproto3" \ No newline at end of file + \\ETX\EOT\NUL\SOH\DC2\ETX2\b\rb\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs index 752b9c2b..2167b75d 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/FieldMask.hs @@ -201,26 +201,26 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NUL,\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\SOH\DC2\ETX\"\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NUL,\n\ + \\SOH\b\DC2\ETX#\NUL/\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX#\NUL,\n\ + \\STX\b\b\DC2\ETX#\NUL/\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NUL/\n\ + \\SOH\b\DC2\ETX$\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX$\NUL/\n\ + \\STX\b\n\ + \\DC2\ETX$\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL\"\n\ + \\SOH\b\DC2\ETX%\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX%\NUL\"\n\ + \\STX\b$\DC2\ETX%\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL!\n\ + \\SOH\b\DC2\ETX&\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX&\NUL!\n\ + \\STX\b%\DC2\ETX&\NUL;\n\ \\b\n\ \\SOH\b\DC2\ETX'\NULI\n\ \\t\n\ diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs index 72e4697e..226b3d8f 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/SourceContext.hs @@ -187,26 +187,26 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NUL,\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\SOH\DC2\ETX\"\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NUL,\n\ + \\SOH\b\DC2\ETX#\NUL3\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX#\NUL,\n\ + \\STX\b\b\DC2\ETX#\NUL3\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NUL3\n\ + \\SOH\b\DC2\ETX$\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX$\NUL3\n\ + \\STX\b\n\ + \\DC2\ETX$\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL\"\n\ + \\SOH\b\DC2\ETX%\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX%\NUL\"\n\ + \\STX\b$\DC2\ETX%\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL!\n\ + \\SOH\b\DC2\ETX&\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX&\NUL!\n\ + \\STX\b%\DC2\ETX&\NUL;\n\ \\b\n\ \\SOH\b\DC2\ETX'\NULM\n\ \\t\n\ diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs index 58cd49eb..854fc561 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs @@ -1037,34 +1037,34 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NUL\US\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\US\DC2\ETX\"\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NUL\US\n\ + \\SOH\b\DC2\ETX#\NULF\n\ \\t\n\ - \\STX\b\US\DC2\ETX#\NUL\US\n\ + \\STX\b\v\DC2\ETX#\NULF\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NULF\n\ + \\SOH\b\DC2\ETX$\NUL,\n\ \\t\n\ - \\STX\b\v\DC2\ETX$\NULF\n\ + \\STX\b\SOH\DC2\ETX$\NUL,\n\ \\b\n\ \\SOH\b\DC2\ETX%\NUL,\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX%\NUL,\n\ + \\STX\b\b\DC2\ETX%\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL,\n\ + \\SOH\b\DC2\ETX&\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX&\NUL,\n\ + \\STX\b\n\ + \\DC2\ETX&\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL\"\n\ + \\SOH\b\DC2\ETX'\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX'\NUL\"\n\ + \\STX\b$\DC2\ETX'\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX(\NUL!\n\ + \\SOH\b\DC2\ETX(\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX(\NUL!\n\ + \\STX\b%\DC2\ETX(\NUL;\n\ \\179\ETX\n\ \\STX\EOT\NUL\DC2\EOT2\NUL5\SOH\SUB\166\ETX `Struct` represents a structured data value, consisting of fields\n\ \ which map to dynamically typed values. In some languages, `Struct`\n\ @@ -1087,11 +1087,11 @@ packedFileDescriptor \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX4\NAK\ESC\n\ \\f\n\ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX4\RS\US\n\ - \\195\STX\n\ - \\STX\EOT\SOH\DC2\EOT=\NULM\SOH\SUB\182\STX `Value` represents a dynamically typed value which can be either\n\ + \\196\STX\n\ + \\STX\EOT\SOH\DC2\EOT=\NULM\SOH\SUB\183\STX `Value` represents a dynamically typed value which can be either\n\ \ null, a number, a string, a boolean, a recursive struct value, or a\n\ - \ list of values. A producer of value is expected to set one of that\n\ - \ variants, absence of any variant indicates an error.\n\ + \ list of values. A producer of value is expected to set one of these\n\ + \ variants. Absence of any variant indicates an error.\n\ \\n\ \ The JSON representation for `Value` is JSON value.\n\ \\n\ @@ -1160,11 +1160,11 @@ packedFileDescriptor \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXK\SO\CAN\n\ \\f\n\ \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXK\ESC\FS\n\ - \\169\SOH\n\ - \\STX\ENQ\NUL\DC2\EOTS\NULV\SOH\SUB\156\SOH `NullValue` is a singleton enumeration to represent the null value for the\n\ + \\168\SOH\n\ + \\STX\ENQ\NUL\DC2\EOTS\NULV\SOH\SUB\155\SOH `NullValue` is a singleton enumeration to represent the null value for the\n\ \ `Value` type union.\n\ \\n\ - \ The JSON representation for `NullValue` is JSON `null`.\n\ + \ The JSON representation for `NullValue` is JSON `null`.\n\ \\n\ \\n\ \\n\ diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs index 58246663..f0424573 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Timestamp.hs @@ -181,8 +181,8 @@ packedFileDescriptor \\tTimestamp\DC2\CAN\n\ \\aseconds\CAN\SOH \SOH(\ETXR\aseconds\DC2\DC4\n\ \\ENQnanos\CAN\STX \SOH(\ENQR\ENQnanosB\133\SOH\n\ - \\DC3com.google.protobufB\SOTimestampProtoP\SOHZ2google.golang.org/protobuf/types/known/timestamppb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\197/\n\ - \\a\DC2\ENQ\RS\NUL\146\SOH\SOH\n\ + \\DC3com.google.protobufB\SOTimestampProtoP\SOHZ2google.golang.org/protobuf/types/known/timestamppb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\193/\n\ + \\a\DC2\ENQ\RS\NUL\143\SOH\SOH\n\ \\204\f\n\ \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ @@ -217,36 +217,36 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX \NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX\"\NUL;\n\ + \\SOH\b\DC2\ETX\"\NUL\US\n\ \\t\n\ - \\STX\b%\DC2\ETX\"\NUL;\n\ + \\STX\b\US\DC2\ETX\"\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX#\NUL\US\n\ + \\SOH\b\DC2\ETX#\NULI\n\ \\t\n\ - \\STX\b\US\DC2\ETX#\NUL\US\n\ + \\STX\b\v\DC2\ETX#\NULI\n\ \\b\n\ - \\SOH\b\DC2\ETX$\NULI\n\ + \\SOH\b\DC2\ETX$\NUL,\n\ \\t\n\ - \\STX\b\v\DC2\ETX$\NULI\n\ + \\STX\b\SOH\DC2\ETX$\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL,\n\ + \\SOH\b\DC2\ETX%\NUL/\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX%\NUL,\n\ + \\STX\b\b\DC2\ETX%\NUL/\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL/\n\ + \\SOH\b\DC2\ETX&\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX&\NUL/\n\ + \\STX\b\n\ + \\DC2\ETX&\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL\"\n\ + \\SOH\b\DC2\ETX'\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX'\NUL\"\n\ + \\STX\b$\DC2\ETX'\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX(\NUL!\n\ + \\SOH\b\DC2\ETX(\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX(\NUL!\n\ - \\222\GS\n\ - \\STX\EOT\NUL\DC2\ACK\135\SOH\NUL\146\SOH\SOH\SUB\207\GS A Timestamp represents a point in time independent of any time zone or local\n\ + \\STX\b%\DC2\ETX(\NUL;\n\ + \\218\GS\n\ + \\STX\EOT\NUL\DC2\ACK\132\SOH\NUL\143\SOH\SOH\SUB\203\GS A Timestamp represents a point in time independent of any time zone or local\n\ \ calendar, encoded as a count of seconds and fractions of seconds at\n\ \ nanosecond resolution. The count is relative to an epoch at UTC midnight on\n\ \ January 1, 1970, in the proleptic Gregorian calendar which extends the\n\ @@ -296,7 +296,6 @@ packedFileDescriptor \ Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n\ \ .setNanos((int) ((millis % 1000) * 1000000)).build();\n\ \\n\ - \\n\ \ Example 5: Compute Timestamp from Java `Instant.now()`.\n\ \\n\ \ Instant now = Instant.now();\n\ @@ -305,7 +304,6 @@ packedFileDescriptor \ Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n\ \ .setNanos(now.getNano()).build();\n\ \\n\ - \\n\ \ Example 6: Compute Timestamp from current time in Python.\n\ \\n\ \ timestamp = Timestamp()\n\ @@ -335,33 +333,32 @@ packedFileDescriptor \ [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n\ \ the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n\ \ the Joda Time's [`ISODateTimeFormat.dateTime()`](\n\ - \ http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n\ + \ http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()\n\ \ ) to obtain a formatter capable of generating timestamps in this format.\n\ \\n\ \\n\ - \\n\ \\v\n\ - \\ETX\EOT\NUL\SOH\DC2\EOT\135\SOH\b\DC1\n\ + \\ETX\EOT\NUL\SOH\DC2\EOT\132\SOH\b\DC1\n\ \\157\SOH\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\EOT\139\SOH\STX\DC4\SUB\142\SOH Represents seconds of UTC time since Unix epoch\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\EOT\136\SOH\STX\DC4\SUB\142\SOH Represents seconds of UTC time since Unix epoch\n\ \ 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n\ \ 9999-12-31T23:59:59Z inclusive.\n\ \\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\139\SOH\STX\a\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\EOT\136\SOH\STX\a\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\139\SOH\b\SI\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\EOT\136\SOH\b\SI\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\139\SOH\DC2\DC3\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\EOT\136\SOH\DC2\DC3\n\ \\229\SOH\n\ - \\EOT\EOT\NUL\STX\SOH\DC2\EOT\145\SOH\STX\DC2\SUB\214\SOH Non-negative fractions of a second at nanosecond resolution. Negative\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\EOT\142\SOH\STX\DC2\SUB\214\SOH Non-negative fractions of a second at nanosecond resolution. Negative\n\ \ second values with fractions must still have non-negative nanos values\n\ \ that count forward in time. Must be from 0 to 999,999,999\n\ \ inclusive.\n\ \\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\EOT\145\SOH\STX\a\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\EOT\142\SOH\STX\a\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\EOT\145\SOH\b\r\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\EOT\142\SOH\b\r\n\ \\r\n\ - \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\EOT\145\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\EOT\142\SOH\DLE\DC1b\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs index 94744755..203a8093 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs @@ -45,13 +45,15 @@ import qualified Proto.Google.Protobuf.SourceContext * 'Proto.Google.Protobuf.Type_Fields.vec'options' @:: Lens' Enum (Data.Vector.Vector Option)@ * 'Proto.Google.Protobuf.Type_Fields.sourceContext' @:: Lens' Enum Proto.Google.Protobuf.SourceContext.SourceContext@ * 'Proto.Google.Protobuf.Type_Fields.maybe'sourceContext' @:: Lens' Enum (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext)@ - * 'Proto.Google.Protobuf.Type_Fields.syntax' @:: Lens' Enum Syntax@ -} + * 'Proto.Google.Protobuf.Type_Fields.syntax' @:: Lens' Enum Syntax@ + * 'Proto.Google.Protobuf.Type_Fields.edition' @:: Lens' Enum Data.Text.Text@ -} data Enum = Enum'_constructor {_Enum'name :: !Data.Text.Text, _Enum'enumvalue :: !(Data.Vector.Vector EnumValue), _Enum'options :: !(Data.Vector.Vector Option), _Enum'sourceContext :: !(Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext), _Enum'syntax :: !Syntax, + _Enum'edition :: !Data.Text.Text, _Enum'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show Enum where @@ -112,6 +114,12 @@ instance Data.ProtoLens.Field.HasField Enum "syntax" Syntax where (Lens.Family2.Unchecked.lens _Enum'syntax (\ x__ y__ -> x__ {_Enum'syntax = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField Enum "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Enum'edition (\ x__ y__ -> x__ {_Enum'edition = y__})) + Prelude.id instance Data.ProtoLens.Message Enum where messageName _ = Data.Text.pack "google.protobuf.Enum" packedMessageDescriptor _ @@ -121,7 +129,8 @@ instance Data.ProtoLens.Message Enum where \\tenumvalue\CAN\STX \ETX(\v2\SUB.google.protobuf.EnumValueR\tenumvalue\DC21\n\ \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ \\SOsource_context\CAN\EOT \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ - \\ACKsyntax\CAN\ENQ \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax" + \\ACKsyntax\CAN\ENQ \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\ACK \SOH(\tR\aedition" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -166,13 +175,22 @@ instance Data.ProtoLens.Message Enum where (Data.ProtoLens.PlainField Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"syntax")) :: Data.ProtoLens.FieldDescriptor Enum + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"edition")) :: + Data.ProtoLens.FieldDescriptor Enum in Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor), (Data.ProtoLens.Tag 2, enumvalue__field_descriptor), (Data.ProtoLens.Tag 3, options__field_descriptor), (Data.ProtoLens.Tag 4, sourceContext__field_descriptor), - (Data.ProtoLens.Tag 5, syntax__field_descriptor)] + (Data.ProtoLens.Tag 5, syntax__field_descriptor), + (Data.ProtoLens.Tag 6, edition__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _Enum'_unknownFields @@ -184,6 +202,7 @@ instance Data.ProtoLens.Message Enum where _Enum'options = Data.Vector.Generic.empty, _Enum'sourceContext = Prelude.Nothing, _Enum'syntax = Data.ProtoLens.fieldDefault, + _Enum'edition = Data.ProtoLens.fieldDefault, _Enum'_unknownFields = []} parseMessage = let @@ -270,6 +289,15 @@ instance Data.ProtoLens.Message Enum where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) mutable'enumvalue mutable'options + 50 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + mutable'enumvalue mutable'options wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire @@ -359,8 +387,25 @@ instance Data.ProtoLens.Message Enum where Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) Prelude.fromEnum _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"edition") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))) instance Control.DeepSeq.NFData Enum where rnf = \ x__ @@ -374,7 +419,9 @@ instance Control.DeepSeq.NFData Enum where (_Enum'options x__) (Control.DeepSeq.deepseq (_Enum'sourceContext x__) - (Control.DeepSeq.deepseq (_Enum'syntax x__) ()))))) + (Control.DeepSeq.deepseq + (_Enum'syntax x__) + (Control.DeepSeq.deepseq (_Enum'edition x__) ())))))) {- | Fields : * 'Proto.Google.Protobuf.Type_Fields.name' @:: Lens' EnumValue Data.Text.Text@ @@ -1591,27 +1638,31 @@ newtype Syntax'UnrecognizedValue data Syntax = SYNTAX_PROTO2 | SYNTAX_PROTO3 | + SYNTAX_EDITIONS | Syntax'Unrecognized !Syntax'UnrecognizedValue deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum Syntax where maybeToEnum 0 = Prelude.Just SYNTAX_PROTO2 maybeToEnum 1 = Prelude.Just SYNTAX_PROTO3 + maybeToEnum 2 = Prelude.Just SYNTAX_EDITIONS maybeToEnum k = Prelude.Just (Syntax'Unrecognized (Syntax'UnrecognizedValue (Prelude.fromIntegral k))) showEnum SYNTAX_PROTO2 = "SYNTAX_PROTO2" showEnum SYNTAX_PROTO3 = "SYNTAX_PROTO3" + showEnum SYNTAX_EDITIONS = "SYNTAX_EDITIONS" showEnum (Syntax'Unrecognized (Syntax'UnrecognizedValue k)) = Prelude.show k readEnum k | (Prelude.==) k "SYNTAX_PROTO2" = Prelude.Just SYNTAX_PROTO2 | (Prelude.==) k "SYNTAX_PROTO3" = Prelude.Just SYNTAX_PROTO3 + | (Prelude.==) k "SYNTAX_EDITIONS" = Prelude.Just SYNTAX_EDITIONS | Prelude.otherwise = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum instance Prelude.Bounded Syntax where minBound = SYNTAX_PROTO2 - maxBound = SYNTAX_PROTO3 + maxBound = SYNTAX_EDITIONS instance Prelude.Enum Syntax where toEnum k__ = Prelude.maybe @@ -1621,18 +1672,21 @@ instance Prelude.Enum Syntax where Prelude.id (Data.ProtoLens.maybeToEnum k__) fromEnum SYNTAX_PROTO2 = 0 fromEnum SYNTAX_PROTO3 = 1 + fromEnum SYNTAX_EDITIONS = 2 fromEnum (Syntax'Unrecognized (Syntax'UnrecognizedValue k)) = Prelude.fromIntegral k - succ SYNTAX_PROTO3 + succ SYNTAX_EDITIONS = Prelude.error - "Syntax.succ: bad argument SYNTAX_PROTO3. This value would be out of bounds." + "Syntax.succ: bad argument SYNTAX_EDITIONS. This value would be out of bounds." succ SYNTAX_PROTO2 = SYNTAX_PROTO3 + succ SYNTAX_PROTO3 = SYNTAX_EDITIONS succ (Syntax'Unrecognized _) = Prelude.error "Syntax.succ: bad argument: unrecognized value" pred SYNTAX_PROTO2 = Prelude.error "Syntax.pred: bad argument SYNTAX_PROTO2. This value would be out of bounds." pred SYNTAX_PROTO3 = SYNTAX_PROTO2 + pred SYNTAX_EDITIONS = SYNTAX_PROTO3 pred (Syntax'Unrecognized _) = Prelude.error "Syntax.pred: bad argument: unrecognized value" enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom @@ -1654,7 +1708,8 @@ instance Control.DeepSeq.NFData Syntax where * 'Proto.Google.Protobuf.Type_Fields.vec'options' @:: Lens' Type (Data.Vector.Vector Option)@ * 'Proto.Google.Protobuf.Type_Fields.sourceContext' @:: Lens' Type Proto.Google.Protobuf.SourceContext.SourceContext@ * 'Proto.Google.Protobuf.Type_Fields.maybe'sourceContext' @:: Lens' Type (Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext)@ - * 'Proto.Google.Protobuf.Type_Fields.syntax' @:: Lens' Type Syntax@ -} + * 'Proto.Google.Protobuf.Type_Fields.syntax' @:: Lens' Type Syntax@ + * 'Proto.Google.Protobuf.Type_Fields.edition' @:: Lens' Type Data.Text.Text@ -} data Type = Type'_constructor {_Type'name :: !Data.Text.Text, _Type'fields :: !(Data.Vector.Vector Field), @@ -1662,6 +1717,7 @@ data Type _Type'options :: !(Data.Vector.Vector Option), _Type'sourceContext :: !(Prelude.Maybe Proto.Google.Protobuf.SourceContext.SourceContext), _Type'syntax :: !Syntax, + _Type'edition :: !Data.Text.Text, _Type'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show Type where @@ -1736,6 +1792,12 @@ instance Data.ProtoLens.Field.HasField Type "syntax" Syntax where (Lens.Family2.Unchecked.lens _Type'syntax (\ x__ y__ -> x__ {_Type'syntax = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField Type "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _Type'edition (\ x__ y__ -> x__ {_Type'edition = y__})) + Prelude.id instance Data.ProtoLens.Message Type where messageName _ = Data.Text.pack "google.protobuf.Type" packedMessageDescriptor _ @@ -1746,7 +1808,8 @@ instance Data.ProtoLens.Message Type where \\ACKoneofs\CAN\ETX \ETX(\tR\ACKoneofs\DC21\n\ \\aoptions\CAN\EOT \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ \\SOsource_context\CAN\ENQ \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ - \\ACKsyntax\CAN\ACK \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax" + \\ACKsyntax\CAN\ACK \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\a \SOH(\tR\aedition" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -1798,6 +1861,14 @@ instance Data.ProtoLens.Message Type where (Data.ProtoLens.PlainField Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"syntax")) :: Data.ProtoLens.FieldDescriptor Type + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.PlainField + Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"edition")) :: + Data.ProtoLens.FieldDescriptor Type in Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor), @@ -1805,7 +1876,8 @@ instance Data.ProtoLens.Message Type where (Data.ProtoLens.Tag 3, oneofs__field_descriptor), (Data.ProtoLens.Tag 4, options__field_descriptor), (Data.ProtoLens.Tag 5, sourceContext__field_descriptor), - (Data.ProtoLens.Tag 6, syntax__field_descriptor)] + (Data.ProtoLens.Tag 6, syntax__field_descriptor), + (Data.ProtoLens.Tag 7, edition__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _Type'_unknownFields @@ -1818,6 +1890,7 @@ instance Data.ProtoLens.Message Type where _Type'options = Data.Vector.Generic.empty, _Type'sourceContext = Prelude.Nothing, _Type'syntax = Data.ProtoLens.fieldDefault, + _Type'edition = Data.ProtoLens.fieldDefault, _Type'_unknownFields = []} parseMessage = let @@ -1919,6 +1992,15 @@ instance Data.ProtoLens.Message Type where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) mutable'fields mutable'oneofs mutable'options + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + mutable'fields mutable'oneofs mutable'options wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire @@ -2024,8 +2106,25 @@ instance Data.ProtoLens.Message Type where Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) Prelude.fromEnum _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))) + ((Data.Monoid.<>) + (let + _v = Lens.Family2.view (Data.ProtoLens.Field.field @"edition") _x + in + if (Prelude.==) _v Data.ProtoLens.fieldDefault then + Data.Monoid.mempty + else + (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) instance Control.DeepSeq.NFData Type where rnf = \ x__ @@ -2041,18 +2140,21 @@ instance Control.DeepSeq.NFData Type where (_Type'options x__) (Control.DeepSeq.deepseq (_Type'sourceContext x__) - (Control.DeepSeq.deepseq (_Type'syntax x__) ())))))) + (Control.DeepSeq.deepseq + (_Type'syntax x__) + (Control.DeepSeq.deepseq (_Type'edition x__) ()))))))) packedFileDescriptor :: Data.ByteString.ByteString packedFileDescriptor = "\n\ - \\SUBgoogle/protobuf/type.proto\DC2\SIgoogle.protobuf\SUB\EMgoogle/protobuf/any.proto\SUB$google/protobuf/source_context.proto\"\141\STX\n\ + \\SUBgoogle/protobuf/type.proto\DC2\SIgoogle.protobuf\SUB\EMgoogle/protobuf/any.proto\SUB$google/protobuf/source_context.proto\"\167\STX\n\ \\EOTType\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2.\n\ \\ACKfields\CAN\STX \ETX(\v2\SYN.google.protobuf.FieldR\ACKfields\DC2\SYN\n\ \\ACKoneofs\CAN\ETX \ETX(\tR\ACKoneofs\DC21\n\ \\aoptions\CAN\EOT \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ \\SOsource_context\CAN\ENQ \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ - \\ACKsyntax\CAN\ACK \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\"\180\ACK\n\ + \\ACKsyntax\CAN\ACK \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\a \SOH(\tR\aedition\"\180\ACK\n\ \\ENQField\DC2/\n\ \\EOTkind\CAN\SOH \SOH(\SO2\ESC.google.protobuf.Field.KindR\EOTkind\DC2D\n\ \\vcardinality\CAN\STX \SOH(\SO2\".google.protobuf.Field.CardinalityR\vcardinality\DC2\SYN\n\ @@ -2096,25 +2198,27 @@ packedFileDescriptor \\DC3CARDINALITY_UNKNOWN\DLE\NUL\DC2\CAN\n\ \\DC4CARDINALITY_OPTIONAL\DLE\SOH\DC2\CAN\n\ \\DC4CARDINALITY_REQUIRED\DLE\STX\DC2\CAN\n\ - \\DC4CARDINALITY_REPEATED\DLE\ETX\"\255\SOH\n\ + \\DC4CARDINALITY_REPEATED\DLE\ETX\"\153\STX\n\ \\EOTEnum\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\ \\tenumvalue\CAN\STX \ETX(\v2\SUB.google.protobuf.EnumValueR\tenumvalue\DC21\n\ \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\DC2E\n\ \\SOsource_context\CAN\EOT \SOH(\v2\RS.google.protobuf.SourceContextR\rsourceContext\DC2/\n\ - \\ACKsyntax\CAN\ENQ \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\"j\n\ + \\ACKsyntax\CAN\ENQ \SOH(\SO2\ETB.google.protobuf.SyntaxR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\ACK \SOH(\tR\aedition\"j\n\ \\tEnumValue\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ \\ACKnumber\CAN\STX \SOH(\ENQR\ACKnumber\DC21\n\ \\aoptions\CAN\ETX \ETX(\v2\ETB.google.protobuf.OptionR\aoptions\"H\n\ \\ACKOption\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2*\n\ - \\ENQvalue\CAN\STX \SOH(\v2\DC4.google.protobuf.AnyR\ENQvalue*.\n\ + \\ENQvalue\CAN\STX \SOH(\v2\DC4.google.protobuf.AnyR\ENQvalue*C\n\ \\ACKSyntax\DC2\DC1\n\ \\rSYNTAX_PROTO2\DLE\NUL\DC2\DC1\n\ - \\rSYNTAX_PROTO3\DLE\SOHB{\n\ - \\DC3com.google.protobufB\tTypeProtoP\SOHZ-google.golang.org/protobuf/types/known/typepb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\195\&8\n\ - \\a\DC2\ENQ\RS\NUL\186\SOH\SOH\n\ + \\rSYNTAX_PROTO3\DLE\SOH\DC2\DC3\n\ + \\SISYNTAX_EDITIONS\DLE\STXB{\n\ + \\DC3com.google.protobufB\tTypeProtoP\SOHZ-google.golang.org/protobuf/types/known/typepb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\141;\n\ + \\a\DC2\ENQ\RS\NUL\192\SOH\SOH\n\ \\204\f\n\ \\SOH\f\DC2\ETX\RS\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ @@ -2153,36 +2257,36 @@ packedFileDescriptor \\t\n\ \\STX\ETX\SOH\DC2\ETX#\NUL.\n\ \\b\n\ - \\SOH\b\DC2\ETX%\NUL;\n\ + \\SOH\b\DC2\ETX%\NUL\US\n\ \\t\n\ - \\STX\b%\DC2\ETX%\NUL;\n\ + \\STX\b\US\DC2\ETX%\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX&\NUL\US\n\ + \\SOH\b\DC2\ETX&\NUL,\n\ \\t\n\ - \\STX\b\US\DC2\ETX&\NUL\US\n\ + \\STX\b\SOH\DC2\ETX&\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX'\NUL,\n\ + \\SOH\b\DC2\ETX'\NUL*\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX'\NUL,\n\ + \\STX\b\b\DC2\ETX'\NUL*\n\ \\b\n\ - \\SOH\b\DC2\ETX(\NUL*\n\ + \\SOH\b\DC2\ETX(\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX(\NUL*\n\ + \\STX\b\n\ + \\DC2\ETX(\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX)\NUL\"\n\ + \\SOH\b\DC2\ETX)\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX)\NUL\"\n\ + \\STX\b$\DC2\ETX)\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX*\NUL!\n\ + \\SOH\b\DC2\ETX*\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX*\NUL!\n\ + \\STX\b%\DC2\ETX*\NUL;\n\ \\b\n\ \\SOH\b\DC2\ETX+\NULD\n\ \\t\n\ \\STX\b\v\DC2\ETX+\NULD\n\ \-\n\ - \\STX\EOT\NUL\DC2\EOT.\NUL;\SOH\SUB! A protocol buffer message type.\n\ + \\STX\EOT\NUL\DC2\EOT.\NUL=\SOH\SUB! A protocol buffer message type.\n\ \\n\ \\n\ \\n\ @@ -2250,418 +2354,443 @@ packedFileDescriptor \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX:\t\SI\n\ \\f\n\ \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX:\DC2\DC3\n\ + \T\n\ + \\EOT\EOT\NUL\STX\ACK\DC2\ETX<\STX\NAK\SUBG The source edition string, only valid when syntax is SYNTAX_EDITIONS.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETX<\STX\b\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX<\t\DLE\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX<\DC3\DC4\n\ \0\n\ - \\STX\EOT\SOH\DC2\ENQ>\NUL\139\SOH\SOH\SUB# A single field of a message type.\n\ + \\STX\EOT\SOH\DC2\ENQ@\NUL\141\SOH\SOH\SUB# A single field of a message type.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\SOH\SOH\DC2\ETX>\b\r\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX@\b\r\n\ \\"\n\ - \\EOT\EOT\SOH\EOT\NUL\DC2\EOT@\STXg\ETX\SUB\DC4 Basic field types.\n\ + \\EOT\EOT\SOH\EOT\NUL\DC2\EOTB\STXi\ETX\SUB\DC4 Basic field types.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\EOT\NUL\SOH\DC2\ETX@\a\v\n\ + \\ENQ\EOT\SOH\EOT\NUL\SOH\DC2\ETXB\a\v\n\ \$\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\NUL\DC2\ETXB\EOT\NAK\SUB\NAK Field type unknown.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\NUL\DC2\ETXD\EOT\NAK\SUB\NAK Field type unknown.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\NUL\SOH\DC2\ETXB\EOT\DLE\n\ + \\a\EOT\SOH\EOT\NUL\STX\NUL\SOH\DC2\ETXD\EOT\DLE\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\NUL\STX\DC2\ETXB\DC3\DC4\n\ + \\a\EOT\SOH\EOT\NUL\STX\NUL\STX\DC2\ETXD\DC3\DC4\n\ \#\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\SOH\DC2\ETXD\EOT\DC4\SUB\DC4 Field type double.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\SOH\DC2\ETXF\EOT\DC4\SUB\DC4 Field type double.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\SOH\SOH\DC2\ETXD\EOT\SI\n\ + \\a\EOT\SOH\EOT\NUL\STX\SOH\SOH\DC2\ETXF\EOT\SI\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\SOH\STX\DC2\ETXD\DC2\DC3\n\ + \\a\EOT\SOH\EOT\NUL\STX\SOH\STX\DC2\ETXF\DC2\DC3\n\ \\"\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\STX\DC2\ETXF\EOT\DC3\SUB\DC3 Field type float.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\STX\DC2\ETXH\EOT\DC3\SUB\DC3 Field type float.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\STX\SOH\DC2\ETXF\EOT\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\STX\SOH\DC2\ETXH\EOT\SO\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\STX\STX\DC2\ETXF\DC1\DC2\n\ + \\a\EOT\SOH\EOT\NUL\STX\STX\STX\DC2\ETXH\DC1\DC2\n\ \\"\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\ETX\DC2\ETXH\EOT\DC3\SUB\DC3 Field type int64.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\ETX\DC2\ETXJ\EOT\DC3\SUB\DC3 Field type int64.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\ETX\SOH\DC2\ETXH\EOT\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ETX\SOH\DC2\ETXJ\EOT\SO\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\ETX\STX\DC2\ETXH\DC1\DC2\n\ + \\a\EOT\SOH\EOT\NUL\STX\ETX\STX\DC2\ETXJ\DC1\DC2\n\ \#\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\EOT\DC2\ETXJ\EOT\DC4\SUB\DC4 Field type uint64.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\EOT\DC2\ETXL\EOT\DC4\SUB\DC4 Field type uint64.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\EOT\SOH\DC2\ETXJ\EOT\SI\n\ + \\a\EOT\SOH\EOT\NUL\STX\EOT\SOH\DC2\ETXL\EOT\SI\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\EOT\STX\DC2\ETXJ\DC2\DC3\n\ + \\a\EOT\SOH\EOT\NUL\STX\EOT\STX\DC2\ETXL\DC2\DC3\n\ \\"\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\ENQ\DC2\ETXL\EOT\DC3\SUB\DC3 Field type int32.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\ENQ\DC2\ETXN\EOT\DC3\SUB\DC3 Field type int32.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\ENQ\SOH\DC2\ETXL\EOT\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\ENQ\SOH\DC2\ETXN\EOT\SO\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\ENQ\STX\DC2\ETXL\DC1\DC2\n\ + \\a\EOT\SOH\EOT\NUL\STX\ENQ\STX\DC2\ETXN\DC1\DC2\n\ \$\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\ACK\DC2\ETXN\EOT\NAK\SUB\NAK Field type fixed64.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\ACK\DC2\ETXP\EOT\NAK\SUB\NAK Field type fixed64.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\ACK\SOH\DC2\ETXN\EOT\DLE\n\ + \\a\EOT\SOH\EOT\NUL\STX\ACK\SOH\DC2\ETXP\EOT\DLE\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\ACK\STX\DC2\ETXN\DC3\DC4\n\ + \\a\EOT\SOH\EOT\NUL\STX\ACK\STX\DC2\ETXP\DC3\DC4\n\ \$\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\a\DC2\ETXP\EOT\NAK\SUB\NAK Field type fixed32.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\a\DC2\ETXR\EOT\NAK\SUB\NAK Field type fixed32.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\a\SOH\DC2\ETXP\EOT\DLE\n\ + \\a\EOT\SOH\EOT\NUL\STX\a\SOH\DC2\ETXR\EOT\DLE\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\a\STX\DC2\ETXP\DC3\DC4\n\ + \\a\EOT\SOH\EOT\NUL\STX\a\STX\DC2\ETXR\DC3\DC4\n\ \!\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\b\DC2\ETXR\EOT\DC2\SUB\DC2 Field type bool.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\b\DC2\ETXT\EOT\DC2\SUB\DC2 Field type bool.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\b\SOH\DC2\ETXR\EOT\r\n\ + \\a\EOT\SOH\EOT\NUL\STX\b\SOH\DC2\ETXT\EOT\r\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\b\STX\DC2\ETXR\DLE\DC1\n\ + \\a\EOT\SOH\EOT\NUL\STX\b\STX\DC2\ETXT\DLE\DC1\n\ \#\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\t\DC2\ETXT\EOT\DC4\SUB\DC4 Field type string.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\t\DC2\ETXV\EOT\DC4\SUB\DC4 Field type string.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\t\SOH\DC2\ETXT\EOT\SI\n\ + \\a\EOT\SOH\EOT\NUL\STX\t\SOH\DC2\ETXV\EOT\SI\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\t\STX\DC2\ETXT\DC2\DC3\n\ + \\a\EOT\SOH\EOT\NUL\STX\t\STX\DC2\ETXV\DC2\DC3\n\ \F\n\ \\ACK\EOT\SOH\EOT\NUL\STX\n\ - \\DC2\ETXV\EOT\DC4\SUB7 Field type group. Proto2 syntax only, and deprecated.\n\ + \\DC2\ETXX\EOT\DC4\SUB7 Field type group. Proto2 syntax only, and deprecated.\n\ \\n\ \\SO\n\ \\a\EOT\SOH\EOT\NUL\STX\n\ - \\SOH\DC2\ETXV\EOT\SO\n\ + \\SOH\DC2\ETXX\EOT\SO\n\ \\SO\n\ \\a\EOT\SOH\EOT\NUL\STX\n\ - \\STX\DC2\ETXV\DC1\DC3\n\ + \\STX\DC2\ETXX\DC1\DC3\n\ \$\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\v\DC2\ETXX\EOT\SYN\SUB\NAK Field type message.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\v\DC2\ETXZ\EOT\SYN\SUB\NAK Field type message.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\v\SOH\DC2\ETXX\EOT\DLE\n\ + \\a\EOT\SOH\EOT\NUL\STX\v\SOH\DC2\ETXZ\EOT\DLE\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\v\STX\DC2\ETXX\DC3\NAK\n\ + \\a\EOT\SOH\EOT\NUL\STX\v\STX\DC2\ETXZ\DC3\NAK\n\ \\"\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\f\DC2\ETXZ\EOT\DC4\SUB\DC3 Field type bytes.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\f\DC2\ETX\\\EOT\DC4\SUB\DC3 Field type bytes.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\f\SOH\DC2\ETXZ\EOT\SO\n\ + \\a\EOT\SOH\EOT\NUL\STX\f\SOH\DC2\ETX\\\EOT\SO\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\f\STX\DC2\ETXZ\DC1\DC3\n\ + \\a\EOT\SOH\EOT\NUL\STX\f\STX\DC2\ETX\\\DC1\DC3\n\ \#\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\r\DC2\ETX\\\EOT\NAK\SUB\DC4 Field type uint32.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\r\DC2\ETX^\EOT\NAK\SUB\DC4 Field type uint32.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\r\SOH\DC2\ETX\\\EOT\SI\n\ + \\a\EOT\SOH\EOT\NUL\STX\r\SOH\DC2\ETX^\EOT\SI\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\r\STX\DC2\ETX\\\DC2\DC4\n\ + \\a\EOT\SOH\EOT\NUL\STX\r\STX\DC2\ETX^\DC2\DC4\n\ \!\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\SO\DC2\ETX^\EOT\DC3\SUB\DC2 Field type enum.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\SO\DC2\ETX`\EOT\DC3\SUB\DC2 Field type enum.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\SO\SOH\DC2\ETX^\EOT\r\n\ + \\a\EOT\SOH\EOT\NUL\STX\SO\SOH\DC2\ETX`\EOT\r\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\SO\STX\DC2\ETX^\DLE\DC2\n\ + \\a\EOT\SOH\EOT\NUL\STX\SO\STX\DC2\ETX`\DLE\DC2\n\ \%\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\SI\DC2\ETX`\EOT\ETB\SUB\SYN Field type sfixed32.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\SI\DC2\ETXb\EOT\ETB\SUB\SYN Field type sfixed32.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\SI\SOH\DC2\ETX`\EOT\DC1\n\ + \\a\EOT\SOH\EOT\NUL\STX\SI\SOH\DC2\ETXb\EOT\DC1\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\SI\STX\DC2\ETX`\DC4\SYN\n\ + \\a\EOT\SOH\EOT\NUL\STX\SI\STX\DC2\ETXb\DC4\SYN\n\ \%\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\DLE\DC2\ETXb\EOT\ETB\SUB\SYN Field type sfixed64.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\DLE\DC2\ETXd\EOT\ETB\SUB\SYN Field type sfixed64.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\DLE\SOH\DC2\ETXb\EOT\DC1\n\ + \\a\EOT\SOH\EOT\NUL\STX\DLE\SOH\DC2\ETXd\EOT\DC1\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\DLE\STX\DC2\ETXb\DC4\SYN\n\ + \\a\EOT\SOH\EOT\NUL\STX\DLE\STX\DC2\ETXd\DC4\SYN\n\ \#\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\DC1\DC2\ETXd\EOT\NAK\SUB\DC4 Field type sint32.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\DC1\DC2\ETXf\EOT\NAK\SUB\DC4 Field type sint32.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\DC1\SOH\DC2\ETXd\EOT\SI\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC1\SOH\DC2\ETXf\EOT\SI\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\DC1\STX\DC2\ETXd\DC2\DC4\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC1\STX\DC2\ETXf\DC2\DC4\n\ \#\n\ - \\ACK\EOT\SOH\EOT\NUL\STX\DC2\DC2\ETXf\EOT\NAK\SUB\DC4 Field type sint64.\n\ + \\ACK\EOT\SOH\EOT\NUL\STX\DC2\DC2\ETXh\EOT\NAK\SUB\DC4 Field type sint64.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\DC2\SOH\DC2\ETXf\EOT\SI\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC2\SOH\DC2\ETXh\EOT\SI\n\ \\SO\n\ - \\a\EOT\SOH\EOT\NUL\STX\DC2\STX\DC2\ETXf\DC2\DC4\n\ + \\a\EOT\SOH\EOT\NUL\STX\DC2\STX\DC2\ETXh\DC2\DC4\n\ \C\n\ - \\EOT\EOT\SOH\EOT\SOH\DC2\EOTj\STXs\ETX\SUB5 Whether a field is optional, required, or repeated.\n\ + \\EOT\EOT\SOH\EOT\SOH\DC2\EOTl\STXu\ETX\SUB5 Whether a field is optional, required, or repeated.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\EOT\SOH\SOH\DC2\ETXj\a\DC2\n\ + \\ENQ\EOT\SOH\EOT\SOH\SOH\DC2\ETXl\a\DC2\n\ \5\n\ - \\ACK\EOT\SOH\EOT\SOH\STX\NUL\DC2\ETXl\EOT\FS\SUB& For fields with unknown cardinality.\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\NUL\DC2\ETXn\EOT\FS\SUB& For fields with unknown cardinality.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\NUL\SOH\DC2\ETXl\EOT\ETB\n\ + \\a\EOT\SOH\EOT\SOH\STX\NUL\SOH\DC2\ETXn\EOT\ETB\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\NUL\STX\DC2\ETXl\SUB\ESC\n\ + \\a\EOT\SOH\EOT\SOH\STX\NUL\STX\DC2\ETXn\SUB\ESC\n\ \%\n\ - \\ACK\EOT\SOH\EOT\SOH\STX\SOH\DC2\ETXn\EOT\GS\SUB\SYN For optional fields.\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\SOH\DC2\ETXp\EOT\GS\SUB\SYN For optional fields.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\SOH\SOH\DC2\ETXn\EOT\CAN\n\ + \\a\EOT\SOH\EOT\SOH\STX\SOH\SOH\DC2\ETXp\EOT\CAN\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\SOH\STX\DC2\ETXn\ESC\FS\n\ + \\a\EOT\SOH\EOT\SOH\STX\SOH\STX\DC2\ETXp\ESC\FS\n\ \9\n\ - \\ACK\EOT\SOH\EOT\SOH\STX\STX\DC2\ETXp\EOT\GS\SUB* For required fields. Proto2 syntax only.\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\STX\DC2\ETXr\EOT\GS\SUB* For required fields. Proto2 syntax only.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\STX\SOH\DC2\ETXp\EOT\CAN\n\ + \\a\EOT\SOH\EOT\SOH\STX\STX\SOH\DC2\ETXr\EOT\CAN\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\STX\STX\DC2\ETXp\ESC\FS\n\ + \\a\EOT\SOH\EOT\SOH\STX\STX\STX\DC2\ETXr\ESC\FS\n\ \%\n\ - \\ACK\EOT\SOH\EOT\SOH\STX\ETX\DC2\ETXr\EOT\GS\SUB\SYN For repeated fields.\n\ + \\ACK\EOT\SOH\EOT\SOH\STX\ETX\DC2\ETXt\EOT\GS\SUB\SYN For repeated fields.\n\ \\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\ETX\SOH\DC2\ETXr\EOT\CAN\n\ + \\a\EOT\SOH\EOT\SOH\STX\ETX\SOH\DC2\ETXt\EOT\CAN\n\ \\SO\n\ - \\a\EOT\SOH\EOT\SOH\STX\ETX\STX\DC2\ETXr\ESC\FS\n\ + \\a\EOT\SOH\EOT\SOH\STX\ETX\STX\DC2\ETXt\ESC\FS\n\ \\RS\n\ - \\EOT\EOT\SOH\STX\NUL\DC2\ETXv\STX\DLE\SUB\DC1 The field type.\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXx\STX\DLE\SUB\DC1 The field type.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETXv\STX\ACK\n\ + \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETXx\STX\ACK\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXv\a\v\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXx\a\v\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXv\SO\SI\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXx\SO\SI\n\ \%\n\ - \\EOT\EOT\SOH\STX\SOH\DC2\ETXx\STX\RS\SUB\CAN The field cardinality.\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXz\STX\RS\SUB\CAN The field cardinality.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETXx\STX\r\n\ + \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETXz\STX\r\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXx\SO\EM\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXz\SO\EM\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXx\FS\GS\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXz\FS\GS\n\ \ \n\ - \\EOT\EOT\SOH\STX\STX\DC2\ETXz\STX\DC3\SUB\DC3 The field number.\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETX|\STX\DC3\SUB\DC3 The field number.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXz\STX\a\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX|\STX\a\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXz\b\SO\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX|\b\SO\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXz\DC1\DC2\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX|\DC1\DC2\n\ \\RS\n\ - \\EOT\EOT\SOH\STX\ETX\DC2\ETX|\STX\DC2\SUB\DC1 The field name.\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETX~\STX\DC2\SUB\DC1 The field name.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETX|\STX\b\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETX~\STX\b\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX|\t\r\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX~\t\r\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX|\DLE\DC1\n\ - \\150\SOH\n\ - \\EOT\EOT\SOH\STX\EOT\DC2\ETX\DEL\STX\SYN\SUB\136\SOH The field type URL, without the scheme, for message or enumeration\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX~\DLE\DC1\n\ + \\151\SOH\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\EOT\129\SOH\STX\SYN\SUB\136\SOH The field type URL, without the scheme, for message or enumeration\n\ \ types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETX\DEL\STX\b\n\ - \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETX\DEL\t\DC1\n\ - \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETX\DEL\DC4\NAK\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\EOT\129\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\EOT\129\SOH\t\DC1\n\ + \\r\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\EOT\129\SOH\DC4\NAK\n\ \\165\SOH\n\ - \\EOT\EOT\SOH\STX\ENQ\DC2\EOT\130\SOH\STX\CAN\SUB\150\SOH The index of the field type in `Type.oneofs`, for message or enumeration\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\EOT\132\SOH\STX\CAN\SUB\150\SOH The index of the field type in `Type.oneofs`, for message or enumeration\n\ \ types. The first type has index 1; zero means the type is not in the list.\n\ \\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\ENQ\ENQ\DC2\EOT\130\SOH\STX\a\n\ + \\ENQ\EOT\SOH\STX\ENQ\ENQ\DC2\EOT\132\SOH\STX\a\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\EOT\130\SOH\b\DC3\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\EOT\132\SOH\b\DC3\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\EOT\130\SOH\SYN\ETB\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\EOT\132\SOH\SYN\ETB\n\ \F\n\ - \\EOT\EOT\SOH\STX\ACK\DC2\EOT\132\SOH\STX\DC2\SUB8 Whether to use alternative packed wire representation.\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\EOT\134\SOH\STX\DC2\SUB8 Whether to use alternative packed wire representation.\n\ \\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\ACK\ENQ\DC2\EOT\132\SOH\STX\ACK\n\ + \\ENQ\EOT\SOH\STX\ACK\ENQ\DC2\EOT\134\SOH\STX\ACK\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\EOT\132\SOH\a\r\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\EOT\134\SOH\a\r\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\EOT\132\SOH\DLE\DC1\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\EOT\134\SOH\DLE\DC1\n\ \,\n\ - \\EOT\EOT\SOH\STX\a\DC2\EOT\134\SOH\STX\RS\SUB\RS The protocol buffer options.\n\ + \\EOT\EOT\SOH\STX\a\DC2\EOT\136\SOH\STX\RS\SUB\RS The protocol buffer options.\n\ \\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\a\EOT\DC2\EOT\134\SOH\STX\n\ + \\ENQ\EOT\SOH\STX\a\EOT\DC2\EOT\136\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\a\ACK\DC2\EOT\134\SOH\v\DC1\n\ + \\ENQ\EOT\SOH\STX\a\ACK\DC2\EOT\136\SOH\v\DC1\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\a\SOH\DC2\EOT\134\SOH\DC2\EM\n\ + \\ENQ\EOT\SOH\STX\a\SOH\DC2\EOT\136\SOH\DC2\EM\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\a\ETX\DC2\EOT\134\SOH\FS\GS\n\ + \\ENQ\EOT\SOH\STX\a\ETX\DC2\EOT\136\SOH\FS\GS\n\ \$\n\ - \\EOT\EOT\SOH\STX\b\DC2\EOT\136\SOH\STX\CAN\SUB\SYN The field JSON name.\n\ + \\EOT\EOT\SOH\STX\b\DC2\EOT\138\SOH\STX\CAN\SUB\SYN The field JSON name.\n\ \\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\b\ENQ\DC2\EOT\136\SOH\STX\b\n\ + \\ENQ\EOT\SOH\STX\b\ENQ\DC2\EOT\138\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\b\SOH\DC2\EOT\136\SOH\t\DC2\n\ + \\ENQ\EOT\SOH\STX\b\SOH\DC2\EOT\138\SOH\t\DC2\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\b\ETX\DC2\EOT\136\SOH\NAK\ETB\n\ + \\ENQ\EOT\SOH\STX\b\ETX\DC2\EOT\138\SOH\NAK\ETB\n\ \X\n\ - \\EOT\EOT\SOH\STX\t\DC2\EOT\138\SOH\STX\FS\SUBJ The string value of the default value of this field. Proto2 syntax only.\n\ + \\EOT\EOT\SOH\STX\t\DC2\EOT\140\SOH\STX\FS\SUBJ The string value of the default value of this field. Proto2 syntax only.\n\ \\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\t\ENQ\DC2\EOT\138\SOH\STX\b\n\ + \\ENQ\EOT\SOH\STX\t\ENQ\DC2\EOT\140\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\t\SOH\DC2\EOT\138\SOH\t\SYN\n\ + \\ENQ\EOT\SOH\STX\t\SOH\DC2\EOT\140\SOH\t\SYN\n\ \\r\n\ - \\ENQ\EOT\SOH\STX\t\ETX\DC2\EOT\138\SOH\EM\ESC\n\ + \\ENQ\EOT\SOH\STX\t\ETX\DC2\EOT\140\SOH\EM\ESC\n\ \%\n\ - \\STX\EOT\STX\DC2\ACK\142\SOH\NUL\153\SOH\SOH\SUB\ETB Enum type definition.\n\ + \\STX\EOT\STX\DC2\ACK\144\SOH\NUL\157\SOH\SOH\SUB\ETB Enum type definition.\n\ \\n\ \\v\n\ - \\ETX\EOT\STX\SOH\DC2\EOT\142\SOH\b\f\n\ + \\ETX\EOT\STX\SOH\DC2\EOT\144\SOH\b\f\n\ \\US\n\ - \\EOT\EOT\STX\STX\NUL\DC2\EOT\144\SOH\STX\DC2\SUB\DC1 Enum type name.\n\ + \\EOT\EOT\STX\STX\NUL\DC2\EOT\146\SOH\STX\DC2\SUB\DC1 Enum type name.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\144\SOH\STX\b\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\146\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\144\SOH\t\r\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\146\SOH\t\r\n\ \\r\n\ - \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\144\SOH\DLE\DC1\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\146\SOH\DLE\DC1\n\ \'\n\ - \\EOT\EOT\STX\STX\SOH\DC2\EOT\146\SOH\STX#\SUB\EM Enum value definitions.\n\ + \\EOT\EOT\STX\STX\SOH\DC2\EOT\148\SOH\STX#\SUB\EM Enum value definitions.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\EOT\DC2\EOT\146\SOH\STX\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\EOT\148\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\ACK\DC2\EOT\146\SOH\v\DC4\n\ + \\ENQ\EOT\STX\STX\SOH\ACK\DC2\EOT\148\SOH\v\DC4\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\146\SOH\NAK\RS\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\148\SOH\NAK\RS\n\ \\r\n\ - \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\146\SOH!\"\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\148\SOH!\"\n\ \(\n\ - \\EOT\EOT\STX\STX\STX\DC2\EOT\148\SOH\STX\RS\SUB\SUB Protocol buffer options.\n\ + \\EOT\EOT\STX\STX\STX\DC2\EOT\150\SOH\STX\RS\SUB\SUB Protocol buffer options.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\148\SOH\STX\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\150\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\148\SOH\v\DC1\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\150\SOH\v\DC1\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\148\SOH\DC2\EM\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\150\SOH\DC2\EM\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\148\SOH\FS\GS\n\ + \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\150\SOH\FS\GS\n\ \#\n\ - \\EOT\EOT\STX\STX\ETX\DC2\EOT\150\SOH\STX#\SUB\NAK The source context.\n\ + \\EOT\EOT\STX\STX\ETX\DC2\EOT\152\SOH\STX#\SUB\NAK The source context.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\ETX\ACK\DC2\EOT\150\SOH\STX\SI\n\ + \\ENQ\EOT\STX\STX\ETX\ACK\DC2\EOT\152\SOH\STX\SI\n\ \\r\n\ - \\ENQ\EOT\STX\STX\ETX\SOH\DC2\EOT\150\SOH\DLE\RS\n\ + \\ENQ\EOT\STX\STX\ETX\SOH\DC2\EOT\152\SOH\DLE\RS\n\ \\r\n\ - \\ENQ\EOT\STX\STX\ETX\ETX\DC2\EOT\150\SOH!\"\n\ + \\ENQ\EOT\STX\STX\ETX\ETX\DC2\EOT\152\SOH!\"\n\ \\"\n\ - \\EOT\EOT\STX\STX\EOT\DC2\EOT\152\SOH\STX\DC4\SUB\DC4 The source syntax.\n\ + \\EOT\EOT\STX\STX\EOT\DC2\EOT\154\SOH\STX\DC4\SUB\DC4 The source syntax.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\EOT\ACK\DC2\EOT\154\SOH\STX\b\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\EOT\SOH\DC2\EOT\154\SOH\t\SI\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\EOT\ETX\DC2\EOT\154\SOH\DC2\DC3\n\ + \U\n\ + \\EOT\EOT\STX\STX\ENQ\DC2\EOT\156\SOH\STX\NAK\SUBG The source edition string, only valid when syntax is SYNTAX_EDITIONS.\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\EOT\ACK\DC2\EOT\152\SOH\STX\b\n\ + \\ENQ\EOT\STX\STX\ENQ\ENQ\DC2\EOT\156\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\STX\STX\EOT\SOH\DC2\EOT\152\SOH\t\SI\n\ + \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\EOT\156\SOH\t\DLE\n\ \\r\n\ - \\ENQ\EOT\STX\STX\EOT\ETX\DC2\EOT\152\SOH\DC2\DC3\n\ + \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\EOT\156\SOH\DC3\DC4\n\ \&\n\ - \\STX\EOT\ETX\DC2\ACK\156\SOH\NUL\163\SOH\SOH\SUB\CAN Enum value definition.\n\ + \\STX\EOT\ETX\DC2\ACK\160\SOH\NUL\167\SOH\SOH\SUB\CAN Enum value definition.\n\ \\n\ \\v\n\ - \\ETX\EOT\ETX\SOH\DC2\EOT\156\SOH\b\DC1\n\ + \\ETX\EOT\ETX\SOH\DC2\EOT\160\SOH\b\DC1\n\ \ \n\ - \\EOT\EOT\ETX\STX\NUL\DC2\EOT\158\SOH\STX\DC2\SUB\DC2 Enum value name.\n\ + \\EOT\EOT\ETX\STX\NUL\DC2\EOT\162\SOH\STX\DC2\SUB\DC2 Enum value name.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\158\SOH\STX\b\n\ + \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\162\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\158\SOH\t\r\n\ + \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\162\SOH\t\r\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\158\SOH\DLE\DC1\n\ + \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\162\SOH\DLE\DC1\n\ \\"\n\ - \\EOT\EOT\ETX\STX\SOH\DC2\EOT\160\SOH\STX\DC3\SUB\DC4 Enum value number.\n\ + \\EOT\EOT\ETX\STX\SOH\DC2\EOT\164\SOH\STX\DC3\SUB\DC4 Enum value number.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\160\SOH\STX\a\n\ + \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\164\SOH\STX\a\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\160\SOH\b\SO\n\ + \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\164\SOH\b\SO\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\160\SOH\DC1\DC2\n\ + \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\164\SOH\DC1\DC2\n\ \(\n\ - \\EOT\EOT\ETX\STX\STX\DC2\EOT\162\SOH\STX\RS\SUB\SUB Protocol buffer options.\n\ + \\EOT\EOT\ETX\STX\STX\DC2\EOT\166\SOH\STX\RS\SUB\SUB Protocol buffer options.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\STX\EOT\DC2\EOT\162\SOH\STX\n\ + \\ENQ\EOT\ETX\STX\STX\EOT\DC2\EOT\166\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\STX\ACK\DC2\EOT\162\SOH\v\DC1\n\ + \\ENQ\EOT\ETX\STX\STX\ACK\DC2\EOT\166\SOH\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\162\SOH\DC2\EM\n\ + \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\166\SOH\DC2\EM\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\162\SOH\FS\GS\n\ + \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\166\SOH\FS\GS\n\ \g\n\ - \\STX\EOT\EOT\DC2\ACK\167\SOH\NUL\178\SOH\SOH\SUBY A protocol buffer option, which can be attached to a message, field,\n\ + \\STX\EOT\EOT\DC2\ACK\171\SOH\NUL\182\SOH\SOH\SUBY A protocol buffer option, which can be attached to a message, field,\n\ \ enumeration, etc.\n\ \\n\ \\v\n\ - \\ETX\EOT\EOT\SOH\DC2\EOT\167\SOH\b\SO\n\ + \\ETX\EOT\EOT\SOH\DC2\EOT\171\SOH\b\SO\n\ \\252\SOH\n\ - \\EOT\EOT\EOT\STX\NUL\DC2\EOT\172\SOH\STX\DC2\SUB\237\SOH The option's name. For protobuf built-in options (options defined in\n\ + \\EOT\EOT\EOT\STX\NUL\DC2\EOT\176\SOH\STX\DC2\SUB\237\SOH The option's name. For protobuf built-in options (options defined in\n\ \ descriptor.proto), this is the short name. For example, `\"map_entry\"`.\n\ \ For custom options, it should be the fully-qualified name. For example,\n\ \ `\"google.api.http\"`.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\172\SOH\STX\b\n\ + \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\176\SOH\STX\b\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\172\SOH\t\r\n\ + \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\176\SOH\t\r\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\172\SOH\DLE\DC1\n\ + \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\176\SOH\DLE\DC1\n\ \\160\STX\n\ - \\EOT\EOT\EOT\STX\SOH\DC2\EOT\177\SOH\STX\DLE\SUB\145\STX The option's value packed in an Any message. If the value is a primitive,\n\ + \\EOT\EOT\EOT\STX\SOH\DC2\EOT\181\SOH\STX\DLE\SUB\145\STX The option's value packed in an Any message. If the value is a primitive,\n\ \ the corresponding wrapper type defined in google/protobuf/wrappers.proto\n\ \ should be used. If the value is an enum, it should be stored as an int32\n\ \ value using the google.protobuf.Int32Value type.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\EOT\177\SOH\STX\ENQ\n\ + \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\EOT\181\SOH\STX\ENQ\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\177\SOH\ACK\v\n\ + \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\181\SOH\ACK\v\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\177\SOH\SO\SI\n\ + \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\181\SOH\SO\SI\n\ \I\n\ - \\STX\ENQ\NUL\DC2\ACK\181\SOH\NUL\186\SOH\SOH\SUB; The syntax in which a protocol buffer element is defined.\n\ + \\STX\ENQ\NUL\DC2\ACK\185\SOH\NUL\192\SOH\SOH\SUB; The syntax in which a protocol buffer element is defined.\n\ \\n\ \\v\n\ - \\ETX\ENQ\NUL\SOH\DC2\EOT\181\SOH\ENQ\v\n\ + \\ETX\ENQ\NUL\SOH\DC2\EOT\185\SOH\ENQ\v\n\ \ \n\ - \\EOT\ENQ\NUL\STX\NUL\DC2\EOT\183\SOH\STX\DC4\SUB\DC2 Syntax `proto2`.\n\ + \\EOT\ENQ\NUL\STX\NUL\DC2\EOT\187\SOH\STX\DC4\SUB\DC2 Syntax `proto2`.\n\ \\n\ \\r\n\ - \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\EOT\183\SOH\STX\SI\n\ + \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\EOT\187\SOH\STX\SI\n\ \\r\n\ - \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\EOT\183\SOH\DC2\DC3\n\ + \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\EOT\187\SOH\DC2\DC3\n\ \ \n\ - \\EOT\ENQ\NUL\STX\SOH\DC2\EOT\185\SOH\STX\DC4\SUB\DC2 Syntax `proto3`.\n\ + \\EOT\ENQ\NUL\STX\SOH\DC2\EOT\189\SOH\STX\DC4\SUB\DC2 Syntax `proto3`.\n\ + \\n\ + \\r\n\ + \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\EOT\189\SOH\STX\SI\n\ + \\r\n\ + \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\EOT\189\SOH\DC2\DC3\n\ + \\"\n\ + \\EOT\ENQ\NUL\STX\STX\DC2\EOT\191\SOH\STX\SYN\SUB\DC4 Syntax `editions`.\n\ \\n\ \\r\n\ - \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\EOT\185\SOH\STX\SI\n\ + \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\EOT\191\SOH\STX\DC1\n\ \\r\n\ - \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\EOT\185\SOH\DC2\DC3b\ACKproto3" \ No newline at end of file + \\ENQ\ENQ\NUL\STX\STX\STX\DC2\EOT\191\SOH\DC4\NAKb\ACKproto3" \ No newline at end of file diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs index ec821a2d..da3f2e14 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type_Fields.hs @@ -41,6 +41,11 @@ defaultValue :: Data.ProtoLens.Field.HasField s "defaultValue" a) => Lens.Family2.LensLike' f s a defaultValue = Data.ProtoLens.Field.field @"defaultValue" +edition :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "edition" a) => + Lens.Family2.LensLike' f s a +edition = Data.ProtoLens.Field.field @"edition" enumvalue :: forall f s a. (Prelude.Functor f, diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs index 707d0380..aef01ef1 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Wrappers.hs @@ -1008,10 +1008,10 @@ packedFileDescriptor \\n\ \BytesValue\DC2\DC4\n\ \\ENQvalue\CAN\SOH \SOH(\fR\ENQvalueB\131\SOH\n\ - \\DC3com.google.protobufB\rWrappersProtoP\SOHZ1google.golang.org/protobuf/types/known/wrapperspb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\198\US\n\ + \\DC3com.google.protobufB\rWrappersProtoP\SOHZ1google.golang.org/protobuf/types/known/wrapperspb\248\SOH\SOH\162\STX\ETXGPB\170\STX\RSGoogle.Protobuf.WellKnownTypesJ\196\US\n\ \\ACK\DC2\EOT(\NULz\SOH\n\ - \\219\DLE\n\ - \\SOH\f\DC2\ETX(\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \\217\DLE\n\ + \\SOH\f\DC2\ETX(\NUL\DC22\206\DLE Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ \ https://developers.google.com/protocol-buffers/\n\ \\n\ @@ -1040,7 +1040,8 @@ packedFileDescriptor \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ - \2\140\EOT Wrappers for primitive (non-message) types. These types are useful\n\ + \\n\ + \ Wrappers for primitive (non-message) types. These types are useful\n\ \ for embedding primitives in the `google.protobuf.Any` type and for places\n\ \ where we need to distinguish between the absence of a primitive\n\ \ typed field and its default value.\n\ @@ -1053,34 +1054,34 @@ packedFileDescriptor \\b\n\ \\SOH\STX\DC2\ETX*\NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX,\NUL;\n\ + \\SOH\b\DC2\ETX,\NUL\US\n\ \\t\n\ - \\STX\b%\DC2\ETX,\NUL;\n\ + \\STX\b\US\DC2\ETX,\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX-\NUL\US\n\ + \\SOH\b\DC2\ETX-\NULH\n\ \\t\n\ - \\STX\b\US\DC2\ETX-\NUL\US\n\ + \\STX\b\v\DC2\ETX-\NULH\n\ \\b\n\ - \\SOH\b\DC2\ETX.\NULH\n\ + \\SOH\b\DC2\ETX.\NUL,\n\ \\t\n\ - \\STX\b\v\DC2\ETX.\NULH\n\ + \\STX\b\SOH\DC2\ETX.\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX/\NUL,\n\ + \\SOH\b\DC2\ETX/\NUL.\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX/\NUL,\n\ + \\STX\b\b\DC2\ETX/\NUL.\n\ \\b\n\ - \\SOH\b\DC2\ETX0\NUL.\n\ + \\SOH\b\DC2\ETX0\NUL\"\n\ \\t\n\ - \\STX\b\b\DC2\ETX0\NUL.\n\ + \\STX\b\n\ + \\DC2\ETX0\NUL\"\n\ \\b\n\ - \\SOH\b\DC2\ETX1\NUL\"\n\ + \\SOH\b\DC2\ETX1\NUL!\n\ \\t\n\ - \\STX\b\n\ - \\DC2\ETX1\NUL\"\n\ + \\STX\b$\DC2\ETX1\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX2\NUL!\n\ + \\SOH\b\DC2\ETX2\NUL;\n\ \\t\n\ - \\STX\b$\DC2\ETX2\NUL!\n\ + \\STX\b%\DC2\ETX2\NUL;\n\ \g\n\ \\STX\EOT\NUL\DC2\EOT7\NUL:\SOH\SUB[ Wrapper message for `double`.\n\ \\n\ diff --git a/proto-lens/package.yaml b/proto-lens/package.yaml index c8b2b442..80d6cb15 100644 --- a/proto-lens/package.yaml +++ b/proto-lens/package.yaml @@ -24,8 +24,8 @@ extra-source-files: # Usually this happens automatically as part of Data.ProtoLens.Setup, # but because of bootstrapping we don't use that module here. data-files: - - proto-lens-imports/google/protobuf/descriptor.proto - - proto-lens-imports/google/protobuf/compiler/plugin.proto + - ../proto-lens-protobuf-types/proto-src/src/google/protobuf/descriptor.proto + - ../proto-lens-protobuf-types/proto-src/src/google/protobuf/compiler/plugin.proto library: source-dirs: src diff --git a/proto-lens/proto-lens-imports/google b/proto-lens/proto-lens-imports/google deleted file mode 120000 index 37871a46..00000000 --- a/proto-lens/proto-lens-imports/google +++ /dev/null @@ -1 +0,0 @@ -../../google/protobuf/src/google \ No newline at end of file diff --git a/proto-lens/proto-lens.cabal b/proto-lens/proto-lens.cabal index 2ebdec84..1fe9d88b 100644 --- a/proto-lens/proto-lens.cabal +++ b/proto-lens/proto-lens.cabal @@ -26,8 +26,8 @@ build-type: Simple extra-source-files: Changelog.md data-files: - proto-lens-imports/google/protobuf/descriptor.proto - proto-lens-imports/google/protobuf/compiler/plugin.proto + ../proto-lens-protobuf-types/proto-src/src/google/protobuf/descriptor.proto + ../proto-lens-protobuf-types/proto-src/src/google/protobuf/compiler/plugin.proto source-repository head type: git From febd38f5b8e29b7516e94a165f09cb8eab613e30 Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Mon, 25 Sep 2023 19:35:15 +0200 Subject: [PATCH 4/9] fixups --- .../app/Data/ProtoLens/Compiler/Definitions.hs | 1 + proto-lens-tests/tests/names_test.hs | 2 +- proto-lens-tests/tests/service_test.hs | 1 + proto-lens/package.yaml | 7 ------- proto-lens/proto-lens.cabal | 3 --- 5 files changed, 3 insertions(+), 11 deletions(-) diff --git a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs index b9382f55..aa4bebb1 100644 --- a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs +++ b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs @@ -593,6 +593,7 @@ reservedKeywords = Set.fromList $ , "then" , "type" , "where" + , "forall" -- GHC now warning that this will become reserved in the future ] ++ -- Nonstandard extensions [ "mdo" -- RecursiveDo diff --git a/proto-lens-tests/tests/names_test.hs b/proto-lens-tests/tests/names_test.hs index 9be00bfc..0494523e 100644 --- a/proto-lens-tests/tests/names_test.hs +++ b/proto-lens-tests/tests/names_test.hs @@ -104,7 +104,7 @@ testHaskellKeywords = testFields "haskellKeywords" (defMessage :: HaskellKeyword -- Haskell keywords that shouldn't get an apostrophe (since they're valid -- as variable names): , SomeLens as - , SomeLens forall + , SomeLens forall' , SomeLens hiding ] diff --git a/proto-lens-tests/tests/service_test.hs b/proto-lens-tests/tests/service_test.hs index c5e5f974..65906508 100644 --- a/proto-lens-tests/tests/service_test.hs +++ b/proto-lens-tests/tests/service_test.hs @@ -4,6 +4,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeApplications #-} +{-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -fno-warn-redundant-constraints #-} module Main (main) where diff --git a/proto-lens/package.yaml b/proto-lens/package.yaml index 80d6cb15..9e73acab 100644 --- a/proto-lens/package.yaml +++ b/proto-lens/package.yaml @@ -20,13 +20,6 @@ category: Data extra-source-files: - Changelog.md -# Make the corresponding .proto files available for other packages to import. -# Usually this happens automatically as part of Data.ProtoLens.Setup, -# but because of bootstrapping we don't use that module here. -data-files: - - ../proto-lens-protobuf-types/proto-src/src/google/protobuf/descriptor.proto - - ../proto-lens-protobuf-types/proto-src/src/google/protobuf/compiler/plugin.proto - library: source-dirs: src diff --git a/proto-lens/proto-lens.cabal b/proto-lens/proto-lens.cabal index 1fe9d88b..cd3dbac5 100644 --- a/proto-lens/proto-lens.cabal +++ b/proto-lens/proto-lens.cabal @@ -25,9 +25,6 @@ license-file: LICENSE build-type: Simple extra-source-files: Changelog.md -data-files: - ../proto-lens-protobuf-types/proto-src/src/google/protobuf/descriptor.proto - ../proto-lens-protobuf-types/proto-src/src/google/protobuf/compiler/plugin.proto source-repository head type: git From 66ec479d80df769202c930852dba94e89dc5aa77 Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Mon, 25 Sep 2023 20:30:49 +0200 Subject: [PATCH 5/9] Fix 64-bit number json parsing --- proto-lens-json/src/Data/ProtoLens/Json.hs | 31 +++++++++++++++------- proto-lens-tests/tests/names_test.hs | 2 +- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/proto-lens-json/src/Data/ProtoLens/Json.hs b/proto-lens-json/src/Data/ProtoLens/Json.hs index ed147c91..903d2fd6 100644 --- a/proto-lens-json/src/Data/ProtoLens/Json.hs +++ b/proto-lens-json/src/Data/ProtoLens/Json.hs @@ -25,6 +25,7 @@ import Lens.Family2 import Data.Fixed import Data.ProtoLens import qualified Data.Text as T +import qualified Data.Text.Read as T import Data.Aeson.Types (Parser) import Data.Dynamic import Data.Proxy @@ -139,16 +140,26 @@ jsonFieldValue fdt = case fdt of Just parser -> (parser :: Value -> Parser value) ScalarField f -> jsonScalarFieldValue f -mapKeyScalarValue :: FromJSON value => MapKey key -> Value -> Parser (Map key value) +parse64BitNumber :: (Integral a) => Value -> Parser a +parse64BitNumber val = do + x <- parseJSON val + case T.decimal x of + Left e -> fail e + Right (n, remaining) -> + if T.null remaining + then pure n + else fail $ "Invalid number: " <> T.unpack x + +mapKeyScalarValue :: forall key value. FromJSON value => MapKey key -> Value -> Parser (Map key value) mapKeyScalarValue = \case MapInt32Key -> parseJSON - MapInt64Key -> parseJSON + MapInt64Key -> parseJSON MapUInt32Key -> parseJSON - MapUInt64Key -> parseJSON + MapUInt64Key -> parseJSON MapSInt32Key -> parseJSON - MapSInt64Key -> parseJSON + MapSInt64Key -> parseJSON MapFixed32Key -> parseJSON - MapFixed64Key -> parseJSON + MapFixed64Key -> parseJSON MapSFixed32Key -> parseJSON MapSFixed64Key -> parseJSON MapBoolKey -> parseJSON @@ -160,15 +171,15 @@ jsonScalarFieldValue = \case Nothing -> fail ("Invalid enum value: " <> str) Just val -> pure val Int32Field -> parseJSON - Int64Field -> parseJSON + Int64Field -> parse64BitNumber UInt32Field -> parseJSON - UInt64Field -> parseJSON + UInt64Field -> parse64BitNumber SInt32Field -> parseJSON - SInt64Field -> parseJSON + SInt64Field -> parse64BitNumber Fixed32Field -> parseJSON - Fixed64Field -> parseJSON + Fixed64Field -> parse64BitNumber SFixed32Field -> parseJSON - SFixed64Field -> parseJSON + SFixed64Field -> parse64BitNumber FloatField -> parseJSON DoubleField -> parseJSON BoolField -> parseJSON diff --git a/proto-lens-tests/tests/names_test.hs b/proto-lens-tests/tests/names_test.hs index 0494523e..6d4b31b8 100644 --- a/proto-lens-tests/tests/names_test.hs +++ b/proto-lens-tests/tests/names_test.hs @@ -101,10 +101,10 @@ testHaskellKeywords = testFields "haskellKeywords" (defMessage :: HaskellKeyword , SomeLens mdo' , SomeLens rec' , SomeLens proc' + , SomeLens forall' -- Haskell keywords that shouldn't get an apostrophe (since they're valid -- as variable names): , SomeLens as - , SomeLens forall' , SomeLens hiding ] From 635dfb6de618a6b5a07ed4b1b39f8d06f9850ef7 Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Tue, 26 Sep 2023 12:16:22 +0200 Subject: [PATCH 6/9] export enum base name via message enum class --- .../Proto/Google/Protobuf/Compiler/Plugin.hs | 1 + .../src/Proto/Google/Protobuf/Descriptor.hs | 36 +- .../src/Proto/Google/Protobuf/Struct.hs | 1 + .../src/Proto/Google/Protobuf/Type.hs | 3 + .../app/Data/ProtoLens/Compiler/Generate.hs | 4 +- .../Proto/Google/Protobuf/Compiler/Plugin.hs | 572 +- .../Google/Protobuf/Compiler/Plugin_Fields.hs | 16 +- .../app/Proto/Google/Protobuf/Descriptor.hs | 10505 +++++++++++----- .../Google/Protobuf/Descriptor_Fields.hs | 314 + proto-lens/src/Data/ProtoLens/Message.hs | 2 + 10 files changed, 8034 insertions(+), 3420 deletions(-) diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs index 1a2038fa..e1ef9bed 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Compiler/Plugin.hs @@ -678,6 +678,7 @@ data CodeGeneratorResponse'Feature CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum CodeGeneratorResponse'Feature where + enumName _ = Data.Text.pack "Feature" maybeToEnum 0 = Prelude.Just CodeGeneratorResponse'FEATURE_NONE maybeToEnum 1 = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs index afd69739..6bccafb6 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Descriptor.hs @@ -1218,6 +1218,7 @@ data Edition EDITION_99999_TEST_ONLY deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum Edition where + enumName _ = Data.Text.pack "Edition" maybeToEnum 0 = Prelude.Just EDITION_UNKNOWN maybeToEnum 1 = Prelude.Just EDITION_1_TEST_ONLY maybeToEnum 2 = Prelude.Just EDITION_2_TEST_ONLY @@ -3374,6 +3375,7 @@ data ExtensionRangeOptions'VerificationState ExtensionRangeOptions'UNVERIFIED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum ExtensionRangeOptions'VerificationState where + enumName _ = Data.Text.pack "VerificationState" maybeToEnum 0 = Prelude.Just ExtensionRangeOptions'DECLARATION maybeToEnum 1 = Prelude.Just ExtensionRangeOptions'UNVERIFIED maybeToEnum _ = Prelude.Nothing @@ -3519,13 +3521,13 @@ instance Data.ProtoLens.Message FeatureSet where = "\n\ \\n\ \FeatureSet\DC2k\n\ - \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\DC2\bEXPLICIT\CAN\232\a\DC2X\n\ - \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\DC2\EOTOPEN\CAN\232\a\DC2\130\SOH\n\ - \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\DC2\ACKPACKED\CAN\232\a\DC2x\n\ - \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\DC2\SILENGTH_PREFIXED\CAN\232\a\DC2b\n\ + \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\CAN\232\a\DC2\bEXPLICIT\DC2X\n\ + \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\CAN\232\a\DC2\EOTOPEN\DC2\130\SOH\n\ + \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\CAN\232\a\DC2\ACKPACKED\DC2x\n\ + \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\CAN\232\a\DC2\SILENGTH_PREFIXED\DC2b\n\ \\vjson_format\CAN\ACK \SOH(\SO2&.google.protobuf.FeatureSet.JsonFormatR\n\ \jsonFormatB\EM\136\SOH\SOH\152\SOH\ETX\152\SOH\ACK\152\SOH\SOH\162\SOH\n\ - \\DC2\ENQALLOW\CAN\232\a\"\\\n\ + \\CAN\232\a\DC2\ENQALLOW\"\\\n\ \\rFieldPresence\DC2\SUB\n\ \\SYNFIELD_PRESENCE_UNKNOWN\DLE\NUL\DC2\f\n\ \\bEXPLICIT\DLE\SOH\DC2\f\n\ @@ -3784,6 +3786,7 @@ data FeatureSet'EnumType FeatureSet'CLOSED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FeatureSet'EnumType where + enumName _ = Data.Text.pack "EnumType" maybeToEnum 0 = Prelude.Just FeatureSet'ENUM_TYPE_UNKNOWN maybeToEnum 1 = Prelude.Just FeatureSet'OPEN maybeToEnum 2 = Prelude.Just FeatureSet'CLOSED @@ -3836,6 +3839,7 @@ data FeatureSet'FieldPresence FeatureSet'LEGACY_REQUIRED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FeatureSet'FieldPresence where + enumName _ = Data.Text.pack "FieldPresence" maybeToEnum 0 = Prelude.Just FeatureSet'FIELD_PRESENCE_UNKNOWN maybeToEnum 1 = Prelude.Just FeatureSet'EXPLICIT maybeToEnum 2 = Prelude.Just FeatureSet'IMPLICIT @@ -3896,6 +3900,7 @@ data FeatureSet'JsonFormat FeatureSet'LEGACY_BEST_EFFORT deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FeatureSet'JsonFormat where + enumName _ = Data.Text.pack "JsonFormat" maybeToEnum 0 = Prelude.Just FeatureSet'JSON_FORMAT_UNKNOWN maybeToEnum 1 = Prelude.Just FeatureSet'ALLOW maybeToEnum 2 = Prelude.Just FeatureSet'LEGACY_BEST_EFFORT @@ -3948,6 +3953,7 @@ data FeatureSet'MessageEncoding FeatureSet'DELIMITED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FeatureSet'MessageEncoding where + enumName _ = Data.Text.pack "MessageEncoding" maybeToEnum 0 = Prelude.Just FeatureSet'MESSAGE_ENCODING_UNKNOWN maybeToEnum 1 = Prelude.Just FeatureSet'LENGTH_PREFIXED maybeToEnum 2 = Prelude.Just FeatureSet'DELIMITED @@ -4004,6 +4010,7 @@ data FeatureSet'RepeatedFieldEncoding FeatureSet'EXPANDED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FeatureSet'RepeatedFieldEncoding where + enumName _ = Data.Text.pack "RepeatedFieldEncoding" maybeToEnum 0 = Prelude.Just FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN maybeToEnum 1 = Prelude.Just FeatureSet'PACKED @@ -5344,6 +5351,7 @@ data FieldDescriptorProto'Label FieldDescriptorProto'LABEL_REPEATED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Label where + enumName _ = Data.Text.pack "Label" maybeToEnum 1 = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL maybeToEnum 2 = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED maybeToEnum 3 = Prelude.Just FieldDescriptorProto'LABEL_REPEATED @@ -5416,6 +5424,7 @@ data FieldDescriptorProto'Type FieldDescriptorProto'TYPE_SINT64 deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Type where + enumName _ = Data.Text.pack "Type" maybeToEnum 1 = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE maybeToEnum 2 = Prelude.Just FieldDescriptorProto'TYPE_FLOAT maybeToEnum 3 = Prelude.Just FieldDescriptorProto'TYPE_INT64 @@ -6471,6 +6480,7 @@ data FieldOptions'CType FieldOptions'STRING_PIECE deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldOptions'CType where + enumName _ = Data.Text.pack "CType" maybeToEnum 0 = Prelude.Just FieldOptions'STRING maybeToEnum 1 = Prelude.Just FieldOptions'CORD maybeToEnum 2 = Prelude.Just FieldOptions'STRING_PIECE @@ -6752,6 +6762,7 @@ data FieldOptions'JSType FieldOptions'JS_NUMBER deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldOptions'JSType where + enumName _ = Data.Text.pack "JSType" maybeToEnum 0 = Prelude.Just FieldOptions'JS_NORMAL maybeToEnum 1 = Prelude.Just FieldOptions'JS_STRING maybeToEnum 2 = Prelude.Just FieldOptions'JS_NUMBER @@ -6802,6 +6813,7 @@ data FieldOptions'OptionRetention FieldOptions'RETENTION_SOURCE deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldOptions'OptionRetention where + enumName _ = Data.Text.pack "OptionRetention" maybeToEnum 0 = Prelude.Just FieldOptions'RETENTION_UNKNOWN maybeToEnum 1 = Prelude.Just FieldOptions'RETENTION_RUNTIME maybeToEnum 2 = Prelude.Just FieldOptions'RETENTION_SOURCE @@ -6865,6 +6877,7 @@ data FieldOptions'OptionTargetType FieldOptions'TARGET_TYPE_METHOD deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldOptions'OptionTargetType where + enumName _ = Data.Text.pack "OptionTargetType" maybeToEnum 0 = Prelude.Just FieldOptions'TARGET_TYPE_UNKNOWN maybeToEnum 1 = Prelude.Just FieldOptions'TARGET_TYPE_FILE maybeToEnum 2 @@ -9501,6 +9514,7 @@ data FileOptions'OptimizeMode FileOptions'LITE_RUNTIME deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FileOptions'OptimizeMode where + enumName _ = Data.Text.pack "OptimizeMode" maybeToEnum 1 = Prelude.Just FileOptions'SPEED maybeToEnum 2 = Prelude.Just FileOptions'CODE_SIZE maybeToEnum 3 = Prelude.Just FileOptions'LITE_RUNTIME @@ -10079,6 +10093,7 @@ data GeneratedCodeInfo'Annotation'Semantic GeneratedCodeInfo'Annotation'ALIAS deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum GeneratedCodeInfo'Annotation'Semantic where + enumName _ = Data.Text.pack "Semantic" maybeToEnum 0 = Prelude.Just GeneratedCodeInfo'Annotation'NONE maybeToEnum 1 = Prelude.Just GeneratedCodeInfo'Annotation'SET maybeToEnum 2 = Prelude.Just GeneratedCodeInfo'Annotation'ALIAS @@ -11285,6 +11300,7 @@ data MethodOptions'IdempotencyLevel MethodOptions'IDEMPOTENT deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum MethodOptions'IdempotencyLevel where + enumName _ = Data.Text.pack "IdempotencyLevel" maybeToEnum 0 = Prelude.Just MethodOptions'IDEMPOTENCY_UNKNOWN maybeToEnum 1 = Prelude.Just MethodOptions'NO_SIDE_EFFECTS maybeToEnum 2 = Prelude.Just MethodOptions'IDEMPOTENT @@ -13649,13 +13665,13 @@ packedFileDescriptor \\fis_extension\CAN\STX \STX(\bR\visExtension\"\234\a\n\ \\n\ \FeatureSet\DC2k\n\ - \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\DC2\bEXPLICIT\CAN\232\a\DC2X\n\ - \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\DC2\EOTOPEN\CAN\232\a\DC2\130\SOH\n\ - \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\DC2\ACKPACKED\CAN\232\a\DC2x\n\ - \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\DC2\SILENGTH_PREFIXED\CAN\232\a\DC2b\n\ + \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\CAN\232\a\DC2\bEXPLICIT\DC2X\n\ + \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\CAN\232\a\DC2\EOTOPEN\DC2\130\SOH\n\ + \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\CAN\232\a\DC2\ACKPACKED\DC2x\n\ + \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\CAN\232\a\DC2\SILENGTH_PREFIXED\DC2b\n\ \\vjson_format\CAN\ACK \SOH(\SO2&.google.protobuf.FeatureSet.JsonFormatR\n\ \jsonFormatB\EM\136\SOH\SOH\152\SOH\ETX\152\SOH\ACK\152\SOH\SOH\162\SOH\n\ - \\DC2\ENQALLOW\CAN\232\a\"\\\n\ + \\CAN\232\a\DC2\ENQALLOW\"\\\n\ \\rFieldPresence\DC2\SUB\n\ \\SYNFIELD_PRESENCE_UNKNOWN\DLE\NUL\DC2\f\n\ \\bEXPLICIT\DLE\SOH\DC2\f\n\ diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs index 854fc561..eef5dcd0 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Struct.hs @@ -173,6 +173,7 @@ data NullValue = NULL_VALUE | NullValue'Unrecognized !NullValue'UnrecognizedValue deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum NullValue where + enumName _ = Data.Text.pack "NullValue" maybeToEnum 0 = Prelude.Just NULL_VALUE maybeToEnum k = Prelude.Just diff --git a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs index 203a8093..898a4f04 100644 --- a/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs +++ b/proto-lens-protobuf-types/src/Proto/Google/Protobuf/Type.hs @@ -1228,6 +1228,7 @@ data Field'Cardinality Field'Cardinality'Unrecognized !Field'Cardinality'UnrecognizedValue deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum Field'Cardinality where + enumName _ = Data.Text.pack "Cardinality" maybeToEnum 0 = Prelude.Just Field'CARDINALITY_UNKNOWN maybeToEnum 1 = Prelude.Just Field'CARDINALITY_OPTIONAL maybeToEnum 2 = Prelude.Just Field'CARDINALITY_REQUIRED @@ -1323,6 +1324,7 @@ data Field'Kind Field'Kind'Unrecognized !Field'Kind'UnrecognizedValue deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum Field'Kind where + enumName _ = Data.Text.pack "Kind" maybeToEnum 0 = Prelude.Just Field'TYPE_UNKNOWN maybeToEnum 1 = Prelude.Just Field'TYPE_DOUBLE maybeToEnum 2 = Prelude.Just Field'TYPE_FLOAT @@ -1642,6 +1644,7 @@ data Syntax Syntax'Unrecognized !Syntax'UnrecognizedValue deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum Syntax where + enumName _ = Data.Text.pack "Syntax" maybeToEnum 0 = Prelude.Just SYNTAX_PROTO2 maybeToEnum 1 = Prelude.Just SYNTAX_PROTO3 maybeToEnum 2 = Prelude.Just SYNTAX_EDITIONS diff --git a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs index 1ab25ca8..1349c001 100644 --- a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs +++ b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Generate.hs @@ -499,7 +499,9 @@ generateEnumDecls info = -- | k == "Enum1" = Prelude.Just Enum1 -- readEnum k = Text.Read.readMaybe k >>= maybeToEnum , instance' (var "Data.ProtoLens.MessageEnum" @@ dataType) - [ funBinds "maybeToEnum" $ + [ funBind "enumName" $ match [wildP] $ + var "Data.Text.pack" @@ string (T.unpack $ last $ T.splitOn "'" $ T.pack $ rdrNameStrToString $ unqual $ enumName info) + , funBinds "maybeToEnum" $ [ match [int k] $ var "Prelude.Just" @@ var (unqual c) | (c, k) <- constructorNumbers ] diff --git a/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin.hs b/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin.hs index 5ae0ec3d..e1ef9bed 100644 --- a/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin.hs +++ b/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin.hs @@ -42,12 +42,15 @@ import qualified Proto.Google.Protobuf.Descriptor * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'parameter' @:: Lens' CodeGeneratorRequest (Prelude.Maybe Data.Text.Text)@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.protoFile' @:: Lens' CodeGeneratorRequest [Proto.Google.Protobuf.Descriptor.FileDescriptorProto]@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'protoFile' @:: Lens' CodeGeneratorRequest (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto)@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.sourceFileDescriptors' @:: Lens' CodeGeneratorRequest [Proto.Google.Protobuf.Descriptor.FileDescriptorProto]@ + * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.vec'sourceFileDescriptors' @:: Lens' CodeGeneratorRequest (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto)@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.compilerVersion' @:: Lens' CodeGeneratorRequest Version@ * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.maybe'compilerVersion' @:: Lens' CodeGeneratorRequest (Prelude.Maybe Version)@ -} data CodeGeneratorRequest = CodeGeneratorRequest'_constructor {_CodeGeneratorRequest'fileToGenerate :: !(Data.Vector.Vector Data.Text.Text), _CodeGeneratorRequest'parameter :: !(Prelude.Maybe Data.Text.Text), _CodeGeneratorRequest'protoFile :: !(Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto), + _CodeGeneratorRequest'sourceFileDescriptors :: !(Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto), _CodeGeneratorRequest'compilerVersion :: !(Prelude.Maybe Version), _CodeGeneratorRequest'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -103,6 +106,24 @@ instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "vec'protoFile" (Dat _CodeGeneratorRequest'protoFile (\ x__ y__ -> x__ {_CodeGeneratorRequest'protoFile = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "sourceFileDescriptors" [Proto.Google.Protobuf.Descriptor.FileDescriptorProto] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'sourceFileDescriptors + (\ x__ y__ + -> x__ {_CodeGeneratorRequest'sourceFileDescriptors = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "vec'sourceFileDescriptors" (Data.Vector.Vector Proto.Google.Protobuf.Descriptor.FileDescriptorProto) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _CodeGeneratorRequest'sourceFileDescriptors + (\ x__ y__ + -> x__ {_CodeGeneratorRequest'sourceFileDescriptors = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField CodeGeneratorRequest "compilerVersion" Version where fieldOf _ = (Prelude..) @@ -126,7 +147,8 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where \\DLEfile_to_generate\CAN\SOH \ETX(\tR\SOfileToGenerate\DC2\FS\n\ \\tparameter\CAN\STX \SOH(\tR\tparameter\DC2C\n\ \\n\ - \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2L\n\ + \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2\\\n\ + \\ETBsource_file_descriptors\CAN\DC1 \ETX(\v2$.google.protobuf.FileDescriptorProtoR\NAKsourceFileDescriptors\DC2L\n\ \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion" packedFileDescriptor _ = packedFileDescriptor fieldsByTag @@ -157,6 +179,15 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"protoFile")) :: Data.ProtoLens.FieldDescriptor CodeGeneratorRequest + sourceFileDescriptors__field_descriptor + = Data.ProtoLens.FieldDescriptor + "source_file_descriptors" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Descriptor.FileDescriptorProto) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"sourceFileDescriptors")) :: + Data.ProtoLens.FieldDescriptor CodeGeneratorRequest compilerVersion__field_descriptor = Data.ProtoLens.FieldDescriptor "compiler_version" @@ -170,6 +201,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where [(Data.ProtoLens.Tag 1, fileToGenerate__field_descriptor), (Data.ProtoLens.Tag 2, parameter__field_descriptor), (Data.ProtoLens.Tag 15, protoFile__field_descriptor), + (Data.ProtoLens.Tag 17, sourceFileDescriptors__field_descriptor), (Data.ProtoLens.Tag 3, compilerVersion__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -180,6 +212,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where {_CodeGeneratorRequest'fileToGenerate = Data.Vector.Generic.empty, _CodeGeneratorRequest'parameter = Prelude.Nothing, _CodeGeneratorRequest'protoFile = Data.Vector.Generic.empty, + _CodeGeneratorRequest'sourceFileDescriptors = Data.Vector.Generic.empty, _CodeGeneratorRequest'compilerVersion = Prelude.Nothing, _CodeGeneratorRequest'_unknownFields = []} parseMessage @@ -188,8 +221,13 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where CodeGeneratorRequest -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Descriptor.FileDescriptorProto - -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorRequest - loop x mutable'fileToGenerate mutable'protoFile + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Descriptor.FileDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser CodeGeneratorRequest + loop + x + mutable'fileToGenerate + mutable'protoFile + mutable'sourceFileDescriptors = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then do frozen'fileToGenerate <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO @@ -198,6 +236,9 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where frozen'protoFile <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'protoFile) + frozen'sourceFileDescriptors <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'sourceFileDescriptors) (let missing = [] in if Prelude.null missing then @@ -209,46 +250,38 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'fileToGenerate") frozen'fileToGenerate (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'protoFile") frozen'protoFile x))) + (Data.ProtoLens.Field.field @"vec'protoFile") frozen'protoFile + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'sourceFileDescriptors") + frozen'sourceFileDescriptors x)))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of 10 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "file_to_generate" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'fileToGenerate y) - loop x v mutable'protoFile + loop x v mutable'protoFile mutable'sourceFileDescriptors 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "parameter" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"parameter") y x) - mutable'fileToGenerate - mutable'protoFile + mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors 122 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -258,7 +291,18 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where "proto_file" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'protoFile y) - loop x mutable'fileToGenerate v + loop x mutable'fileToGenerate v mutable'sourceFileDescriptors + 138 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "source_file_descriptors" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'sourceFileDescriptors y) + loop x mutable'fileToGenerate mutable'protoFile v 26 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -268,24 +312,27 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"compilerVersion") y x) - mutable'fileToGenerate - mutable'protoFile + mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'fileToGenerate - mutable'protoFile + mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors in (Data.ProtoLens.Encoding.Bytes.) (do mutable'fileToGenerate <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new mutable'protoFile <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new + mutable'sourceFileDescriptors <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new loop - Data.ProtoLens.defMessage mutable'fileToGenerate mutable'protoFile) + Data.ProtoLens.defMessage mutable'fileToGenerate mutable'protoFile + mutable'sourceFileDescriptors) "CodeGeneratorRequest" buildMessage = \ _x @@ -300,8 +347,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'fileToGenerate") _x)) ((Data.Monoid.<>) @@ -319,8 +365,7 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -332,29 +377,41 @@ instance Data.ProtoLens.Message CodeGeneratorRequest where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'protoFile") _x)) ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'compilerVersion") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 26) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 138) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'sourceFileDescriptors") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'compilerVersion") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) instance Control.DeepSeq.NFData CodeGeneratorRequest where rnf = \ x__ @@ -367,7 +424,9 @@ instance Control.DeepSeq.NFData CodeGeneratorRequest where (Control.DeepSeq.deepseq (_CodeGeneratorRequest'protoFile x__) (Control.DeepSeq.deepseq - (_CodeGeneratorRequest'compilerVersion x__) ())))) + (_CodeGeneratorRequest'sourceFileDescriptors x__) + (Control.DeepSeq.deepseq + (_CodeGeneratorRequest'compilerVersion x__) ()))))) {- | Fields : * 'Proto.Google.Protobuf.Compiler.Plugin_Fields.error' @:: Lens' CodeGeneratorResponse Data.Text.Text@ @@ -447,10 +506,11 @@ instance Data.ProtoLens.Message CodeGeneratorResponse where \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ - \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"8\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"W\n\ \\aFeature\DC2\DLE\n\ \\fFEATURE_NONE\DLE\NUL\DC2\ESC\n\ - \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH" + \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH\DC2\GS\n\ + \\EMFEATURE_SUPPORTS_EDITIONS\DLE\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -515,8 +575,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'file") frozen'file x)) else @@ -524,14 +583,9 @@ instance Data.ProtoLens.Message CodeGeneratorResponse where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "error" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"error") y x) @@ -582,8 +636,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -605,8 +658,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'file") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) @@ -622,46 +674,58 @@ instance Control.DeepSeq.NFData CodeGeneratorResponse where (Control.DeepSeq.deepseq (_CodeGeneratorResponse'file x__) ()))) data CodeGeneratorResponse'Feature = CodeGeneratorResponse'FEATURE_NONE | - CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL | + CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum CodeGeneratorResponse'Feature where + enumName _ = Data.Text.pack "Feature" maybeToEnum 0 = Prelude.Just CodeGeneratorResponse'FEATURE_NONE maybeToEnum 1 = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + maybeToEnum 2 + = Prelude.Just CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS maybeToEnum _ = Prelude.Nothing showEnum CodeGeneratorResponse'FEATURE_NONE = "FEATURE_NONE" showEnum CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = "FEATURE_PROTO3_OPTIONAL" + showEnum CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS + = "FEATURE_SUPPORTS_EDITIONS" readEnum k | (Prelude.==) k "FEATURE_NONE" = Prelude.Just CodeGeneratorResponse'FEATURE_NONE | (Prelude.==) k "FEATURE_PROTO3_OPTIONAL" = Prelude.Just CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + | (Prelude.==) k "FEATURE_SUPPORTS_EDITIONS" + = Prelude.Just CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS | Prelude.otherwise = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum instance Prelude.Bounded CodeGeneratorResponse'Feature where minBound = CodeGeneratorResponse'FEATURE_NONE - maxBound = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + maxBound = CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS instance Prelude.Enum CodeGeneratorResponse'Feature where toEnum k__ = Prelude.maybe (Prelude.error ((Prelude.++) "toEnum: unknown value for enum Feature: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) + Prelude.id (Data.ProtoLens.maybeToEnum k__) fromEnum CodeGeneratorResponse'FEATURE_NONE = 0 fromEnum CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = 1 - succ CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + fromEnum CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS = 2 + succ CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS = Prelude.error - "CodeGeneratorResponse'Feature.succ: bad argument CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL. This value would be out of bounds." + "CodeGeneratorResponse'Feature.succ: bad argument CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS. This value would be out of bounds." succ CodeGeneratorResponse'FEATURE_NONE = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + succ CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL + = CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS pred CodeGeneratorResponse'FEATURE_NONE = Prelude.error "CodeGeneratorResponse'Feature.pred: bad argument CodeGeneratorResponse'FEATURE_NONE. This value would be out of bounds." pred CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse'FEATURE_NONE + pred CodeGeneratorResponse'FEATURE_SUPPORTS_EDITIONS + = CodeGeneratorResponse'FEATURE_PROTO3_OPTIONAL enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen @@ -842,40 +906,25 @@ instance Data.ProtoLens.Message CodeGeneratorResponse'File where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "insertion_point" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"insertionPoint") y x) 122 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "content" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"content") y x) 130 @@ -912,8 +961,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse'File where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -929,8 +977,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse'File where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'content") _x @@ -945,8 +992,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse'File where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -962,8 +1008,7 @@ instance Data.ProtoLens.Message CodeGeneratorResponse'File where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData CodeGeneratorResponse'File where @@ -1152,14 +1197,9 @@ instance Data.ProtoLens.Message Version where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"patch") y x) 34 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "suffix" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"suffix") y x) wire @@ -1217,8 +1257,7 @@ instance Data.ProtoLens.Message Version where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData Version where @@ -1241,13 +1280,14 @@ packedFileDescriptor \\ENQmajor\CAN\SOH \SOH(\ENQR\ENQmajor\DC2\DC4\n\ \\ENQminor\CAN\STX \SOH(\ENQR\ENQminor\DC2\DC4\n\ \\ENQpatch\CAN\ETX \SOH(\ENQR\ENQpatch\DC2\SYN\n\ - \\ACKsuffix\CAN\EOT \SOH(\tR\ACKsuffix\"\241\SOH\n\ + \\ACKsuffix\CAN\EOT \SOH(\tR\ACKsuffix\"\207\STX\n\ \\DC4CodeGeneratorRequest\DC2(\n\ \\DLEfile_to_generate\CAN\SOH \ETX(\tR\SOfileToGenerate\DC2\FS\n\ \\tparameter\CAN\STX \SOH(\tR\tparameter\DC2C\n\ \\n\ - \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2L\n\ - \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion\"\148\ETX\n\ + \proto_file\CAN\SI \ETX(\v2$.google.protobuf.FileDescriptorProtoR\tprotoFile\DC2\\\n\ + \\ETBsource_file_descriptors\CAN\DC1 \ETX(\v2$.google.protobuf.FileDescriptorProtoR\NAKsourceFileDescriptors\DC2L\n\ + \\DLEcompiler_version\CAN\ETX \SOH(\v2!.google.protobuf.compiler.VersionR\SIcompilerVersion\"\179\ETX\n\ \\NAKCodeGeneratorResponse\DC2\DC4\n\ \\ENQerror\CAN\SOH \SOH(\tR\ENQerror\DC2-\n\ \\DC2supported_features\CAN\STX \SOH(\EOTR\DC1supportedFeatures\DC2H\n\ @@ -1256,46 +1296,21 @@ packedFileDescriptor \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2'\n\ \\SIinsertion_point\CAN\STX \SOH(\tR\SOinsertionPoint\DC2\CAN\n\ \\acontent\CAN\SI \SOH(\tR\acontent\DC2R\n\ - \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"8\n\ + \\DC3generated_code_info\CAN\DLE \SOH(\v2\".google.protobuf.GeneratedCodeInfoR\DC1generatedCodeInfo\"W\n\ \\aFeature\DC2\DLE\n\ \\fFEATURE_NONE\DLE\NUL\DC2\ESC\n\ - \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOHBW\n\ - \\FScom.google.protobuf.compilerB\fPluginProtosZ)google.golang.org/protobuf/types/pluginpbJ\249C\n\ - \\a\DC2\ENQ.\NUL\182\SOH\SOH\n\ - \\202\DC1\n\ - \\SOH\f\DC2\ETX.\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \\ETBFEATURE_PROTO3_OPTIONAL\DLE\SOH\DC2\GS\n\ + \\EMFEATURE_SUPPORTS_EDITIONS\DLE\STXBr\n\ + \\FScom.google.protobuf.compilerB\fPluginProtosZ)google.golang.org/protobuf/types/pluginpb\170\STX\CANGoogle.Protobuf.CompilerJ\153=\n\ + \\a\DC2\ENQ\DC4\NUL\167\SOH\SOH\n\ + \\186\ACK\n\ + \\SOH\f\DC2\ETX\DC4\NUL\DC22\137\STX Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ - \ https://developers.google.com/protocol-buffers/\n\ - \\n\ - \ Redistribution and use in source and binary forms, with or without\n\ - \ modification, are permitted provided that the following conditions are\n\ - \ met:\n\ \\n\ - \ * Redistributions of source code must retain the above copyright\n\ - \ notice, this list of conditions and the following disclaimer.\n\ - \ * Redistributions in binary form must reproduce the above\n\ - \ copyright notice, this list of conditions and the following disclaimer\n\ - \ in the documentation and/or other materials provided with the\n\ - \ distribution.\n\ - \ * Neither the name of Google Inc. nor the names of its\n\ - \ contributors may be used to endorse or promote products derived from\n\ - \ this software without specific prior written permission.\n\ - \\n\ - \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ - \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ - \ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ - \ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ - \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ - \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ - \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ - \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ - \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ - \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ - \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ - \2\251\EOT Author: kenton@google.com (Kenton Varda)\n\ - \\n\ - \ WARNING: The plugin interface is currently EXPERIMENTAL and is subject to\n\ - \ change.\n\ + \ Use of this source code is governed by a BSD-style\n\ + \ license that can be found in the LICENSE file or at\n\ + \ https://developers.google.com/open-source/licenses/bsd\n\ + \2\163\EOT Author: kenton@google.com (Kenton Varda)\n\ \\n\ \ protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is\n\ \ just a program that reads a CodeGeneratorRequest from stdin and writes a\n\ @@ -1309,110 +1324,119 @@ packedFileDescriptor \ flag \"--${NAME}_out\" is passed to protoc.\n\ \\n\ \\b\n\ - \\SOH\STX\DC2\ETX0\NUL!\n\ + \\SOH\STX\DC2\ETX\SYN\NUL!\n\ + \\b\n\ + \\SOH\b\DC2\ETX\ETB\NUL5\n\ + \\t\n\ + \\STX\b\SOH\DC2\ETX\ETB\NUL5\n\ \\b\n\ - \\SOH\b\DC2\ETX1\NUL5\n\ + \\SOH\b\DC2\ETX\CAN\NUL-\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX1\NUL5\n\ + \\STX\b\b\DC2\ETX\CAN\NUL-\n\ \\b\n\ - \\SOH\b\DC2\ETX2\NUL-\n\ + \\SOH\b\DC2\ETX\SUB\NUL5\n\ \\t\n\ - \\STX\b\b\DC2\ETX2\NUL-\n\ + \\STX\b%\DC2\ETX\SUB\NUL5\n\ \\b\n\ - \\SOH\b\DC2\ETX4\NUL@\n\ + \\SOH\b\DC2\ETX\ESC\NUL@\n\ \\t\n\ - \\STX\b\v\DC2\ETX4\NUL@\n\ + \\STX\b\v\DC2\ETX\ESC\NUL@\n\ \\t\n\ - \\STX\ETX\NUL\DC2\ETX6\NUL*\n\ + \\STX\ETX\NUL\DC2\ETX\GS\NUL*\n\ \6\n\ - \\STX\EOT\NUL\DC2\EOT9\NUL@\SOH\SUB* The version number of protocol compiler.\n\ + \\STX\EOT\NUL\DC2\EOT \NUL'\SOH\SUB* The version number of protocol compiler.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETX9\b\SI\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX \b\SI\n\ \\v\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\ETX:\STX\ESC\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX!\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX:\STX\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX!\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX:\v\DLE\n\ + \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX!\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX:\DC1\SYN\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX!\DC1\SYN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX:\EM\SUB\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX!\EM\SUB\n\ \\v\n\ - \\EOT\EOT\NUL\STX\SOH\DC2\ETX;\STX\ESC\n\ + \\EOT\EOT\NUL\STX\SOH\DC2\ETX\"\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX;\STX\n\ + \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX\"\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX;\v\DLE\n\ + \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\"\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX;\DC1\SYN\n\ + \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\"\DC1\SYN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX;\EM\SUB\n\ + \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\"\EM\SUB\n\ \\v\n\ - \\EOT\EOT\NUL\STX\STX\DC2\ETX<\STX\ESC\n\ + \\EOT\EOT\NUL\STX\STX\DC2\ETX#\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX<\STX\n\ + \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX#\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX<\v\DLE\n\ + \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX#\v\DLE\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX<\DC1\SYN\n\ + \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX#\DC1\SYN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX<\EM\SUB\n\ + \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX#\EM\SUB\n\ \\128\SOH\n\ - \\EOT\EOT\NUL\STX\ETX\DC2\ETX?\STX\GS\SUBs A suffix for alpha, beta or rc release, e.g., \"alpha-1\", \"rc2\". It should\n\ + \\EOT\EOT\NUL\STX\ETX\DC2\ETX&\STX\GS\SUBs A suffix for alpha, beta or rc release, e.g., \"alpha-1\", \"rc2\". It should\n\ \ be empty for mainline stable releases.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\EOT\DC2\ETX?\STX\n\ + \\ENQ\EOT\NUL\STX\ETX\EOT\DC2\ETX&\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX?\v\DC1\n\ + \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX&\v\DC1\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX?\DC2\CAN\n\ + \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX&\DC2\CAN\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX?\ESC\FS\n\ + \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX&\ESC\FS\n\ \O\n\ - \\STX\EOT\SOH\DC2\EOTC\NUL_\SOH\SUBC An encoded CodeGeneratorRequest is written to the plugin's stdin.\n\ + \\STX\EOT\SOH\DC2\EOT*\NULO\SOH\SUBC An encoded CodeGeneratorRequest is written to the plugin's stdin.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\SOH\SOH\DC2\ETXC\b\FS\n\ + \\ETX\EOT\SOH\SOH\DC2\ETX*\b\FS\n\ \\209\SOH\n\ - \\EOT\EOT\SOH\STX\NUL\DC2\ETXG\STX'\SUB\195\SOH The .proto files that were explicitly listed on the command-line. The\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETX.\STX'\SUB\195\SOH The .proto files that were explicitly listed on the command-line. The\n\ \ code generator should generate code only for these files. Each file's\n\ \ descriptor will be included in proto_file, below.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETXG\STX\n\ + \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX.\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXG\v\DC1\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX.\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXG\DC2\"\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX.\DC2\"\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXG%&\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX.%&\n\ \B\n\ - \\EOT\EOT\SOH\STX\SOH\DC2\ETXJ\STX \SUB5 The generator parameter passed on the command-line.\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETX1\STX \SUB5 The generator parameter passed on the command-line.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETXJ\STX\n\ + \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX1\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXJ\v\DC1\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX1\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXJ\DC2\ESC\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX1\DC2\ESC\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXJ\RS\US\n\ - \\135\ACK\n\ - \\EOT\EOT\SOH\STX\STX\DC2\ETXZ\STX/\SUB\249\ENQ FileDescriptorProtos for all files in files_to_generate and everything\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX1\RS\US\n\ + \\150\b\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXF\STX/\SUB\136\b FileDescriptorProtos for all files in files_to_generate and everything\n\ \ they import. The files will appear in topological order, so each file\n\ \ appears before any file that imports it.\n\ \\n\ + \ Note: the files listed in files_to_generate will include runtime-retention\n\ + \ options only, but all other files will include source-retention options.\n\ + \ The source_file_descriptors field below is available in case you need\n\ + \ source-retention options for files_to_generate.\n\ + \\n\ \ protoc guarantees that all proto_files will be written after\n\ \ the fields above, even though this is not technically guaranteed by the\n\ \ protobuf wire format. This theoretically could allow a plugin to stream\n\ @@ -1425,34 +1449,48 @@ packedFileDescriptor \ fully qualified.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXZ\STX\n\ + \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXF\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXZ\v\RS\n\ + \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXF\v\RS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXF\US)\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXZ\US)\n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXF,.\n\ + \\167\SOH\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXK\STX<\SUB\153\SOH File descriptors with all options, including source-retention options.\n\ + \ These descriptors are only provided for the files listed in\n\ + \ files_to_generate.\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXK\STX\n\ + \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXZ,.\n\ + \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETXK\v\RS\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXK\US6\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXK9;\n\ \7\n\ - \\EOT\EOT\SOH\STX\ETX\DC2\ETX]\STX(\SUB* The version number of protocol compiler.\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXN\STX(\SUB* The version number of protocol compiler.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETX]\STX\n\ + \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXN\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETX]\v\DC2\n\ + \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\ETXN\v\DC2\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX]\DC3#\n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXN\DC3#\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX]&'\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXN&'\n\ \L\n\ - \\STX\EOT\STX\DC2\ENQb\NUL\182\SOH\SOH\SUB? The plugin writes an encoded CodeGeneratorResponse to stdout.\n\ + \\STX\EOT\STX\DC2\ENQR\NUL\167\SOH\SOH\SUB? The plugin writes an encoded CodeGeneratorResponse to stdout.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\STX\SOH\DC2\ETXb\b\GS\n\ + \\ETX\EOT\STX\SOH\DC2\ETXR\b\GS\n\ \\237\ETX\n\ - \\EOT\EOT\STX\STX\NUL\DC2\ETXk\STX\FS\SUB\223\ETX Error message. If non-empty, code generation failed. The plugin process\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETX[\STX\FS\SUB\223\ETX Error message. If non-empty, code generation failed. The plugin process\n\ \ should exit with status code zero even if it reports an error in this way.\n\ \\n\ \ This should be used to indicate errors in .proto files which prevent the\n\ @@ -1462,52 +1500,58 @@ packedFileDescriptor \ exiting with a non-zero status code.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETXk\STX\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX[\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXk\v\DC1\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX[\v\DC1\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXk\DC2\ETB\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX[\DC2\ETB\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXk\SUB\ESC\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX[\SUB\ESC\n\ \\137\SOH\n\ - \\EOT\EOT\STX\STX\SOH\DC2\ETXo\STX)\SUB| A bitmask of supported features that the code generator supports.\n\ + \\EOT\EOT\STX\STX\SOH\DC2\ETX_\STX)\SUB| A bitmask of supported features that the code generator supports.\n\ \ This is a bitwise \"or\" of values from the Feature enum.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXo\STX\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX_\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXo\v\DC1\n\ + \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX_\v\DC1\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXo\DC2$\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX_\DC2$\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXo'(\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX_'(\n\ \+\n\ - \\EOT\EOT\STX\EOT\NUL\DC2\EOTr\STXu\ETX\SUB\GS Sync with code_generator.h.\n\ + \\EOT\EOT\STX\EOT\NUL\DC2\EOTb\STXf\ETX\SUB\GS Sync with code_generator.h.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\EOT\NUL\SOH\DC2\ETXr\a\SO\n\ + \\ENQ\EOT\STX\EOT\NUL\SOH\DC2\ETXb\a\SO\n\ + \\r\n\ + \\ACK\EOT\STX\EOT\NUL\STX\NUL\DC2\ETXc\EOT\NAK\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\NUL\SOH\DC2\ETXc\EOT\DLE\n\ + \\SO\n\ + \\a\EOT\STX\EOT\NUL\STX\NUL\STX\DC2\ETXc\DC3\DC4\n\ \\r\n\ - \\ACK\EOT\STX\EOT\NUL\STX\NUL\DC2\ETXs\EOT\NAK\n\ + \\ACK\EOT\STX\EOT\NUL\STX\SOH\DC2\ETXd\EOT \n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\NUL\SOH\DC2\ETXs\EOT\DLE\n\ + \\a\EOT\STX\EOT\NUL\STX\SOH\SOH\DC2\ETXd\EOT\ESC\n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\NUL\STX\DC2\ETXs\DC3\DC4\n\ + \\a\EOT\STX\EOT\NUL\STX\SOH\STX\DC2\ETXd\RS\US\n\ \\r\n\ - \\ACK\EOT\STX\EOT\NUL\STX\SOH\DC2\ETXt\EOT \n\ + \\ACK\EOT\STX\EOT\NUL\STX\STX\DC2\ETXe\EOT\"\n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\SOH\SOH\DC2\ETXt\EOT\ESC\n\ + \\a\EOT\STX\EOT\NUL\STX\STX\SOH\DC2\ETXe\EOT\GS\n\ \\SO\n\ - \\a\EOT\STX\EOT\NUL\STX\SOH\STX\DC2\ETXt\RS\US\n\ + \\a\EOT\STX\EOT\NUL\STX\STX\STX\DC2\ETXe !\n\ \4\n\ - \\EOT\EOT\STX\ETX\NUL\DC2\ENQx\STX\180\SOH\ETX\SUB% Represents a single generated file.\n\ + \\EOT\EOT\STX\ETX\NUL\DC2\ENQi\STX\165\SOH\ETX\SUB% Represents a single generated file.\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXx\n\ + \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXi\n\ \\SO\n\ - \\174\ENQ\n\ - \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\EOT\132\SOH\EOT\GS\SUB\157\ENQ The file name, relative to the output directory. The name must not\n\ + \\173\ENQ\n\ + \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\ETXu\EOT\GS\SUB\157\ENQ The file name, relative to the output directory. The name must not\n\ \ contain \".\" or \"..\" components and must be relative, not be absolute (so,\n\ \ the file cannot lie outside the output directory). \"/\" must be used as\n\ \ the path separator, not \"\\\".\n\ @@ -1519,16 +1563,16 @@ packedFileDescriptor \ this writing protoc does not optimize for this -- it will read the entire\n\ \ CodeGeneratorResponse before writing files to disk.\n\ \\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\EOT\132\SOH\EOT\f\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\132\SOH\r\DC3\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\EOT\132\SOH\DC4\CAN\n\ - \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\EOT\132\SOH\ESC\FS\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\ETXu\EOT\f\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\ETXu\r\DC3\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\ETXu\DC4\CAN\n\ + \\SO\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\ETXu\ESC\FS\n\ \\174\DLE\n\ - \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\171\SOH\EOT(\SUB\157\DLE If non-empty, indicates that the named file should already exist, and the\n\ + \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\156\SOH\EOT(\SUB\157\DLE If non-empty, indicates that the named file should already exist, and the\n\ \ content here is to be inserted into that file at a defined insertion\n\ \ point. This feature allows a code generator to extend the output\n\ \ produced by another code generator. The original generator may provide\n\ @@ -1567,45 +1611,45 @@ packedFileDescriptor \ If |insertion_point| is present, |name| must also be present.\n\ \\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\171\SOH\EOT\f\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\156\SOH\EOT\f\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\171\SOH\r\DC3\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\156\SOH\r\DC3\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\171\SOH\DC4#\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\156\SOH\DC4#\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\171\SOH&'\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\156\SOH&'\n\ \$\n\ - \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\174\SOH\EOT!\SUB\DC4 The file contents.\n\ + \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\159\SOH\EOT!\SUB\DC4 The file contents.\n\ \\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\174\SOH\EOT\f\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\159\SOH\EOT\f\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ENQ\DC2\EOT\174\SOH\r\DC3\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ENQ\DC2\EOT\159\SOH\r\DC3\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\174\SOH\DC4\ESC\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\159\SOH\DC4\ESC\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\174\SOH\RS \n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\159\SOH\RS \n\ \\225\SOH\n\ - \\ACK\EOT\STX\ETX\NUL\STX\ETX\DC2\EOT\179\SOH\EOT8\SUB\208\SOH Information describing the file content being inserted. If an insertion\n\ + \\ACK\EOT\STX\ETX\NUL\STX\ETX\DC2\EOT\164\SOH\EOT8\SUB\208\SOH Information describing the file content being inserted. If an insertion\n\ \ point is used, this information will be appropriately offset and inserted\n\ \ into the code generation metadata for the generated files.\n\ \\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\EOT\DC2\EOT\179\SOH\EOT\f\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\EOT\DC2\EOT\164\SOH\EOT\f\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\ACK\DC2\EOT\179\SOH\r\RS\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\ACK\DC2\EOT\164\SOH\r\RS\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\SOH\DC2\EOT\179\SOH\US2\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\SOH\DC2\EOT\164\SOH\US2\n\ \\SI\n\ - \\a\EOT\STX\ETX\NUL\STX\ETX\ETX\DC2\EOT\179\SOH57\n\ + \\a\EOT\STX\ETX\NUL\STX\ETX\ETX\DC2\EOT\164\SOH57\n\ \\f\n\ - \\EOT\EOT\STX\STX\STX\DC2\EOT\181\SOH\STX\SUB\n\ + \\EOT\EOT\STX\STX\STX\DC2\EOT\166\SOH\STX\SUB\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\181\SOH\STX\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\166\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\181\SOH\v\SI\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\166\SOH\v\SI\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\181\SOH\DLE\DC4\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\166\SOH\DLE\DC4\n\ \\r\n\ - \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\181\SOH\ETB\EM" \ No newline at end of file + \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\166\SOH\ETB\EM" \ No newline at end of file diff --git a/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs b/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs index 18300737..41d42bd5 100644 --- a/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs +++ b/proto-lens-protoc/app/Proto/Google/Protobuf/Compiler/Plugin_Fields.hs @@ -175,6 +175,13 @@ protoFile :: Data.ProtoLens.Field.HasField s "protoFile" a) => Lens.Family2.LensLike' f s a protoFile = Data.ProtoLens.Field.field @"protoFile" +sourceFileDescriptors :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "sourceFileDescriptors" a) => + Lens.Family2.LensLike' f s a +sourceFileDescriptors + = Data.ProtoLens.Field.field @"sourceFileDescriptors" suffix :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "suffix" a) => @@ -204,4 +211,11 @@ vec'protoFile :: (Prelude.Functor f, Data.ProtoLens.Field.HasField s "vec'protoFile" a) => Lens.Family2.LensLike' f s a -vec'protoFile = Data.ProtoLens.Field.field @"vec'protoFile" \ No newline at end of file +vec'protoFile = Data.ProtoLens.Field.field @"vec'protoFile" +vec'sourceFileDescriptors :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'sourceFileDescriptors" a) => + Lens.Family2.LensLike' f s a +vec'sourceFileDescriptors + = Data.ProtoLens.Field.field @"vec'sourceFileDescriptors" \ No newline at end of file diff --git a/proto-lens-protoc/app/Proto/Google/Protobuf/Descriptor.hs b/proto-lens-protoc/app/Proto/Google/Protobuf/Descriptor.hs index 9b33f7a5..6bccafb6 100644 --- a/proto-lens-protoc/app/Proto/Google/Protobuf/Descriptor.hs +++ b/proto-lens-protoc/app/Proto/Google/Protobuf/Descriptor.hs @@ -5,18 +5,33 @@ {-# OPTIONS_GHC -Wno-dodgy-exports#-} module Proto.Google.Protobuf.Descriptor ( DescriptorProto(), DescriptorProto'ExtensionRange(), - DescriptorProto'ReservedRange(), EnumDescriptorProto(), - EnumDescriptorProto'EnumReservedRange(), EnumOptions(), - EnumValueDescriptorProto(), EnumValueOptions(), - ExtensionRangeOptions(), FieldDescriptorProto(), - FieldDescriptorProto'Label(..), FieldDescriptorProto'Label(), - FieldDescriptorProto'Type(..), FieldDescriptorProto'Type(), - FieldOptions(), FieldOptions'CType(..), FieldOptions'CType(), - FieldOptions'JSType(..), FieldOptions'JSType(), - FileDescriptorProto(), FileDescriptorSet(), FileOptions(), - FileOptions'OptimizeMode(..), FileOptions'OptimizeMode(), - GeneratedCodeInfo(), GeneratedCodeInfo'Annotation(), - MessageOptions(), MethodDescriptorProto(), MethodOptions(), + DescriptorProto'ReservedRange(), Edition(..), Edition(), + EnumDescriptorProto(), EnumDescriptorProto'EnumReservedRange(), + EnumOptions(), EnumValueDescriptorProto(), EnumValueOptions(), + ExtensionRangeOptions(), ExtensionRangeOptions'Declaration(), + ExtensionRangeOptions'VerificationState(..), + ExtensionRangeOptions'VerificationState(), FeatureSet(), + FeatureSet'EnumType(..), FeatureSet'EnumType(), + FeatureSet'FieldPresence(..), FeatureSet'FieldPresence(), + FeatureSet'JsonFormat(..), FeatureSet'JsonFormat(), + FeatureSet'MessageEncoding(..), FeatureSet'MessageEncoding(), + FeatureSet'RepeatedFieldEncoding(..), + FeatureSet'RepeatedFieldEncoding(), FeatureSetDefaults(), + FeatureSetDefaults'FeatureSetEditionDefault(), + FieldDescriptorProto(), FieldDescriptorProto'Label(..), + FieldDescriptorProto'Label(), FieldDescriptorProto'Type(..), + FieldDescriptorProto'Type(), FieldOptions(), + FieldOptions'CType(..), FieldOptions'CType(), + FieldOptions'EditionDefault(), FieldOptions'JSType(..), + FieldOptions'JSType(), FieldOptions'OptionRetention(..), + FieldOptions'OptionRetention(), FieldOptions'OptionTargetType(..), + FieldOptions'OptionTargetType(), FileDescriptorProto(), + FileDescriptorSet(), FileOptions(), FileOptions'OptimizeMode(..), + FileOptions'OptimizeMode(), GeneratedCodeInfo(), + GeneratedCodeInfo'Annotation(), + GeneratedCodeInfo'Annotation'Semantic(..), + GeneratedCodeInfo'Annotation'Semantic(), MessageOptions(), + MethodDescriptorProto(), MethodOptions(), MethodOptions'IdempotencyLevel(..), MethodOptions'IdempotencyLevel(), OneofDescriptorProto(), OneofOptions(), ServiceDescriptorProto(), ServiceOptions(), @@ -448,20 +463,16 @@ instance Data.ProtoLens.Message DescriptorProto where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'enumType") - frozen'enumType + (Data.ProtoLens.Field.field @"vec'enumType") frozen'enumType (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'extension") - frozen'extension + (Data.ProtoLens.Field.field @"vec'extension") frozen'extension (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'extensionRange") frozen'extensionRange (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'field") - frozen'field + (Data.ProtoLens.Field.field @"vec'field") frozen'field (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'nestedType") frozen'nestedType @@ -473,32 +484,21 @@ instance Data.ProtoLens.Message DescriptorProto where frozen'reservedName (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'reservedRange") - frozen'reservedRange - x))))))))) + frozen'reservedRange x))))))))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName - mutable'reservedRange + mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName mutable'reservedRange 18 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -509,14 +509,8 @@ instance Data.ProtoLens.Message DescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'field y) loop - x - mutable'enumType - mutable'extension - mutable'extensionRange - v - mutable'nestedType - mutable'oneofDecl - mutable'reservedName + x mutable'enumType mutable'extension mutable'extensionRange v + mutable'nestedType mutable'oneofDecl mutable'reservedName mutable'reservedRange 50 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -528,14 +522,8 @@ instance Data.ProtoLens.Message DescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'extension y) loop - x - mutable'enumType - v - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName + x mutable'enumType v mutable'extensionRange mutable'field + mutable'nestedType mutable'oneofDecl mutable'reservedName mutable'reservedRange 26 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -547,14 +535,8 @@ instance Data.ProtoLens.Message DescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'nestedType y) loop - x - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - v - mutable'oneofDecl - mutable'reservedName + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field v mutable'oneofDecl mutable'reservedName mutable'reservedRange 34 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -566,14 +548,8 @@ instance Data.ProtoLens.Message DescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'enumType y) loop - x - v - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName + x v mutable'extension mutable'extensionRange mutable'field + mutable'nestedType mutable'oneofDecl mutable'reservedName mutable'reservedRange 42 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -586,14 +562,8 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ProtoLens.Encoding.Growing.append mutable'extensionRange y) loop - x - mutable'enumType - mutable'extension - v - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName + x mutable'enumType mutable'extension v mutable'field + mutable'nestedType mutable'oneofDecl mutable'reservedName mutable'reservedRange 66 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -605,14 +575,8 @@ instance Data.ProtoLens.Message DescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'oneofDecl y) loop - x - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - v - mutable'reservedName + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType v mutable'reservedName mutable'reservedRange 58 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -622,14 +586,9 @@ instance Data.ProtoLens.Message DescriptorProto where "options" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName - mutable'reservedRange + mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName mutable'reservedRange 74 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -641,38 +600,21 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ProtoLens.Encoding.Growing.append mutable'reservedRange y) loop - x - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName - v + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName v 82 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "reserved_name" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'reservedName y) loop - x - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - v + x mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl v mutable'reservedRange wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire @@ -680,14 +622,9 @@ instance Data.ProtoLens.Message DescriptorProto where loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName - mutable'reservedRange + mutable'enumType mutable'extension mutable'extensionRange + mutable'field mutable'nestedType mutable'oneofDecl + mutable'reservedName mutable'reservedRange in (Data.ProtoLens.Encoding.Bytes.) (do mutable'enumType <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO @@ -707,15 +644,9 @@ instance Data.ProtoLens.Message DescriptorProto where mutable'reservedRange <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new loop - Data.ProtoLens.defMessage - mutable'enumType - mutable'extension - mutable'extensionRange - mutable'field - mutable'nestedType - mutable'oneofDecl - mutable'reservedName - mutable'reservedRange) + Data.ProtoLens.defMessage mutable'enumType mutable'extension + mutable'extensionRange mutable'field mutable'nestedType + mutable'oneofDecl mutable'reservedName mutable'reservedRange) "DescriptorProto" buildMessage = \ _x @@ -733,8 +664,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -746,8 +676,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'field") _x)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder @@ -760,8 +689,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'extension") _x)) ((Data.Monoid.<>) @@ -775,8 +703,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'nestedType") _x)) ((Data.Monoid.<>) @@ -791,8 +718,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'enumType") _x)) ((Data.Monoid.<>) @@ -807,8 +733,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'extensionRange") _x)) ((Data.Monoid.<>) @@ -823,8 +748,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'oneofDecl") _x)) ((Data.Monoid.<>) @@ -843,8 +767,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -858,8 +781,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'reservedRange") _x)) ((Data.Monoid.<>) @@ -875,8 +797,7 @@ instance Data.ProtoLens.Message DescriptorProto where (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'reservedName") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet @@ -1109,8 +1030,7 @@ instance Data.ProtoLens.Message DescriptorProto'ExtensionRange where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) instance Control.DeepSeq.NFData DescriptorProto'ExtensionRange where @@ -1288,6 +1208,90 @@ instance Control.DeepSeq.NFData DescriptorProto'ReservedRange where (_DescriptorProto'ReservedRange'start x__) (Control.DeepSeq.deepseq (_DescriptorProto'ReservedRange'end x__) ())) +data Edition + = EDITION_UNKNOWN | + EDITION_1_TEST_ONLY | + EDITION_2_TEST_ONLY | + EDITION_2023 | + EDITION_99997_TEST_ONLY | + EDITION_99998_TEST_ONLY | + EDITION_99999_TEST_ONLY + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum Edition where + enumName _ = Data.Text.pack "Edition" + maybeToEnum 0 = Prelude.Just EDITION_UNKNOWN + maybeToEnum 1 = Prelude.Just EDITION_1_TEST_ONLY + maybeToEnum 2 = Prelude.Just EDITION_2_TEST_ONLY + maybeToEnum 1000 = Prelude.Just EDITION_2023 + maybeToEnum 99997 = Prelude.Just EDITION_99997_TEST_ONLY + maybeToEnum 99998 = Prelude.Just EDITION_99998_TEST_ONLY + maybeToEnum 99999 = Prelude.Just EDITION_99999_TEST_ONLY + maybeToEnum _ = Prelude.Nothing + showEnum EDITION_UNKNOWN = "EDITION_UNKNOWN" + showEnum EDITION_2023 = "EDITION_2023" + showEnum EDITION_1_TEST_ONLY = "EDITION_1_TEST_ONLY" + showEnum EDITION_2_TEST_ONLY = "EDITION_2_TEST_ONLY" + showEnum EDITION_99997_TEST_ONLY = "EDITION_99997_TEST_ONLY" + showEnum EDITION_99998_TEST_ONLY = "EDITION_99998_TEST_ONLY" + showEnum EDITION_99999_TEST_ONLY = "EDITION_99999_TEST_ONLY" + readEnum k + | (Prelude.==) k "EDITION_UNKNOWN" = Prelude.Just EDITION_UNKNOWN + | (Prelude.==) k "EDITION_2023" = Prelude.Just EDITION_2023 + | (Prelude.==) k "EDITION_1_TEST_ONLY" + = Prelude.Just EDITION_1_TEST_ONLY + | (Prelude.==) k "EDITION_2_TEST_ONLY" + = Prelude.Just EDITION_2_TEST_ONLY + | (Prelude.==) k "EDITION_99997_TEST_ONLY" + = Prelude.Just EDITION_99997_TEST_ONLY + | (Prelude.==) k "EDITION_99998_TEST_ONLY" + = Prelude.Just EDITION_99998_TEST_ONLY + | (Prelude.==) k "EDITION_99999_TEST_ONLY" + = Prelude.Just EDITION_99999_TEST_ONLY + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded Edition where + minBound = EDITION_UNKNOWN + maxBound = EDITION_99999_TEST_ONLY +instance Prelude.Enum Edition where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Edition: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum EDITION_UNKNOWN = 0 + fromEnum EDITION_1_TEST_ONLY = 1 + fromEnum EDITION_2_TEST_ONLY = 2 + fromEnum EDITION_2023 = 1000 + fromEnum EDITION_99997_TEST_ONLY = 99997 + fromEnum EDITION_99998_TEST_ONLY = 99998 + fromEnum EDITION_99999_TEST_ONLY = 99999 + succ EDITION_99999_TEST_ONLY + = Prelude.error + "Edition.succ: bad argument EDITION_99999_TEST_ONLY. This value would be out of bounds." + succ EDITION_UNKNOWN = EDITION_1_TEST_ONLY + succ EDITION_1_TEST_ONLY = EDITION_2_TEST_ONLY + succ EDITION_2_TEST_ONLY = EDITION_2023 + succ EDITION_2023 = EDITION_99997_TEST_ONLY + succ EDITION_99997_TEST_ONLY = EDITION_99998_TEST_ONLY + succ EDITION_99998_TEST_ONLY = EDITION_99999_TEST_ONLY + pred EDITION_UNKNOWN + = Prelude.error + "Edition.pred: bad argument EDITION_UNKNOWN. This value would be out of bounds." + pred EDITION_1_TEST_ONLY = EDITION_UNKNOWN + pred EDITION_2_TEST_ONLY = EDITION_1_TEST_ONLY + pred EDITION_2023 = EDITION_2_TEST_ONLY + pred EDITION_99997_TEST_ONLY = EDITION_2023 + pred EDITION_99998_TEST_ONLY = EDITION_99997_TEST_ONLY + pred EDITION_99999_TEST_ONLY = EDITION_99998_TEST_ONLY + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault Edition where + fieldDefault = EDITION_UNKNOWN +instance Control.DeepSeq.NFData Edition where + rnf x__ = Prelude.seq x__ () {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' EnumDescriptorProto Data.Text.Text@ @@ -1498,8 +1502,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'reservedName") frozen'reservedName @@ -1513,20 +1516,13 @@ instance Data.ProtoLens.Message EnumDescriptorProto where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) - mutable'reservedName - mutable'reservedRange - mutable'value + mutable'reservedName mutable'reservedRange mutable'value 18 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -1545,9 +1541,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where "options" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) - mutable'reservedName - mutable'reservedRange - mutable'value + mutable'reservedName mutable'reservedRange mutable'value 34 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -1561,14 +1555,9 @@ instance Data.ProtoLens.Message EnumDescriptorProto where loop x mutable'reservedName v mutable'value 42 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "reserved_name" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append @@ -1580,9 +1569,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'reservedName - mutable'reservedRange - mutable'value + mutable'reservedName mutable'reservedRange mutable'value in (Data.ProtoLens.Encoding.Bytes.) (do mutable'reservedName <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO @@ -1592,10 +1579,8 @@ instance Data.ProtoLens.Message EnumDescriptorProto where mutable'value <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new loop - Data.ProtoLens.defMessage - mutable'reservedName - mutable'reservedRange - mutable'value) + Data.ProtoLens.defMessage mutable'reservedName + mutable'reservedRange mutable'value) "EnumDescriptorProto" buildMessage = \ _x @@ -1613,8 +1598,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -1626,8 +1610,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'value") _x)) ((Data.Monoid.<>) (case @@ -1643,8 +1626,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -1656,8 +1638,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'reservedRange") _x)) ((Data.Monoid.<>) @@ -1672,8 +1653,7 @@ instance Data.ProtoLens.Message EnumDescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'reservedName") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet @@ -1869,11 +1849,17 @@ instance Control.DeepSeq.NFData EnumDescriptorProto'EnumReservedRange where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'allowAlias' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' EnumOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecatedLegacyJsonFieldConflicts' @:: Lens' EnumOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecatedLegacyJsonFieldConflicts' @:: Lens' EnumOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' EnumOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' EnumOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' EnumOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' EnumOptions (Data.Vector.Vector UninterpretedOption)@ -} data EnumOptions = EnumOptions'_constructor {_EnumOptions'allowAlias :: !(Prelude.Maybe Prelude.Bool), _EnumOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _EnumOptions'deprecatedLegacyJsonFieldConflicts :: !(Prelude.Maybe Prelude.Bool), + _EnumOptions'features :: !(Prelude.Maybe FeatureSet), _EnumOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _EnumOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -1911,6 +1897,36 @@ instance Data.ProtoLens.Field.HasField EnumOptions "maybe'deprecated" (Prelude.M _EnumOptions'deprecated (\ x__ y__ -> x__ {_EnumOptions'deprecated = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField EnumOptions "deprecatedLegacyJsonFieldConflicts" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_EnumOptions'deprecatedLegacyJsonFieldConflicts = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField EnumOptions "maybe'deprecatedLegacyJsonFieldConflicts" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_EnumOptions'deprecatedLegacyJsonFieldConflicts = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'features + (\ x__ y__ -> x__ {_EnumOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField EnumOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumOptions'features + (\ x__ y__ -> x__ {_EnumOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField EnumOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -1936,7 +1952,9 @@ instance Data.ProtoLens.Message EnumOptions where \allowAlias\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ + \deprecated\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\ACK \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\a \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK" packedFileDescriptor _ = packedFileDescriptor fieldsByTag @@ -1957,6 +1975,23 @@ instance Data.ProtoLens.Message EnumOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'deprecated")) :: Data.ProtoLens.FieldDescriptor EnumOptions + deprecatedLegacyJsonFieldConflicts__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated_legacy_json_field_conflicts" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts")) :: + Data.ProtoLens.FieldDescriptor EnumOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor EnumOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -1970,6 +2005,9 @@ instance Data.ProtoLens.Message EnumOptions where Data.Map.fromList [(Data.ProtoLens.Tag 2, allowAlias__field_descriptor), (Data.ProtoLens.Tag 3, deprecated__field_descriptor), + (Data.ProtoLens.Tag 6, + deprecatedLegacyJsonFieldConflicts__field_descriptor), + (Data.ProtoLens.Tag 7, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -1979,6 +2017,8 @@ instance Data.ProtoLens.Message EnumOptions where = EnumOptions'_constructor {_EnumOptions'allowAlias = Prelude.Nothing, _EnumOptions'deprecated = Prelude.Nothing, + _EnumOptions'deprecatedLegacyJsonFieldConflicts = Prelude.Nothing, + _EnumOptions'features = Prelude.Nothing, _EnumOptions'uninterpretedOption = Data.Vector.Generic.empty, _EnumOptions'_unknownFields = []} parseMessage @@ -2004,12 +2044,10 @@ instance Data.ProtoLens.Message EnumOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -2029,6 +2067,26 @@ instance Data.ProtoLens.Message EnumOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) mutable'uninterpretedOption + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated_legacy_json_field_conflicts" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field + @"deprecatedLegacyJsonFieldConflicts") + y x) + mutable'uninterpretedOption + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -2065,8 +2123,7 @@ instance Data.ProtoLens.Message EnumOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 16) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case @@ -2078,26 +2135,54 @@ instance Data.ProtoLens.Message EnumOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 24) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) instance Control.DeepSeq.NFData EnumOptions where rnf = \ x__ @@ -2108,7 +2193,11 @@ instance Control.DeepSeq.NFData EnumOptions where (Control.DeepSeq.deepseq (_EnumOptions'deprecated x__) (Control.DeepSeq.deepseq - (_EnumOptions'uninterpretedOption x__) ()))) + (_EnumOptions'deprecatedLegacyJsonFieldConflicts x__) + (Control.DeepSeq.deepseq + (_EnumOptions'features x__) + (Control.DeepSeq.deepseq + (_EnumOptions'uninterpretedOption x__) ()))))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' EnumValueDescriptorProto Data.Text.Text@ @@ -2247,14 +2336,9 @@ instance Data.ProtoLens.Message EnumValueDescriptorProto where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) 16 @@ -2296,8 +2380,7 @@ instance Data.ProtoLens.Message EnumValueDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x @@ -2322,8 +2405,7 @@ instance Data.ProtoLens.Message EnumValueDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) instance Control.DeepSeq.NFData EnumValueDescriptorProto where @@ -2341,10 +2423,16 @@ instance Control.DeepSeq.NFData EnumValueDescriptorProto where * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' EnumValueOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' EnumValueOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' EnumValueOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' EnumValueOptions (Prelude.Maybe FeatureSet)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.debugRedact' @:: Lens' EnumValueOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'debugRedact' @:: Lens' EnumValueOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' EnumValueOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' EnumValueOptions (Data.Vector.Vector UninterpretedOption)@ -} data EnumValueOptions = EnumValueOptions'_constructor {_EnumValueOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _EnumValueOptions'features :: !(Prelude.Maybe FeatureSet), + _EnumValueOptions'debugRedact :: !(Prelude.Maybe Prelude.Bool), _EnumValueOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _EnumValueOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -2368,6 +2456,34 @@ instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'deprecated" (Prel _EnumValueOptions'deprecated (\ x__ y__ -> x__ {_EnumValueOptions'deprecated = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'features + (\ x__ y__ -> x__ {_EnumValueOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'features + (\ x__ y__ -> x__ {_EnumValueOptions'features = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField EnumValueOptions "debugRedact" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'debugRedact + (\ x__ y__ -> x__ {_EnumValueOptions'debugRedact = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField EnumValueOptions "maybe'debugRedact" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _EnumValueOptions'debugRedact + (\ x__ y__ -> x__ {_EnumValueOptions'debugRedact = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField EnumValueOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -2391,7 +2507,9 @@ instance Data.ProtoLens.Message EnumValueOptions where \\DLEEnumValueOptions\DC2%\n\ \\n\ \deprecated\CAN\SOH \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ + \deprecated\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2(\n\ + \\fdebug_redact\CAN\ETX \SOH(\b:\ENQfalseR\vdebugRedact\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag @@ -2404,6 +2522,22 @@ instance Data.ProtoLens.Message EnumValueOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'deprecated")) :: Data.ProtoLens.FieldDescriptor EnumValueOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor EnumValueOptions + debugRedact__field_descriptor + = Data.ProtoLens.FieldDescriptor + "debug_redact" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'debugRedact")) :: + Data.ProtoLens.FieldDescriptor EnumValueOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -2416,6 +2550,8 @@ instance Data.ProtoLens.Message EnumValueOptions where in Data.Map.fromList [(Data.ProtoLens.Tag 1, deprecated__field_descriptor), + (Data.ProtoLens.Tag 2, features__field_descriptor), + (Data.ProtoLens.Tag 3, debugRedact__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -2424,6 +2560,8 @@ instance Data.ProtoLens.Message EnumValueOptions where defMessage = EnumValueOptions'_constructor {_EnumValueOptions'deprecated = Prelude.Nothing, + _EnumValueOptions'features = Prelude.Nothing, + _EnumValueOptions'debugRedact = Prelude.Nothing, _EnumValueOptions'uninterpretedOption = Data.Vector.Generic.empty, _EnumValueOptions'_unknownFields = []} parseMessage @@ -2449,12 +2587,10 @@ instance Data.ProtoLens.Message EnumValueOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -2465,6 +2601,23 @@ instance Data.ProtoLens.Message EnumValueOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) mutable'uninterpretedOption + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "debug_redact" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"debugRedact") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -2501,26 +2654,51 @@ instance Data.ProtoLens.Message EnumValueOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 8) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'debugRedact") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData EnumValueOptions where rnf = \ x__ @@ -2529,13 +2707,26 @@ instance Control.DeepSeq.NFData EnumValueOptions where (Control.DeepSeq.deepseq (_EnumValueOptions'deprecated x__) (Control.DeepSeq.deepseq - (_EnumValueOptions'uninterpretedOption x__) ())) + (_EnumValueOptions'features x__) + (Control.DeepSeq.deepseq + (_EnumValueOptions'debugRedact x__) + (Control.DeepSeq.deepseq + (_EnumValueOptions'uninterpretedOption x__) ())))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' ExtensionRangeOptions [UninterpretedOption]@ - * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector UninterpretedOption)@ -} + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector UninterpretedOption)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.declaration' @:: Lens' ExtensionRangeOptions [ExtensionRangeOptions'Declaration]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'declaration' @:: Lens' ExtensionRangeOptions (Data.Vector.Vector ExtensionRangeOptions'Declaration)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' ExtensionRangeOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' ExtensionRangeOptions (Prelude.Maybe FeatureSet)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.verification' @:: Lens' ExtensionRangeOptions ExtensionRangeOptions'VerificationState@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'verification' @:: Lens' ExtensionRangeOptions (Prelude.Maybe ExtensionRangeOptions'VerificationState)@ -} data ExtensionRangeOptions = ExtensionRangeOptions'_constructor {_ExtensionRangeOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _ExtensionRangeOptions'declaration :: !(Data.Vector.Vector ExtensionRangeOptions'Declaration), + _ExtensionRangeOptions'features :: !(Prelude.Maybe FeatureSet), + _ExtensionRangeOptions'verification :: !(Prelude.Maybe ExtensionRangeOptions'VerificationState), _ExtensionRangeOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show ExtensionRangeOptions where @@ -2562,13 +2753,71 @@ instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "vec'uninterpretedO (\ x__ y__ -> x__ {_ExtensionRangeOptions'uninterpretedOption = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "declaration" [ExtensionRangeOptions'Declaration] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'declaration + (\ x__ y__ -> x__ {_ExtensionRangeOptions'declaration = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "vec'declaration" (Data.Vector.Vector ExtensionRangeOptions'Declaration) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'declaration + (\ x__ y__ -> x__ {_ExtensionRangeOptions'declaration = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'features + (\ x__ y__ -> x__ {_ExtensionRangeOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'features + (\ x__ y__ -> x__ {_ExtensionRangeOptions'features = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "verification" ExtensionRangeOptions'VerificationState where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'verification + (\ x__ y__ -> x__ {_ExtensionRangeOptions'verification = y__})) + (Data.ProtoLens.maybeLens ExtensionRangeOptions'UNVERIFIED) +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions "maybe'verification" (Prelude.Maybe ExtensionRangeOptions'VerificationState) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ExtensionRangeOptions'verification + (\ x__ y__ -> x__ {_ExtensionRangeOptions'verification = y__})) + Prelude.id instance Data.ProtoLens.Message ExtensionRangeOptions where messageName _ = Data.Text.pack "google.protobuf.ExtensionRangeOptions" packedMessageDescriptor _ = "\n\ \\NAKExtensionRangeOptions\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\DC2Y\n\ + \\vdeclaration\CAN\STX \ETX(\v22.google.protobuf.ExtensionRangeOptions.DeclarationR\vdeclarationB\ETX\136\SOH\STX\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2h\n\ + \\fverification\CAN\ETX \SOH(\SO28.google.protobuf.ExtensionRangeOptions.VerificationState:\n\ + \UNVERIFIEDR\fverification\SUB\148\SOH\n\ + \\vDeclaration\DC2\SYN\n\ + \\ACKnumber\CAN\SOH \SOH(\ENQR\ACKnumber\DC2\ESC\n\ + \\tfull_name\CAN\STX \SOH(\tR\bfullName\DC2\DC2\n\ + \\EOTtype\CAN\ETX \SOH(\tR\EOTtype\DC2\SUB\n\ + \\breserved\CAN\ENQ \SOH(\bR\breserved\DC2\SUB\n\ + \\brepeated\CAN\ACK \SOH(\bR\brepeatedJ\EOT\b\EOT\DLE\ENQ\"4\n\ + \\DC1VerificationState\DC2\SI\n\ + \\vDECLARATION\DLE\NUL\DC2\SO\n\ + \\n\ + \UNVERIFIED\DLE\SOH*\t\b\232\a\DLE\128\128\128\128\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -2581,9 +2830,37 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"uninterpretedOption")) :: Data.ProtoLens.FieldDescriptor ExtensionRangeOptions - in + declaration__field_descriptor + = Data.ProtoLens.FieldDescriptor + "declaration" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor ExtensionRangeOptions'Declaration) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"declaration")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + verification__field_descriptor + = Data.ProtoLens.FieldDescriptor + "verification" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor ExtensionRangeOptions'VerificationState) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'verification")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions + in Data.Map.fromList - [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor), + (Data.ProtoLens.Tag 2, declaration__field_descriptor), + (Data.ProtoLens.Tag 50, features__field_descriptor), + (Data.ProtoLens.Tag 3, verification__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _ExtensionRangeOptions'_unknownFields @@ -2591,17 +2868,24 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where defMessage = ExtensionRangeOptions'_constructor {_ExtensionRangeOptions'uninterpretedOption = Data.Vector.Generic.empty, + _ExtensionRangeOptions'declaration = Data.Vector.Generic.empty, + _ExtensionRangeOptions'features = Prelude.Nothing, + _ExtensionRangeOptions'verification = Prelude.Nothing, _ExtensionRangeOptions'_unknownFields = []} parseMessage = let loop :: ExtensionRangeOptions - -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption - -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions - loop x mutable'uninterpretedOption + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ExtensionRangeOptions'Declaration + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions + loop x mutable'declaration mutable'uninterpretedOption = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then - do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + do frozen'declaration <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'declaration) + frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'uninterpretedOption) (let missing = [] @@ -2615,12 +2899,12 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + (Data.ProtoLens.Field.field @"vec'declaration") frozen'declaration + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -2634,19 +2918,55 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'uninterpretedOption y) - loop x v + loop x mutable'declaration v + 18 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "declaration" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'declaration y) + loop x v mutable'uninterpretedOption + 402 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'declaration mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "verification" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"verification") y x) + mutable'declaration mutable'uninterpretedOption wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'uninterpretedOption + mutable'declaration mutable'uninterpretedOption in (Data.ProtoLens.Encoding.Bytes.) - (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (do mutable'declaration <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new - loop Data.ProtoLens.defMessage mutable'uninterpretedOption) + loop + Data.ProtoLens.defMessage mutable'declaration + mutable'uninterpretedOption) "ExtensionRangeOptions" buildMessage = \ _x @@ -2661,276 +2981,187 @@ instance Data.ProtoLens.Message ExtensionRangeOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'declaration") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 402) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'verification") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData ExtensionRangeOptions where rnf = \ x__ -> Control.DeepSeq.deepseq (_ExtensionRangeOptions'_unknownFields x__) (Control.DeepSeq.deepseq - (_ExtensionRangeOptions'uninterpretedOption x__) ()) + (_ExtensionRangeOptions'uninterpretedOption x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'declaration x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'features x__) + (Control.DeepSeq.deepseq + (_ExtensionRangeOptions'verification x__) ())))) {- | Fields : - * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FieldDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.number' @:: Lens' FieldDescriptorProto Data.Int.Int32@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'number' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Int.Int32)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.label' @:: Lens' FieldDescriptorProto FieldDescriptorProto'Label@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'label' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldDescriptorProto'Label)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.type'' @:: Lens' FieldDescriptorProto FieldDescriptorProto'Type@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'type'' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldDescriptorProto'Type)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.typeName' @:: Lens' FieldDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'typeName' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.extendee' @:: Lens' FieldDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'extendee' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.defaultValue' @:: Lens' FieldDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'defaultValue' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.oneofIndex' @:: Lens' FieldDescriptorProto Data.Int.Int32@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'oneofIndex' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Int.Int32)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.jsonName' @:: Lens' FieldDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jsonName' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' FieldDescriptorProto FieldOptions@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldOptions)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.proto3Optional' @:: Lens' FieldDescriptorProto Prelude.Bool@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'proto3Optional' @:: Lens' FieldDescriptorProto (Prelude.Maybe Prelude.Bool)@ -} -data FieldDescriptorProto - = FieldDescriptorProto'_constructor {_FieldDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), - _FieldDescriptorProto'number :: !(Prelude.Maybe Data.Int.Int32), - _FieldDescriptorProto'label :: !(Prelude.Maybe FieldDescriptorProto'Label), - _FieldDescriptorProto'type' :: !(Prelude.Maybe FieldDescriptorProto'Type), - _FieldDescriptorProto'typeName :: !(Prelude.Maybe Data.Text.Text), - _FieldDescriptorProto'extendee :: !(Prelude.Maybe Data.Text.Text), - _FieldDescriptorProto'defaultValue :: !(Prelude.Maybe Data.Text.Text), - _FieldDescriptorProto'oneofIndex :: !(Prelude.Maybe Data.Int.Int32), - _FieldDescriptorProto'jsonName :: !(Prelude.Maybe Data.Text.Text), - _FieldDescriptorProto'options :: !(Prelude.Maybe FieldOptions), - _FieldDescriptorProto'proto3Optional :: !(Prelude.Maybe Prelude.Bool), - _FieldDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + * 'Proto.Google.Protobuf.Descriptor_Fields.number' @:: Lens' ExtensionRangeOptions'Declaration Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'number' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.fullName' @:: Lens' ExtensionRangeOptions'Declaration Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'fullName' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.type'' @:: Lens' ExtensionRangeOptions'Declaration Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'type'' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.reserved' @:: Lens' ExtensionRangeOptions'Declaration Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'reserved' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.repeated' @:: Lens' ExtensionRangeOptions'Declaration Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'repeated' @:: Lens' ExtensionRangeOptions'Declaration (Prelude.Maybe Prelude.Bool)@ -} +data ExtensionRangeOptions'Declaration + = ExtensionRangeOptions'Declaration'_constructor {_ExtensionRangeOptions'Declaration'number :: !(Prelude.Maybe Data.Int.Int32), + _ExtensionRangeOptions'Declaration'fullName :: !(Prelude.Maybe Data.Text.Text), + _ExtensionRangeOptions'Declaration'type' :: !(Prelude.Maybe Data.Text.Text), + _ExtensionRangeOptions'Declaration'reserved :: !(Prelude.Maybe Prelude.Bool), + _ExtensionRangeOptions'Declaration'repeated :: !(Prelude.Maybe Prelude.Bool), + _ExtensionRangeOptions'Declaration'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) -instance Prelude.Show FieldDescriptorProto where +instance Prelude.Show ExtensionRangeOptions'Declaration where showsPrec _ __x __s = Prelude.showChar '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "name" Data.Text.Text where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'name - (\ x__ y__ -> x__ {_FieldDescriptorProto'name = y__})) - (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'name - (\ x__ y__ -> x__ {_FieldDescriptorProto'name = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "number" Data.Int.Int32 where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'number - (\ x__ y__ -> x__ {_FieldDescriptorProto'number = y__})) - (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'number" (Prelude.Maybe Data.Int.Int32) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'number - (\ x__ y__ -> x__ {_FieldDescriptorProto'number = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "label" FieldDescriptorProto'Label where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'label - (\ x__ y__ -> x__ {_FieldDescriptorProto'label = y__})) - (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'label" (Prelude.Maybe FieldDescriptorProto'Label) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'label - (\ x__ y__ -> x__ {_FieldDescriptorProto'label = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "type'" FieldDescriptorProto'Type where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'type' - (\ x__ y__ -> x__ {_FieldDescriptorProto'type' = y__})) - (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'type'" (Prelude.Maybe FieldDescriptorProto'Type) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'type' - (\ x__ y__ -> x__ {_FieldDescriptorProto'type' = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "typeName" Data.Text.Text where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'typeName - (\ x__ y__ -> x__ {_FieldDescriptorProto'typeName = y__})) - (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'typeName" (Prelude.Maybe Data.Text.Text) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'typeName - (\ x__ y__ -> x__ {_FieldDescriptorProto'typeName = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "extendee" Data.Text.Text where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "number" Data.Int.Int32 where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'extendee - (\ x__ y__ -> x__ {_FieldDescriptorProto'extendee = y__})) + _ExtensionRangeOptions'Declaration'number + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'number = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'extendee" (Prelude.Maybe Data.Text.Text) where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'number" (Prelude.Maybe Data.Int.Int32) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'extendee - (\ x__ y__ -> x__ {_FieldDescriptorProto'extendee = y__})) + _ExtensionRangeOptions'Declaration'number + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'number = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "defaultValue" Data.Text.Text where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "fullName" Data.Text.Text where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'defaultValue - (\ x__ y__ -> x__ {_FieldDescriptorProto'defaultValue = y__})) + _ExtensionRangeOptions'Declaration'fullName + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'fullName = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'defaultValue" (Prelude.Maybe Data.Text.Text) where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'fullName" (Prelude.Maybe Data.Text.Text) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'defaultValue - (\ x__ y__ -> x__ {_FieldDescriptorProto'defaultValue = y__})) + _ExtensionRangeOptions'Declaration'fullName + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'fullName = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "oneofIndex" Data.Int.Int32 where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "type'" Data.Text.Text where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'oneofIndex - (\ x__ y__ -> x__ {_FieldDescriptorProto'oneofIndex = y__})) + _ExtensionRangeOptions'Declaration'type' + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'type' = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'oneofIndex" (Prelude.Maybe Data.Int.Int32) where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'type'" (Prelude.Maybe Data.Text.Text) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'oneofIndex - (\ x__ y__ -> x__ {_FieldDescriptorProto'oneofIndex = y__})) + _ExtensionRangeOptions'Declaration'type' + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'type' = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "jsonName" Data.Text.Text where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "reserved" Prelude.Bool where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'jsonName - (\ x__ y__ -> x__ {_FieldDescriptorProto'jsonName = y__})) + _ExtensionRangeOptions'Declaration'reserved + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'reserved = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'jsonName" (Prelude.Maybe Data.Text.Text) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'jsonName - (\ x__ y__ -> x__ {_FieldDescriptorProto'jsonName = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "options" FieldOptions where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'reserved" (Prelude.Maybe Prelude.Bool) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'options - (\ x__ y__ -> x__ {_FieldDescriptorProto'options = y__})) - (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'options" (Prelude.Maybe FieldOptions) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'options - (\ x__ y__ -> x__ {_FieldDescriptorProto'options = y__})) + _ExtensionRangeOptions'Declaration'reserved + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'reserved = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "proto3Optional" Prelude.Bool where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "repeated" Prelude.Bool where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'proto3Optional - (\ x__ y__ -> x__ {_FieldDescriptorProto'proto3Optional = y__})) + _ExtensionRangeOptions'Declaration'repeated + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'repeated = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'proto3Optional" (Prelude.Maybe Prelude.Bool) where +instance Data.ProtoLens.Field.HasField ExtensionRangeOptions'Declaration "maybe'repeated" (Prelude.Maybe Prelude.Bool) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldDescriptorProto'proto3Optional - (\ x__ y__ -> x__ {_FieldDescriptorProto'proto3Optional = y__})) + _ExtensionRangeOptions'Declaration'repeated + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'repeated = y__})) Prelude.id -instance Data.ProtoLens.Message FieldDescriptorProto where +instance Data.ProtoLens.Message ExtensionRangeOptions'Declaration where messageName _ - = Data.Text.pack "google.protobuf.FieldDescriptorProto" + = Data.Text.pack + "google.protobuf.ExtensionRangeOptions.Declaration" packedMessageDescriptor _ = "\n\ - \\DC4FieldDescriptorProto\DC2\DC2\n\ - \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ - \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2A\n\ - \\ENQlabel\CAN\EOT \SOH(\SO2+.google.protobuf.FieldDescriptorProto.LabelR\ENQlabel\DC2>\n\ - \\EOTtype\CAN\ENQ \SOH(\SO2*.google.protobuf.FieldDescriptorProto.TypeR\EOTtype\DC2\ESC\n\ - \\ttype_name\CAN\ACK \SOH(\tR\btypeName\DC2\SUB\n\ - \\bextendee\CAN\STX \SOH(\tR\bextendee\DC2#\n\ - \\rdefault_value\CAN\a \SOH(\tR\fdefaultValue\DC2\US\n\ - \\voneof_index\CAN\t \SOH(\ENQR\n\ - \oneofIndex\DC2\ESC\n\ - \\tjson_name\CAN\n\ - \ \SOH(\tR\bjsonName\DC27\n\ - \\aoptions\CAN\b \SOH(\v2\GS.google.protobuf.FieldOptionsR\aoptions\DC2'\n\ - \\SIproto3_optional\CAN\DC1 \SOH(\bR\SOproto3Optional\"\182\STX\n\ - \\EOTType\DC2\SI\n\ - \\vTYPE_DOUBLE\DLE\SOH\DC2\SO\n\ - \\n\ - \TYPE_FLOAT\DLE\STX\DC2\SO\n\ - \\n\ - \TYPE_INT64\DLE\ETX\DC2\SI\n\ - \\vTYPE_UINT64\DLE\EOT\DC2\SO\n\ - \\n\ - \TYPE_INT32\DLE\ENQ\DC2\DLE\n\ - \\fTYPE_FIXED64\DLE\ACK\DC2\DLE\n\ - \\fTYPE_FIXED32\DLE\a\DC2\r\n\ - \\tTYPE_BOOL\DLE\b\DC2\SI\n\ - \\vTYPE_STRING\DLE\t\DC2\SO\n\ - \\n\ - \TYPE_GROUP\DLE\n\ - \\DC2\DLE\n\ - \\fTYPE_MESSAGE\DLE\v\DC2\SO\n\ - \\n\ - \TYPE_BYTES\DLE\f\DC2\SI\n\ - \\vTYPE_UINT32\DLE\r\DC2\r\n\ - \\tTYPE_ENUM\DLE\SO\DC2\DC1\n\ - \\rTYPE_SFIXED32\DLE\SI\DC2\DC1\n\ - \\rTYPE_SFIXED64\DLE\DLE\DC2\SI\n\ - \\vTYPE_SINT32\DLE\DC1\DC2\SI\n\ - \\vTYPE_SINT64\DLE\DC2\"C\n\ - \\ENQLabel\DC2\DC2\n\ - \\SOLABEL_OPTIONAL\DLE\SOH\DC2\DC2\n\ - \\SOLABEL_REQUIRED\DLE\STX\DC2\DC2\n\ - \\SOLABEL_REPEATED\DLE\ETX" + \\vDeclaration\DC2\SYN\n\ + \\ACKnumber\CAN\SOH \SOH(\ENQR\ACKnumber\DC2\ESC\n\ + \\tfull_name\CAN\STX \SOH(\tR\bfullName\DC2\DC2\n\ + \\EOTtype\CAN\ETX \SOH(\tR\EOTtype\DC2\SUB\n\ + \\breserved\CAN\ENQ \SOH(\bR\breserved\DC2\SUB\n\ + \\brepeated\CAN\ACK \SOH(\bR\brepeatedJ\EOT\b\EOT\DLE\ENQ" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let - name__field_descriptor - = Data.ProtoLens.FieldDescriptor - "name" - (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: - Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'name")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto number__field_descriptor = Data.ProtoLens.FieldDescriptor "number" @@ -2938,115 +3169,64 @@ instance Data.ProtoLens.Message FieldDescriptorProto where Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'number")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - label__field_descriptor - = Data.ProtoLens.FieldDescriptor - "label" - (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: - Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto'Label) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'label")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - type'__field_descriptor - = Data.ProtoLens.FieldDescriptor - "type" - (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: - Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto'Type) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'type'")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - typeName__field_descriptor - = Data.ProtoLens.FieldDescriptor - "type_name" - (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: - Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'typeName")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - extendee__field_descriptor - = Data.ProtoLens.FieldDescriptor - "extendee" - (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: - Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'extendee")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - defaultValue__field_descriptor + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + fullName__field_descriptor = Data.ProtoLens.FieldDescriptor - "default_value" + "full_name" (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'defaultValue")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - oneofIndex__field_descriptor - = Data.ProtoLens.FieldDescriptor - "oneof_index" - (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: - Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'oneofIndex")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - jsonName__field_descriptor + (Data.ProtoLens.Field.field @"maybe'fullName")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + type'__field_descriptor = Data.ProtoLens.FieldDescriptor - "json_name" + "type" (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'jsonName")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - options__field_descriptor + (Data.ProtoLens.Field.field @"maybe'type'")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + reserved__field_descriptor = Data.ProtoLens.FieldDescriptor - "options" - (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: - Data.ProtoLens.FieldTypeDescriptor FieldOptions) + "reserved" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'options")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto - proto3Optional__field_descriptor + (Data.ProtoLens.Field.field @"maybe'reserved")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration + repeated__field_descriptor = Data.ProtoLens.FieldDescriptor - "proto3_optional" + "repeated" (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'proto3Optional")) :: - Data.ProtoLens.FieldDescriptor FieldDescriptorProto + (Data.ProtoLens.Field.field @"maybe'repeated")) :: + Data.ProtoLens.FieldDescriptor ExtensionRangeOptions'Declaration in Data.Map.fromList - [(Data.ProtoLens.Tag 1, name__field_descriptor), - (Data.ProtoLens.Tag 3, number__field_descriptor), - (Data.ProtoLens.Tag 4, label__field_descriptor), - (Data.ProtoLens.Tag 5, type'__field_descriptor), - (Data.ProtoLens.Tag 6, typeName__field_descriptor), - (Data.ProtoLens.Tag 2, extendee__field_descriptor), - (Data.ProtoLens.Tag 7, defaultValue__field_descriptor), - (Data.ProtoLens.Tag 9, oneofIndex__field_descriptor), - (Data.ProtoLens.Tag 10, jsonName__field_descriptor), - (Data.ProtoLens.Tag 8, options__field_descriptor), - (Data.ProtoLens.Tag 17, proto3Optional__field_descriptor)] + [(Data.ProtoLens.Tag 1, number__field_descriptor), + (Data.ProtoLens.Tag 2, fullName__field_descriptor), + (Data.ProtoLens.Tag 3, type'__field_descriptor), + (Data.ProtoLens.Tag 5, reserved__field_descriptor), + (Data.ProtoLens.Tag 6, repeated__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens - _FieldDescriptorProto'_unknownFields - (\ x__ y__ -> x__ {_FieldDescriptorProto'_unknownFields = y__}) + _ExtensionRangeOptions'Declaration'_unknownFields + (\ x__ y__ + -> x__ {_ExtensionRangeOptions'Declaration'_unknownFields = y__}) defMessage - = FieldDescriptorProto'_constructor - {_FieldDescriptorProto'name = Prelude.Nothing, - _FieldDescriptorProto'number = Prelude.Nothing, - _FieldDescriptorProto'label = Prelude.Nothing, - _FieldDescriptorProto'type' = Prelude.Nothing, - _FieldDescriptorProto'typeName = Prelude.Nothing, - _FieldDescriptorProto'extendee = Prelude.Nothing, - _FieldDescriptorProto'defaultValue = Prelude.Nothing, - _FieldDescriptorProto'oneofIndex = Prelude.Nothing, - _FieldDescriptorProto'jsonName = Prelude.Nothing, - _FieldDescriptorProto'options = Prelude.Nothing, - _FieldDescriptorProto'proto3Optional = Prelude.Nothing, - _FieldDescriptorProto'_unknownFields = []} + = ExtensionRangeOptions'Declaration'_constructor + {_ExtensionRangeOptions'Declaration'number = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'fullName = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'type' = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'reserved = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'repeated = Prelude.Nothing, + _ExtensionRangeOptions'Declaration'_unknownFields = []} parseMessage = let loop :: - FieldDescriptorProto - -> Data.ProtoLens.Encoding.Bytes.Parser FieldDescriptorProto + ExtensionRangeOptions'Declaration + -> Data.ProtoLens.Encoding.Bytes.Parser ExtensionRangeOptions'Declaration loop x = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then @@ -3065,119 +3245,41 @@ instance Data.ProtoLens.Message FieldDescriptorProto where else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of - 10 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) - "name" - loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) - 24 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap Prelude.fromIntegral Data.ProtoLens.Encoding.Bytes.getVarInt) "number" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) - 32 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - Prelude.toEnum - (Prelude.fmap - Prelude.fromIntegral - Data.ProtoLens.Encoding.Bytes.getVarInt)) - "label" - loop (Lens.Family2.set (Data.ProtoLens.Field.field @"label") y x) - 40 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - Prelude.toEnum - (Prelude.fmap - Prelude.fromIntegral - Data.ProtoLens.Encoding.Bytes.getVarInt)) - "type" - loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x) - 50 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) - "type_name" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"typeName") y x) 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) - "extendee" + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "full_name" loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"extendee") y x) - 58 + (Lens.Family2.set (Data.ProtoLens.Field.field @"fullName") y x) + 26 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) - "default_value" - loop - (Lens.Family2.set - (Data.ProtoLens.Field.field @"defaultValue") y x) - 72 + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "type" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x) + 40 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap - Prelude.fromIntegral - Data.ProtoLens.Encoding.Bytes.getVarInt) - "oneof_index" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"oneofIndex") y x) - 82 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) - "json_name" + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "reserved" loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"jsonName") y x) - 66 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.isolate - (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) - "options" - loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) - 136 + (Lens.Family2.set (Data.ProtoLens.Field.field @"reserved") y x) + 48 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) - "proto3_optional" + "repeated" loop - (Lens.Family2.set - (Data.ProtoLens.Field.field @"proto3Optional") y x) + (Lens.Family2.set (Data.ProtoLens.Field.field @"repeated") y x) wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire @@ -3186,721 +3288,3369 @@ instance Data.ProtoLens.Message FieldDescriptorProto where Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) in (Data.ProtoLens.Encoding.Bytes.) - (do loop Data.ProtoLens.defMessage) "FieldDescriptorProto" + (do loop Data.ProtoLens.defMessage) "Declaration" buildMessage = \ _x -> (Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'fullName") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'label") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'type'") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) ((Prelude..) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) - Prelude.fromEnum - _v)) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'type'") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'reserved") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 40) ((Prelude..) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) - Prelude.fromEnum - _v)) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'typeName") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'repeated") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'extendee") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 18) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'defaultValue") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 58) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'oneofIndex") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 72) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - Prelude.fromIntegral - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'jsonName") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 82) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes - bs)) - Data.Text.Encoding.encodeUtf8 - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'options") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 66) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes - bs)) - Data.ProtoLens.encodeMessage - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field - @"maybe'proto3Optional") - _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 136) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view - Data.ProtoLens.unknownFields _x)))))))))))) -instance Control.DeepSeq.NFData FieldDescriptorProto where + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData ExtensionRangeOptions'Declaration where rnf = \ x__ -> Control.DeepSeq.deepseq - (_FieldDescriptorProto'_unknownFields x__) + (_ExtensionRangeOptions'Declaration'_unknownFields x__) (Control.DeepSeq.deepseq - (_FieldDescriptorProto'name x__) + (_ExtensionRangeOptions'Declaration'number x__) (Control.DeepSeq.deepseq - (_FieldDescriptorProto'number x__) + (_ExtensionRangeOptions'Declaration'fullName x__) (Control.DeepSeq.deepseq - (_FieldDescriptorProto'label x__) + (_ExtensionRangeOptions'Declaration'type' x__) (Control.DeepSeq.deepseq - (_FieldDescriptorProto'type' x__) + (_ExtensionRangeOptions'Declaration'reserved x__) (Control.DeepSeq.deepseq - (_FieldDescriptorProto'typeName x__) - (Control.DeepSeq.deepseq - (_FieldDescriptorProto'extendee x__) - (Control.DeepSeq.deepseq - (_FieldDescriptorProto'defaultValue x__) - (Control.DeepSeq.deepseq - (_FieldDescriptorProto'oneofIndex x__) - (Control.DeepSeq.deepseq - (_FieldDescriptorProto'jsonName x__) - (Control.DeepSeq.deepseq - (_FieldDescriptorProto'options x__) - (Control.DeepSeq.deepseq - (_FieldDescriptorProto'proto3Optional x__) - ()))))))))))) -data FieldDescriptorProto'Label - = FieldDescriptorProto'LABEL_OPTIONAL | - FieldDescriptorProto'LABEL_REQUIRED | - FieldDescriptorProto'LABEL_REPEATED + (_ExtensionRangeOptions'Declaration'repeated x__) ()))))) +data ExtensionRangeOptions'VerificationState + = ExtensionRangeOptions'DECLARATION | + ExtensionRangeOptions'UNVERIFIED deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) -instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Label where - maybeToEnum 1 = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL - maybeToEnum 2 = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED - maybeToEnum 3 = Prelude.Just FieldDescriptorProto'LABEL_REPEATED +instance Data.ProtoLens.MessageEnum ExtensionRangeOptions'VerificationState where + enumName _ = Data.Text.pack "VerificationState" + maybeToEnum 0 = Prelude.Just ExtensionRangeOptions'DECLARATION + maybeToEnum 1 = Prelude.Just ExtensionRangeOptions'UNVERIFIED maybeToEnum _ = Prelude.Nothing - showEnum FieldDescriptorProto'LABEL_OPTIONAL = "LABEL_OPTIONAL" - showEnum FieldDescriptorProto'LABEL_REQUIRED = "LABEL_REQUIRED" - showEnum FieldDescriptorProto'LABEL_REPEATED = "LABEL_REPEATED" + showEnum ExtensionRangeOptions'DECLARATION = "DECLARATION" + showEnum ExtensionRangeOptions'UNVERIFIED = "UNVERIFIED" readEnum k - | (Prelude.==) k "LABEL_OPTIONAL" - = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL - | (Prelude.==) k "LABEL_REQUIRED" - = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED - | (Prelude.==) k "LABEL_REPEATED" - = Prelude.Just FieldDescriptorProto'LABEL_REPEATED + | (Prelude.==) k "DECLARATION" + = Prelude.Just ExtensionRangeOptions'DECLARATION + | (Prelude.==) k "UNVERIFIED" + = Prelude.Just ExtensionRangeOptions'UNVERIFIED | Prelude.otherwise = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum -instance Prelude.Bounded FieldDescriptorProto'Label where - minBound = FieldDescriptorProto'LABEL_OPTIONAL - maxBound = FieldDescriptorProto'LABEL_REPEATED -instance Prelude.Enum FieldDescriptorProto'Label where +instance Prelude.Bounded ExtensionRangeOptions'VerificationState where + minBound = ExtensionRangeOptions'DECLARATION + maxBound = ExtensionRangeOptions'UNVERIFIED +instance Prelude.Enum ExtensionRangeOptions'VerificationState where toEnum k__ = Prelude.maybe (Prelude.error ((Prelude.++) - "toEnum: unknown value for enum Label: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) - fromEnum FieldDescriptorProto'LABEL_OPTIONAL = 1 - fromEnum FieldDescriptorProto'LABEL_REQUIRED = 2 - fromEnum FieldDescriptorProto'LABEL_REPEATED = 3 - succ FieldDescriptorProto'LABEL_REPEATED + "toEnum: unknown value for enum VerificationState: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum ExtensionRangeOptions'DECLARATION = 0 + fromEnum ExtensionRangeOptions'UNVERIFIED = 1 + succ ExtensionRangeOptions'UNVERIFIED = Prelude.error - "FieldDescriptorProto'Label.succ: bad argument FieldDescriptorProto'LABEL_REPEATED. This value would be out of bounds." - succ FieldDescriptorProto'LABEL_OPTIONAL - = FieldDescriptorProto'LABEL_REQUIRED - succ FieldDescriptorProto'LABEL_REQUIRED - = FieldDescriptorProto'LABEL_REPEATED - pred FieldDescriptorProto'LABEL_OPTIONAL + "ExtensionRangeOptions'VerificationState.succ: bad argument ExtensionRangeOptions'UNVERIFIED. This value would be out of bounds." + succ ExtensionRangeOptions'DECLARATION + = ExtensionRangeOptions'UNVERIFIED + pred ExtensionRangeOptions'DECLARATION = Prelude.error - "FieldDescriptorProto'Label.pred: bad argument FieldDescriptorProto'LABEL_OPTIONAL. This value would be out of bounds." - pred FieldDescriptorProto'LABEL_REQUIRED - = FieldDescriptorProto'LABEL_OPTIONAL - pred FieldDescriptorProto'LABEL_REPEATED - = FieldDescriptorProto'LABEL_REQUIRED + "ExtensionRangeOptions'VerificationState.pred: bad argument ExtensionRangeOptions'DECLARATION. This value would be out of bounds." + pred ExtensionRangeOptions'UNVERIFIED + = ExtensionRangeOptions'DECLARATION enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo -instance Data.ProtoLens.FieldDefault FieldDescriptorProto'Label where - fieldDefault = FieldDescriptorProto'LABEL_OPTIONAL -instance Control.DeepSeq.NFData FieldDescriptorProto'Label where - rnf x__ = Prelude.seq x__ () -data FieldDescriptorProto'Type - = FieldDescriptorProto'TYPE_DOUBLE | - FieldDescriptorProto'TYPE_FLOAT | - FieldDescriptorProto'TYPE_INT64 | - FieldDescriptorProto'TYPE_UINT64 | - FieldDescriptorProto'TYPE_INT32 | - FieldDescriptorProto'TYPE_FIXED64 | - FieldDescriptorProto'TYPE_FIXED32 | - FieldDescriptorProto'TYPE_BOOL | - FieldDescriptorProto'TYPE_STRING | - FieldDescriptorProto'TYPE_GROUP | - FieldDescriptorProto'TYPE_MESSAGE | - FieldDescriptorProto'TYPE_BYTES | - FieldDescriptorProto'TYPE_UINT32 | - FieldDescriptorProto'TYPE_ENUM | - FieldDescriptorProto'TYPE_SFIXED32 | - FieldDescriptorProto'TYPE_SFIXED64 | - FieldDescriptorProto'TYPE_SINT32 | - FieldDescriptorProto'TYPE_SINT64 - deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) -instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Type where - maybeToEnum 1 = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE - maybeToEnum 2 = Prelude.Just FieldDescriptorProto'TYPE_FLOAT - maybeToEnum 3 = Prelude.Just FieldDescriptorProto'TYPE_INT64 - maybeToEnum 4 = Prelude.Just FieldDescriptorProto'TYPE_UINT64 - maybeToEnum 5 = Prelude.Just FieldDescriptorProto'TYPE_INT32 - maybeToEnum 6 = Prelude.Just FieldDescriptorProto'TYPE_FIXED64 - maybeToEnum 7 = Prelude.Just FieldDescriptorProto'TYPE_FIXED32 - maybeToEnum 8 = Prelude.Just FieldDescriptorProto'TYPE_BOOL - maybeToEnum 9 = Prelude.Just FieldDescriptorProto'TYPE_STRING - maybeToEnum 10 = Prelude.Just FieldDescriptorProto'TYPE_GROUP - maybeToEnum 11 = Prelude.Just FieldDescriptorProto'TYPE_MESSAGE - maybeToEnum 12 = Prelude.Just FieldDescriptorProto'TYPE_BYTES - maybeToEnum 13 = Prelude.Just FieldDescriptorProto'TYPE_UINT32 - maybeToEnum 14 = Prelude.Just FieldDescriptorProto'TYPE_ENUM - maybeToEnum 15 = Prelude.Just FieldDescriptorProto'TYPE_SFIXED32 - maybeToEnum 16 = Prelude.Just FieldDescriptorProto'TYPE_SFIXED64 - maybeToEnum 17 = Prelude.Just FieldDescriptorProto'TYPE_SINT32 - maybeToEnum 18 = Prelude.Just FieldDescriptorProto'TYPE_SINT64 - maybeToEnum _ = Prelude.Nothing - showEnum FieldDescriptorProto'TYPE_DOUBLE = "TYPE_DOUBLE" - showEnum FieldDescriptorProto'TYPE_FLOAT = "TYPE_FLOAT" - showEnum FieldDescriptorProto'TYPE_INT64 = "TYPE_INT64" - showEnum FieldDescriptorProto'TYPE_UINT64 = "TYPE_UINT64" - showEnum FieldDescriptorProto'TYPE_INT32 = "TYPE_INT32" - showEnum FieldDescriptorProto'TYPE_FIXED64 = "TYPE_FIXED64" - showEnum FieldDescriptorProto'TYPE_FIXED32 = "TYPE_FIXED32" - showEnum FieldDescriptorProto'TYPE_BOOL = "TYPE_BOOL" - showEnum FieldDescriptorProto'TYPE_STRING = "TYPE_STRING" - showEnum FieldDescriptorProto'TYPE_GROUP = "TYPE_GROUP" - showEnum FieldDescriptorProto'TYPE_MESSAGE = "TYPE_MESSAGE" - showEnum FieldDescriptorProto'TYPE_BYTES = "TYPE_BYTES" - showEnum FieldDescriptorProto'TYPE_UINT32 = "TYPE_UINT32" - showEnum FieldDescriptorProto'TYPE_ENUM = "TYPE_ENUM" - showEnum FieldDescriptorProto'TYPE_SFIXED32 = "TYPE_SFIXED32" - showEnum FieldDescriptorProto'TYPE_SFIXED64 = "TYPE_SFIXED64" - showEnum FieldDescriptorProto'TYPE_SINT32 = "TYPE_SINT32" - showEnum FieldDescriptorProto'TYPE_SINT64 = "TYPE_SINT64" - readEnum k - | (Prelude.==) k "TYPE_DOUBLE" - = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE - | (Prelude.==) k "TYPE_FLOAT" - = Prelude.Just FieldDescriptorProto'TYPE_FLOAT - | (Prelude.==) k "TYPE_INT64" - = Prelude.Just FieldDescriptorProto'TYPE_INT64 - | (Prelude.==) k "TYPE_UINT64" - = Prelude.Just FieldDescriptorProto'TYPE_UINT64 - | (Prelude.==) k "TYPE_INT32" - = Prelude.Just FieldDescriptorProto'TYPE_INT32 - | (Prelude.==) k "TYPE_FIXED64" - = Prelude.Just FieldDescriptorProto'TYPE_FIXED64 - | (Prelude.==) k "TYPE_FIXED32" - = Prelude.Just FieldDescriptorProto'TYPE_FIXED32 - | (Prelude.==) k "TYPE_BOOL" - = Prelude.Just FieldDescriptorProto'TYPE_BOOL - | (Prelude.==) k "TYPE_STRING" - = Prelude.Just FieldDescriptorProto'TYPE_STRING - | (Prelude.==) k "TYPE_GROUP" - = Prelude.Just FieldDescriptorProto'TYPE_GROUP - | (Prelude.==) k "TYPE_MESSAGE" - = Prelude.Just FieldDescriptorProto'TYPE_MESSAGE - | (Prelude.==) k "TYPE_BYTES" - = Prelude.Just FieldDescriptorProto'TYPE_BYTES - | (Prelude.==) k "TYPE_UINT32" - = Prelude.Just FieldDescriptorProto'TYPE_UINT32 - | (Prelude.==) k "TYPE_ENUM" - = Prelude.Just FieldDescriptorProto'TYPE_ENUM - | (Prelude.==) k "TYPE_SFIXED32" - = Prelude.Just FieldDescriptorProto'TYPE_SFIXED32 - | (Prelude.==) k "TYPE_SFIXED64" - = Prelude.Just FieldDescriptorProto'TYPE_SFIXED64 - | (Prelude.==) k "TYPE_SINT32" - = Prelude.Just FieldDescriptorProto'TYPE_SINT32 - | (Prelude.==) k "TYPE_SINT64" - = Prelude.Just FieldDescriptorProto'TYPE_SINT64 - | Prelude.otherwise - = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum -instance Prelude.Bounded FieldDescriptorProto'Type where - minBound = FieldDescriptorProto'TYPE_DOUBLE - maxBound = FieldDescriptorProto'TYPE_SINT64 -instance Prelude.Enum FieldDescriptorProto'Type where - toEnum k__ - = Prelude.maybe - (Prelude.error - ((Prelude.++) - "toEnum: unknown value for enum Type: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) - fromEnum FieldDescriptorProto'TYPE_DOUBLE = 1 - fromEnum FieldDescriptorProto'TYPE_FLOAT = 2 - fromEnum FieldDescriptorProto'TYPE_INT64 = 3 - fromEnum FieldDescriptorProto'TYPE_UINT64 = 4 - fromEnum FieldDescriptorProto'TYPE_INT32 = 5 - fromEnum FieldDescriptorProto'TYPE_FIXED64 = 6 - fromEnum FieldDescriptorProto'TYPE_FIXED32 = 7 - fromEnum FieldDescriptorProto'TYPE_BOOL = 8 - fromEnum FieldDescriptorProto'TYPE_STRING = 9 - fromEnum FieldDescriptorProto'TYPE_GROUP = 10 - fromEnum FieldDescriptorProto'TYPE_MESSAGE = 11 - fromEnum FieldDescriptorProto'TYPE_BYTES = 12 - fromEnum FieldDescriptorProto'TYPE_UINT32 = 13 - fromEnum FieldDescriptorProto'TYPE_ENUM = 14 - fromEnum FieldDescriptorProto'TYPE_SFIXED32 = 15 - fromEnum FieldDescriptorProto'TYPE_SFIXED64 = 16 - fromEnum FieldDescriptorProto'TYPE_SINT32 = 17 - fromEnum FieldDescriptorProto'TYPE_SINT64 = 18 - succ FieldDescriptorProto'TYPE_SINT64 - = Prelude.error - "FieldDescriptorProto'Type.succ: bad argument FieldDescriptorProto'TYPE_SINT64. This value would be out of bounds." - succ FieldDescriptorProto'TYPE_DOUBLE - = FieldDescriptorProto'TYPE_FLOAT - succ FieldDescriptorProto'TYPE_FLOAT - = FieldDescriptorProto'TYPE_INT64 - succ FieldDescriptorProto'TYPE_INT64 - = FieldDescriptorProto'TYPE_UINT64 - succ FieldDescriptorProto'TYPE_UINT64 - = FieldDescriptorProto'TYPE_INT32 - succ FieldDescriptorProto'TYPE_INT32 - = FieldDescriptorProto'TYPE_FIXED64 - succ FieldDescriptorProto'TYPE_FIXED64 - = FieldDescriptorProto'TYPE_FIXED32 - succ FieldDescriptorProto'TYPE_FIXED32 - = FieldDescriptorProto'TYPE_BOOL - succ FieldDescriptorProto'TYPE_BOOL - = FieldDescriptorProto'TYPE_STRING - succ FieldDescriptorProto'TYPE_STRING - = FieldDescriptorProto'TYPE_GROUP - succ FieldDescriptorProto'TYPE_GROUP - = FieldDescriptorProto'TYPE_MESSAGE - succ FieldDescriptorProto'TYPE_MESSAGE - = FieldDescriptorProto'TYPE_BYTES - succ FieldDescriptorProto'TYPE_BYTES - = FieldDescriptorProto'TYPE_UINT32 - succ FieldDescriptorProto'TYPE_UINT32 - = FieldDescriptorProto'TYPE_ENUM - succ FieldDescriptorProto'TYPE_ENUM - = FieldDescriptorProto'TYPE_SFIXED32 - succ FieldDescriptorProto'TYPE_SFIXED32 - = FieldDescriptorProto'TYPE_SFIXED64 - succ FieldDescriptorProto'TYPE_SFIXED64 - = FieldDescriptorProto'TYPE_SINT32 - succ FieldDescriptorProto'TYPE_SINT32 - = FieldDescriptorProto'TYPE_SINT64 - pred FieldDescriptorProto'TYPE_DOUBLE - = Prelude.error - "FieldDescriptorProto'Type.pred: bad argument FieldDescriptorProto'TYPE_DOUBLE. This value would be out of bounds." - pred FieldDescriptorProto'TYPE_FLOAT - = FieldDescriptorProto'TYPE_DOUBLE - pred FieldDescriptorProto'TYPE_INT64 - = FieldDescriptorProto'TYPE_FLOAT - pred FieldDescriptorProto'TYPE_UINT64 - = FieldDescriptorProto'TYPE_INT64 - pred FieldDescriptorProto'TYPE_INT32 - = FieldDescriptorProto'TYPE_UINT64 - pred FieldDescriptorProto'TYPE_FIXED64 - = FieldDescriptorProto'TYPE_INT32 - pred FieldDescriptorProto'TYPE_FIXED32 - = FieldDescriptorProto'TYPE_FIXED64 - pred FieldDescriptorProto'TYPE_BOOL - = FieldDescriptorProto'TYPE_FIXED32 - pred FieldDescriptorProto'TYPE_STRING - = FieldDescriptorProto'TYPE_BOOL - pred FieldDescriptorProto'TYPE_GROUP - = FieldDescriptorProto'TYPE_STRING - pred FieldDescriptorProto'TYPE_MESSAGE - = FieldDescriptorProto'TYPE_GROUP - pred FieldDescriptorProto'TYPE_BYTES - = FieldDescriptorProto'TYPE_MESSAGE - pred FieldDescriptorProto'TYPE_UINT32 - = FieldDescriptorProto'TYPE_BYTES - pred FieldDescriptorProto'TYPE_ENUM - = FieldDescriptorProto'TYPE_UINT32 - pred FieldDescriptorProto'TYPE_SFIXED32 - = FieldDescriptorProto'TYPE_ENUM - pred FieldDescriptorProto'TYPE_SFIXED64 - = FieldDescriptorProto'TYPE_SFIXED32 - pred FieldDescriptorProto'TYPE_SINT32 - = FieldDescriptorProto'TYPE_SFIXED64 - pred FieldDescriptorProto'TYPE_SINT64 - = FieldDescriptorProto'TYPE_SINT32 - enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom - enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo - enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen - enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo -instance Data.ProtoLens.FieldDefault FieldDescriptorProto'Type where - fieldDefault = FieldDescriptorProto'TYPE_DOUBLE -instance Control.DeepSeq.NFData FieldDescriptorProto'Type where +instance Data.ProtoLens.FieldDefault ExtensionRangeOptions'VerificationState where + fieldDefault = ExtensionRangeOptions'DECLARATION +instance Control.DeepSeq.NFData ExtensionRangeOptions'VerificationState where rnf x__ = Prelude.seq x__ () {- | Fields : - * 'Proto.Google.Protobuf.Descriptor_Fields.ctype' @:: Lens' FieldOptions FieldOptions'CType@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'ctype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'CType)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.packed' @:: Lens' FieldOptions Prelude.Bool@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'packed' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.jstype' @:: Lens' FieldOptions FieldOptions'JSType@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jstype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'JSType)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.lazy' @:: Lens' FieldOptions Prelude.Bool@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'lazy' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' FieldOptions Prelude.Bool@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.weak' @:: Lens' FieldOptions Prelude.Bool@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'weak' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ - * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FieldOptions [UninterpretedOption]@ - * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FieldOptions (Data.Vector.Vector UninterpretedOption)@ -} -data FieldOptions - = FieldOptions'_constructor {_FieldOptions'ctype :: !(Prelude.Maybe FieldOptions'CType), - _FieldOptions'packed :: !(Prelude.Maybe Prelude.Bool), - _FieldOptions'jstype :: !(Prelude.Maybe FieldOptions'JSType), - _FieldOptions'lazy :: !(Prelude.Maybe Prelude.Bool), - _FieldOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), - _FieldOptions'weak :: !(Prelude.Maybe Prelude.Bool), - _FieldOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), - _FieldOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + * 'Proto.Google.Protobuf.Descriptor_Fields.fieldPresence' @:: Lens' FeatureSet FeatureSet'FieldPresence@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'fieldPresence' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'FieldPresence)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.enumType' @:: Lens' FeatureSet FeatureSet'EnumType@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'enumType' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'EnumType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.repeatedFieldEncoding' @:: Lens' FeatureSet FeatureSet'RepeatedFieldEncoding@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'repeatedFieldEncoding' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'RepeatedFieldEncoding)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.messageEncoding' @:: Lens' FeatureSet FeatureSet'MessageEncoding@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'messageEncoding' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'MessageEncoding)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.jsonFormat' @:: Lens' FeatureSet FeatureSet'JsonFormat@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jsonFormat' @:: Lens' FeatureSet (Prelude.Maybe FeatureSet'JsonFormat)@ -} +data FeatureSet + = FeatureSet'_constructor {_FeatureSet'fieldPresence :: !(Prelude.Maybe FeatureSet'FieldPresence), + _FeatureSet'enumType :: !(Prelude.Maybe FeatureSet'EnumType), + _FeatureSet'repeatedFieldEncoding :: !(Prelude.Maybe FeatureSet'RepeatedFieldEncoding), + _FeatureSet'messageEncoding :: !(Prelude.Maybe FeatureSet'MessageEncoding), + _FeatureSet'jsonFormat :: !(Prelude.Maybe FeatureSet'JsonFormat), + _FeatureSet'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) -instance Prelude.Show FieldOptions where +instance Prelude.Show FeatureSet where showsPrec _ __x __s = Prelude.showChar '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) -instance Data.ProtoLens.Field.HasField FieldOptions "ctype" FieldOptions'CType where +instance Data.ProtoLens.Field.HasField FeatureSet "fieldPresence" FeatureSet'FieldPresence where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'ctype (\ x__ y__ -> x__ {_FieldOptions'ctype = y__})) - (Data.ProtoLens.maybeLens FieldOptions'STRING) -instance Data.ProtoLens.Field.HasField FieldOptions "maybe'ctype" (Prelude.Maybe FieldOptions'CType) where + _FeatureSet'fieldPresence + (\ x__ y__ -> x__ {_FeatureSet'fieldPresence = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'fieldPresence" (Prelude.Maybe FeatureSet'FieldPresence) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'ctype (\ x__ y__ -> x__ {_FieldOptions'ctype = y__})) + _FeatureSet'fieldPresence + (\ x__ y__ -> x__ {_FeatureSet'fieldPresence = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldOptions "packed" Prelude.Bool where +instance Data.ProtoLens.Field.HasField FeatureSet "enumType" FeatureSet'EnumType where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'enumType + (\ x__ y__ -> x__ {_FeatureSet'enumType = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'enumType" (Prelude.Maybe FeatureSet'EnumType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'enumType + (\ x__ y__ -> x__ {_FeatureSet'enumType = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "repeatedFieldEncoding" FeatureSet'RepeatedFieldEncoding where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'repeatedFieldEncoding + (\ x__ y__ -> x__ {_FeatureSet'repeatedFieldEncoding = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'repeatedFieldEncoding" (Prelude.Maybe FeatureSet'RepeatedFieldEncoding) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'repeatedFieldEncoding + (\ x__ y__ -> x__ {_FeatureSet'repeatedFieldEncoding = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "messageEncoding" FeatureSet'MessageEncoding where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'messageEncoding + (\ x__ y__ -> x__ {_FeatureSet'messageEncoding = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'messageEncoding" (Prelude.Maybe FeatureSet'MessageEncoding) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'messageEncoding + (\ x__ y__ -> x__ {_FeatureSet'messageEncoding = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSet "jsonFormat" FeatureSet'JsonFormat where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'jsonFormat + (\ x__ y__ -> x__ {_FeatureSet'jsonFormat = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSet "maybe'jsonFormat" (Prelude.Maybe FeatureSet'JsonFormat) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSet'jsonFormat + (\ x__ y__ -> x__ {_FeatureSet'jsonFormat = y__})) + Prelude.id +instance Data.ProtoLens.Message FeatureSet where + messageName _ = Data.Text.pack "google.protobuf.FeatureSet" + packedMessageDescriptor _ + = "\n\ + \\n\ + \FeatureSet\DC2k\n\ + \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\CAN\232\a\DC2\bEXPLICIT\DC2X\n\ + \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\CAN\232\a\DC2\EOTOPEN\DC2\130\SOH\n\ + \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\CAN\232\a\DC2\ACKPACKED\DC2x\n\ + \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\CAN\232\a\DC2\SILENGTH_PREFIXED\DC2b\n\ + \\vjson_format\CAN\ACK \SOH(\SO2&.google.protobuf.FeatureSet.JsonFormatR\n\ + \jsonFormatB\EM\136\SOH\SOH\152\SOH\ETX\152\SOH\ACK\152\SOH\SOH\162\SOH\n\ + \\CAN\232\a\DC2\ENQALLOW\"\\\n\ + \\rFieldPresence\DC2\SUB\n\ + \\SYNFIELD_PRESENCE_UNKNOWN\DLE\NUL\DC2\f\n\ + \\bEXPLICIT\DLE\SOH\DC2\f\n\ + \\bIMPLICIT\DLE\STX\DC2\DC3\n\ + \\SILEGACY_REQUIRED\DLE\ETX\"7\n\ + \\bEnumType\DC2\NAK\n\ + \\DC1ENUM_TYPE_UNKNOWN\DLE\NUL\DC2\b\n\ + \\EOTOPEN\DLE\SOH\DC2\n\ + \\n\ + \\ACKCLOSED\DLE\STX\"V\n\ + \\NAKRepeatedFieldEncoding\DC2#\n\ + \\USREPEATED_FIELD_ENCODING_UNKNOWN\DLE\NUL\DC2\n\ + \\n\ + \\ACKPACKED\DLE\SOH\DC2\f\n\ + \\bEXPANDED\DLE\STX\"S\n\ + \\SIMessageEncoding\DC2\FS\n\ + \\CANMESSAGE_ENCODING_UNKNOWN\DLE\NUL\DC2\DC3\n\ + \\SILENGTH_PREFIXED\DLE\SOH\DC2\r\n\ + \\tDELIMITED\DLE\STX\"H\n\ + \\n\ + \JsonFormat\DC2\ETB\n\ + \\DC3JSON_FORMAT_UNKNOWN\DLE\NUL\DC2\t\n\ + \\ENQALLOW\DLE\SOH\DC2\SYN\n\ + \\DC2LEGACY_BEST_EFFORT\DLE\STX*\ACK\b\232\a\DLE\233\a*\ACK\b\233\a\DLE\234\a*\ACK\b\139N\DLE\144NJ\EOT\b\EOT\DLE\ENQJ\ACK\b\231\a\DLE\232\a" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + fieldPresence__field_descriptor + = Data.ProtoLens.FieldDescriptor + "field_presence" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'FieldPresence) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'fieldPresence")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + enumType__field_descriptor + = Data.ProtoLens.FieldDescriptor + "enum_type" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'EnumType) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'enumType")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + repeatedFieldEncoding__field_descriptor + = Data.ProtoLens.FieldDescriptor + "repeated_field_encoding" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'RepeatedFieldEncoding) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'repeatedFieldEncoding")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + messageEncoding__field_descriptor + = Data.ProtoLens.FieldDescriptor + "message_encoding" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'MessageEncoding) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'messageEncoding")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + jsonFormat__field_descriptor + = Data.ProtoLens.FieldDescriptor + "json_format" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet'JsonFormat) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'jsonFormat")) :: + Data.ProtoLens.FieldDescriptor FeatureSet + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, fieldPresence__field_descriptor), + (Data.ProtoLens.Tag 2, enumType__field_descriptor), + (Data.ProtoLens.Tag 3, repeatedFieldEncoding__field_descriptor), + (Data.ProtoLens.Tag 5, messageEncoding__field_descriptor), + (Data.ProtoLens.Tag 6, jsonFormat__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FeatureSet'_unknownFields + (\ x__ y__ -> x__ {_FeatureSet'_unknownFields = y__}) + defMessage + = FeatureSet'_constructor + {_FeatureSet'fieldPresence = Prelude.Nothing, + _FeatureSet'enumType = Prelude.Nothing, + _FeatureSet'repeatedFieldEncoding = Prelude.Nothing, + _FeatureSet'messageEncoding = Prelude.Nothing, + _FeatureSet'jsonFormat = Prelude.Nothing, + _FeatureSet'_unknownFields = []} + parseMessage + = let + loop :: + FeatureSet -> Data.ProtoLens.Encoding.Bytes.Parser FeatureSet + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "field_presence" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"fieldPresence") y x) + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "enum_type" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"enumType") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "repeated_field_encoding" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"repeatedFieldEncoding") y x) + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "message_encoding" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"messageEncoding") y x) + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "json_format" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jsonFormat") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FeatureSet" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'fieldPresence") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'enumType") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'repeatedFieldEncoding") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'messageEncoding") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'jsonFormat") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData FeatureSet where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FeatureSet'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FeatureSet'fieldPresence x__) + (Control.DeepSeq.deepseq + (_FeatureSet'enumType x__) + (Control.DeepSeq.deepseq + (_FeatureSet'repeatedFieldEncoding x__) + (Control.DeepSeq.deepseq + (_FeatureSet'messageEncoding x__) + (Control.DeepSeq.deepseq (_FeatureSet'jsonFormat x__) ()))))) +data FeatureSet'EnumType + = FeatureSet'ENUM_TYPE_UNKNOWN | + FeatureSet'OPEN | + FeatureSet'CLOSED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'EnumType where + enumName _ = Data.Text.pack "EnumType" + maybeToEnum 0 = Prelude.Just FeatureSet'ENUM_TYPE_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'OPEN + maybeToEnum 2 = Prelude.Just FeatureSet'CLOSED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'ENUM_TYPE_UNKNOWN = "ENUM_TYPE_UNKNOWN" + showEnum FeatureSet'OPEN = "OPEN" + showEnum FeatureSet'CLOSED = "CLOSED" + readEnum k + | (Prelude.==) k "ENUM_TYPE_UNKNOWN" + = Prelude.Just FeatureSet'ENUM_TYPE_UNKNOWN + | (Prelude.==) k "OPEN" = Prelude.Just FeatureSet'OPEN + | (Prelude.==) k "CLOSED" = Prelude.Just FeatureSet'CLOSED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'EnumType where + minBound = FeatureSet'ENUM_TYPE_UNKNOWN + maxBound = FeatureSet'CLOSED +instance Prelude.Enum FeatureSet'EnumType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum EnumType: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'ENUM_TYPE_UNKNOWN = 0 + fromEnum FeatureSet'OPEN = 1 + fromEnum FeatureSet'CLOSED = 2 + succ FeatureSet'CLOSED + = Prelude.error + "FeatureSet'EnumType.succ: bad argument FeatureSet'CLOSED. This value would be out of bounds." + succ FeatureSet'ENUM_TYPE_UNKNOWN = FeatureSet'OPEN + succ FeatureSet'OPEN = FeatureSet'CLOSED + pred FeatureSet'ENUM_TYPE_UNKNOWN + = Prelude.error + "FeatureSet'EnumType.pred: bad argument FeatureSet'ENUM_TYPE_UNKNOWN. This value would be out of bounds." + pred FeatureSet'OPEN = FeatureSet'ENUM_TYPE_UNKNOWN + pred FeatureSet'CLOSED = FeatureSet'OPEN + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'EnumType where + fieldDefault = FeatureSet'ENUM_TYPE_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'EnumType where + rnf x__ = Prelude.seq x__ () +data FeatureSet'FieldPresence + = FeatureSet'FIELD_PRESENCE_UNKNOWN | + FeatureSet'EXPLICIT | + FeatureSet'IMPLICIT | + FeatureSet'LEGACY_REQUIRED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'FieldPresence where + enumName _ = Data.Text.pack "FieldPresence" + maybeToEnum 0 = Prelude.Just FeatureSet'FIELD_PRESENCE_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'EXPLICIT + maybeToEnum 2 = Prelude.Just FeatureSet'IMPLICIT + maybeToEnum 3 = Prelude.Just FeatureSet'LEGACY_REQUIRED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'FIELD_PRESENCE_UNKNOWN + = "FIELD_PRESENCE_UNKNOWN" + showEnum FeatureSet'EXPLICIT = "EXPLICIT" + showEnum FeatureSet'IMPLICIT = "IMPLICIT" + showEnum FeatureSet'LEGACY_REQUIRED = "LEGACY_REQUIRED" + readEnum k + | (Prelude.==) k "FIELD_PRESENCE_UNKNOWN" + = Prelude.Just FeatureSet'FIELD_PRESENCE_UNKNOWN + | (Prelude.==) k "EXPLICIT" = Prelude.Just FeatureSet'EXPLICIT + | (Prelude.==) k "IMPLICIT" = Prelude.Just FeatureSet'IMPLICIT + | (Prelude.==) k "LEGACY_REQUIRED" + = Prelude.Just FeatureSet'LEGACY_REQUIRED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'FieldPresence where + minBound = FeatureSet'FIELD_PRESENCE_UNKNOWN + maxBound = FeatureSet'LEGACY_REQUIRED +instance Prelude.Enum FeatureSet'FieldPresence where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum FieldPresence: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'FIELD_PRESENCE_UNKNOWN = 0 + fromEnum FeatureSet'EXPLICIT = 1 + fromEnum FeatureSet'IMPLICIT = 2 + fromEnum FeatureSet'LEGACY_REQUIRED = 3 + succ FeatureSet'LEGACY_REQUIRED + = Prelude.error + "FeatureSet'FieldPresence.succ: bad argument FeatureSet'LEGACY_REQUIRED. This value would be out of bounds." + succ FeatureSet'FIELD_PRESENCE_UNKNOWN = FeatureSet'EXPLICIT + succ FeatureSet'EXPLICIT = FeatureSet'IMPLICIT + succ FeatureSet'IMPLICIT = FeatureSet'LEGACY_REQUIRED + pred FeatureSet'FIELD_PRESENCE_UNKNOWN + = Prelude.error + "FeatureSet'FieldPresence.pred: bad argument FeatureSet'FIELD_PRESENCE_UNKNOWN. This value would be out of bounds." + pred FeatureSet'EXPLICIT = FeatureSet'FIELD_PRESENCE_UNKNOWN + pred FeatureSet'IMPLICIT = FeatureSet'EXPLICIT + pred FeatureSet'LEGACY_REQUIRED = FeatureSet'IMPLICIT + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'FieldPresence where + fieldDefault = FeatureSet'FIELD_PRESENCE_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'FieldPresence where + rnf x__ = Prelude.seq x__ () +data FeatureSet'JsonFormat + = FeatureSet'JSON_FORMAT_UNKNOWN | + FeatureSet'ALLOW | + FeatureSet'LEGACY_BEST_EFFORT + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'JsonFormat where + enumName _ = Data.Text.pack "JsonFormat" + maybeToEnum 0 = Prelude.Just FeatureSet'JSON_FORMAT_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'ALLOW + maybeToEnum 2 = Prelude.Just FeatureSet'LEGACY_BEST_EFFORT + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'JSON_FORMAT_UNKNOWN = "JSON_FORMAT_UNKNOWN" + showEnum FeatureSet'ALLOW = "ALLOW" + showEnum FeatureSet'LEGACY_BEST_EFFORT = "LEGACY_BEST_EFFORT" + readEnum k + | (Prelude.==) k "JSON_FORMAT_UNKNOWN" + = Prelude.Just FeatureSet'JSON_FORMAT_UNKNOWN + | (Prelude.==) k "ALLOW" = Prelude.Just FeatureSet'ALLOW + | (Prelude.==) k "LEGACY_BEST_EFFORT" + = Prelude.Just FeatureSet'LEGACY_BEST_EFFORT + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'JsonFormat where + minBound = FeatureSet'JSON_FORMAT_UNKNOWN + maxBound = FeatureSet'LEGACY_BEST_EFFORT +instance Prelude.Enum FeatureSet'JsonFormat where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum JsonFormat: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'JSON_FORMAT_UNKNOWN = 0 + fromEnum FeatureSet'ALLOW = 1 + fromEnum FeatureSet'LEGACY_BEST_EFFORT = 2 + succ FeatureSet'LEGACY_BEST_EFFORT + = Prelude.error + "FeatureSet'JsonFormat.succ: bad argument FeatureSet'LEGACY_BEST_EFFORT. This value would be out of bounds." + succ FeatureSet'JSON_FORMAT_UNKNOWN = FeatureSet'ALLOW + succ FeatureSet'ALLOW = FeatureSet'LEGACY_BEST_EFFORT + pred FeatureSet'JSON_FORMAT_UNKNOWN + = Prelude.error + "FeatureSet'JsonFormat.pred: bad argument FeatureSet'JSON_FORMAT_UNKNOWN. This value would be out of bounds." + pred FeatureSet'ALLOW = FeatureSet'JSON_FORMAT_UNKNOWN + pred FeatureSet'LEGACY_BEST_EFFORT = FeatureSet'ALLOW + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'JsonFormat where + fieldDefault = FeatureSet'JSON_FORMAT_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'JsonFormat where + rnf x__ = Prelude.seq x__ () +data FeatureSet'MessageEncoding + = FeatureSet'MESSAGE_ENCODING_UNKNOWN | + FeatureSet'LENGTH_PREFIXED | + FeatureSet'DELIMITED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'MessageEncoding where + enumName _ = Data.Text.pack "MessageEncoding" + maybeToEnum 0 = Prelude.Just FeatureSet'MESSAGE_ENCODING_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'LENGTH_PREFIXED + maybeToEnum 2 = Prelude.Just FeatureSet'DELIMITED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'MESSAGE_ENCODING_UNKNOWN + = "MESSAGE_ENCODING_UNKNOWN" + showEnum FeatureSet'LENGTH_PREFIXED = "LENGTH_PREFIXED" + showEnum FeatureSet'DELIMITED = "DELIMITED" + readEnum k + | (Prelude.==) k "MESSAGE_ENCODING_UNKNOWN" + = Prelude.Just FeatureSet'MESSAGE_ENCODING_UNKNOWN + | (Prelude.==) k "LENGTH_PREFIXED" + = Prelude.Just FeatureSet'LENGTH_PREFIXED + | (Prelude.==) k "DELIMITED" = Prelude.Just FeatureSet'DELIMITED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'MessageEncoding where + minBound = FeatureSet'MESSAGE_ENCODING_UNKNOWN + maxBound = FeatureSet'DELIMITED +instance Prelude.Enum FeatureSet'MessageEncoding where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum MessageEncoding: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'MESSAGE_ENCODING_UNKNOWN = 0 + fromEnum FeatureSet'LENGTH_PREFIXED = 1 + fromEnum FeatureSet'DELIMITED = 2 + succ FeatureSet'DELIMITED + = Prelude.error + "FeatureSet'MessageEncoding.succ: bad argument FeatureSet'DELIMITED. This value would be out of bounds." + succ FeatureSet'MESSAGE_ENCODING_UNKNOWN + = FeatureSet'LENGTH_PREFIXED + succ FeatureSet'LENGTH_PREFIXED = FeatureSet'DELIMITED + pred FeatureSet'MESSAGE_ENCODING_UNKNOWN + = Prelude.error + "FeatureSet'MessageEncoding.pred: bad argument FeatureSet'MESSAGE_ENCODING_UNKNOWN. This value would be out of bounds." + pred FeatureSet'LENGTH_PREFIXED + = FeatureSet'MESSAGE_ENCODING_UNKNOWN + pred FeatureSet'DELIMITED = FeatureSet'LENGTH_PREFIXED + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'MessageEncoding where + fieldDefault = FeatureSet'MESSAGE_ENCODING_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'MessageEncoding where + rnf x__ = Prelude.seq x__ () +data FeatureSet'RepeatedFieldEncoding + = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN | + FeatureSet'PACKED | + FeatureSet'EXPANDED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FeatureSet'RepeatedFieldEncoding where + enumName _ = Data.Text.pack "RepeatedFieldEncoding" + maybeToEnum 0 + = Prelude.Just FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + maybeToEnum 1 = Prelude.Just FeatureSet'PACKED + maybeToEnum 2 = Prelude.Just FeatureSet'EXPANDED + maybeToEnum _ = Prelude.Nothing + showEnum FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + = "REPEATED_FIELD_ENCODING_UNKNOWN" + showEnum FeatureSet'PACKED = "PACKED" + showEnum FeatureSet'EXPANDED = "EXPANDED" + readEnum k + | (Prelude.==) k "REPEATED_FIELD_ENCODING_UNKNOWN" + = Prelude.Just FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + | (Prelude.==) k "PACKED" = Prelude.Just FeatureSet'PACKED + | (Prelude.==) k "EXPANDED" = Prelude.Just FeatureSet'EXPANDED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FeatureSet'RepeatedFieldEncoding where + minBound = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + maxBound = FeatureSet'EXPANDED +instance Prelude.Enum FeatureSet'RepeatedFieldEncoding where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum RepeatedFieldEncoding: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN = 0 + fromEnum FeatureSet'PACKED = 1 + fromEnum FeatureSet'EXPANDED = 2 + succ FeatureSet'EXPANDED + = Prelude.error + "FeatureSet'RepeatedFieldEncoding.succ: bad argument FeatureSet'EXPANDED. This value would be out of bounds." + succ FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet'PACKED + succ FeatureSet'PACKED = FeatureSet'EXPANDED + pred FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + = Prelude.error + "FeatureSet'RepeatedFieldEncoding.pred: bad argument FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN. This value would be out of bounds." + pred FeatureSet'PACKED = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN + pred FeatureSet'EXPANDED = FeatureSet'PACKED + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FeatureSet'RepeatedFieldEncoding where + fieldDefault = FeatureSet'REPEATED_FIELD_ENCODING_UNKNOWN +instance Control.DeepSeq.NFData FeatureSet'RepeatedFieldEncoding where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.defaults' @:: Lens' FeatureSetDefaults [FeatureSetDefaults'FeatureSetEditionDefault]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'defaults' @:: Lens' FeatureSetDefaults (Data.Vector.Vector FeatureSetDefaults'FeatureSetEditionDefault)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.minimumEdition' @:: Lens' FeatureSetDefaults Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'minimumEdition' @:: Lens' FeatureSetDefaults (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maximumEdition' @:: Lens' FeatureSetDefaults Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'maximumEdition' @:: Lens' FeatureSetDefaults (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.minimumEditionEnum' @:: Lens' FeatureSetDefaults Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'minimumEditionEnum' @:: Lens' FeatureSetDefaults (Prelude.Maybe Edition)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maximumEditionEnum' @:: Lens' FeatureSetDefaults Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'maximumEditionEnum' @:: Lens' FeatureSetDefaults (Prelude.Maybe Edition)@ -} +data FeatureSetDefaults + = FeatureSetDefaults'_constructor {_FeatureSetDefaults'defaults :: !(Data.Vector.Vector FeatureSetDefaults'FeatureSetEditionDefault), + _FeatureSetDefaults'minimumEdition :: !(Prelude.Maybe Data.Text.Text), + _FeatureSetDefaults'maximumEdition :: !(Prelude.Maybe Data.Text.Text), + _FeatureSetDefaults'minimumEditionEnum :: !(Prelude.Maybe Edition), + _FeatureSetDefaults'maximumEditionEnum :: !(Prelude.Maybe Edition), + _FeatureSetDefaults'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FeatureSetDefaults where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "defaults" [FeatureSetDefaults'FeatureSetEditionDefault] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'defaults + (\ x__ y__ -> x__ {_FeatureSetDefaults'defaults = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "vec'defaults" (Data.Vector.Vector FeatureSetDefaults'FeatureSetEditionDefault) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'defaults + (\ x__ y__ -> x__ {_FeatureSetDefaults'defaults = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "minimumEdition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEdition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'minimumEdition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEdition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maximumEdition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEdition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'maximumEdition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEdition + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEdition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "minimumEditionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEditionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'minimumEditionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'minimumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'minimumEditionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maximumEditionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEditionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults "maybe'maximumEditionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'maximumEditionEnum + (\ x__ y__ -> x__ {_FeatureSetDefaults'maximumEditionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Message FeatureSetDefaults where + messageName _ = Data.Text.pack "google.protobuf.FeatureSetDefaults" + packedMessageDescriptor _ + = "\n\ + \\DC2FeatureSetDefaults\DC2X\n\ + \\bdefaults\CAN\SOH \ETX(\v2<.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultR\bdefaults\DC2'\n\ + \\SIminimum_edition\CAN\STX \SOH(\tR\SOminimumEdition\DC2'\n\ + \\SImaximum_edition\CAN\ETX \SOH(\tR\SOmaximumEdition\DC2J\n\ + \\DC4minimum_edition_enum\CAN\EOT \SOH(\SO2\CAN.google.protobuf.EditionR\DC2minimumEditionEnum\DC2J\n\ + \\DC4maximum_edition_enum\CAN\ENQ \SOH(\SO2\CAN.google.protobuf.EditionR\DC2maximumEditionEnum\SUB\170\SOH\n\ + \\CANFeatureSetEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + defaults__field_descriptor + = Data.ProtoLens.FieldDescriptor + "defaults" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSetDefaults'FeatureSetEditionDefault) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"defaults")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + minimumEdition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "minimum_edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'minimumEdition")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + maximumEdition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "maximum_edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'maximumEdition")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + minimumEditionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "minimum_edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'minimumEditionEnum")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + maximumEditionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "maximum_edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'maximumEditionEnum")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, defaults__field_descriptor), + (Data.ProtoLens.Tag 2, minimumEdition__field_descriptor), + (Data.ProtoLens.Tag 3, maximumEdition__field_descriptor), + (Data.ProtoLens.Tag 4, minimumEditionEnum__field_descriptor), + (Data.ProtoLens.Tag 5, maximumEditionEnum__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FeatureSetDefaults'_unknownFields + (\ x__ y__ -> x__ {_FeatureSetDefaults'_unknownFields = y__}) + defMessage + = FeatureSetDefaults'_constructor + {_FeatureSetDefaults'defaults = Data.Vector.Generic.empty, + _FeatureSetDefaults'minimumEdition = Prelude.Nothing, + _FeatureSetDefaults'maximumEdition = Prelude.Nothing, + _FeatureSetDefaults'minimumEditionEnum = Prelude.Nothing, + _FeatureSetDefaults'maximumEditionEnum = Prelude.Nothing, + _FeatureSetDefaults'_unknownFields = []} + parseMessage + = let + loop :: + FeatureSetDefaults + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FeatureSetDefaults'FeatureSetEditionDefault + -> Data.ProtoLens.Encoding.Bytes.Parser FeatureSetDefaults + loop x mutable'defaults + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'defaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'defaults) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'defaults") frozen'defaults x)) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "defaults" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'defaults y) + loop x v + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "minimum_edition" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"minimumEdition") y x) + mutable'defaults + 26 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "maximum_edition" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"maximumEdition") y x) + mutable'defaults + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "minimum_edition_enum" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"minimumEditionEnum") y x) + mutable'defaults + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "maximum_edition_enum" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"maximumEditionEnum") y x) + mutable'defaults + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'defaults + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'defaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop Data.ProtoLens.defMessage mutable'defaults) + "FeatureSetDefaults" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'defaults") _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'minimumEdition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'maximumEdition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 26) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'minimumEditionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'maximumEditionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) +instance Control.DeepSeq.NFData FeatureSetDefaults where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FeatureSetDefaults'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'defaults x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'minimumEdition x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'maximumEdition x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'minimumEditionEnum x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'maximumEditionEnum x__) ()))))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.edition' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'edition' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionEnum' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'editionEnum' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault (Prelude.Maybe Edition)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' FeatureSetDefaults'FeatureSetEditionDefault (Prelude.Maybe FeatureSet)@ -} +data FeatureSetDefaults'FeatureSetEditionDefault + = FeatureSetDefaults'FeatureSetEditionDefault'_constructor {_FeatureSetDefaults'FeatureSetEditionDefault'edition :: !(Prelude.Maybe Data.Text.Text), + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum :: !(Prelude.Maybe Edition), + _FeatureSetDefaults'FeatureSetEditionDefault'features :: !(Prelude.Maybe FeatureSet), + _FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FeatureSetDefaults'FeatureSetEditionDefault where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'edition + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'edition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "maybe'edition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'edition + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'edition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "editionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'editionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "maybe'editionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'editionEnum = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'features + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FeatureSetDefaults'FeatureSetEditionDefault "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'features + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'features = y__})) + Prelude.id +instance Data.ProtoLens.Message FeatureSetDefaults'FeatureSetEditionDefault where + messageName _ + = Data.Text.pack + "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault" + packedMessageDescriptor _ + = "\n\ + \\CANFeatureSetEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'edition")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults'FeatureSetEditionDefault + editionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'editionEnum")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults'FeatureSetEditionDefault + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor FeatureSetDefaults'FeatureSetEditionDefault + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, edition__field_descriptor), + (Data.ProtoLens.Tag 3, editionEnum__field_descriptor), + (Data.ProtoLens.Tag 2, features__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields + (\ x__ y__ + -> x__ + {_FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields = y__}) + defMessage + = FeatureSetDefaults'FeatureSetEditionDefault'_constructor + {_FeatureSetDefaults'FeatureSetEditionDefault'edition = Prelude.Nothing, + _FeatureSetDefaults'FeatureSetEditionDefault'editionEnum = Prelude.Nothing, + _FeatureSetDefaults'FeatureSetEditionDefault'features = Prelude.Nothing, + _FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields = []} + parseMessage + = let + loop :: + FeatureSetDefaults'FeatureSetEditionDefault + -> Data.ProtoLens.Encoding.Bytes.Parser FeatureSetDefaults'FeatureSetEditionDefault + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "edition_enum" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"editionEnum") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FeatureSetEditionDefault" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'edition") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'editionEnum") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData FeatureSetDefaults'FeatureSetEditionDefault where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'edition x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'editionEnum x__) + (Control.DeepSeq.deepseq + (_FeatureSetDefaults'FeatureSetEditionDefault'features x__) ()))) +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'name' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.number' @:: Lens' FieldDescriptorProto Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'number' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.label' @:: Lens' FieldDescriptorProto FieldDescriptorProto'Label@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'label' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldDescriptorProto'Label)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.type'' @:: Lens' FieldDescriptorProto FieldDescriptorProto'Type@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'type'' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldDescriptorProto'Type)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.typeName' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'typeName' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.extendee' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'extendee' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.defaultValue' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'defaultValue' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.oneofIndex' @:: Lens' FieldDescriptorProto Data.Int.Int32@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'oneofIndex' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.jsonName' @:: Lens' FieldDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jsonName' @:: Lens' FieldDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.options' @:: Lens' FieldDescriptorProto FieldOptions@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'options' @:: Lens' FieldDescriptorProto (Prelude.Maybe FieldOptions)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.proto3Optional' @:: Lens' FieldDescriptorProto Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'proto3Optional' @:: Lens' FieldDescriptorProto (Prelude.Maybe Prelude.Bool)@ -} +data FieldDescriptorProto + = FieldDescriptorProto'_constructor {_FieldDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'number :: !(Prelude.Maybe Data.Int.Int32), + _FieldDescriptorProto'label :: !(Prelude.Maybe FieldDescriptorProto'Label), + _FieldDescriptorProto'type' :: !(Prelude.Maybe FieldDescriptorProto'Type), + _FieldDescriptorProto'typeName :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'extendee :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'defaultValue :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'oneofIndex :: !(Prelude.Maybe Data.Int.Int32), + _FieldDescriptorProto'jsonName :: !(Prelude.Maybe Data.Text.Text), + _FieldDescriptorProto'options :: !(Prelude.Maybe FieldOptions), + _FieldDescriptorProto'proto3Optional :: !(Prelude.Maybe Prelude.Bool), + _FieldDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldDescriptorProto where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "name" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'name + (\ x__ y__ -> x__ {_FieldDescriptorProto'name = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'name" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'name + (\ x__ y__ -> x__ {_FieldDescriptorProto'name = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "number" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'number + (\ x__ y__ -> x__ {_FieldDescriptorProto'number = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'number" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'number + (\ x__ y__ -> x__ {_FieldDescriptorProto'number = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "label" FieldDescriptorProto'Label where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'label + (\ x__ y__ -> x__ {_FieldDescriptorProto'label = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'label" (Prelude.Maybe FieldDescriptorProto'Label) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'label + (\ x__ y__ -> x__ {_FieldDescriptorProto'label = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "type'" FieldDescriptorProto'Type where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'type' + (\ x__ y__ -> x__ {_FieldDescriptorProto'type' = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'type'" (Prelude.Maybe FieldDescriptorProto'Type) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'type' + (\ x__ y__ -> x__ {_FieldDescriptorProto'type' = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "typeName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'typeName + (\ x__ y__ -> x__ {_FieldDescriptorProto'typeName = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'typeName" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'typeName + (\ x__ y__ -> x__ {_FieldDescriptorProto'typeName = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "extendee" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'extendee + (\ x__ y__ -> x__ {_FieldDescriptorProto'extendee = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'extendee" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'extendee + (\ x__ y__ -> x__ {_FieldDescriptorProto'extendee = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "defaultValue" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'defaultValue + (\ x__ y__ -> x__ {_FieldDescriptorProto'defaultValue = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'defaultValue" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'defaultValue + (\ x__ y__ -> x__ {_FieldDescriptorProto'defaultValue = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "oneofIndex" Data.Int.Int32 where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'oneofIndex + (\ x__ y__ -> x__ {_FieldDescriptorProto'oneofIndex = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'oneofIndex" (Prelude.Maybe Data.Int.Int32) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'oneofIndex + (\ x__ y__ -> x__ {_FieldDescriptorProto'oneofIndex = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "jsonName" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'jsonName + (\ x__ y__ -> x__ {_FieldDescriptorProto'jsonName = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'jsonName" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'jsonName + (\ x__ y__ -> x__ {_FieldDescriptorProto'jsonName = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "options" FieldOptions where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'options + (\ x__ y__ -> x__ {_FieldDescriptorProto'options = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'options" (Prelude.Maybe FieldOptions) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'options + (\ x__ y__ -> x__ {_FieldDescriptorProto'options = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "proto3Optional" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'proto3Optional + (\ x__ y__ -> x__ {_FieldDescriptorProto'proto3Optional = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldDescriptorProto "maybe'proto3Optional" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldDescriptorProto'proto3Optional + (\ x__ y__ -> x__ {_FieldDescriptorProto'proto3Optional = y__})) + Prelude.id +instance Data.ProtoLens.Message FieldDescriptorProto where + messageName _ + = Data.Text.pack "google.protobuf.FieldDescriptorProto" + packedMessageDescriptor _ + = "\n\ + \\DC4FieldDescriptorProto\DC2\DC2\n\ + \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ + \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2A\n\ + \\ENQlabel\CAN\EOT \SOH(\SO2+.google.protobuf.FieldDescriptorProto.LabelR\ENQlabel\DC2>\n\ + \\EOTtype\CAN\ENQ \SOH(\SO2*.google.protobuf.FieldDescriptorProto.TypeR\EOTtype\DC2\ESC\n\ + \\ttype_name\CAN\ACK \SOH(\tR\btypeName\DC2\SUB\n\ + \\bextendee\CAN\STX \SOH(\tR\bextendee\DC2#\n\ + \\rdefault_value\CAN\a \SOH(\tR\fdefaultValue\DC2\US\n\ + \\voneof_index\CAN\t \SOH(\ENQR\n\ + \oneofIndex\DC2\ESC\n\ + \\tjson_name\CAN\n\ + \ \SOH(\tR\bjsonName\DC27\n\ + \\aoptions\CAN\b \SOH(\v2\GS.google.protobuf.FieldOptionsR\aoptions\DC2'\n\ + \\SIproto3_optional\CAN\DC1 \SOH(\bR\SOproto3Optional\"\182\STX\n\ + \\EOTType\DC2\SI\n\ + \\vTYPE_DOUBLE\DLE\SOH\DC2\SO\n\ + \\n\ + \TYPE_FLOAT\DLE\STX\DC2\SO\n\ + \\n\ + \TYPE_INT64\DLE\ETX\DC2\SI\n\ + \\vTYPE_UINT64\DLE\EOT\DC2\SO\n\ + \\n\ + \TYPE_INT32\DLE\ENQ\DC2\DLE\n\ + \\fTYPE_FIXED64\DLE\ACK\DC2\DLE\n\ + \\fTYPE_FIXED32\DLE\a\DC2\r\n\ + \\tTYPE_BOOL\DLE\b\DC2\SI\n\ + \\vTYPE_STRING\DLE\t\DC2\SO\n\ + \\n\ + \TYPE_GROUP\DLE\n\ + \\DC2\DLE\n\ + \\fTYPE_MESSAGE\DLE\v\DC2\SO\n\ + \\n\ + \TYPE_BYTES\DLE\f\DC2\SI\n\ + \\vTYPE_UINT32\DLE\r\DC2\r\n\ + \\tTYPE_ENUM\DLE\SO\DC2\DC1\n\ + \\rTYPE_SFIXED32\DLE\SI\DC2\DC1\n\ + \\rTYPE_SFIXED64\DLE\DLE\DC2\SI\n\ + \\vTYPE_SINT32\DLE\DC1\DC2\SI\n\ + \\vTYPE_SINT64\DLE\DC2\"C\n\ + \\ENQLabel\DC2\DC2\n\ + \\SOLABEL_OPTIONAL\DLE\SOH\DC2\DC2\n\ + \\SOLABEL_REQUIRED\DLE\STX\DC2\DC2\n\ + \\SOLABEL_REPEATED\DLE\ETX" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + name__field_descriptor + = Data.ProtoLens.FieldDescriptor + "name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'name")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + number__field_descriptor + = Data.ProtoLens.FieldDescriptor + "number" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'number")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + label__field_descriptor + = Data.ProtoLens.FieldDescriptor + "label" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto'Label) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'label")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + type'__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldDescriptorProto'Type) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'type'")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + typeName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "type_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'typeName")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + extendee__field_descriptor + = Data.ProtoLens.FieldDescriptor + "extendee" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'extendee")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + defaultValue__field_descriptor + = Data.ProtoLens.FieldDescriptor + "default_value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'defaultValue")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + oneofIndex__field_descriptor + = Data.ProtoLens.FieldDescriptor + "oneof_index" + (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field :: + Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'oneofIndex")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + jsonName__field_descriptor + = Data.ProtoLens.FieldDescriptor + "json_name" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'jsonName")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + options__field_descriptor + = Data.ProtoLens.FieldDescriptor + "options" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'options")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + proto3Optional__field_descriptor + = Data.ProtoLens.FieldDescriptor + "proto3_optional" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'proto3Optional")) :: + Data.ProtoLens.FieldDescriptor FieldDescriptorProto + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, name__field_descriptor), + (Data.ProtoLens.Tag 3, number__field_descriptor), + (Data.ProtoLens.Tag 4, label__field_descriptor), + (Data.ProtoLens.Tag 5, type'__field_descriptor), + (Data.ProtoLens.Tag 6, typeName__field_descriptor), + (Data.ProtoLens.Tag 2, extendee__field_descriptor), + (Data.ProtoLens.Tag 7, defaultValue__field_descriptor), + (Data.ProtoLens.Tag 9, oneofIndex__field_descriptor), + (Data.ProtoLens.Tag 10, jsonName__field_descriptor), + (Data.ProtoLens.Tag 8, options__field_descriptor), + (Data.ProtoLens.Tag 17, proto3Optional__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FieldDescriptorProto'_unknownFields + (\ x__ y__ -> x__ {_FieldDescriptorProto'_unknownFields = y__}) + defMessage + = FieldDescriptorProto'_constructor + {_FieldDescriptorProto'name = Prelude.Nothing, + _FieldDescriptorProto'number = Prelude.Nothing, + _FieldDescriptorProto'label = Prelude.Nothing, + _FieldDescriptorProto'type' = Prelude.Nothing, + _FieldDescriptorProto'typeName = Prelude.Nothing, + _FieldDescriptorProto'extendee = Prelude.Nothing, + _FieldDescriptorProto'defaultValue = Prelude.Nothing, + _FieldDescriptorProto'oneofIndex = Prelude.Nothing, + _FieldDescriptorProto'jsonName = Prelude.Nothing, + _FieldDescriptorProto'options = Prelude.Nothing, + _FieldDescriptorProto'proto3Optional = Prelude.Nothing, + _FieldDescriptorProto'_unknownFields = []} + parseMessage + = let + loop :: + FieldDescriptorProto + -> Data.ProtoLens.Encoding.Bytes.Parser FieldDescriptorProto + loop x + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "name" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "number" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"number") y x) + 32 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "label" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"label") y x) + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "type" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x) + 50 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "type_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"typeName") y x) + 18 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "extendee" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"extendee") y x) + 58 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "default_value" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"defaultValue") y x) + 72 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt) + "oneof_index" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"oneofIndex") y x) + 82 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "json_name" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jsonName") y x) + 66 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "options" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) + 136 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "proto3_optional" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"proto3Optional") y x) + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + in + (Data.ProtoLens.Encoding.Bytes.) + (do loop Data.ProtoLens.defMessage) "FieldDescriptorProto" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'name") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'number") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'label") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 32) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'type'") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'typeName") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 50) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'extendee") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'defaultValue") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 58) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'oneofIndex") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 72) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'jsonName") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 82) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'options") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 66) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'proto3Optional") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 136) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x)))))))))))) +instance Control.DeepSeq.NFData FieldDescriptorProto where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FieldDescriptorProto'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'name x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'number x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'label x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'type' x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'typeName x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'extendee x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'defaultValue x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'oneofIndex x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'jsonName x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'options x__) + (Control.DeepSeq.deepseq + (_FieldDescriptorProto'proto3Optional x__) + ()))))))))))) +data FieldDescriptorProto'Label + = FieldDescriptorProto'LABEL_OPTIONAL | + FieldDescriptorProto'LABEL_REQUIRED | + FieldDescriptorProto'LABEL_REPEATED + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Label where + enumName _ = Data.Text.pack "Label" + maybeToEnum 1 = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL + maybeToEnum 2 = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED + maybeToEnum 3 = Prelude.Just FieldDescriptorProto'LABEL_REPEATED + maybeToEnum _ = Prelude.Nothing + showEnum FieldDescriptorProto'LABEL_OPTIONAL = "LABEL_OPTIONAL" + showEnum FieldDescriptorProto'LABEL_REQUIRED = "LABEL_REQUIRED" + showEnum FieldDescriptorProto'LABEL_REPEATED = "LABEL_REPEATED" + readEnum k + | (Prelude.==) k "LABEL_OPTIONAL" + = Prelude.Just FieldDescriptorProto'LABEL_OPTIONAL + | (Prelude.==) k "LABEL_REQUIRED" + = Prelude.Just FieldDescriptorProto'LABEL_REQUIRED + | (Prelude.==) k "LABEL_REPEATED" + = Prelude.Just FieldDescriptorProto'LABEL_REPEATED + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldDescriptorProto'Label where + minBound = FieldDescriptorProto'LABEL_OPTIONAL + maxBound = FieldDescriptorProto'LABEL_REPEATED +instance Prelude.Enum FieldDescriptorProto'Label where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Label: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldDescriptorProto'LABEL_OPTIONAL = 1 + fromEnum FieldDescriptorProto'LABEL_REQUIRED = 2 + fromEnum FieldDescriptorProto'LABEL_REPEATED = 3 + succ FieldDescriptorProto'LABEL_REPEATED + = Prelude.error + "FieldDescriptorProto'Label.succ: bad argument FieldDescriptorProto'LABEL_REPEATED. This value would be out of bounds." + succ FieldDescriptorProto'LABEL_OPTIONAL + = FieldDescriptorProto'LABEL_REQUIRED + succ FieldDescriptorProto'LABEL_REQUIRED + = FieldDescriptorProto'LABEL_REPEATED + pred FieldDescriptorProto'LABEL_OPTIONAL + = Prelude.error + "FieldDescriptorProto'Label.pred: bad argument FieldDescriptorProto'LABEL_OPTIONAL. This value would be out of bounds." + pred FieldDescriptorProto'LABEL_REQUIRED + = FieldDescriptorProto'LABEL_OPTIONAL + pred FieldDescriptorProto'LABEL_REPEATED + = FieldDescriptorProto'LABEL_REQUIRED + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldDescriptorProto'Label where + fieldDefault = FieldDescriptorProto'LABEL_OPTIONAL +instance Control.DeepSeq.NFData FieldDescriptorProto'Label where + rnf x__ = Prelude.seq x__ () +data FieldDescriptorProto'Type + = FieldDescriptorProto'TYPE_DOUBLE | + FieldDescriptorProto'TYPE_FLOAT | + FieldDescriptorProto'TYPE_INT64 | + FieldDescriptorProto'TYPE_UINT64 | + FieldDescriptorProto'TYPE_INT32 | + FieldDescriptorProto'TYPE_FIXED64 | + FieldDescriptorProto'TYPE_FIXED32 | + FieldDescriptorProto'TYPE_BOOL | + FieldDescriptorProto'TYPE_STRING | + FieldDescriptorProto'TYPE_GROUP | + FieldDescriptorProto'TYPE_MESSAGE | + FieldDescriptorProto'TYPE_BYTES | + FieldDescriptorProto'TYPE_UINT32 | + FieldDescriptorProto'TYPE_ENUM | + FieldDescriptorProto'TYPE_SFIXED32 | + FieldDescriptorProto'TYPE_SFIXED64 | + FieldDescriptorProto'TYPE_SINT32 | + FieldDescriptorProto'TYPE_SINT64 + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldDescriptorProto'Type where + enumName _ = Data.Text.pack "Type" + maybeToEnum 1 = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE + maybeToEnum 2 = Prelude.Just FieldDescriptorProto'TYPE_FLOAT + maybeToEnum 3 = Prelude.Just FieldDescriptorProto'TYPE_INT64 + maybeToEnum 4 = Prelude.Just FieldDescriptorProto'TYPE_UINT64 + maybeToEnum 5 = Prelude.Just FieldDescriptorProto'TYPE_INT32 + maybeToEnum 6 = Prelude.Just FieldDescriptorProto'TYPE_FIXED64 + maybeToEnum 7 = Prelude.Just FieldDescriptorProto'TYPE_FIXED32 + maybeToEnum 8 = Prelude.Just FieldDescriptorProto'TYPE_BOOL + maybeToEnum 9 = Prelude.Just FieldDescriptorProto'TYPE_STRING + maybeToEnum 10 = Prelude.Just FieldDescriptorProto'TYPE_GROUP + maybeToEnum 11 = Prelude.Just FieldDescriptorProto'TYPE_MESSAGE + maybeToEnum 12 = Prelude.Just FieldDescriptorProto'TYPE_BYTES + maybeToEnum 13 = Prelude.Just FieldDescriptorProto'TYPE_UINT32 + maybeToEnum 14 = Prelude.Just FieldDescriptorProto'TYPE_ENUM + maybeToEnum 15 = Prelude.Just FieldDescriptorProto'TYPE_SFIXED32 + maybeToEnum 16 = Prelude.Just FieldDescriptorProto'TYPE_SFIXED64 + maybeToEnum 17 = Prelude.Just FieldDescriptorProto'TYPE_SINT32 + maybeToEnum 18 = Prelude.Just FieldDescriptorProto'TYPE_SINT64 + maybeToEnum _ = Prelude.Nothing + showEnum FieldDescriptorProto'TYPE_DOUBLE = "TYPE_DOUBLE" + showEnum FieldDescriptorProto'TYPE_FLOAT = "TYPE_FLOAT" + showEnum FieldDescriptorProto'TYPE_INT64 = "TYPE_INT64" + showEnum FieldDescriptorProto'TYPE_UINT64 = "TYPE_UINT64" + showEnum FieldDescriptorProto'TYPE_INT32 = "TYPE_INT32" + showEnum FieldDescriptorProto'TYPE_FIXED64 = "TYPE_FIXED64" + showEnum FieldDescriptorProto'TYPE_FIXED32 = "TYPE_FIXED32" + showEnum FieldDescriptorProto'TYPE_BOOL = "TYPE_BOOL" + showEnum FieldDescriptorProto'TYPE_STRING = "TYPE_STRING" + showEnum FieldDescriptorProto'TYPE_GROUP = "TYPE_GROUP" + showEnum FieldDescriptorProto'TYPE_MESSAGE = "TYPE_MESSAGE" + showEnum FieldDescriptorProto'TYPE_BYTES = "TYPE_BYTES" + showEnum FieldDescriptorProto'TYPE_UINT32 = "TYPE_UINT32" + showEnum FieldDescriptorProto'TYPE_ENUM = "TYPE_ENUM" + showEnum FieldDescriptorProto'TYPE_SFIXED32 = "TYPE_SFIXED32" + showEnum FieldDescriptorProto'TYPE_SFIXED64 = "TYPE_SFIXED64" + showEnum FieldDescriptorProto'TYPE_SINT32 = "TYPE_SINT32" + showEnum FieldDescriptorProto'TYPE_SINT64 = "TYPE_SINT64" + readEnum k + | (Prelude.==) k "TYPE_DOUBLE" + = Prelude.Just FieldDescriptorProto'TYPE_DOUBLE + | (Prelude.==) k "TYPE_FLOAT" + = Prelude.Just FieldDescriptorProto'TYPE_FLOAT + | (Prelude.==) k "TYPE_INT64" + = Prelude.Just FieldDescriptorProto'TYPE_INT64 + | (Prelude.==) k "TYPE_UINT64" + = Prelude.Just FieldDescriptorProto'TYPE_UINT64 + | (Prelude.==) k "TYPE_INT32" + = Prelude.Just FieldDescriptorProto'TYPE_INT32 + | (Prelude.==) k "TYPE_FIXED64" + = Prelude.Just FieldDescriptorProto'TYPE_FIXED64 + | (Prelude.==) k "TYPE_FIXED32" + = Prelude.Just FieldDescriptorProto'TYPE_FIXED32 + | (Prelude.==) k "TYPE_BOOL" + = Prelude.Just FieldDescriptorProto'TYPE_BOOL + | (Prelude.==) k "TYPE_STRING" + = Prelude.Just FieldDescriptorProto'TYPE_STRING + | (Prelude.==) k "TYPE_GROUP" + = Prelude.Just FieldDescriptorProto'TYPE_GROUP + | (Prelude.==) k "TYPE_MESSAGE" + = Prelude.Just FieldDescriptorProto'TYPE_MESSAGE + | (Prelude.==) k "TYPE_BYTES" + = Prelude.Just FieldDescriptorProto'TYPE_BYTES + | (Prelude.==) k "TYPE_UINT32" + = Prelude.Just FieldDescriptorProto'TYPE_UINT32 + | (Prelude.==) k "TYPE_ENUM" + = Prelude.Just FieldDescriptorProto'TYPE_ENUM + | (Prelude.==) k "TYPE_SFIXED32" + = Prelude.Just FieldDescriptorProto'TYPE_SFIXED32 + | (Prelude.==) k "TYPE_SFIXED64" + = Prelude.Just FieldDescriptorProto'TYPE_SFIXED64 + | (Prelude.==) k "TYPE_SINT32" + = Prelude.Just FieldDescriptorProto'TYPE_SINT32 + | (Prelude.==) k "TYPE_SINT64" + = Prelude.Just FieldDescriptorProto'TYPE_SINT64 + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldDescriptorProto'Type where + minBound = FieldDescriptorProto'TYPE_DOUBLE + maxBound = FieldDescriptorProto'TYPE_SINT64 +instance Prelude.Enum FieldDescriptorProto'Type where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Type: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldDescriptorProto'TYPE_DOUBLE = 1 + fromEnum FieldDescriptorProto'TYPE_FLOAT = 2 + fromEnum FieldDescriptorProto'TYPE_INT64 = 3 + fromEnum FieldDescriptorProto'TYPE_UINT64 = 4 + fromEnum FieldDescriptorProto'TYPE_INT32 = 5 + fromEnum FieldDescriptorProto'TYPE_FIXED64 = 6 + fromEnum FieldDescriptorProto'TYPE_FIXED32 = 7 + fromEnum FieldDescriptorProto'TYPE_BOOL = 8 + fromEnum FieldDescriptorProto'TYPE_STRING = 9 + fromEnum FieldDescriptorProto'TYPE_GROUP = 10 + fromEnum FieldDescriptorProto'TYPE_MESSAGE = 11 + fromEnum FieldDescriptorProto'TYPE_BYTES = 12 + fromEnum FieldDescriptorProto'TYPE_UINT32 = 13 + fromEnum FieldDescriptorProto'TYPE_ENUM = 14 + fromEnum FieldDescriptorProto'TYPE_SFIXED32 = 15 + fromEnum FieldDescriptorProto'TYPE_SFIXED64 = 16 + fromEnum FieldDescriptorProto'TYPE_SINT32 = 17 + fromEnum FieldDescriptorProto'TYPE_SINT64 = 18 + succ FieldDescriptorProto'TYPE_SINT64 + = Prelude.error + "FieldDescriptorProto'Type.succ: bad argument FieldDescriptorProto'TYPE_SINT64. This value would be out of bounds." + succ FieldDescriptorProto'TYPE_DOUBLE + = FieldDescriptorProto'TYPE_FLOAT + succ FieldDescriptorProto'TYPE_FLOAT + = FieldDescriptorProto'TYPE_INT64 + succ FieldDescriptorProto'TYPE_INT64 + = FieldDescriptorProto'TYPE_UINT64 + succ FieldDescriptorProto'TYPE_UINT64 + = FieldDescriptorProto'TYPE_INT32 + succ FieldDescriptorProto'TYPE_INT32 + = FieldDescriptorProto'TYPE_FIXED64 + succ FieldDescriptorProto'TYPE_FIXED64 + = FieldDescriptorProto'TYPE_FIXED32 + succ FieldDescriptorProto'TYPE_FIXED32 + = FieldDescriptorProto'TYPE_BOOL + succ FieldDescriptorProto'TYPE_BOOL + = FieldDescriptorProto'TYPE_STRING + succ FieldDescriptorProto'TYPE_STRING + = FieldDescriptorProto'TYPE_GROUP + succ FieldDescriptorProto'TYPE_GROUP + = FieldDescriptorProto'TYPE_MESSAGE + succ FieldDescriptorProto'TYPE_MESSAGE + = FieldDescriptorProto'TYPE_BYTES + succ FieldDescriptorProto'TYPE_BYTES + = FieldDescriptorProto'TYPE_UINT32 + succ FieldDescriptorProto'TYPE_UINT32 + = FieldDescriptorProto'TYPE_ENUM + succ FieldDescriptorProto'TYPE_ENUM + = FieldDescriptorProto'TYPE_SFIXED32 + succ FieldDescriptorProto'TYPE_SFIXED32 + = FieldDescriptorProto'TYPE_SFIXED64 + succ FieldDescriptorProto'TYPE_SFIXED64 + = FieldDescriptorProto'TYPE_SINT32 + succ FieldDescriptorProto'TYPE_SINT32 + = FieldDescriptorProto'TYPE_SINT64 + pred FieldDescriptorProto'TYPE_DOUBLE + = Prelude.error + "FieldDescriptorProto'Type.pred: bad argument FieldDescriptorProto'TYPE_DOUBLE. This value would be out of bounds." + pred FieldDescriptorProto'TYPE_FLOAT + = FieldDescriptorProto'TYPE_DOUBLE + pred FieldDescriptorProto'TYPE_INT64 + = FieldDescriptorProto'TYPE_FLOAT + pred FieldDescriptorProto'TYPE_UINT64 + = FieldDescriptorProto'TYPE_INT64 + pred FieldDescriptorProto'TYPE_INT32 + = FieldDescriptorProto'TYPE_UINT64 + pred FieldDescriptorProto'TYPE_FIXED64 + = FieldDescriptorProto'TYPE_INT32 + pred FieldDescriptorProto'TYPE_FIXED32 + = FieldDescriptorProto'TYPE_FIXED64 + pred FieldDescriptorProto'TYPE_BOOL + = FieldDescriptorProto'TYPE_FIXED32 + pred FieldDescriptorProto'TYPE_STRING + = FieldDescriptorProto'TYPE_BOOL + pred FieldDescriptorProto'TYPE_GROUP + = FieldDescriptorProto'TYPE_STRING + pred FieldDescriptorProto'TYPE_MESSAGE + = FieldDescriptorProto'TYPE_GROUP + pred FieldDescriptorProto'TYPE_BYTES + = FieldDescriptorProto'TYPE_MESSAGE + pred FieldDescriptorProto'TYPE_UINT32 + = FieldDescriptorProto'TYPE_BYTES + pred FieldDescriptorProto'TYPE_ENUM + = FieldDescriptorProto'TYPE_UINT32 + pred FieldDescriptorProto'TYPE_SFIXED32 + = FieldDescriptorProto'TYPE_ENUM + pred FieldDescriptorProto'TYPE_SFIXED64 + = FieldDescriptorProto'TYPE_SFIXED32 + pred FieldDescriptorProto'TYPE_SINT32 + = FieldDescriptorProto'TYPE_SFIXED64 + pred FieldDescriptorProto'TYPE_SINT64 + = FieldDescriptorProto'TYPE_SINT32 + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldDescriptorProto'Type where + fieldDefault = FieldDescriptorProto'TYPE_DOUBLE +instance Control.DeepSeq.NFData FieldDescriptorProto'Type where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.ctype' @:: Lens' FieldOptions FieldOptions'CType@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'ctype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'CType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.packed' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'packed' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.jstype' @:: Lens' FieldOptions FieldOptions'JSType@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'jstype' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'JSType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.lazy' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'lazy' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.unverifiedLazy' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'unverifiedLazy' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.weak' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'weak' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.debugRedact' @:: Lens' FieldOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'debugRedact' @:: Lens' FieldOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.retention' @:: Lens' FieldOptions FieldOptions'OptionRetention@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'retention' @:: Lens' FieldOptions (Prelude.Maybe FieldOptions'OptionRetention)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.targets' @:: Lens' FieldOptions [FieldOptions'OptionTargetType]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'targets' @:: Lens' FieldOptions (Data.Vector.Vector FieldOptions'OptionTargetType)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionDefaults' @:: Lens' FieldOptions [FieldOptions'EditionDefault]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'editionDefaults' @:: Lens' FieldOptions (Data.Vector.Vector FieldOptions'EditionDefault)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' FieldOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' FieldOptions (Prelude.Maybe FeatureSet)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FieldOptions [UninterpretedOption]@ + * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FieldOptions (Data.Vector.Vector UninterpretedOption)@ -} +data FieldOptions + = FieldOptions'_constructor {_FieldOptions'ctype :: !(Prelude.Maybe FieldOptions'CType), + _FieldOptions'packed :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'jstype :: !(Prelude.Maybe FieldOptions'JSType), + _FieldOptions'lazy :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'unverifiedLazy :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'weak :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'debugRedact :: !(Prelude.Maybe Prelude.Bool), + _FieldOptions'retention :: !(Prelude.Maybe FieldOptions'OptionRetention), + _FieldOptions'targets :: !(Data.Vector.Vector FieldOptions'OptionTargetType), + _FieldOptions'editionDefaults :: !(Data.Vector.Vector FieldOptions'EditionDefault), + _FieldOptions'features :: !(Prelude.Maybe FeatureSet), + _FieldOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + _FieldOptions'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldOptions where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldOptions "ctype" FieldOptions'CType where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'ctype (\ x__ y__ -> x__ {_FieldOptions'ctype = y__})) + (Data.ProtoLens.maybeLens FieldOptions'STRING) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'ctype" (Prelude.Maybe FieldOptions'CType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'ctype (\ x__ y__ -> x__ {_FieldOptions'ctype = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "packed" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'packed + (\ x__ y__ -> x__ {_FieldOptions'packed = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'packed" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'packed + (\ x__ y__ -> x__ {_FieldOptions'packed = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "jstype" FieldOptions'JSType where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'jstype + (\ x__ y__ -> x__ {_FieldOptions'jstype = y__})) + (Data.ProtoLens.maybeLens FieldOptions'JS_NORMAL) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'jstype" (Prelude.Maybe FieldOptions'JSType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'jstype + (\ x__ y__ -> x__ {_FieldOptions'jstype = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "lazy" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'lazy" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "unverifiedLazy" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'unverifiedLazy + (\ x__ y__ -> x__ {_FieldOptions'unverifiedLazy = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'unverifiedLazy" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'unverifiedLazy + (\ x__ y__ -> x__ {_FieldOptions'unverifiedLazy = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "deprecated" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'deprecated + (\ x__ y__ -> x__ {_FieldOptions'deprecated = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'deprecated + (\ x__ y__ -> x__ {_FieldOptions'deprecated = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "weak" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'weak" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "debugRedact" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'debugRedact + (\ x__ y__ -> x__ {_FieldOptions'debugRedact = y__})) + (Data.ProtoLens.maybeLens Prelude.False) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'debugRedact" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'debugRedact + (\ x__ y__ -> x__ {_FieldOptions'debugRedact = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "retention" FieldOptions'OptionRetention where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'retention + (\ x__ y__ -> x__ {_FieldOptions'retention = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'retention" (Prelude.Maybe FieldOptions'OptionRetention) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'retention + (\ x__ y__ -> x__ {_FieldOptions'retention = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "targets" [FieldOptions'OptionTargetType] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'targets + (\ x__ y__ -> x__ {_FieldOptions'targets = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldOptions "vec'targets" (Data.Vector.Vector FieldOptions'OptionTargetType) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'targets + (\ x__ y__ -> x__ {_FieldOptions'targets = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "editionDefaults" [FieldOptions'EditionDefault] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'editionDefaults + (\ x__ y__ -> x__ {_FieldOptions'editionDefaults = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldOptions "vec'editionDefaults" (Data.Vector.Vector FieldOptions'EditionDefault) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'editionDefaults + (\ x__ y__ -> x__ {_FieldOptions'editionDefaults = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'features + (\ x__ y__ -> x__ {_FieldOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FieldOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'features + (\ x__ y__ -> x__ {_FieldOptions'features = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FieldOptions "uninterpretedOption" [UninterpretedOption] where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'uninterpretedOption + (\ x__ y__ -> x__ {_FieldOptions'uninterpretedOption = y__})) + (Lens.Family2.Unchecked.lens + Data.Vector.Generic.toList + (\ _ y__ -> Data.Vector.Generic.fromList y__)) +instance Data.ProtoLens.Field.HasField FieldOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FieldOptions'uninterpretedOption + (\ x__ y__ -> x__ {_FieldOptions'uninterpretedOption = y__})) + Prelude.id +instance Data.ProtoLens.Message FieldOptions where + messageName _ = Data.Text.pack "google.protobuf.FieldOptions" + packedMessageDescriptor _ + = "\n\ + \\fFieldOptions\DC2A\n\ + \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ + \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ + \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ + \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2.\n\ + \\SIunverified_lazy\CAN\SI \SOH(\b:\ENQfalseR\SOunverifiedLazy\DC2%\n\ + \\n\ + \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ + \deprecated\DC2\EM\n\ + \\EOTweak\CAN\n\ + \ \SOH(\b:\ENQfalseR\EOTweak\DC2(\n\ + \\fdebug_redact\CAN\DLE \SOH(\b:\ENQfalseR\vdebugRedact\DC2K\n\ + \\tretention\CAN\DC1 \SOH(\SO2-.google.protobuf.FieldOptions.OptionRetentionR\tretention\DC2H\n\ + \\atargets\CAN\DC3 \ETX(\SO2..google.protobuf.FieldOptions.OptionTargetTypeR\atargets\DC2W\n\ + \\DLEedition_defaults\CAN\DC4 \ETX(\v2,.google.protobuf.FieldOptions.EditionDefaultR\SIeditionDefaults\DC27\n\ + \\bfeatures\CAN\NAK \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\SUB}\n\ + \\SOEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue\"/\n\ + \\ENQCType\DC2\n\ + \\n\ + \\ACKSTRING\DLE\NUL\DC2\b\n\ + \\EOTCORD\DLE\SOH\DC2\DLE\n\ + \\fSTRING_PIECE\DLE\STX\"5\n\ + \\ACKJSType\DC2\r\n\ + \\tJS_NORMAL\DLE\NUL\DC2\r\n\ + \\tJS_STRING\DLE\SOH\DC2\r\n\ + \\tJS_NUMBER\DLE\STX\"U\n\ + \\SIOptionRetention\DC2\NAK\n\ + \\DC1RETENTION_UNKNOWN\DLE\NUL\DC2\NAK\n\ + \\DC1RETENTION_RUNTIME\DLE\SOH\DC2\DC4\n\ + \\DLERETENTION_SOURCE\DLE\STX\"\140\STX\n\ + \\DLEOptionTargetType\DC2\ETB\n\ + \\DC3TARGET_TYPE_UNKNOWN\DLE\NUL\DC2\DC4\n\ + \\DLETARGET_TYPE_FILE\DLE\SOH\DC2\US\n\ + \\ESCTARGET_TYPE_EXTENSION_RANGE\DLE\STX\DC2\ETB\n\ + \\DC3TARGET_TYPE_MESSAGE\DLE\ETX\DC2\NAK\n\ + \\DC1TARGET_TYPE_FIELD\DLE\EOT\DC2\NAK\n\ + \\DC1TARGET_TYPE_ONEOF\DLE\ENQ\DC2\DC4\n\ + \\DLETARGET_TYPE_ENUM\DLE\ACK\DC2\SUB\n\ + \\SYNTARGET_TYPE_ENUM_ENTRY\DLE\a\DC2\ETB\n\ + \\DC3TARGET_TYPE_SERVICE\DLE\b\DC2\SYN\n\ + \\DC2TARGET_TYPE_METHOD\DLE\t*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\DC2\DLE\DC3" + packedFileDescriptor _ = packedFileDescriptor + fieldsByTag + = let + ctype__field_descriptor + = Data.ProtoLens.FieldDescriptor + "ctype" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'CType) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'ctype")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + packed__field_descriptor + = Data.ProtoLens.FieldDescriptor + "packed" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'packed")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + jstype__field_descriptor + = Data.ProtoLens.FieldDescriptor + "jstype" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'JSType) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'jstype")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + lazy__field_descriptor + = Data.ProtoLens.FieldDescriptor + "lazy" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'lazy")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + unverifiedLazy__field_descriptor + = Data.ProtoLens.FieldDescriptor + "unverified_lazy" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'unverifiedLazy")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + deprecated__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'deprecated")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + weak__field_descriptor + = Data.ProtoLens.FieldDescriptor + "weak" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'weak")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + debugRedact__field_descriptor + = Data.ProtoLens.FieldDescriptor + "debug_redact" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'debugRedact")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + retention__field_descriptor + = Data.ProtoLens.FieldDescriptor + "retention" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'OptionRetention) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'retention")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + targets__field_descriptor + = Data.ProtoLens.FieldDescriptor + "targets" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'OptionTargetType) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"targets")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + editionDefaults__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_defaults" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FieldOptions'EditionDefault) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"editionDefaults")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + uninterpretedOption__field_descriptor + = Data.ProtoLens.FieldDescriptor + "uninterpreted_option" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) + (Data.ProtoLens.RepeatedField + Data.ProtoLens.Unpacked + (Data.ProtoLens.Field.field @"uninterpretedOption")) :: + Data.ProtoLens.FieldDescriptor FieldOptions + in + Data.Map.fromList + [(Data.ProtoLens.Tag 1, ctype__field_descriptor), + (Data.ProtoLens.Tag 2, packed__field_descriptor), + (Data.ProtoLens.Tag 6, jstype__field_descriptor), + (Data.ProtoLens.Tag 5, lazy__field_descriptor), + (Data.ProtoLens.Tag 15, unverifiedLazy__field_descriptor), + (Data.ProtoLens.Tag 3, deprecated__field_descriptor), + (Data.ProtoLens.Tag 10, weak__field_descriptor), + (Data.ProtoLens.Tag 16, debugRedact__field_descriptor), + (Data.ProtoLens.Tag 17, retention__field_descriptor), + (Data.ProtoLens.Tag 19, targets__field_descriptor), + (Data.ProtoLens.Tag 20, editionDefaults__field_descriptor), + (Data.ProtoLens.Tag 21, features__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + unknownFields + = Lens.Family2.Unchecked.lens + _FieldOptions'_unknownFields + (\ x__ y__ -> x__ {_FieldOptions'_unknownFields = y__}) + defMessage + = FieldOptions'_constructor + {_FieldOptions'ctype = Prelude.Nothing, + _FieldOptions'packed = Prelude.Nothing, + _FieldOptions'jstype = Prelude.Nothing, + _FieldOptions'lazy = Prelude.Nothing, + _FieldOptions'unverifiedLazy = Prelude.Nothing, + _FieldOptions'deprecated = Prelude.Nothing, + _FieldOptions'weak = Prelude.Nothing, + _FieldOptions'debugRedact = Prelude.Nothing, + _FieldOptions'retention = Prelude.Nothing, + _FieldOptions'targets = Data.Vector.Generic.empty, + _FieldOptions'editionDefaults = Data.Vector.Generic.empty, + _FieldOptions'features = Prelude.Nothing, + _FieldOptions'uninterpretedOption = Data.Vector.Generic.empty, + _FieldOptions'_unknownFields = []} + parseMessage + = let + loop :: + FieldOptions + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldOptions'EditionDefault + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld FieldOptions'OptionTargetType + -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption + -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions + loop + x + mutable'editionDefaults + mutable'targets + mutable'uninterpretedOption + = do end <- Data.ProtoLens.Encoding.Bytes.atEnd + if end then + do frozen'editionDefaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'editionDefaults) + frozen'targets <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'targets) + frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.unsafeFreeze + mutable'uninterpretedOption) + (let missing = [] + in + if Prelude.null missing then + Prelude.return () + else + Prelude.fail + ((Prelude.++) + "Missing required fields: " + (Prelude.show (missing :: [Prelude.String])))) + Prelude.return + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'editionDefaults") + frozen'editionDefaults + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'targets") frozen'targets + (Lens.Family2.set + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") + frozen'uninterpretedOption x)))) + else + do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt + case tag of + 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "ctype" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"ctype") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 16 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "packed" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"packed") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 48 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "jstype" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"jstype") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "lazy" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"lazy") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 120 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "unverified_lazy" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field @"unverifiedLazy") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 24 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 80 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "weak" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"weak") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 128 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "debug_redact" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"debugRedact") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 136 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "retention" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"retention") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 152 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "targets" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append mutable'targets y) + loop x mutable'editionDefaults v mutable'uninterpretedOption + 154 + -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + ((let + ploop qs + = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd + if packedEnd then + Prelude.return qs + else + do !q <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "targets" + qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + qs q) + ploop qs' + in ploop) + mutable'targets) + loop x mutable'editionDefaults y mutable'uninterpretedOption + 162 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "edition_defaults" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'editionDefaults y) + loop x v mutable'targets mutable'uninterpretedOption + 170 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + 7994 + -> do !y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) + Data.ProtoLens.parseMessage) + "uninterpreted_option" + v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + (Data.ProtoLens.Encoding.Growing.append + mutable'uninterpretedOption y) + loop x mutable'editionDefaults mutable'targets v + wire + -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire + wire + loop + (Lens.Family2.over + Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) + mutable'editionDefaults mutable'targets + mutable'uninterpretedOption + in + (Data.ProtoLens.Encoding.Bytes.) + (do mutable'editionDefaults <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'targets <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO + Data.ProtoLens.Encoding.Growing.new + loop + Data.ProtoLens.defMessage mutable'editionDefaults mutable'targets + mutable'uninterpretedOption) + "FieldOptions" + buildMessage + = \ _x + -> (Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'ctype") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'packed") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'jstype") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'lazy") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'unverifiedLazy") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 120) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'weak") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 80) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'debugRedact") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 128) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'retention") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 136) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 152) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'targets") _x)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 162) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'editionDefaults") + _x)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'features") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 170) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field + @"vec'uninterpretedOption") + _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields _x)))))))))))))) +instance Control.DeepSeq.NFData FieldOptions where + rnf + = \ x__ + -> Control.DeepSeq.deepseq + (_FieldOptions'_unknownFields x__) + (Control.DeepSeq.deepseq + (_FieldOptions'ctype x__) + (Control.DeepSeq.deepseq + (_FieldOptions'packed x__) + (Control.DeepSeq.deepseq + (_FieldOptions'jstype x__) + (Control.DeepSeq.deepseq + (_FieldOptions'lazy x__) + (Control.DeepSeq.deepseq + (_FieldOptions'unverifiedLazy x__) + (Control.DeepSeq.deepseq + (_FieldOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_FieldOptions'weak x__) + (Control.DeepSeq.deepseq + (_FieldOptions'debugRedact x__) + (Control.DeepSeq.deepseq + (_FieldOptions'retention x__) + (Control.DeepSeq.deepseq + (_FieldOptions'targets x__) + (Control.DeepSeq.deepseq + (_FieldOptions'editionDefaults x__) + (Control.DeepSeq.deepseq + (_FieldOptions'features x__) + (Control.DeepSeq.deepseq + (_FieldOptions'uninterpretedOption x__) + ()))))))))))))) +data FieldOptions'CType + = FieldOptions'STRING | + FieldOptions'CORD | + FieldOptions'STRING_PIECE + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'CType where + enumName _ = Data.Text.pack "CType" + maybeToEnum 0 = Prelude.Just FieldOptions'STRING + maybeToEnum 1 = Prelude.Just FieldOptions'CORD + maybeToEnum 2 = Prelude.Just FieldOptions'STRING_PIECE + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'STRING = "STRING" + showEnum FieldOptions'CORD = "CORD" + showEnum FieldOptions'STRING_PIECE = "STRING_PIECE" + readEnum k + | (Prelude.==) k "STRING" = Prelude.Just FieldOptions'STRING + | (Prelude.==) k "CORD" = Prelude.Just FieldOptions'CORD + | (Prelude.==) k "STRING_PIECE" + = Prelude.Just FieldOptions'STRING_PIECE + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'CType where + minBound = FieldOptions'STRING + maxBound = FieldOptions'STRING_PIECE +instance Prelude.Enum FieldOptions'CType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum CType: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'STRING = 0 + fromEnum FieldOptions'CORD = 1 + fromEnum FieldOptions'STRING_PIECE = 2 + succ FieldOptions'STRING_PIECE + = Prelude.error + "FieldOptions'CType.succ: bad argument FieldOptions'STRING_PIECE. This value would be out of bounds." + succ FieldOptions'STRING = FieldOptions'CORD + succ FieldOptions'CORD = FieldOptions'STRING_PIECE + pred FieldOptions'STRING + = Prelude.error + "FieldOptions'CType.pred: bad argument FieldOptions'STRING. This value would be out of bounds." + pred FieldOptions'CORD = FieldOptions'STRING + pred FieldOptions'STRING_PIECE = FieldOptions'CORD + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'CType where + fieldDefault = FieldOptions'STRING +instance Control.DeepSeq.NFData FieldOptions'CType where + rnf x__ = Prelude.seq x__ () +{- | Fields : + + * 'Proto.Google.Protobuf.Descriptor_Fields.edition' @:: Lens' FieldOptions'EditionDefault Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'edition' @:: Lens' FieldOptions'EditionDefault (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionEnum' @:: Lens' FieldOptions'EditionDefault Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'editionEnum' @:: Lens' FieldOptions'EditionDefault (Prelude.Maybe Edition)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.value' @:: Lens' FieldOptions'EditionDefault Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'value' @:: Lens' FieldOptions'EditionDefault (Prelude.Maybe Data.Text.Text)@ -} +data FieldOptions'EditionDefault + = FieldOptions'EditionDefault'_constructor {_FieldOptions'EditionDefault'edition :: !(Prelude.Maybe Data.Text.Text), + _FieldOptions'EditionDefault'editionEnum :: !(Prelude.Maybe Edition), + _FieldOptions'EditionDefault'value :: !(Prelude.Maybe Data.Text.Text), + _FieldOptions'EditionDefault'_unknownFields :: !Data.ProtoLens.FieldSet} + deriving stock (Prelude.Eq, Prelude.Ord) +instance Prelude.Show FieldOptions'EditionDefault where + showsPrec _ __x __s + = Prelude.showChar + '{' + (Prelude.showString + (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "edition" Data.Text.Text where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'packed - (\ x__ y__ -> x__ {_FieldOptions'packed = y__})) + _FieldOptions'EditionDefault'edition + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'edition = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) -instance Data.ProtoLens.Field.HasField FieldOptions "maybe'packed" (Prelude.Maybe Prelude.Bool) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldOptions'packed - (\ x__ y__ -> x__ {_FieldOptions'packed = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldOptions "jstype" FieldOptions'JSType where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldOptions'jstype - (\ x__ y__ -> x__ {_FieldOptions'jstype = y__})) - (Data.ProtoLens.maybeLens FieldOptions'JS_NORMAL) -instance Data.ProtoLens.Field.HasField FieldOptions "maybe'jstype" (Prelude.Maybe FieldOptions'JSType) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldOptions'jstype - (\ x__ y__ -> x__ {_FieldOptions'jstype = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldOptions "lazy" Prelude.Bool where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) - (Data.ProtoLens.maybeLens Prelude.False) -instance Data.ProtoLens.Field.HasField FieldOptions "maybe'lazy" (Prelude.Maybe Prelude.Bool) where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldOptions'lazy (\ x__ y__ -> x__ {_FieldOptions'lazy = y__})) - Prelude.id -instance Data.ProtoLens.Field.HasField FieldOptions "deprecated" Prelude.Bool where - fieldOf _ - = (Prelude..) - (Lens.Family2.Unchecked.lens - _FieldOptions'deprecated - (\ x__ y__ -> x__ {_FieldOptions'deprecated = y__})) - (Data.ProtoLens.maybeLens Prelude.False) -instance Data.ProtoLens.Field.HasField FieldOptions "maybe'deprecated" (Prelude.Maybe Prelude.Bool) where +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "maybe'edition" (Prelude.Maybe Data.Text.Text) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'deprecated - (\ x__ y__ -> x__ {_FieldOptions'deprecated = y__})) + _FieldOptions'EditionDefault'edition + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'edition = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldOptions "weak" Prelude.Bool where +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "editionEnum" Edition where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) - (Data.ProtoLens.maybeLens Prelude.False) -instance Data.ProtoLens.Field.HasField FieldOptions "maybe'weak" (Prelude.Maybe Prelude.Bool) where + _FieldOptions'EditionDefault'editionEnum + (\ x__ y__ + -> x__ {_FieldOptions'EditionDefault'editionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "maybe'editionEnum" (Prelude.Maybe Edition) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'weak (\ x__ y__ -> x__ {_FieldOptions'weak = y__})) + _FieldOptions'EditionDefault'editionEnum + (\ x__ y__ + -> x__ {_FieldOptions'EditionDefault'editionEnum = y__})) Prelude.id -instance Data.ProtoLens.Field.HasField FieldOptions "uninterpretedOption" [UninterpretedOption] where +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "value" Data.Text.Text where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'uninterpretedOption - (\ x__ y__ -> x__ {_FieldOptions'uninterpretedOption = y__})) - (Lens.Family2.Unchecked.lens - Data.Vector.Generic.toList - (\ _ y__ -> Data.Vector.Generic.fromList y__)) -instance Data.ProtoLens.Field.HasField FieldOptions "vec'uninterpretedOption" (Data.Vector.Vector UninterpretedOption) where + _FieldOptions'EditionDefault'value + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'value = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FieldOptions'EditionDefault "maybe'value" (Prelude.Maybe Data.Text.Text) where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens - _FieldOptions'uninterpretedOption - (\ x__ y__ -> x__ {_FieldOptions'uninterpretedOption = y__})) + _FieldOptions'EditionDefault'value + (\ x__ y__ -> x__ {_FieldOptions'EditionDefault'value = y__})) Prelude.id -instance Data.ProtoLens.Message FieldOptions where - messageName _ = Data.Text.pack "google.protobuf.FieldOptions" +instance Data.ProtoLens.Message FieldOptions'EditionDefault where + messageName _ + = Data.Text.pack "google.protobuf.FieldOptions.EditionDefault" packedMessageDescriptor _ = "\n\ - \\fFieldOptions\DC2A\n\ - \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ - \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ - \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ - \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2%\n\ - \\n\ - \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2\EM\n\ - \\EOTweak\CAN\n\ - \ \SOH(\b:\ENQfalseR\EOTweak\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"/\n\ - \\ENQCType\DC2\n\ - \\n\ - \\ACKSTRING\DLE\NUL\DC2\b\n\ - \\EOTCORD\DLE\SOH\DC2\DLE\n\ - \\fSTRING_PIECE\DLE\STX\"5\n\ - \\ACKJSType\DC2\r\n\ - \\tJS_NORMAL\DLE\NUL\DC2\r\n\ - \\tJS_STRING\DLE\SOH\DC2\r\n\ - \\tJS_NUMBER\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQ" + \\SOEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let - ctype__field_descriptor - = Data.ProtoLens.FieldDescriptor - "ctype" - (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: - Data.ProtoLens.FieldTypeDescriptor FieldOptions'CType) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'ctype")) :: - Data.ProtoLens.FieldDescriptor FieldOptions - packed__field_descriptor + edition__field_descriptor = Data.ProtoLens.FieldDescriptor - "packed" - (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: - Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'packed")) :: - Data.ProtoLens.FieldDescriptor FieldOptions - jstype__field_descriptor + (Data.ProtoLens.Field.field @"maybe'edition")) :: + Data.ProtoLens.FieldDescriptor FieldOptions'EditionDefault + editionEnum__field_descriptor = Data.ProtoLens.FieldDescriptor - "jstype" + "edition_enum" (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: - Data.ProtoLens.FieldTypeDescriptor FieldOptions'JSType) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'jstype")) :: - Data.ProtoLens.FieldDescriptor FieldOptions - lazy__field_descriptor - = Data.ProtoLens.FieldDescriptor - "lazy" - (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: - Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + Data.ProtoLens.FieldTypeDescriptor Edition) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'lazy")) :: - Data.ProtoLens.FieldDescriptor FieldOptions - deprecated__field_descriptor - = Data.ProtoLens.FieldDescriptor - "deprecated" - (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: - Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) - (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'deprecated")) :: - Data.ProtoLens.FieldDescriptor FieldOptions - weak__field_descriptor + (Data.ProtoLens.Field.field @"maybe'editionEnum")) :: + Data.ProtoLens.FieldDescriptor FieldOptions'EditionDefault + value__field_descriptor = Data.ProtoLens.FieldDescriptor - "weak" - (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: - Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + "value" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.OptionalField - (Data.ProtoLens.Field.field @"maybe'weak")) :: - Data.ProtoLens.FieldDescriptor FieldOptions - uninterpretedOption__field_descriptor - = Data.ProtoLens.FieldDescriptor - "uninterpreted_option" - (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: - Data.ProtoLens.FieldTypeDescriptor UninterpretedOption) - (Data.ProtoLens.RepeatedField - Data.ProtoLens.Unpacked - (Data.ProtoLens.Field.field @"uninterpretedOption")) :: - Data.ProtoLens.FieldDescriptor FieldOptions + (Data.ProtoLens.Field.field @"maybe'value")) :: + Data.ProtoLens.FieldDescriptor FieldOptions'EditionDefault in Data.Map.fromList - [(Data.ProtoLens.Tag 1, ctype__field_descriptor), - (Data.ProtoLens.Tag 2, packed__field_descriptor), - (Data.ProtoLens.Tag 6, jstype__field_descriptor), - (Data.ProtoLens.Tag 5, lazy__field_descriptor), - (Data.ProtoLens.Tag 3, deprecated__field_descriptor), - (Data.ProtoLens.Tag 10, weak__field_descriptor), - (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + [(Data.ProtoLens.Tag 1, edition__field_descriptor), + (Data.ProtoLens.Tag 3, editionEnum__field_descriptor), + (Data.ProtoLens.Tag 2, value__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens - _FieldOptions'_unknownFields - (\ x__ y__ -> x__ {_FieldOptions'_unknownFields = y__}) + _FieldOptions'EditionDefault'_unknownFields + (\ x__ y__ + -> x__ {_FieldOptions'EditionDefault'_unknownFields = y__}) defMessage - = FieldOptions'_constructor - {_FieldOptions'ctype = Prelude.Nothing, - _FieldOptions'packed = Prelude.Nothing, - _FieldOptions'jstype = Prelude.Nothing, - _FieldOptions'lazy = Prelude.Nothing, - _FieldOptions'deprecated = Prelude.Nothing, - _FieldOptions'weak = Prelude.Nothing, - _FieldOptions'uninterpretedOption = Data.Vector.Generic.empty, - _FieldOptions'_unknownFields = []} + = FieldOptions'EditionDefault'_constructor + {_FieldOptions'EditionDefault'edition = Prelude.Nothing, + _FieldOptions'EditionDefault'editionEnum = Prelude.Nothing, + _FieldOptions'EditionDefault'value = Prelude.Nothing, + _FieldOptions'EditionDefault'_unknownFields = []} parseMessage = let loop :: - FieldOptions - -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld UninterpretedOption - -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions - loop x mutable'uninterpretedOption + FieldOptions'EditionDefault + -> Data.ProtoLens.Encoding.Bytes.Parser FieldOptions'EditionDefault + loop x = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then - do frozen'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO - (Data.ProtoLens.Encoding.Growing.unsafeFreeze - mutable'uninterpretedOption) - (let missing = [] + do (let missing = [] in if Prelude.null missing then Prelude.return () @@ -3911,264 +6661,108 @@ instance Data.ProtoLens.Message FieldOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) - (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of - 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - Prelude.toEnum - (Prelude.fmap - Prelude.fromIntegral - Data.ProtoLens.Encoding.Bytes.getVarInt)) - "ctype" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"ctype") y x) - mutable'uninterpretedOption - 16 + 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) - "packed" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"packed") y x) - mutable'uninterpretedOption - 48 + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + 24 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap Prelude.toEnum (Prelude.fmap Prelude.fromIntegral Data.ProtoLens.Encoding.Bytes.getVarInt)) - "jstype" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"jstype") y x) - mutable'uninterpretedOption - 40 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) - "lazy" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"lazy") y x) - mutable'uninterpretedOption - 24 - -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) - "deprecated" + "edition_enum" loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x) - mutable'uninterpretedOption - 80 + (Lens.Family2.set (Data.ProtoLens.Field.field @"editionEnum") y x) + 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (Prelude.fmap - ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) - "weak" - loop - (Lens.Family2.set (Data.ProtoLens.Field.field @"weak") y x) - mutable'uninterpretedOption - 7994 - -> do !y <- (Data.ProtoLens.Encoding.Bytes.) - (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.isolate - (Prelude.fromIntegral len) - Data.ProtoLens.parseMessage) - "uninterpreted_option" - v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO - (Data.ProtoLens.Encoding.Growing.append - mutable'uninterpretedOption y) - loop x v + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "value" + loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x) wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'uninterpretedOption in (Data.ProtoLens.Encoding.Bytes.) - (do mutable'uninterpretedOption <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO - Data.ProtoLens.Encoding.Growing.new - loop Data.ProtoLens.defMessage mutable'uninterpretedOption) - "FieldOptions" + (do loop Data.ProtoLens.defMessage) "EditionDefault" buildMessage = \ _x -> (Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'ctype") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'edition") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 8) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) ((Prelude..) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) - Prelude.fromEnum - _v)) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'packed") _x + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'editionEnum") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 16) + (Data.ProtoLens.Encoding.Bytes.putVarInt 24) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) + Prelude.fromEnum _v)) ((Data.Monoid.<>) (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'jstype") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 48) + (Data.ProtoLens.Encoding.Bytes.putVarInt 18) ((Prelude..) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) - Prelude.fromEnum - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'lazy") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 40) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'deprecated") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 24) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) - ((Data.Monoid.<>) - (case - Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'weak") _x - of - Prelude.Nothing -> Data.Monoid.mempty - (Prelude.Just _v) - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 80) - ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) - ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) -instance Control.DeepSeq.NFData FieldOptions where + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.Text.Encoding.encodeUtf8 _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) +instance Control.DeepSeq.NFData FieldOptions'EditionDefault where rnf = \ x__ -> Control.DeepSeq.deepseq - (_FieldOptions'_unknownFields x__) + (_FieldOptions'EditionDefault'_unknownFields x__) (Control.DeepSeq.deepseq - (_FieldOptions'ctype x__) + (_FieldOptions'EditionDefault'edition x__) (Control.DeepSeq.deepseq - (_FieldOptions'packed x__) + (_FieldOptions'EditionDefault'editionEnum x__) (Control.DeepSeq.deepseq - (_FieldOptions'jstype x__) - (Control.DeepSeq.deepseq - (_FieldOptions'lazy x__) - (Control.DeepSeq.deepseq - (_FieldOptions'deprecated x__) - (Control.DeepSeq.deepseq - (_FieldOptions'weak x__) - (Control.DeepSeq.deepseq - (_FieldOptions'uninterpretedOption x__) ()))))))) -data FieldOptions'CType - = FieldOptions'STRING | - FieldOptions'CORD | - FieldOptions'STRING_PIECE - deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) -instance Data.ProtoLens.MessageEnum FieldOptions'CType where - maybeToEnum 0 = Prelude.Just FieldOptions'STRING - maybeToEnum 1 = Prelude.Just FieldOptions'CORD - maybeToEnum 2 = Prelude.Just FieldOptions'STRING_PIECE - maybeToEnum _ = Prelude.Nothing - showEnum FieldOptions'STRING = "STRING" - showEnum FieldOptions'CORD = "CORD" - showEnum FieldOptions'STRING_PIECE = "STRING_PIECE" - readEnum k - | (Prelude.==) k "STRING" = Prelude.Just FieldOptions'STRING - | (Prelude.==) k "CORD" = Prelude.Just FieldOptions'CORD - | (Prelude.==) k "STRING_PIECE" - = Prelude.Just FieldOptions'STRING_PIECE - | Prelude.otherwise - = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum -instance Prelude.Bounded FieldOptions'CType where - minBound = FieldOptions'STRING - maxBound = FieldOptions'STRING_PIECE -instance Prelude.Enum FieldOptions'CType where - toEnum k__ - = Prelude.maybe - (Prelude.error - ((Prelude.++) - "toEnum: unknown value for enum CType: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) - fromEnum FieldOptions'STRING = 0 - fromEnum FieldOptions'CORD = 1 - fromEnum FieldOptions'STRING_PIECE = 2 - succ FieldOptions'STRING_PIECE - = Prelude.error - "FieldOptions'CType.succ: bad argument FieldOptions'STRING_PIECE. This value would be out of bounds." - succ FieldOptions'STRING = FieldOptions'CORD - succ FieldOptions'CORD = FieldOptions'STRING_PIECE - pred FieldOptions'STRING - = Prelude.error - "FieldOptions'CType.pred: bad argument FieldOptions'STRING. This value would be out of bounds." - pred FieldOptions'CORD = FieldOptions'STRING - pred FieldOptions'STRING_PIECE = FieldOptions'CORD - enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom - enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo - enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen - enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo -instance Data.ProtoLens.FieldDefault FieldOptions'CType where - fieldDefault = FieldOptions'STRING -instance Control.DeepSeq.NFData FieldOptions'CType where - rnf x__ = Prelude.seq x__ () + (_FieldOptions'EditionDefault'value x__) ()))) data FieldOptions'JSType = FieldOptions'JS_NORMAL | FieldOptions'JS_STRING | FieldOptions'JS_NUMBER deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FieldOptions'JSType where + enumName _ = Data.Text.pack "JSType" maybeToEnum 0 = Prelude.Just FieldOptions'JS_NORMAL maybeToEnum 1 = Prelude.Just FieldOptions'JS_STRING maybeToEnum 2 = Prelude.Just FieldOptions'JS_NUMBER @@ -4191,8 +6785,7 @@ instance Prelude.Enum FieldOptions'JSType where (Prelude.error ((Prelude.++) "toEnum: unknown value for enum JSType: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) + Prelude.id (Data.ProtoLens.maybeToEnum k__) fromEnum FieldOptions'JS_NORMAL = 0 fromEnum FieldOptions'JS_STRING = 1 fromEnum FieldOptions'JS_NUMBER = 2 @@ -4214,6 +6807,193 @@ instance Data.ProtoLens.FieldDefault FieldOptions'JSType where fieldDefault = FieldOptions'JS_NORMAL instance Control.DeepSeq.NFData FieldOptions'JSType where rnf x__ = Prelude.seq x__ () +data FieldOptions'OptionRetention + = FieldOptions'RETENTION_UNKNOWN | + FieldOptions'RETENTION_RUNTIME | + FieldOptions'RETENTION_SOURCE + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'OptionRetention where + enumName _ = Data.Text.pack "OptionRetention" + maybeToEnum 0 = Prelude.Just FieldOptions'RETENTION_UNKNOWN + maybeToEnum 1 = Prelude.Just FieldOptions'RETENTION_RUNTIME + maybeToEnum 2 = Prelude.Just FieldOptions'RETENTION_SOURCE + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'RETENTION_UNKNOWN = "RETENTION_UNKNOWN" + showEnum FieldOptions'RETENTION_RUNTIME = "RETENTION_RUNTIME" + showEnum FieldOptions'RETENTION_SOURCE = "RETENTION_SOURCE" + readEnum k + | (Prelude.==) k "RETENTION_UNKNOWN" + = Prelude.Just FieldOptions'RETENTION_UNKNOWN + | (Prelude.==) k "RETENTION_RUNTIME" + = Prelude.Just FieldOptions'RETENTION_RUNTIME + | (Prelude.==) k "RETENTION_SOURCE" + = Prelude.Just FieldOptions'RETENTION_SOURCE + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'OptionRetention where + minBound = FieldOptions'RETENTION_UNKNOWN + maxBound = FieldOptions'RETENTION_SOURCE +instance Prelude.Enum FieldOptions'OptionRetention where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum OptionRetention: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'RETENTION_UNKNOWN = 0 + fromEnum FieldOptions'RETENTION_RUNTIME = 1 + fromEnum FieldOptions'RETENTION_SOURCE = 2 + succ FieldOptions'RETENTION_SOURCE + = Prelude.error + "FieldOptions'OptionRetention.succ: bad argument FieldOptions'RETENTION_SOURCE. This value would be out of bounds." + succ FieldOptions'RETENTION_UNKNOWN + = FieldOptions'RETENTION_RUNTIME + succ FieldOptions'RETENTION_RUNTIME = FieldOptions'RETENTION_SOURCE + pred FieldOptions'RETENTION_UNKNOWN + = Prelude.error + "FieldOptions'OptionRetention.pred: bad argument FieldOptions'RETENTION_UNKNOWN. This value would be out of bounds." + pred FieldOptions'RETENTION_RUNTIME + = FieldOptions'RETENTION_UNKNOWN + pred FieldOptions'RETENTION_SOURCE = FieldOptions'RETENTION_RUNTIME + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'OptionRetention where + fieldDefault = FieldOptions'RETENTION_UNKNOWN +instance Control.DeepSeq.NFData FieldOptions'OptionRetention where + rnf x__ = Prelude.seq x__ () +data FieldOptions'OptionTargetType + = FieldOptions'TARGET_TYPE_UNKNOWN | + FieldOptions'TARGET_TYPE_FILE | + FieldOptions'TARGET_TYPE_EXTENSION_RANGE | + FieldOptions'TARGET_TYPE_MESSAGE | + FieldOptions'TARGET_TYPE_FIELD | + FieldOptions'TARGET_TYPE_ONEOF | + FieldOptions'TARGET_TYPE_ENUM | + FieldOptions'TARGET_TYPE_ENUM_ENTRY | + FieldOptions'TARGET_TYPE_SERVICE | + FieldOptions'TARGET_TYPE_METHOD + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum FieldOptions'OptionTargetType where + enumName _ = Data.Text.pack "OptionTargetType" + maybeToEnum 0 = Prelude.Just FieldOptions'TARGET_TYPE_UNKNOWN + maybeToEnum 1 = Prelude.Just FieldOptions'TARGET_TYPE_FILE + maybeToEnum 2 + = Prelude.Just FieldOptions'TARGET_TYPE_EXTENSION_RANGE + maybeToEnum 3 = Prelude.Just FieldOptions'TARGET_TYPE_MESSAGE + maybeToEnum 4 = Prelude.Just FieldOptions'TARGET_TYPE_FIELD + maybeToEnum 5 = Prelude.Just FieldOptions'TARGET_TYPE_ONEOF + maybeToEnum 6 = Prelude.Just FieldOptions'TARGET_TYPE_ENUM + maybeToEnum 7 = Prelude.Just FieldOptions'TARGET_TYPE_ENUM_ENTRY + maybeToEnum 8 = Prelude.Just FieldOptions'TARGET_TYPE_SERVICE + maybeToEnum 9 = Prelude.Just FieldOptions'TARGET_TYPE_METHOD + maybeToEnum _ = Prelude.Nothing + showEnum FieldOptions'TARGET_TYPE_UNKNOWN = "TARGET_TYPE_UNKNOWN" + showEnum FieldOptions'TARGET_TYPE_FILE = "TARGET_TYPE_FILE" + showEnum FieldOptions'TARGET_TYPE_EXTENSION_RANGE + = "TARGET_TYPE_EXTENSION_RANGE" + showEnum FieldOptions'TARGET_TYPE_MESSAGE = "TARGET_TYPE_MESSAGE" + showEnum FieldOptions'TARGET_TYPE_FIELD = "TARGET_TYPE_FIELD" + showEnum FieldOptions'TARGET_TYPE_ONEOF = "TARGET_TYPE_ONEOF" + showEnum FieldOptions'TARGET_TYPE_ENUM = "TARGET_TYPE_ENUM" + showEnum FieldOptions'TARGET_TYPE_ENUM_ENTRY + = "TARGET_TYPE_ENUM_ENTRY" + showEnum FieldOptions'TARGET_TYPE_SERVICE = "TARGET_TYPE_SERVICE" + showEnum FieldOptions'TARGET_TYPE_METHOD = "TARGET_TYPE_METHOD" + readEnum k + | (Prelude.==) k "TARGET_TYPE_UNKNOWN" + = Prelude.Just FieldOptions'TARGET_TYPE_UNKNOWN + | (Prelude.==) k "TARGET_TYPE_FILE" + = Prelude.Just FieldOptions'TARGET_TYPE_FILE + | (Prelude.==) k "TARGET_TYPE_EXTENSION_RANGE" + = Prelude.Just FieldOptions'TARGET_TYPE_EXTENSION_RANGE + | (Prelude.==) k "TARGET_TYPE_MESSAGE" + = Prelude.Just FieldOptions'TARGET_TYPE_MESSAGE + | (Prelude.==) k "TARGET_TYPE_FIELD" + = Prelude.Just FieldOptions'TARGET_TYPE_FIELD + | (Prelude.==) k "TARGET_TYPE_ONEOF" + = Prelude.Just FieldOptions'TARGET_TYPE_ONEOF + | (Prelude.==) k "TARGET_TYPE_ENUM" + = Prelude.Just FieldOptions'TARGET_TYPE_ENUM + | (Prelude.==) k "TARGET_TYPE_ENUM_ENTRY" + = Prelude.Just FieldOptions'TARGET_TYPE_ENUM_ENTRY + | (Prelude.==) k "TARGET_TYPE_SERVICE" + = Prelude.Just FieldOptions'TARGET_TYPE_SERVICE + | (Prelude.==) k "TARGET_TYPE_METHOD" + = Prelude.Just FieldOptions'TARGET_TYPE_METHOD + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded FieldOptions'OptionTargetType where + minBound = FieldOptions'TARGET_TYPE_UNKNOWN + maxBound = FieldOptions'TARGET_TYPE_METHOD +instance Prelude.Enum FieldOptions'OptionTargetType where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum OptionTargetType: " + (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum FieldOptions'TARGET_TYPE_UNKNOWN = 0 + fromEnum FieldOptions'TARGET_TYPE_FILE = 1 + fromEnum FieldOptions'TARGET_TYPE_EXTENSION_RANGE = 2 + fromEnum FieldOptions'TARGET_TYPE_MESSAGE = 3 + fromEnum FieldOptions'TARGET_TYPE_FIELD = 4 + fromEnum FieldOptions'TARGET_TYPE_ONEOF = 5 + fromEnum FieldOptions'TARGET_TYPE_ENUM = 6 + fromEnum FieldOptions'TARGET_TYPE_ENUM_ENTRY = 7 + fromEnum FieldOptions'TARGET_TYPE_SERVICE = 8 + fromEnum FieldOptions'TARGET_TYPE_METHOD = 9 + succ FieldOptions'TARGET_TYPE_METHOD + = Prelude.error + "FieldOptions'OptionTargetType.succ: bad argument FieldOptions'TARGET_TYPE_METHOD. This value would be out of bounds." + succ FieldOptions'TARGET_TYPE_UNKNOWN + = FieldOptions'TARGET_TYPE_FILE + succ FieldOptions'TARGET_TYPE_FILE + = FieldOptions'TARGET_TYPE_EXTENSION_RANGE + succ FieldOptions'TARGET_TYPE_EXTENSION_RANGE + = FieldOptions'TARGET_TYPE_MESSAGE + succ FieldOptions'TARGET_TYPE_MESSAGE + = FieldOptions'TARGET_TYPE_FIELD + succ FieldOptions'TARGET_TYPE_FIELD + = FieldOptions'TARGET_TYPE_ONEOF + succ FieldOptions'TARGET_TYPE_ONEOF = FieldOptions'TARGET_TYPE_ENUM + succ FieldOptions'TARGET_TYPE_ENUM + = FieldOptions'TARGET_TYPE_ENUM_ENTRY + succ FieldOptions'TARGET_TYPE_ENUM_ENTRY + = FieldOptions'TARGET_TYPE_SERVICE + succ FieldOptions'TARGET_TYPE_SERVICE + = FieldOptions'TARGET_TYPE_METHOD + pred FieldOptions'TARGET_TYPE_UNKNOWN + = Prelude.error + "FieldOptions'OptionTargetType.pred: bad argument FieldOptions'TARGET_TYPE_UNKNOWN. This value would be out of bounds." + pred FieldOptions'TARGET_TYPE_FILE + = FieldOptions'TARGET_TYPE_UNKNOWN + pred FieldOptions'TARGET_TYPE_EXTENSION_RANGE + = FieldOptions'TARGET_TYPE_FILE + pred FieldOptions'TARGET_TYPE_MESSAGE + = FieldOptions'TARGET_TYPE_EXTENSION_RANGE + pred FieldOptions'TARGET_TYPE_FIELD + = FieldOptions'TARGET_TYPE_MESSAGE + pred FieldOptions'TARGET_TYPE_ONEOF + = FieldOptions'TARGET_TYPE_FIELD + pred FieldOptions'TARGET_TYPE_ENUM = FieldOptions'TARGET_TYPE_ONEOF + pred FieldOptions'TARGET_TYPE_ENUM_ENTRY + = FieldOptions'TARGET_TYPE_ENUM + pred FieldOptions'TARGET_TYPE_SERVICE + = FieldOptions'TARGET_TYPE_ENUM_ENTRY + pred FieldOptions'TARGET_TYPE_METHOD + = FieldOptions'TARGET_TYPE_SERVICE + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault FieldOptions'OptionTargetType where + fieldDefault = FieldOptions'TARGET_TYPE_UNKNOWN +instance Control.DeepSeq.NFData FieldOptions'OptionTargetType where + rnf x__ = Prelude.seq x__ () {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' FileDescriptorProto Data.Text.Text@ @@ -4239,7 +7019,11 @@ instance Control.DeepSeq.NFData FieldOptions'JSType where * 'Proto.Google.Protobuf.Descriptor_Fields.sourceCodeInfo' @:: Lens' FileDescriptorProto SourceCodeInfo@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'sourceCodeInfo' @:: Lens' FileDescriptorProto (Prelude.Maybe SourceCodeInfo)@ * 'Proto.Google.Protobuf.Descriptor_Fields.syntax' @:: Lens' FileDescriptorProto Data.Text.Text@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'syntax' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ -} + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'syntax' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.edition' @:: Lens' FileDescriptorProto Data.Text.Text@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'edition' @:: Lens' FileDescriptorProto (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.editionEnum' @:: Lens' FileDescriptorProto Edition@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'editionEnum' @:: Lens' FileDescriptorProto (Prelude.Maybe Edition)@ -} data FileDescriptorProto = FileDescriptorProto'_constructor {_FileDescriptorProto'name :: !(Prelude.Maybe Data.Text.Text), _FileDescriptorProto'package :: !(Prelude.Maybe Data.Text.Text), @@ -4253,6 +7037,8 @@ data FileDescriptorProto _FileDescriptorProto'options :: !(Prelude.Maybe FileOptions), _FileDescriptorProto'sourceCodeInfo :: !(Prelude.Maybe SourceCodeInfo), _FileDescriptorProto'syntax :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'edition :: !(Prelude.Maybe Data.Text.Text), + _FileDescriptorProto'editionEnum :: !(Prelude.Maybe Edition), _FileDescriptorProto'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show FileDescriptorProto where @@ -4443,6 +7229,34 @@ instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'syntax" (Prelu _FileDescriptorProto'syntax (\ x__ y__ -> x__ {_FileDescriptorProto'syntax = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "edition" Data.Text.Text where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'edition + (\ x__ y__ -> x__ {_FileDescriptorProto'edition = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'edition" (Prelude.Maybe Data.Text.Text) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'edition + (\ x__ y__ -> x__ {_FileDescriptorProto'edition = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField FileDescriptorProto "editionEnum" Edition where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'editionEnum + (\ x__ y__ -> x__ {_FileDescriptorProto'editionEnum = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField FileDescriptorProto "maybe'editionEnum" (Prelude.Maybe Edition) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileDescriptorProto'editionEnum + (\ x__ y__ -> x__ {_FileDescriptorProto'editionEnum = y__})) + Prelude.id instance Data.ProtoLens.Message FileDescriptorProto where messageName _ = Data.Text.pack "google.protobuf.FileDescriptorProto" @@ -4463,7 +7277,9 @@ instance Data.ProtoLens.Message FileDescriptorProto where \\textension\CAN\a \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC26\n\ \\aoptions\CAN\b \SOH(\v2\FS.google.protobuf.FileOptionsR\aoptions\DC2I\n\ \\DLEsource_code_info\CAN\t \SOH(\v2\US.google.protobuf.SourceCodeInfoR\SOsourceCodeInfo\DC2\SYN\n\ - \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax" + \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\r \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\SO \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -4569,6 +7385,22 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'syntax")) :: Data.ProtoLens.FieldDescriptor FileDescriptorProto + edition__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition" + (Data.ProtoLens.ScalarField Data.ProtoLens.StringField :: + Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'edition")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto + editionEnum__field_descriptor + = Data.ProtoLens.FieldDescriptor + "edition_enum" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor Edition) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'editionEnum")) :: + Data.ProtoLens.FieldDescriptor FileDescriptorProto in Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor), @@ -4582,7 +7414,9 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Tag 7, extension__field_descriptor), (Data.ProtoLens.Tag 8, options__field_descriptor), (Data.ProtoLens.Tag 9, sourceCodeInfo__field_descriptor), - (Data.ProtoLens.Tag 12, syntax__field_descriptor)] + (Data.ProtoLens.Tag 12, syntax__field_descriptor), + (Data.ProtoLens.Tag 13, edition__field_descriptor), + (Data.ProtoLens.Tag 14, editionEnum__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _FileDescriptorProto'_unknownFields @@ -4601,6 +7435,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where _FileDescriptorProto'options = Prelude.Nothing, _FileDescriptorProto'sourceCodeInfo = Prelude.Nothing, _FileDescriptorProto'syntax = Prelude.Nothing, + _FileDescriptorProto'edition = Prelude.Nothing, + _FileDescriptorProto'editionEnum = Prelude.Nothing, _FileDescriptorProto'_unknownFields = []} parseMessage = let @@ -4657,17 +7493,13 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'dependency") - frozen'dependency + (Data.ProtoLens.Field.field @"vec'dependency") frozen'dependency (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'enumType") - frozen'enumType + (Data.ProtoLens.Field.field @"vec'enumType") frozen'enumType (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'extension") - frozen'extension + (Data.ProtoLens.Field.field @"vec'extension") frozen'extension (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'messageType") frozen'messageType @@ -4679,73 +7511,43 @@ instance Data.ProtoLens.Message FileDescriptorProto where frozen'service (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'weakDependency") - frozen'weakDependency - x)))))))) + frozen'weakDependency x)))))))) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "package" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"package") y x) - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency 26 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "dependency" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'dependency y) loop - x - v - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service - mutable'weakDependency + x v mutable'enumType mutable'extension mutable'messageType + mutable'publicDependency mutable'service mutable'weakDependency 80 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap @@ -4756,14 +7558,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Growing.append mutable'publicDependency y) loop - x - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - v - mutable'service - mutable'weakDependency + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType v mutable'service mutable'weakDependency 82 -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt Data.ProtoLens.Encoding.Bytes.isolate @@ -4786,14 +7582,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where in ploop) mutable'publicDependency) loop - x - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - y - mutable'service - mutable'weakDependency + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType y mutable'service mutable'weakDependency 88 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap @@ -4804,14 +7594,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Growing.append mutable'weakDependency y) loop - x - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service - v + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service v 90 -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt Data.ProtoLens.Encoding.Bytes.isolate @@ -4834,14 +7618,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where in ploop) mutable'weakDependency) loop - x - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service - y + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service y 34 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -4853,14 +7631,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Growing.append mutable'messageType y) loop - x - mutable'dependency - mutable'enumType - mutable'extension - v - mutable'publicDependency - mutable'service - mutable'weakDependency + x mutable'dependency mutable'enumType mutable'extension v + mutable'publicDependency mutable'service mutable'weakDependency 42 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -4871,14 +7643,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'enumType y) loop - x - mutable'dependency - v - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service - mutable'weakDependency + x mutable'dependency v mutable'extension mutable'messageType + mutable'publicDependency mutable'service mutable'weakDependency 50 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -4889,13 +7655,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'service y) loop - x - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - v + x mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency v mutable'weakDependency 58 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) @@ -4907,14 +7668,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append mutable'extension y) loop - x - mutable'dependency - mutable'enumType - v - mutable'messageType - mutable'publicDependency - mutable'service - mutable'weakDependency + x mutable'dependency mutable'enumType v mutable'messageType + mutable'publicDependency mutable'service mutable'weakDependency 66 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -4923,12 +7678,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where "options" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x) - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency 74 -> do y <- (Data.ProtoLens.Encoding.Bytes.) @@ -4939,32 +7690,43 @@ instance Data.ProtoLens.Message FileDescriptorProto where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"sourceCodeInfo") y x) - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency 98 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "syntax" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"syntax") y x) - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 106 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) + "edition" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"edition") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service + mutable'weakDependency + 112 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "edition_enum" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"editionEnum") y x) + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire @@ -4972,12 +7734,8 @@ instance Data.ProtoLens.Message FileDescriptorProto where loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service + mutable'dependency mutable'enumType mutable'extension + mutable'messageType mutable'publicDependency mutable'service mutable'weakDependency in (Data.ProtoLens.Encoding.Bytes.) @@ -4996,14 +7754,9 @@ instance Data.ProtoLens.Message FileDescriptorProto where mutable'weakDependency <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new loop - Data.ProtoLens.defMessage - mutable'dependency - mutable'enumType - mutable'extension - mutable'messageType - mutable'publicDependency - mutable'service - mutable'weakDependency) + Data.ProtoLens.defMessage mutable'dependency mutable'enumType + mutable'extension mutable'messageType mutable'publicDependency + mutable'service mutable'weakDependency) "FileDescriptorProto" buildMessage = \ _x @@ -5021,8 +7774,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'package") _x @@ -5037,8 +7789,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -5050,8 +7801,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'dependency") _x)) ((Data.Monoid.<>) @@ -5060,8 +7810,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 80) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'publicDependency") _x)) @@ -5071,8 +7820,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 88) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'weakDependency") _x)) @@ -5088,8 +7836,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'messageType") _x)) ((Data.Monoid.<>) @@ -5104,8 +7851,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'enumType") _x)) ((Data.Monoid.<>) @@ -5120,8 +7866,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'service") _x)) ((Data.Monoid.<>) @@ -5137,8 +7882,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'extension") _x)) ((Data.Monoid.<>) @@ -5158,8 +7902,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -5179,8 +7922,7 @@ instance Data.ProtoLens.Message FileDescriptorProto where (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -5199,11 +7941,50 @@ instance Data.ProtoLens.Message FileDescriptorProto where bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view - Data.ProtoLens.unknownFields _x))))))))))))) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'edition") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 106) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.Text.Encoding.encodeUtf8 _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'editionEnum") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 112) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields + _x))))))))))))))) instance Control.DeepSeq.NFData FileDescriptorProto where rnf = \ x__ @@ -5232,7 +8013,12 @@ instance Control.DeepSeq.NFData FileDescriptorProto where (Control.DeepSeq.deepseq (_FileDescriptorProto'sourceCodeInfo x__) (Control.DeepSeq.deepseq - (_FileDescriptorProto'syntax x__) ())))))))))))) + (_FileDescriptorProto'syntax x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'edition x__) + (Control.DeepSeq.deepseq + (_FileDescriptorProto'editionEnum x__) + ())))))))))))))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.file' @:: Lens' FileDescriptorSet [FileDescriptorProto]@ @@ -5312,8 +8098,7 @@ instance Data.ProtoLens.Message FileDescriptorSet where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'file") frozen'file x)) else @@ -5355,8 +8140,7 @@ instance Data.ProtoLens.Message FileDescriptorSet where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'file") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x)) @@ -5408,6 +8192,8 @@ instance Control.DeepSeq.NFData FileDescriptorSet where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'phpMetadataNamespace' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ * 'Proto.Google.Protobuf.Descriptor_Fields.rubyPackage' @:: Lens' FileOptions Data.Text.Text@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'rubyPackage' @:: Lens' FileOptions (Prelude.Maybe Data.Text.Text)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' FileOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' FileOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' FileOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' FileOptions (Data.Vector.Vector UninterpretedOption)@ -} data FileOptions @@ -5431,6 +8217,7 @@ data FileOptions _FileOptions'phpNamespace :: !(Prelude.Maybe Data.Text.Text), _FileOptions'phpMetadataNamespace :: !(Prelude.Maybe Data.Text.Text), _FileOptions'rubyPackage :: !(Prelude.Maybe Data.Text.Text), + _FileOptions'features :: !(Prelude.Maybe FeatureSet), _FileOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _FileOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -5720,6 +8507,20 @@ instance Data.ProtoLens.Field.HasField FileOptions "maybe'rubyPackage" (Prelude. _FileOptions'rubyPackage (\ x__ y__ -> x__ {_FileOptions'rubyPackage = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField FileOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'features + (\ x__ y__ -> x__ {_FileOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField FileOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _FileOptions'features + (\ x__ y__ -> x__ {_FileOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField FileOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -5764,7 +8565,8 @@ instance Data.ProtoLens.Message FileOptions where \\DLEphp_class_prefix\CAN( \SOH(\tR\SOphpClassPrefix\DC2#\n\ \\rphp_namespace\CAN) \SOH(\tR\fphpNamespace\DC24\n\ \\SYNphp_metadata_namespace\CAN, \SOH(\tR\DC4phpMetadataNamespace\DC2!\n\ - \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC2X\n\ + \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\":\n\ \\fOptimizeMode\DC2\t\n\ \\ENQSPEED\DLE\SOH\DC2\r\n\ @@ -5933,6 +8735,14 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'rubyPackage")) :: Data.ProtoLens.FieldDescriptor FileOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor FileOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -5965,6 +8775,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Tag 41, phpNamespace__field_descriptor), (Data.ProtoLens.Tag 44, phpMetadataNamespace__field_descriptor), (Data.ProtoLens.Tag 45, rubyPackage__field_descriptor), + (Data.ProtoLens.Tag 50, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -5992,6 +8803,7 @@ instance Data.ProtoLens.Message FileOptions where _FileOptions'phpNamespace = Prelude.Nothing, _FileOptions'phpMetadataNamespace = Prelude.Nothing, _FileOptions'rubyPackage = Prelude.Nothing, + _FileOptions'features = Prelude.Nothing, _FileOptions'uninterpretedOption = Data.Vector.Generic.empty, _FileOptions'_unknownFields = []} parseMessage @@ -6017,39 +8829,27 @@ instance Data.ProtoLens.Message FileOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "java_package" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"javaPackage") y x) mutable'uninterpretedOption 66 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "java_outer_classname" loop (Lens.Family2.set @@ -6095,14 +8895,9 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 90 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "go_package" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"goPackage") y x) @@ -6162,14 +8957,9 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 290 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "objc_class_prefix" loop (Lens.Family2.set @@ -6177,14 +8967,9 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 298 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "csharp_namespace" loop (Lens.Family2.set @@ -6192,28 +8977,18 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 314 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "swift_prefix" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"swiftPrefix") y x) mutable'uninterpretedOption 322 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "php_class_prefix" loop (Lens.Family2.set @@ -6221,14 +8996,9 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 330 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "php_namespace" loop (Lens.Family2.set @@ -6236,14 +9006,9 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 354 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "php_metadata_namespace" loop (Lens.Family2.set @@ -6251,18 +9016,22 @@ instance Data.ProtoLens.Message FileOptions where mutable'uninterpretedOption 362 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "ruby_package" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"rubyPackage") y x) mutable'uninterpretedOption + 402 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -6304,8 +9073,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6321,8 +9089,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6333,8 +9100,7 @@ instance Data.ProtoLens.Message FileOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 80) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case @@ -6347,8 +9113,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 160) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6360,8 +9125,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 216) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6375,8 +9139,7 @@ instance Data.ProtoLens.Message FileOptions where ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) - Prelude.fromEnum - _v)) + Prelude.fromEnum _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6393,8 +9156,7 @@ instance Data.ProtoLens.Message FileOptions where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6406,8 +9168,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 128) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6421,8 +9182,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 136) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6436,8 +9196,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 144) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6451,8 +9210,7 @@ instance Data.ProtoLens.Message FileOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 336) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6467,8 +9225,7 @@ instance Data.ProtoLens.Message FileOptions where 184) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6483,8 +9240,7 @@ instance Data.ProtoLens.Message FileOptions where 248) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6506,8 +9262,7 @@ instance Data.ProtoLens.Message FileOptions where bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -6651,30 +9406,54 @@ instance Data.ProtoLens.Message FileOptions where Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length - bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes - bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field - @"vec'uninterpretedOption") - _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view - Data.ProtoLens.unknownFields - _x)))))))))))))))))))))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'features") + _x + of + Prelude.Nothing + -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 402) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length + bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes + bs)) + Data.ProtoLens.encodeMessage + _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field + @"vec'uninterpretedOption") + _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view + Data.ProtoLens.unknownFields + _x))))))))))))))))))))))) instance Control.DeepSeq.NFData FileOptions where rnf = \ x__ @@ -6723,15 +9502,19 @@ instance Control.DeepSeq.NFData FileOptions where (_FileOptions'rubyPackage x__) (Control.DeepSeq.deepseq - (_FileOptions'uninterpretedOption + (_FileOptions'features x__) - ()))))))))))))))))))))) + (Control.DeepSeq.deepseq + (_FileOptions'uninterpretedOption + x__) + ())))))))))))))))))))))) data FileOptions'OptimizeMode = FileOptions'SPEED | FileOptions'CODE_SIZE | FileOptions'LITE_RUNTIME deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum FileOptions'OptimizeMode where + enumName _ = Data.Text.pack "OptimizeMode" maybeToEnum 1 = Prelude.Just FileOptions'SPEED maybeToEnum 2 = Prelude.Just FileOptions'CODE_SIZE maybeToEnum 3 = Prelude.Just FileOptions'LITE_RUNTIME @@ -6756,8 +9539,7 @@ instance Prelude.Enum FileOptions'OptimizeMode where ((Prelude.++) "toEnum: unknown value for enum OptimizeMode: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) + Prelude.id (Data.ProtoLens.maybeToEnum k__) fromEnum FileOptions'SPEED = 1 fromEnum FileOptions'CODE_SIZE = 2 fromEnum FileOptions'LITE_RUNTIME = 3 @@ -6816,14 +9598,19 @@ instance Data.ProtoLens.Message GeneratedCodeInfo where \\DC1GeneratedCodeInfo\DC2M\n\ \\n\ \annotation\CAN\SOH \ETX(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n\ - \annotation\SUBm\n\ + \annotation\SUB\235\SOH\n\ \\n\ \Annotation\DC2\SYN\n\ \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ \\vsource_file\CAN\STX \SOH(\tR\n\ \sourceFile\DC2\DC4\n\ \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ - \\ETXend\CAN\EOT \SOH(\ENQR\ETXend" + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend\DC2R\n\ + \\bsemantic\CAN\ENQ \SOH(\SO26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n\ + \\bSemantic\DC2\b\n\ + \\EOTNONE\DLE\NUL\DC2\a\n\ + \\ETXSET\DLE\SOH\DC2\t\n\ + \\ENQALIAS\DLE\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -6870,11 +9657,9 @@ instance Data.ProtoLens.Message GeneratedCodeInfo where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'annotation") - frozen'annotation + (Data.ProtoLens.Field.field @"vec'annotation") frozen'annotation x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -6915,8 +9700,7 @@ instance Data.ProtoLens.Message GeneratedCodeInfo where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'annotation") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet @@ -6936,12 +9720,15 @@ instance Control.DeepSeq.NFData GeneratedCodeInfo where * 'Proto.Google.Protobuf.Descriptor_Fields.begin' @:: Lens' GeneratedCodeInfo'Annotation Data.Int.Int32@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'begin' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ * 'Proto.Google.Protobuf.Descriptor_Fields.end' @:: Lens' GeneratedCodeInfo'Annotation Data.Int.Int32@ - * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ -} + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'end' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe Data.Int.Int32)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.semantic' @:: Lens' GeneratedCodeInfo'Annotation GeneratedCodeInfo'Annotation'Semantic@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'semantic' @:: Lens' GeneratedCodeInfo'Annotation (Prelude.Maybe GeneratedCodeInfo'Annotation'Semantic)@ -} data GeneratedCodeInfo'Annotation = GeneratedCodeInfo'Annotation'_constructor {_GeneratedCodeInfo'Annotation'path :: !(Data.Vector.Unboxed.Vector Data.Int.Int32), _GeneratedCodeInfo'Annotation'sourceFile :: !(Prelude.Maybe Data.Text.Text), _GeneratedCodeInfo'Annotation'begin :: !(Prelude.Maybe Data.Int.Int32), _GeneratedCodeInfo'Annotation'end :: !(Prelude.Maybe Data.Int.Int32), + _GeneratedCodeInfo'Annotation'semantic :: !(Prelude.Maybe GeneratedCodeInfo'Annotation'Semantic), _GeneratedCodeInfo'Annotation'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show GeneratedCodeInfo'Annotation where @@ -7010,6 +9797,20 @@ instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'end" _GeneratedCodeInfo'Annotation'end (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'end = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "semantic" GeneratedCodeInfo'Annotation'Semantic where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'semantic + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'semantic = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField GeneratedCodeInfo'Annotation "maybe'semantic" (Prelude.Maybe GeneratedCodeInfo'Annotation'Semantic) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _GeneratedCodeInfo'Annotation'semantic + (\ x__ y__ -> x__ {_GeneratedCodeInfo'Annotation'semantic = y__})) + Prelude.id instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where messageName _ = Data.Text.pack "google.protobuf.GeneratedCodeInfo.Annotation" @@ -7021,7 +9822,12 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where \\vsource_file\CAN\STX \SOH(\tR\n\ \sourceFile\DC2\DC4\n\ \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ - \\ETXend\CAN\EOT \SOH(\ENQR\ETXend" + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend\DC2R\n\ + \\bsemantic\CAN\ENQ \SOH(\SO26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n\ + \\bSemantic\DC2\b\n\ + \\EOTNONE\DLE\NUL\DC2\a\n\ + \\ETXSET\DLE\SOH\DC2\t\n\ + \\ENQALIAS\DLE\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -7057,12 +9863,21 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'end")) :: Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation + semantic__field_descriptor + = Data.ProtoLens.FieldDescriptor + "semantic" + (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField :: + Data.ProtoLens.FieldTypeDescriptor GeneratedCodeInfo'Annotation'Semantic) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'semantic")) :: + Data.ProtoLens.FieldDescriptor GeneratedCodeInfo'Annotation in Data.Map.fromList [(Data.ProtoLens.Tag 1, path__field_descriptor), (Data.ProtoLens.Tag 2, sourceFile__field_descriptor), (Data.ProtoLens.Tag 3, begin__field_descriptor), - (Data.ProtoLens.Tag 4, end__field_descriptor)] + (Data.ProtoLens.Tag 4, end__field_descriptor), + (Data.ProtoLens.Tag 5, semantic__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _GeneratedCodeInfo'Annotation'_unknownFields @@ -7074,6 +9889,7 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where _GeneratedCodeInfo'Annotation'sourceFile = Prelude.Nothing, _GeneratedCodeInfo'Annotation'begin = Prelude.Nothing, _GeneratedCodeInfo'Annotation'end = Prelude.Nothing, + _GeneratedCodeInfo'Annotation'semantic = Prelude.Nothing, _GeneratedCodeInfo'Annotation'_unknownFields = []} parseMessage = let @@ -7097,8 +9913,7 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'path") frozen'path x)) else @@ -7136,14 +9951,9 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where loop x y 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "source_file" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"sourceFile") y x) @@ -7166,6 +9976,17 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x) mutable'path + 40 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + Prelude.toEnum + (Prelude.fmap + Prelude.fromIntegral + Data.ProtoLens.Encoding.Bytes.getVarInt)) + "semantic" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"semantic") y x) + mutable'path wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire @@ -7215,8 +10036,7 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'begin") _x @@ -7237,8 +10057,21 @@ instance Data.ProtoLens.Message GeneratedCodeInfo'Annotation where (Data.ProtoLens.Encoding.Bytes.putVarInt 32) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'semantic") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 40) + ((Prelude..) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + Prelude.fromIntegral) + Prelude.fromEnum _v)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where rnf = \ x__ @@ -7251,7 +10084,67 @@ instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where (Control.DeepSeq.deepseq (_GeneratedCodeInfo'Annotation'begin x__) (Control.DeepSeq.deepseq - (_GeneratedCodeInfo'Annotation'end x__) ())))) + (_GeneratedCodeInfo'Annotation'end x__) + (Control.DeepSeq.deepseq + (_GeneratedCodeInfo'Annotation'semantic x__) ()))))) +data GeneratedCodeInfo'Annotation'Semantic + = GeneratedCodeInfo'Annotation'NONE | + GeneratedCodeInfo'Annotation'SET | + GeneratedCodeInfo'Annotation'ALIAS + deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) +instance Data.ProtoLens.MessageEnum GeneratedCodeInfo'Annotation'Semantic where + enumName _ = Data.Text.pack "Semantic" + maybeToEnum 0 = Prelude.Just GeneratedCodeInfo'Annotation'NONE + maybeToEnum 1 = Prelude.Just GeneratedCodeInfo'Annotation'SET + maybeToEnum 2 = Prelude.Just GeneratedCodeInfo'Annotation'ALIAS + maybeToEnum _ = Prelude.Nothing + showEnum GeneratedCodeInfo'Annotation'NONE = "NONE" + showEnum GeneratedCodeInfo'Annotation'SET = "SET" + showEnum GeneratedCodeInfo'Annotation'ALIAS = "ALIAS" + readEnum k + | (Prelude.==) k "NONE" + = Prelude.Just GeneratedCodeInfo'Annotation'NONE + | (Prelude.==) k "SET" + = Prelude.Just GeneratedCodeInfo'Annotation'SET + | (Prelude.==) k "ALIAS" + = Prelude.Just GeneratedCodeInfo'Annotation'ALIAS + | Prelude.otherwise + = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum +instance Prelude.Bounded GeneratedCodeInfo'Annotation'Semantic where + minBound = GeneratedCodeInfo'Annotation'NONE + maxBound = GeneratedCodeInfo'Annotation'ALIAS +instance Prelude.Enum GeneratedCodeInfo'Annotation'Semantic where + toEnum k__ + = Prelude.maybe + (Prelude.error + ((Prelude.++) + "toEnum: unknown value for enum Semantic: " (Prelude.show k__))) + Prelude.id (Data.ProtoLens.maybeToEnum k__) + fromEnum GeneratedCodeInfo'Annotation'NONE = 0 + fromEnum GeneratedCodeInfo'Annotation'SET = 1 + fromEnum GeneratedCodeInfo'Annotation'ALIAS = 2 + succ GeneratedCodeInfo'Annotation'ALIAS + = Prelude.error + "GeneratedCodeInfo'Annotation'Semantic.succ: bad argument GeneratedCodeInfo'Annotation'ALIAS. This value would be out of bounds." + succ GeneratedCodeInfo'Annotation'NONE + = GeneratedCodeInfo'Annotation'SET + succ GeneratedCodeInfo'Annotation'SET + = GeneratedCodeInfo'Annotation'ALIAS + pred GeneratedCodeInfo'Annotation'NONE + = Prelude.error + "GeneratedCodeInfo'Annotation'Semantic.pred: bad argument GeneratedCodeInfo'Annotation'NONE. This value would be out of bounds." + pred GeneratedCodeInfo'Annotation'SET + = GeneratedCodeInfo'Annotation'NONE + pred GeneratedCodeInfo'Annotation'ALIAS + = GeneratedCodeInfo'Annotation'SET + enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom + enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo + enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen + enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo +instance Data.ProtoLens.FieldDefault GeneratedCodeInfo'Annotation'Semantic where + fieldDefault = GeneratedCodeInfo'Annotation'NONE +instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation'Semantic where + rnf x__ = Prelude.seq x__ () {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.messageSetWireFormat' @:: Lens' MessageOptions Prelude.Bool@ @@ -7262,6 +10155,10 @@ instance Control.DeepSeq.NFData GeneratedCodeInfo'Annotation where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.mapEntry' @:: Lens' MessageOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'mapEntry' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.deprecatedLegacyJsonFieldConflicts' @:: Lens' MessageOptions Prelude.Bool@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecatedLegacyJsonFieldConflicts' @:: Lens' MessageOptions (Prelude.Maybe Prelude.Bool)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' MessageOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' MessageOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' MessageOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' MessageOptions (Data.Vector.Vector UninterpretedOption)@ -} data MessageOptions @@ -7269,6 +10166,8 @@ data MessageOptions _MessageOptions'noStandardDescriptorAccessor :: !(Prelude.Maybe Prelude.Bool), _MessageOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _MessageOptions'mapEntry :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'deprecatedLegacyJsonFieldConflicts :: !(Prelude.Maybe Prelude.Bool), + _MessageOptions'features :: !(Prelude.Maybe FeatureSet), _MessageOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _MessageOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -7336,6 +10235,36 @@ instance Data.ProtoLens.Field.HasField MessageOptions "maybe'mapEntry" (Prelude. _MessageOptions'mapEntry (\ x__ y__ -> x__ {_MessageOptions'mapEntry = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "deprecatedLegacyJsonFieldConflicts" Prelude.Bool where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_MessageOptions'deprecatedLegacyJsonFieldConflicts = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'deprecatedLegacyJsonFieldConflicts" (Prelude.Maybe Prelude.Bool) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'deprecatedLegacyJsonFieldConflicts + (\ x__ y__ + -> x__ {_MessageOptions'deprecatedLegacyJsonFieldConflicts = y__})) + Prelude.id +instance Data.ProtoLens.Field.HasField MessageOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'features + (\ x__ y__ -> x__ {_MessageOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField MessageOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MessageOptions'features + (\ x__ y__ -> x__ {_MessageOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField MessageOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -7362,8 +10291,10 @@ instance Data.ProtoLens.Message MessageOptions where \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\ESC\n\ - \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n" + \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\v \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\f \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\ENQ\DLE\ACKJ\EOT\b\ACK\DLE\aJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let @@ -7400,6 +10331,23 @@ instance Data.ProtoLens.Message MessageOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'mapEntry")) :: Data.ProtoLens.FieldDescriptor MessageOptions + deprecatedLegacyJsonFieldConflicts__field_descriptor + = Data.ProtoLens.FieldDescriptor + "deprecated_legacy_json_field_conflicts" + (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField :: + Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts")) :: + Data.ProtoLens.FieldDescriptor MessageOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor MessageOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -7416,6 +10364,9 @@ instance Data.ProtoLens.Message MessageOptions where noStandardDescriptorAccessor__field_descriptor), (Data.ProtoLens.Tag 3, deprecated__field_descriptor), (Data.ProtoLens.Tag 7, mapEntry__field_descriptor), + (Data.ProtoLens.Tag 11, + deprecatedLegacyJsonFieldConflicts__field_descriptor), + (Data.ProtoLens.Tag 12, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -7427,6 +10378,8 @@ instance Data.ProtoLens.Message MessageOptions where _MessageOptions'noStandardDescriptorAccessor = Prelude.Nothing, _MessageOptions'deprecated = Prelude.Nothing, _MessageOptions'mapEntry = Prelude.Nothing, + _MessageOptions'deprecatedLegacyJsonFieldConflicts = Prelude.Nothing, + _MessageOptions'features = Prelude.Nothing, _MessageOptions'uninterpretedOption = Data.Vector.Generic.empty, _MessageOptions'_unknownFields = []} parseMessage @@ -7452,12 +10405,10 @@ instance Data.ProtoLens.Message MessageOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -7476,8 +10427,7 @@ instance Data.ProtoLens.Message MessageOptions where "no_standard_descriptor_accessor" loop (Lens.Family2.set - (Data.ProtoLens.Field.field @"noStandardDescriptorAccessor") - y + (Data.ProtoLens.Field.field @"noStandardDescriptorAccessor") y x) mutable'uninterpretedOption 24 @@ -7496,6 +10446,26 @@ instance Data.ProtoLens.Message MessageOptions where loop (Lens.Family2.set (Data.ProtoLens.Field.field @"mapEntry") y x) mutable'uninterpretedOption + 88 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (Prelude.fmap + ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt) + "deprecated_legacy_json_field_conflicts" + loop + (Lens.Family2.set + (Data.ProtoLens.Field.field + @"deprecatedLegacyJsonFieldConflicts") + y x) + mutable'uninterpretedOption + 98 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -7532,8 +10502,7 @@ instance Data.ProtoLens.Message MessageOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 8) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case @@ -7546,8 +10515,7 @@ instance Data.ProtoLens.Message MessageOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 16) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case @@ -7559,8 +10527,7 @@ instance Data.ProtoLens.Message MessageOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 24) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case @@ -7572,26 +10539,54 @@ instance Data.ProtoLens.Message MessageOptions where (Data.ProtoLens.Encoding.Bytes.putVarInt 56) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral - (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts") + _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 88) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt + (\ b -> if b then 1 else 0) _v)) + ((Data.Monoid.<>) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 98) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral + (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) instance Control.DeepSeq.NFData MessageOptions where rnf = \ x__ @@ -7606,7 +10601,11 @@ instance Control.DeepSeq.NFData MessageOptions where (Control.DeepSeq.deepseq (_MessageOptions'mapEntry x__) (Control.DeepSeq.deepseq - (_MessageOptions'uninterpretedOption x__) ()))))) + (_MessageOptions'deprecatedLegacyJsonFieldConflicts x__) + (Control.DeepSeq.deepseq + (_MessageOptions'features x__) + (Control.DeepSeq.deepseq + (_MessageOptions'uninterpretedOption x__) ()))))))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' MethodDescriptorProto Data.Text.Text@ @@ -7831,39 +10830,24 @@ instance Data.ProtoLens.Message MethodDescriptorProto where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "input_type" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"inputType") y x) 26 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "output_type" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"outputType") y x) @@ -7915,8 +10899,7 @@ instance Data.ProtoLens.Message MethodDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -7932,8 +10915,7 @@ instance Data.ProtoLens.Message MethodDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -7949,8 +10931,7 @@ instance Data.ProtoLens.Message MethodDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x @@ -7965,8 +10946,7 @@ instance Data.ProtoLens.Message MethodDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -7978,8 +10958,7 @@ instance Data.ProtoLens.Message MethodDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt 40) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -7991,8 +10970,7 @@ instance Data.ProtoLens.Message MethodDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt 48) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ b -> if b then 1 else 0) _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))) instance Control.DeepSeq.NFData MethodDescriptorProto where @@ -8018,11 +10996,14 @@ instance Control.DeepSeq.NFData MethodDescriptorProto where * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' MethodOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.idempotencyLevel' @:: Lens' MethodOptions MethodOptions'IdempotencyLevel@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'idempotencyLevel' @:: Lens' MethodOptions (Prelude.Maybe MethodOptions'IdempotencyLevel)@ + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' MethodOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' MethodOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' MethodOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' MethodOptions (Data.Vector.Vector UninterpretedOption)@ -} data MethodOptions = MethodOptions'_constructor {_MethodOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _MethodOptions'idempotencyLevel :: !(Prelude.Maybe MethodOptions'IdempotencyLevel), + _MethodOptions'features :: !(Prelude.Maybe FeatureSet), _MethodOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _MethodOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -8060,6 +11041,20 @@ instance Data.ProtoLens.Field.HasField MethodOptions "maybe'idempotencyLevel" (P _MethodOptions'idempotencyLevel (\ x__ y__ -> x__ {_MethodOptions'idempotencyLevel = y__})) Prelude.id +instance Data.ProtoLens.Field.HasField MethodOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'features + (\ x__ y__ -> x__ {_MethodOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField MethodOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _MethodOptions'features + (\ x__ y__ -> x__ {_MethodOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField MethodOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -8084,7 +11079,8 @@ instance Data.ProtoLens.Message MethodOptions where \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2q\n\ - \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC2X\n\ + \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC27\n\ + \\bfeatures\CAN# \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"P\n\ \\DLEIdempotencyLevel\DC2\ETB\n\ \\DC3IDEMPOTENCY_UNKNOWN\DLE\NUL\DC2\DC3\n\ @@ -8110,6 +11106,14 @@ instance Data.ProtoLens.Message MethodOptions where (Data.ProtoLens.OptionalField (Data.ProtoLens.Field.field @"maybe'idempotencyLevel")) :: Data.ProtoLens.FieldDescriptor MethodOptions + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor MethodOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -8123,6 +11127,7 @@ instance Data.ProtoLens.Message MethodOptions where Data.Map.fromList [(Data.ProtoLens.Tag 33, deprecated__field_descriptor), (Data.ProtoLens.Tag 34, idempotencyLevel__field_descriptor), + (Data.ProtoLens.Tag 35, features__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -8132,6 +11137,7 @@ instance Data.ProtoLens.Message MethodOptions where = MethodOptions'_constructor {_MethodOptions'deprecated = Prelude.Nothing, _MethodOptions'idempotencyLevel = Prelude.Nothing, + _MethodOptions'features = Prelude.Nothing, _MethodOptions'uninterpretedOption = Data.Vector.Generic.empty, _MethodOptions'_unknownFields = []} parseMessage @@ -8157,12 +11163,10 @@ instance Data.ProtoLens.Message MethodOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of @@ -8186,6 +11190,15 @@ instance Data.ProtoLens.Message MethodOptions where (Lens.Family2.set (Data.ProtoLens.Field.field @"idempotencyLevel") y x) mutable'uninterpretedOption + 282 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -8222,8 +11235,7 @@ instance Data.ProtoLens.Message MethodOptions where -> (Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 264) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) _v)) ((Data.Monoid.<>) (case @@ -8237,25 +11249,38 @@ instance Data.ProtoLens.Message MethodOptions where ((Prelude..) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral) - Prelude.fromEnum - _v)) + Prelude.fromEnum _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 282) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))))) instance Control.DeepSeq.NFData MethodOptions where rnf = \ x__ @@ -8266,13 +11291,16 @@ instance Control.DeepSeq.NFData MethodOptions where (Control.DeepSeq.deepseq (_MethodOptions'idempotencyLevel x__) (Control.DeepSeq.deepseq - (_MethodOptions'uninterpretedOption x__) ()))) + (_MethodOptions'features x__) + (Control.DeepSeq.deepseq + (_MethodOptions'uninterpretedOption x__) ())))) data MethodOptions'IdempotencyLevel = MethodOptions'IDEMPOTENCY_UNKNOWN | MethodOptions'NO_SIDE_EFFECTS | MethodOptions'IDEMPOTENT deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord) instance Data.ProtoLens.MessageEnum MethodOptions'IdempotencyLevel where + enumName _ = Data.Text.pack "IdempotencyLevel" maybeToEnum 0 = Prelude.Just MethodOptions'IDEMPOTENCY_UNKNOWN maybeToEnum 1 = Prelude.Just MethodOptions'NO_SIDE_EFFECTS maybeToEnum 2 = Prelude.Just MethodOptions'IDEMPOTENT @@ -8299,8 +11327,7 @@ instance Prelude.Enum MethodOptions'IdempotencyLevel where ((Prelude.++) "toEnum: unknown value for enum IdempotencyLevel: " (Prelude.show k__))) - Prelude.id - (Data.ProtoLens.maybeToEnum k__) + Prelude.id (Data.ProtoLens.maybeToEnum k__) fromEnum MethodOptions'IDEMPOTENCY_UNKNOWN = 0 fromEnum MethodOptions'NO_SIDE_EFFECTS = 1 fromEnum MethodOptions'IDEMPOTENT = 2 @@ -8434,14 +11461,9 @@ instance Data.ProtoLens.Message OneofDescriptorProto where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) 18 @@ -8476,8 +11498,7 @@ instance Data.ProtoLens.Message OneofDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x @@ -8492,8 +11513,7 @@ instance Data.ProtoLens.Message OneofDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x))) instance Control.DeepSeq.NFData OneofDescriptorProto where @@ -8506,10 +11526,13 @@ instance Control.DeepSeq.NFData OneofDescriptorProto where (Control.DeepSeq.deepseq (_OneofDescriptorProto'options x__) ())) {- | Fields : + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' OneofOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' OneofOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' OneofOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' OneofOptions (Data.Vector.Vector UninterpretedOption)@ -} data OneofOptions - = OneofOptions'_constructor {_OneofOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), + = OneofOptions'_constructor {_OneofOptions'features :: !(Prelude.Maybe FeatureSet), + _OneofOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _OneofOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show OneofOptions where @@ -8518,6 +11541,20 @@ instance Prelude.Show OneofOptions where '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField OneofOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofOptions'features + (\ x__ y__ -> x__ {_OneofOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField OneofOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _OneofOptions'features + (\ x__ y__ -> x__ {_OneofOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField OneofOptions "uninterpretedOption" [UninterpretedOption] where fieldOf _ = (Prelude..) @@ -8538,11 +11575,20 @@ instance Data.ProtoLens.Message OneofOptions where messageName _ = Data.Text.pack "google.protobuf.OneofOptions" packedMessageDescriptor _ = "\n\ - \\fOneofOptions\DC2X\n\ + \\fOneofOptions\DC27\n\ + \\bfeatures\CAN\SOH \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor OneofOptions uninterpretedOption__field_descriptor = Data.ProtoLens.FieldDescriptor "uninterpreted_option" @@ -8554,14 +11600,16 @@ instance Data.ProtoLens.Message OneofOptions where Data.ProtoLens.FieldDescriptor OneofOptions in Data.Map.fromList - [(Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] + [(Data.ProtoLens.Tag 1, features__field_descriptor), + (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _OneofOptions'_unknownFields (\ x__ y__ -> x__ {_OneofOptions'_unknownFields = y__}) defMessage = OneofOptions'_constructor - {_OneofOptions'uninterpretedOption = Data.Vector.Generic.empty, + {_OneofOptions'features = Prelude.Nothing, + _OneofOptions'uninterpretedOption = Data.Vector.Generic.empty, _OneofOptions'_unknownFields = []} parseMessage = let @@ -8586,15 +11634,22 @@ instance Data.ProtoLens.Message OneofOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of + 10 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 7994 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt @@ -8622,29 +11677,45 @@ instance Data.ProtoLens.Message OneofOptions where buildMessage = \ _x -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x)) + (case + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 10) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x))) instance Control.DeepSeq.NFData OneofOptions where rnf = \ x__ -> Control.DeepSeq.deepseq (_OneofOptions'_unknownFields x__) (Control.DeepSeq.deepseq - (_OneofOptions'uninterpretedOption x__) ()) + (_OneofOptions'features x__) + (Control.DeepSeq.deepseq + (_OneofOptions'uninterpretedOption x__) ())) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.name' @:: Lens' ServiceDescriptorProto Data.Text.Text@ @@ -8783,8 +11854,7 @@ instance Data.ProtoLens.Message ServiceDescriptorProto where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'method") frozen'method x)) else @@ -8792,14 +11862,9 @@ instance Data.ProtoLens.Message ServiceDescriptorProto where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x) @@ -8852,8 +11917,7 @@ instance Data.ProtoLens.Message ServiceDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -8865,8 +11929,7 @@ instance Data.ProtoLens.Message ServiceDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'method") _x)) ((Data.Monoid.<>) (case @@ -8882,8 +11945,7 @@ instance Data.ProtoLens.Message ServiceDescriptorProto where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) instance Control.DeepSeq.NFData ServiceDescriptorProto where @@ -8899,12 +11961,15 @@ instance Control.DeepSeq.NFData ServiceDescriptorProto where (_ServiceDescriptorProto'options x__) ()))) {- | Fields : + * 'Proto.Google.Protobuf.Descriptor_Fields.features' @:: Lens' ServiceOptions FeatureSet@ + * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'features' @:: Lens' ServiceOptions (Prelude.Maybe FeatureSet)@ * 'Proto.Google.Protobuf.Descriptor_Fields.deprecated' @:: Lens' ServiceOptions Prelude.Bool@ * 'Proto.Google.Protobuf.Descriptor_Fields.maybe'deprecated' @:: Lens' ServiceOptions (Prelude.Maybe Prelude.Bool)@ * 'Proto.Google.Protobuf.Descriptor_Fields.uninterpretedOption' @:: Lens' ServiceOptions [UninterpretedOption]@ * 'Proto.Google.Protobuf.Descriptor_Fields.vec'uninterpretedOption' @:: Lens' ServiceOptions (Data.Vector.Vector UninterpretedOption)@ -} data ServiceOptions - = ServiceOptions'_constructor {_ServiceOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), + = ServiceOptions'_constructor {_ServiceOptions'features :: !(Prelude.Maybe FeatureSet), + _ServiceOptions'deprecated :: !(Prelude.Maybe Prelude.Bool), _ServiceOptions'uninterpretedOption :: !(Data.Vector.Vector UninterpretedOption), _ServiceOptions'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) @@ -8914,6 +11979,20 @@ instance Prelude.Show ServiceOptions where '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s)) +instance Data.ProtoLens.Field.HasField ServiceOptions "features" FeatureSet where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'features + (\ x__ y__ -> x__ {_ServiceOptions'features = y__})) + (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage) +instance Data.ProtoLens.Field.HasField ServiceOptions "maybe'features" (Prelude.Maybe FeatureSet) where + fieldOf _ + = (Prelude..) + (Lens.Family2.Unchecked.lens + _ServiceOptions'features + (\ x__ y__ -> x__ {_ServiceOptions'features = y__})) + Prelude.id instance Data.ProtoLens.Field.HasField ServiceOptions "deprecated" Prelude.Bool where fieldOf _ = (Prelude..) @@ -8948,7 +12027,8 @@ instance Data.ProtoLens.Message ServiceOptions where messageName _ = Data.Text.pack "google.protobuf.ServiceOptions" packedMessageDescriptor _ = "\n\ - \\SOServiceOptions\DC2%\n\ + \\SOServiceOptions\DC27\n\ + \\bfeatures\CAN\" \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2%\n\ \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2X\n\ @@ -8956,6 +12036,14 @@ instance Data.ProtoLens.Message ServiceOptions where packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let + features__field_descriptor + = Data.ProtoLens.FieldDescriptor + "features" + (Data.ProtoLens.MessageField Data.ProtoLens.MessageType :: + Data.ProtoLens.FieldTypeDescriptor FeatureSet) + (Data.ProtoLens.OptionalField + (Data.ProtoLens.Field.field @"maybe'features")) :: + Data.ProtoLens.FieldDescriptor ServiceOptions deprecated__field_descriptor = Data.ProtoLens.FieldDescriptor "deprecated" @@ -8975,7 +12063,8 @@ instance Data.ProtoLens.Message ServiceOptions where Data.ProtoLens.FieldDescriptor ServiceOptions in Data.Map.fromList - [(Data.ProtoLens.Tag 33, deprecated__field_descriptor), + [(Data.ProtoLens.Tag 34, features__field_descriptor), + (Data.ProtoLens.Tag 33, deprecated__field_descriptor), (Data.ProtoLens.Tag 999, uninterpretedOption__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens @@ -8983,7 +12072,8 @@ instance Data.ProtoLens.Message ServiceOptions where (\ x__ y__ -> x__ {_ServiceOptions'_unknownFields = y__}) defMessage = ServiceOptions'_constructor - {_ServiceOptions'deprecated = Prelude.Nothing, + {_ServiceOptions'features = Prelude.Nothing, + _ServiceOptions'deprecated = Prelude.Nothing, _ServiceOptions'uninterpretedOption = Data.Vector.Generic.empty, _ServiceOptions'_unknownFields = []} parseMessage @@ -9009,15 +12099,22 @@ instance Data.ProtoLens.Message ServiceOptions where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'uninterpretedOption") - frozen'uninterpretedOption - x)) + frozen'uninterpretedOption x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of + 274 + -> do y <- (Data.ProtoLens.Encoding.Bytes.) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.isolate + (Prelude.fromIntegral len) Data.ProtoLens.parseMessage) + "features" + loop + (Lens.Family2.set (Data.ProtoLens.Field.field @"features") y x) + mutable'uninterpretedOption 264 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap @@ -9054,43 +12151,58 @@ instance Data.ProtoLens.Message ServiceOptions where = \ _x -> (Data.Monoid.<>) (case - Lens.Family2.view - (Data.ProtoLens.Field.field @"maybe'deprecated") _x + Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'features") _x of Prelude.Nothing -> Data.Monoid.mempty (Prelude.Just _v) -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 264) + (Data.ProtoLens.Encoding.Bytes.putVarInt 274) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) - _v)) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) ((Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.foldMapBuilder - (\ _v - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) - ((Prelude..) - (\ bs - -> (Data.Monoid.<>) - (Data.ProtoLens.Encoding.Bytes.putVarInt - (Prelude.fromIntegral (Data.ByteString.length bs))) - (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) - (Lens.Family2.view - (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) - (Data.ProtoLens.Encoding.Wire.buildFieldSet - (Lens.Family2.view Data.ProtoLens.unknownFields _x))) + (case + Lens.Family2.view + (Data.ProtoLens.Field.field @"maybe'deprecated") _x + of + Prelude.Nothing -> Data.Monoid.mempty + (Prelude.Just _v) + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 264) + ((Prelude..) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) + _v)) + ((Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.foldMapBuilder + (\ _v + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt 7994) + ((Prelude..) + (\ bs + -> (Data.Monoid.<>) + (Data.ProtoLens.Encoding.Bytes.putVarInt + (Prelude.fromIntegral (Data.ByteString.length bs))) + (Data.ProtoLens.Encoding.Bytes.putBytes bs)) + Data.ProtoLens.encodeMessage _v)) + (Lens.Family2.view + (Data.ProtoLens.Field.field @"vec'uninterpretedOption") _x)) + (Data.ProtoLens.Encoding.Wire.buildFieldSet + (Lens.Family2.view Data.ProtoLens.unknownFields _x)))) instance Control.DeepSeq.NFData ServiceOptions where rnf = \ x__ -> Control.DeepSeq.deepseq (_ServiceOptions'_unknownFields x__) (Control.DeepSeq.deepseq - (_ServiceOptions'deprecated x__) + (_ServiceOptions'features x__) (Control.DeepSeq.deepseq - (_ServiceOptions'uninterpretedOption x__) ())) + (_ServiceOptions'deprecated x__) + (Control.DeepSeq.deepseq + (_ServiceOptions'uninterpretedOption x__) ()))) {- | Fields : * 'Proto.Google.Protobuf.Descriptor_Fields.location' @:: Lens' SourceCodeInfo [SourceCodeInfo'Location]@ @@ -9179,8 +12291,7 @@ instance Data.ProtoLens.Message SourceCodeInfo where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'location") frozen'location x)) else @@ -9222,8 +12333,7 @@ instance Data.ProtoLens.Message SourceCodeInfo where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'location") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet @@ -9445,14 +12555,12 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'leadingDetachedComments") frozen'leadingDetachedComments (Lens.Family2.set - (Data.ProtoLens.Field.field @"vec'path") - frozen'path + (Data.ProtoLens.Field.field @"vec'path") frozen'path (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'span") frozen'span x)))) else @@ -9521,48 +12629,29 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where loop x mutable'leadingDetachedComments mutable'path y 26 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "leading_comments" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"leadingComments") y x) - mutable'leadingDetachedComments - mutable'path - mutable'span + mutable'leadingDetachedComments mutable'path mutable'span 34 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "trailing_comments" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"trailingComments") y x) - mutable'leadingDetachedComments - mutable'path - mutable'span + mutable'leadingDetachedComments mutable'path mutable'span 50 -> do !y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "leading_detached_comments" v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO (Data.ProtoLens.Encoding.Growing.append @@ -9574,9 +12663,7 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - mutable'leadingDetachedComments - mutable'path - mutable'span + mutable'leadingDetachedComments mutable'path mutable'span in (Data.ProtoLens.Encoding.Bytes.) (do mutable'leadingDetachedComments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO @@ -9586,10 +12673,8 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where mutable'span <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO Data.ProtoLens.Encoding.Growing.new loop - Data.ProtoLens.defMessage - mutable'leadingDetachedComments - mutable'path - mutable'span) + Data.ProtoLens.defMessage mutable'leadingDetachedComments + mutable'path mutable'span) "Location" buildMessage = \ _x @@ -9646,8 +12731,7 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -9663,8 +12747,7 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.foldMapBuilder (\ _v @@ -9677,8 +12760,7 @@ instance Data.ProtoLens.Message SourceCodeInfo'Location where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'leadingDetachedComments") _x)) (Data.ProtoLens.Encoding.Wire.buildFieldSet @@ -9950,8 +13032,7 @@ instance Data.ProtoLens.Message UninterpretedOption where (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over - Data.ProtoLens.unknownFields - (\ !t -> Prelude.reverse t) + Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) (Lens.Family2.set (Data.ProtoLens.Field.field @"vec'name") frozen'name x)) else @@ -9969,14 +13050,9 @@ instance Data.ProtoLens.Message UninterpretedOption where loop x v 26 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "identifier_value" loop (Lens.Family2.set @@ -10019,14 +13095,9 @@ instance Data.ProtoLens.Message UninterpretedOption where mutable'name 66 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "aggregate_value" loop (Lens.Family2.set @@ -10058,8 +13129,7 @@ instance Data.ProtoLens.Message UninterpretedOption where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.ProtoLens.encodeMessage - _v)) + Data.ProtoLens.encodeMessage _v)) (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'name") _x)) ((Data.Monoid.<>) (case @@ -10076,8 +13146,7 @@ instance Data.ProtoLens.Message UninterpretedOption where (Data.ProtoLens.Encoding.Bytes.putVarInt (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -10110,8 +13179,7 @@ instance Data.ProtoLens.Message UninterpretedOption where (Data.ProtoLens.Encoding.Bytes.putVarInt 49) ((Prelude..) Data.ProtoLens.Encoding.Bytes.putFixed64 - Data.ProtoLens.Encoding.Bytes.doubleToWord - _v)) + Data.ProtoLens.Encoding.Bytes.doubleToWord _v)) ((Data.Monoid.<>) (case Lens.Family2.view @@ -10144,8 +13212,7 @@ instance Data.ProtoLens.Message UninterpretedOption where (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) - Data.Text.Encoding.encodeUtf8 - _v)) + Data.Text.Encoding.encodeUtf8 _v)) (Data.ProtoLens.Encoding.Wire.buildFieldSet (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))) instance Control.DeepSeq.NFData UninterpretedOption where @@ -10270,19 +13337,13 @@ instance Data.ProtoLens.Message UninterpretedOption'NamePart where case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.) - (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt - Data.ProtoLens.Encoding.Bytes.getBytes - (Prelude.fromIntegral len) - Data.ProtoLens.Encoding.Bytes.runEither - (case Data.Text.Encoding.decodeUtf8' value of - (Prelude.Left err) - -> Prelude.Left (Prelude.show err) - (Prelude.Right r) -> Prelude.Right r)) + (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt + Data.ProtoLens.Encoding.Bytes.getText + (Prelude.fromIntegral len)) "name_part" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"namePart") y x) - required'isExtension - Prelude.False + required'isExtension Prelude.False 16 -> do y <- (Data.ProtoLens.Encoding.Bytes.) (Prelude.fmap @@ -10290,16 +13351,14 @@ instance Data.ProtoLens.Message UninterpretedOption'NamePart where "is_extension" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"isExtension") y x) - Prelude.False - required'namePart + Prelude.False required'namePart wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) - required'isExtension - required'namePart + required'isExtension required'namePart in (Data.ProtoLens.Encoding.Bytes.) (do loop Data.ProtoLens.defMessage Prelude.True Prelude.True) @@ -10321,8 +13380,7 @@ instance Data.ProtoLens.Message UninterpretedOption'NamePart where ((Data.Monoid.<>) (Data.ProtoLens.Encoding.Bytes.putVarInt 16) ((Prelude..) - Data.ProtoLens.Encoding.Bytes.putVarInt - (\ b -> if b then 1 else 0) + Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0) (Lens.Family2.view (Data.ProtoLens.Field.field @"isExtension") _x))) (Data.ProtoLens.Encoding.Wire.buildFieldSet @@ -10341,7 +13399,7 @@ packedFileDescriptor = "\n\ \ google/protobuf/descriptor.proto\DC2\SIgoogle.protobuf\"M\n\ \\DC1FileDescriptorSet\DC28\n\ - \\EOTfile\CAN\SOH \ETX(\v2$.google.protobuf.FileDescriptorProtoR\EOTfile\"\228\EOT\n\ + \\EOTfile\CAN\SOH \ETX(\v2$.google.protobuf.FileDescriptorProtoR\EOTfile\"\187\ENQ\n\ \\DC3FileDescriptorProto\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\ \\apackage\CAN\STX \SOH(\tR\apackage\DC2\RS\n\ @@ -10357,7 +13415,9 @@ packedFileDescriptor \\textension\CAN\a \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\textension\DC26\n\ \\aoptions\CAN\b \SOH(\v2\FS.google.protobuf.FileOptionsR\aoptions\DC2I\n\ \\DLEsource_code_info\CAN\t \SOH(\v2\US.google.protobuf.SourceCodeInfoR\SOsourceCodeInfo\DC2\SYN\n\ - \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\"\185\ACK\n\ + \\ACKsyntax\CAN\f \SOH(\tR\ACKsyntax\DC2\CAN\n\ + \\aedition\CAN\r \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\SO \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\"\185\ACK\n\ \\SIDescriptorProto\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2;\n\ \\ENQfield\CAN\STX \ETX(\v2%.google.protobuf.FieldDescriptorProtoR\ENQfield\DC2C\n\ @@ -10378,9 +13438,23 @@ packedFileDescriptor \\aoptions\CAN\ETX \SOH(\v2&.google.protobuf.ExtensionRangeOptionsR\aoptions\SUB7\n\ \\rReservedRange\DC2\DC4\n\ \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\ - \\ETXend\CAN\STX \SOH(\ENQR\ETXend\"|\n\ + \\ETXend\CAN\STX \SOH(\ENQR\ETXend\"\199\EOT\n\ \\NAKExtensionRangeOptions\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\193\ACK\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\DC2Y\n\ + \\vdeclaration\CAN\STX \ETX(\v22.google.protobuf.ExtensionRangeOptions.DeclarationR\vdeclarationB\ETX\136\SOH\STX\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2h\n\ + \\fverification\CAN\ETX \SOH(\SO28.google.protobuf.ExtensionRangeOptions.VerificationState:\n\ + \UNVERIFIEDR\fverification\SUB\148\SOH\n\ + \\vDeclaration\DC2\SYN\n\ + \\ACKnumber\CAN\SOH \SOH(\ENQR\ACKnumber\DC2\ESC\n\ + \\tfull_name\CAN\STX \SOH(\tR\bfullName\DC2\DC2\n\ + \\EOTtype\CAN\ETX \SOH(\tR\EOTtype\DC2\SUB\n\ + \\breserved\CAN\ENQ \SOH(\bR\breserved\DC2\SUB\n\ + \\brepeated\CAN\ACK \SOH(\bR\brepeatedJ\EOT\b\EOT\DLE\ENQ\"4\n\ + \\DC1VerificationState\DC2\SI\n\ + \\vDECLARATION\DLE\NUL\DC2\SO\n\ + \\n\ + \UNVERIFIED\DLE\SOH*\t\b\232\a\DLE\128\128\128\128\STX\"\193\ACK\n\ \\DC4FieldDescriptorProto\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\SYN\n\ \\ACKnumber\CAN\ETX \SOH(\ENQR\ACKnumber\DC2A\n\ @@ -10452,7 +13526,7 @@ packedFileDescriptor \outputType\DC28\n\ \\aoptions\CAN\EOT \SOH(\v2\RS.google.protobuf.MethodOptionsR\aoptions\DC20\n\ \\DLEclient_streaming\CAN\ENQ \SOH(\b:\ENQfalseR\SIclientStreaming\DC20\n\ - \\DLEserver_streaming\CAN\ACK \SOH(\b:\ENQfalseR\SIserverStreaming\"\145\t\n\ + \\DLEserver_streaming\CAN\ACK \SOH(\b:\ENQfalseR\SIserverStreaming\"\202\t\n\ \\vFileOptions\DC2!\n\ \\fjava_package\CAN\SOH \SOH(\tR\vjavaPackage\DC20\n\ \\DC4java_outer_classname\CAN\b \SOH(\tR\DC2javaOuterClassname\DC25\n\ @@ -10477,32 +13551,46 @@ packedFileDescriptor \\DLEphp_class_prefix\CAN( \SOH(\tR\SOphpClassPrefix\DC2#\n\ \\rphp_namespace\CAN) \SOH(\tR\fphpNamespace\DC24\n\ \\SYNphp_metadata_namespace\CAN, \SOH(\tR\DC4phpMetadataNamespace\DC2!\n\ - \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC2X\n\ + \\fruby_package\CAN- \SOH(\tR\vrubyPackage\DC27\n\ + \\bfeatures\CAN2 \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\":\n\ \\fOptimizeMode\DC2\t\n\ \\ENQSPEED\DLE\SOH\DC2\r\n\ \\tCODE_SIZE\DLE\STX\DC2\DLE\n\ - \\fLITE_RUNTIME\DLE\ETX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b&\DLE'\"\209\STX\n\ + \\fLITE_RUNTIME\DLE\ETX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b&\DLE'\"\244\ETX\n\ \\SOMessageOptions\DC2<\n\ \\ETBmessage_set_wire_format\CAN\SOH \SOH(\b:\ENQfalseR\DC4messageSetWireFormat\DC2L\n\ \\USno_standard_descriptor_accessor\CAN\STX \SOH(\b:\ENQfalseR\FSnoStandardDescriptorAccessor\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\ESC\n\ - \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n\ - \\"\226\ETX\n\ + \\tmap_entry\CAN\a \SOH(\bR\bmapEntry\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\v \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\f \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\ENQ\DLE\ACKJ\EOT\b\ACK\DLE\aJ\EOT\b\b\DLE\tJ\EOT\b\t\DLE\n\ + \\"\208\n\ + \\n\ \\fFieldOptions\DC2A\n\ \\ENQctype\CAN\SOH \SOH(\SO2#.google.protobuf.FieldOptions.CType:\ACKSTRINGR\ENQctype\DC2\SYN\n\ \\ACKpacked\CAN\STX \SOH(\bR\ACKpacked\DC2G\n\ \\ACKjstype\CAN\ACK \SOH(\SO2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\ACKjstype\DC2\EM\n\ - \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2%\n\ + \\EOTlazy\CAN\ENQ \SOH(\b:\ENQfalseR\EOTlazy\DC2.\n\ + \\SIunverified_lazy\CAN\SI \SOH(\b:\ENQfalseR\SOunverifiedLazy\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ \deprecated\DC2\EM\n\ \\EOTweak\CAN\n\ - \ \SOH(\b:\ENQfalseR\EOTweak\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"/\n\ + \ \SOH(\b:\ENQfalseR\EOTweak\DC2(\n\ + \\fdebug_redact\CAN\DLE \SOH(\b:\ENQfalseR\vdebugRedact\DC2K\n\ + \\tretention\CAN\DC1 \SOH(\SO2-.google.protobuf.FieldOptions.OptionRetentionR\tretention\DC2H\n\ + \\atargets\CAN\DC3 \ETX(\SO2..google.protobuf.FieldOptions.OptionTargetTypeR\atargets\DC2W\n\ + \\DLEedition_defaults\CAN\DC4 \ETX(\v2,.google.protobuf.FieldOptions.EditionDefaultR\SIeditionDefaults\DC27\n\ + \\bfeatures\CAN\NAK \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\SUB}\n\ + \\SOEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC2\DC4\n\ + \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue\"/\n\ \\ENQCType\DC2\n\ \\n\ \\ACKSTRING\DLE\NUL\DC2\b\n\ @@ -10511,31 +13599,53 @@ packedFileDescriptor \\ACKJSType\DC2\r\n\ \\tJS_NORMAL\DLE\NUL\DC2\r\n\ \\tJS_STRING\DLE\SOH\DC2\r\n\ - \\tJS_NUMBER\DLE\STX*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQ\"s\n\ - \\fOneofOptions\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\192\SOH\n\ + \\tJS_NUMBER\DLE\STX\"U\n\ + \\SIOptionRetention\DC2\NAK\n\ + \\DC1RETENTION_UNKNOWN\DLE\NUL\DC2\NAK\n\ + \\DC1RETENTION_RUNTIME\DLE\SOH\DC2\DC4\n\ + \\DLERETENTION_SOURCE\DLE\STX\"\140\STX\n\ + \\DLEOptionTargetType\DC2\ETB\n\ + \\DC3TARGET_TYPE_UNKNOWN\DLE\NUL\DC2\DC4\n\ + \\DLETARGET_TYPE_FILE\DLE\SOH\DC2\US\n\ + \\ESCTARGET_TYPE_EXTENSION_RANGE\DLE\STX\DC2\ETB\n\ + \\DC3TARGET_TYPE_MESSAGE\DLE\ETX\DC2\NAK\n\ + \\DC1TARGET_TYPE_FIELD\DLE\EOT\DC2\NAK\n\ + \\DC1TARGET_TYPE_ONEOF\DLE\ENQ\DC2\DC4\n\ + \\DLETARGET_TYPE_ENUM\DLE\ACK\DC2\SUB\n\ + \\SYNTARGET_TYPE_ENUM_ENTRY\DLE\a\DC2\ETB\n\ + \\DC3TARGET_TYPE_SERVICE\DLE\b\DC2\SYN\n\ + \\DC2TARGET_TYPE_METHOD\DLE\t*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\EOT\DLE\ENQJ\EOT\b\DC2\DLE\DC3\"\172\SOH\n\ + \\fOneofOptions\DC27\n\ + \\bfeatures\CAN\SOH \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\209\STX\n\ \\vEnumOptions\DC2\US\n\ \\vallow_alias\CAN\STX \SOH(\bR\n\ \allowAlias\DC2%\n\ \\n\ \deprecated\CAN\ETX \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK\"\158\SOH\n\ + \deprecated\DC2V\n\ + \&deprecated_legacy_json_field_conflicts\CAN\ACK \SOH(\bR\"deprecatedLegacyJsonFieldConflictsB\STX\CAN\SOH\DC27\n\ + \\bfeatures\CAN\a \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STXJ\EOT\b\ENQ\DLE\ACK\"\129\STX\n\ \\DLEEnumValueOptions\DC2%\n\ \\n\ \deprecated\CAN\SOH \SOH(\b:\ENQfalseR\n\ - \deprecated\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\156\SOH\n\ - \\SOServiceOptions\DC2%\n\ + \deprecated\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2(\n\ + \\fdebug_redact\CAN\ETX \SOH(\b:\ENQfalseR\vdebugRedact\DC2X\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\213\SOH\n\ + \\SOServiceOptions\DC27\n\ + \\bfeatures\CAN\" \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2%\n\ \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2X\n\ - \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\224\STX\n\ + \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption*\t\b\232\a\DLE\128\128\128\128\STX\"\153\ETX\n\ \\rMethodOptions\DC2%\n\ \\n\ \deprecated\CAN! \SOH(\b:\ENQfalseR\n\ \deprecated\DC2q\n\ - \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC2X\n\ + \\DC1idempotency_level\CAN\" \SOH(\SO2/.google.protobuf.MethodOptions.IdempotencyLevel:\DC3IDEMPOTENCY_UNKNOWNR\DLEidempotencyLevel\DC27\n\ + \\bfeatures\CAN# \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\DC2X\n\ \\DC4uninterpreted_option\CAN\231\a \ETX(\v2$.google.protobuf.UninterpretedOptionR\DC3uninterpretedOption\"P\n\ \\DLEIdempotencyLevel\DC2\ETB\n\ \\DC3IDEMPOTENCY_UNKNOWN\DLE\NUL\DC2\DC3\n\ @@ -10552,7 +13662,50 @@ packedFileDescriptor \\SIaggregate_value\CAN\b \SOH(\tR\SOaggregateValue\SUBJ\n\ \\bNamePart\DC2\ESC\n\ \\tname_part\CAN\SOH \STX(\tR\bnamePart\DC2!\n\ - \\fis_extension\CAN\STX \STX(\bR\visExtension\"\167\STX\n\ + \\fis_extension\CAN\STX \STX(\bR\visExtension\"\234\a\n\ + \\n\ + \FeatureSet\DC2k\n\ + \\SOfield_presence\CAN\SOH \SOH(\SO2).google.protobuf.FeatureSet.FieldPresenceR\rfieldPresenceB\EM\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\r\CAN\232\a\DC2\bEXPLICIT\DC2X\n\ + \\tenum_type\CAN\STX \SOH(\SO2$.google.protobuf.FeatureSet.EnumTypeR\benumTypeB\NAK\136\SOH\SOH\152\SOH\ACK\152\SOH\SOH\162\SOH\t\CAN\232\a\DC2\EOTOPEN\DC2\130\SOH\n\ + \\ETBrepeated_field_encoding\CAN\ETX \SOH(\SO21.google.protobuf.FeatureSet.RepeatedFieldEncodingR\NAKrepeatedFieldEncodingB\ETB\136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\v\CAN\232\a\DC2\ACKPACKED\DC2x\n\ + \\DLEmessage_encoding\CAN\ENQ \SOH(\SO2+.google.protobuf.FeatureSet.MessageEncodingR\SImessageEncodingB \136\SOH\SOH\152\SOH\EOT\152\SOH\SOH\162\SOH\DC4\CAN\232\a\DC2\SILENGTH_PREFIXED\DC2b\n\ + \\vjson_format\CAN\ACK \SOH(\SO2&.google.protobuf.FeatureSet.JsonFormatR\n\ + \jsonFormatB\EM\136\SOH\SOH\152\SOH\ETX\152\SOH\ACK\152\SOH\SOH\162\SOH\n\ + \\CAN\232\a\DC2\ENQALLOW\"\\\n\ + \\rFieldPresence\DC2\SUB\n\ + \\SYNFIELD_PRESENCE_UNKNOWN\DLE\NUL\DC2\f\n\ + \\bEXPLICIT\DLE\SOH\DC2\f\n\ + \\bIMPLICIT\DLE\STX\DC2\DC3\n\ + \\SILEGACY_REQUIRED\DLE\ETX\"7\n\ + \\bEnumType\DC2\NAK\n\ + \\DC1ENUM_TYPE_UNKNOWN\DLE\NUL\DC2\b\n\ + \\EOTOPEN\DLE\SOH\DC2\n\ + \\n\ + \\ACKCLOSED\DLE\STX\"V\n\ + \\NAKRepeatedFieldEncoding\DC2#\n\ + \\USREPEATED_FIELD_ENCODING_UNKNOWN\DLE\NUL\DC2\n\ + \\n\ + \\ACKPACKED\DLE\SOH\DC2\f\n\ + \\bEXPANDED\DLE\STX\"S\n\ + \\SIMessageEncoding\DC2\FS\n\ + \\CANMESSAGE_ENCODING_UNKNOWN\DLE\NUL\DC2\DC3\n\ + \\SILENGTH_PREFIXED\DLE\SOH\DC2\r\n\ + \\tDELIMITED\DLE\STX\"H\n\ + \\n\ + \JsonFormat\DC2\ETB\n\ + \\DC3JSON_FORMAT_UNKNOWN\DLE\NUL\DC2\t\n\ + \\ENQALLOW\DLE\SOH\DC2\SYN\n\ + \\DC2LEGACY_BEST_EFFORT\DLE\STX*\ACK\b\232\a\DLE\233\a*\ACK\b\233\a\DLE\234\a*\ACK\b\139N\DLE\144NJ\EOT\b\EOT\DLE\ENQJ\ACK\b\231\a\DLE\232\a\"\133\EOT\n\ + \\DC2FeatureSetDefaults\DC2X\n\ + \\bdefaults\CAN\SOH \ETX(\v2<.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultR\bdefaults\DC2'\n\ + \\SIminimum_edition\CAN\STX \SOH(\tR\SOminimumEdition\DC2'\n\ + \\SImaximum_edition\CAN\ETX \SOH(\tR\SOmaximumEdition\DC2J\n\ + \\DC4minimum_edition_enum\CAN\EOT \SOH(\SO2\CAN.google.protobuf.EditionR\DC2minimumEditionEnum\DC2J\n\ + \\DC4maximum_edition_enum\CAN\ENQ \SOH(\SO2\CAN.google.protobuf.EditionR\DC2maximumEditionEnum\SUB\170\SOH\n\ + \\CANFeatureSetEditionDefault\DC2\CAN\n\ + \\aedition\CAN\SOH \SOH(\tR\aedition\DC2;\n\ + \\fedition_enum\CAN\ETX \SOH(\SO2\CAN.google.protobuf.EditionR\veditionEnum\DC27\n\ + \\bfeatures\CAN\STX \SOH(\v2\ESC.google.protobuf.FeatureSetR\bfeatures\"\167\STX\n\ \\SOSourceCodeInfo\DC2D\n\ \\blocation\CAN\SOH \ETX(\v2(.google.protobuf.SourceCodeInfo.LocationR\blocation\SUB\206\SOH\n\ \\bLocation\DC2\SYN\n\ @@ -10560,22 +13713,35 @@ packedFileDescriptor \\EOTspan\CAN\STX \ETX(\ENQR\EOTspanB\STX\DLE\SOH\DC2)\n\ \\DLEleading_comments\CAN\ETX \SOH(\tR\SIleadingComments\DC2+\n\ \\DC1trailing_comments\CAN\EOT \SOH(\tR\DLEtrailingComments\DC2:\n\ - \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments\"\209\SOH\n\ + \\EMleading_detached_comments\CAN\ACK \ETX(\tR\ETBleadingDetachedComments\"\208\STX\n\ \\DC1GeneratedCodeInfo\DC2M\n\ \\n\ \annotation\CAN\SOH \ETX(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n\ - \annotation\SUBm\n\ + \annotation\SUB\235\SOH\n\ \\n\ \Annotation\DC2\SYN\n\ \\EOTpath\CAN\SOH \ETX(\ENQR\EOTpathB\STX\DLE\SOH\DC2\US\n\ \\vsource_file\CAN\STX \SOH(\tR\n\ \sourceFile\DC2\DC4\n\ \\ENQbegin\CAN\ETX \SOH(\ENQR\ENQbegin\DC2\DLE\n\ - \\ETXend\CAN\EOT \SOH(\ENQR\ETXendB~\n\ - \\DC3com.google.protobufB\DLEDescriptorProtosH\SOHZ-google.golang.org/protobuf/types/descriptorpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\SUBGoogle.Protobuf.ReflectionJ\188\200\STX\n\ - \\a\DC2\ENQ'\NUL\140\a\SOH\n\ + \\ETXend\CAN\EOT \SOH(\ENQR\ETXend\DC2R\n\ + \\bsemantic\CAN\ENQ \SOH(\SO26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n\ + \\bSemantic\DC2\b\n\ + \\EOTNONE\DLE\NUL\DC2\a\n\ + \\ETXSET\DLE\SOH\DC2\t\n\ + \\ENQALIAS\DLE\STX*\192\SOH\n\ + \\aEdition\DC2\DC3\n\ + \\SIEDITION_UNKNOWN\DLE\NUL\DC2\DC1\n\ + \\fEDITION_2023\DLE\232\a\DC2\ETB\n\ + \\DC3EDITION_1_TEST_ONLY\DLE\SOH\DC2\ETB\n\ + \\DC3EDITION_2_TEST_ONLY\DLE\STX\DC2\GS\n\ + \\ETBEDITION_99997_TEST_ONLY\DLE\157\141\ACK\DC2\GS\n\ + \\ETBEDITION_99998_TEST_ONLY\DLE\158\141\ACK\DC2\GS\n\ + \\ETBEDITION_99999_TEST_ONLY\DLE\159\141\ACKB~\n\ + \\DC3com.google.protobufB\DLEDescriptorProtosH\SOHZ-google.golang.org/protobuf/types/descriptorpb\248\SOH\SOH\162\STX\ETXGPB\170\STX\SUBGoogle.Protobuf.ReflectionJ\190\176\ETX\n\ + \\a\DC2\ENQ&\NUL\174\t\SOH\n\ \\170\SI\n\ - \\SOH\f\DC2\ETX'\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ + \\SOH\f\DC2\ETX&\NUL\DC22\193\f Protocol Buffers - Google's data interchange format\n\ \ Copyright 2008 Google Inc. All rights reserved.\n\ \ https://developers.google.com/protocol-buffers/\n\ \\n\ @@ -10613,712 +13779,932 @@ packedFileDescriptor \ without any other information (e.g. without reading its imports).\n\ \\n\ \\b\n\ - \\SOH\STX\DC2\ETX)\NUL\CAN\n\ + \\SOH\STX\DC2\ETX(\NUL\CAN\n\ \\b\n\ - \\SOH\b\DC2\ETX+\NULD\n\ + \\SOH\b\DC2\ETX*\NULD\n\ \\t\n\ - \\STX\b\v\DC2\ETX+\NULD\n\ + \\STX\b\v\DC2\ETX*\NULD\n\ \\b\n\ - \\SOH\b\DC2\ETX,\NUL,\n\ + \\SOH\b\DC2\ETX+\NUL,\n\ \\t\n\ - \\STX\b\SOH\DC2\ETX,\NUL,\n\ + \\STX\b\SOH\DC2\ETX+\NUL,\n\ \\b\n\ - \\SOH\b\DC2\ETX-\NUL1\n\ + \\SOH\b\DC2\ETX,\NUL1\n\ \\t\n\ - \\STX\b\b\DC2\ETX-\NUL1\n\ + \\STX\b\b\DC2\ETX,\NUL1\n\ \\b\n\ - \\SOH\b\DC2\ETX.\NUL7\n\ + \\SOH\b\DC2\ETX-\NUL7\n\ \\t\n\ - \\STX\b%\DC2\ETX.\NUL7\n\ + \\STX\b%\DC2\ETX-\NUL7\n\ \\b\n\ - \\SOH\b\DC2\ETX/\NUL!\n\ + \\SOH\b\DC2\ETX.\NUL!\n\ \\t\n\ - \\STX\b$\DC2\ETX/\NUL!\n\ + \\STX\b$\DC2\ETX.\NUL!\n\ \\b\n\ - \\SOH\b\DC2\ETX0\NUL\US\n\ + \\SOH\b\DC2\ETX/\NUL\US\n\ \\t\n\ - \\STX\b\US\DC2\ETX0\NUL\US\n\ + \\STX\b\US\DC2\ETX/\NUL\US\n\ \\b\n\ - \\SOH\b\DC2\ETX4\NUL\FS\n\ + \\SOH\b\DC2\ETX3\NUL\FS\n\ \\DEL\n\ - \\STX\b\t\DC2\ETX4\NUL\FS\SUBt descriptor.proto must be optimized for speed because reflection-based\n\ + \\STX\b\t\DC2\ETX3\NUL\FS\SUBt descriptor.proto must be optimized for speed because reflection-based\n\ \ algorithms don't work during bootstrapping.\n\ \\n\ \j\n\ - \\STX\EOT\NUL\DC2\EOT8\NUL:\SOH\SUB^ The protocol compiler can output a FileDescriptorSet containing the .proto\n\ + \\STX\EOT\NUL\DC2\EOT7\NUL9\SOH\SUB^ The protocol compiler can output a FileDescriptorSet containing the .proto\n\ \ files it parses.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\NUL\SOH\DC2\ETX8\b\EM\n\ + \\ETX\EOT\NUL\SOH\DC2\ETX7\b\EM\n\ \\v\n\ - \\EOT\EOT\NUL\STX\NUL\DC2\ETX9\STX(\n\ + \\EOT\EOT\NUL\STX\NUL\DC2\ETX8\STX(\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX8\STX\n\ + \\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX8\v\RS\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX8\US#\n\ + \\f\n\ + \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX8&'\n\ + \-\n\ + \\STX\ENQ\NUL\DC2\EOT<\NULL\SOH\SUB! The full set of known editions.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\ENQ\NUL\SOH\DC2\ETX<\ENQ\f\n\ + \:\n\ + \\EOT\ENQ\NUL\STX\NUL\DC2\ETX>\STX\SYN\SUB- A placeholder for an unknown edition value.\n\ + \\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETX>\STX\DC1\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX9\STX\n\ + \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETX>\DC4\NAK\n\ + \\175\SOH\n\ + \\EOT\ENQ\NUL\STX\SOH\DC2\ETXC\STX\SYN\SUB\161\SOH Editions that have been released. The specific values are arbitrary and\n\ + \ should not be depended on, but they will always be time-ordered for easy\n\ + \ comparison.\n\ \\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX9\v\RS\n\ + \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETXC\STX\SO\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETXC\DC1\NAK\n\ + \}\n\ + \\EOT\ENQ\NUL\STX\STX\DC2\ETXG\STX\SUB\SUBp Placeholder editions for testing feature resolution. These should not be\n\ + \ used or relyed on outside of tests.\n\ + \\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETXG\STX\NAK\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETXG\CAN\EM\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\ETX\DC2\ETXH\STX\SUB\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ETX\SOH\DC2\ETXH\STX\NAK\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ETX\STX\DC2\ETXH\CAN\EM\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\EOT\DC2\ETXI\STX\"\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\EOT\SOH\DC2\ETXI\STX\EM\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\EOT\STX\DC2\ETXI\FS!\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\ENQ\DC2\ETXJ\STX\"\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ENQ\SOH\DC2\ETXJ\STX\EM\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX9\US#\n\ + \\ENQ\ENQ\NUL\STX\ENQ\STX\DC2\ETXJ\FS!\n\ + \\v\n\ + \\EOT\ENQ\NUL\STX\ACK\DC2\ETXK\STX\"\n\ + \\f\n\ + \\ENQ\ENQ\NUL\STX\ACK\SOH\DC2\ETXK\STX\EM\n\ \\f\n\ - \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX9&'\n\ + \\ENQ\ENQ\NUL\STX\ACK\STX\DC2\ETXK\FS!\n\ \/\n\ - \\STX\EOT\SOH\DC2\EOT=\NULZ\SOH\SUB# Describes a complete .proto file.\n\ + \\STX\EOT\SOH\DC2\EOTO\NULu\SOH\SUB# Describes a complete .proto file.\n\ \\n\ \\n\ \\n\ - \\ETX\EOT\SOH\SOH\DC2\ETX=\b\ESC\n\ + \\ETX\EOT\SOH\SOH\DC2\ETXO\b\ESC\n\ \9\n\ - \\EOT\EOT\SOH\STX\NUL\DC2\ETX>\STX\ESC\", file name, relative to root of source tree\n\ + \\EOT\EOT\SOH\STX\NUL\DC2\ETXP\STX\ESC\", file name, relative to root of source tree\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX>\STX\n\ + \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETXP\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX>\v\DC1\n\ + \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETXP\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX>\DC2\SYN\n\ + \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXP\DC2\SYN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX>\EM\SUB\n\ + \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXP\EM\SUB\n\ \*\n\ - \\EOT\EOT\SOH\STX\SOH\DC2\ETX?\STX\RS\"\GS e.g. \"foo\", \"foo.bar\", etc.\n\ + \\EOT\EOT\SOH\STX\SOH\DC2\ETXQ\STX\RS\"\GS e.g. \"foo\", \"foo.bar\", etc.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX?\STX\n\ + \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETXQ\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX?\v\DC1\n\ + \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXQ\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX?\DC2\EM\n\ + \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXQ\DC2\EM\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX?\FS\GS\n\ + \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXQ\FS\GS\n\ \4\n\ - \\EOT\EOT\SOH\STX\STX\DC2\ETXB\STX!\SUB' Names of files imported by this file.\n\ + \\EOT\EOT\SOH\STX\STX\DC2\ETXT\STX!\SUB' Names of files imported by this file.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXB\STX\n\ + \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETXT\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXB\v\DC1\n\ + \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXT\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXB\DC2\FS\n\ + \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXT\DC2\FS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXB\US \n\ + \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXT\US \n\ \Q\n\ - \\EOT\EOT\SOH\STX\ETX\DC2\ETXD\STX(\SUBD Indexes of the public imported files in the dependency list above.\n\ + \\EOT\EOT\SOH\STX\ETX\DC2\ETXV\STX(\SUBD Indexes of the public imported files in the dependency list above.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXD\STX\n\ + \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXV\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXD\v\DLE\n\ + \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXV\v\DLE\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXD\DC1\"\n\ + \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXV\DC1\"\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXD%'\n\ + \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXV%'\n\ \z\n\ - \\EOT\EOT\SOH\STX\EOT\DC2\ETXG\STX&\SUBm Indexes of the weak imported files in the dependency list.\n\ + \\EOT\EOT\SOH\STX\EOT\DC2\ETXY\STX&\SUBm Indexes of the weak imported files in the dependency list.\n\ \ For Google-internal migration only. Do not use.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXG\STX\n\ + \\ENQ\EOT\SOH\STX\EOT\EOT\DC2\ETXY\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXG\v\DLE\n\ + \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETXY\v\DLE\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXG\DC1 \n\ + \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXY\DC1 \n\ \\f\n\ - \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXG#%\n\ + \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXY#%\n\ \6\n\ - \\EOT\EOT\SOH\STX\ENQ\DC2\ETXJ\STX,\SUB) All top-level definitions in this file.\n\ + \\EOT\EOT\SOH\STX\ENQ\DC2\ETX\\\STX,\SUB) All top-level definitions in this file.\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETXJ\STX\n\ + \\ENQ\EOT\SOH\STX\ENQ\EOT\DC2\ETX\\\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXJ\v\SUB\n\ + \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETX\\\v\SUB\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXJ\ESC'\n\ + \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETX\\\ESC'\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXJ*+\n\ + \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETX\\*+\n\ \\v\n\ - \\EOT\EOT\SOH\STX\ACK\DC2\ETXK\STX-\n\ + \\EOT\EOT\SOH\STX\ACK\DC2\ETX]\STX-\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\EOT\DC2\ETXK\STX\n\ + \\ENQ\EOT\SOH\STX\ACK\EOT\DC2\ETX]\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXK\v\RS\n\ + \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETX]\v\RS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXK\US(\n\ + \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETX]\US(\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXK+,\n\ + \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETX]+,\n\ \\v\n\ - \\EOT\EOT\SOH\STX\a\DC2\ETXL\STX.\n\ + \\EOT\EOT\SOH\STX\a\DC2\ETX^\STX.\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\EOT\DC2\ETXL\STX\n\ + \\ENQ\EOT\SOH\STX\a\EOT\DC2\ETX^\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETXL\v!\n\ + \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETX^\v!\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETXL\")\n\ + \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETX^\")\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETXL,-\n\ + \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETX^,-\n\ \\v\n\ - \\EOT\EOT\SOH\STX\b\DC2\ETXM\STX.\n\ + \\EOT\EOT\SOH\STX\b\DC2\ETX_\STX.\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\EOT\DC2\ETXM\STX\n\ + \\ENQ\EOT\SOH\STX\b\EOT\DC2\ETX_\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETXM\v\US\n\ + \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETX_\v\US\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETXM )\n\ + \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETX_ )\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETXM,-\n\ + \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETX_,-\n\ \\v\n\ - \\EOT\EOT\SOH\STX\t\DC2\ETXO\STX#\n\ + \\EOT\EOT\SOH\STX\t\DC2\ETXa\STX#\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\EOT\DC2\ETXO\STX\n\ + \\ENQ\EOT\SOH\STX\t\EOT\DC2\ETXa\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETXO\v\SYN\n\ + \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETXa\v\SYN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETXO\ETB\RS\n\ + \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETXa\ETB\RS\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETXO!\"\n\ + \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETXa!\"\n\ \\244\SOH\n\ \\EOT\EOT\SOH\STX\n\ - \\DC2\ETXU\STX/\SUB\230\SOH This field contains optional information about the original source code.\n\ + \\DC2\ETXg\STX/\SUB\230\SOH This field contains optional information about the original source code.\n\ \ You may safely remove this entire field without harming runtime\n\ \ functionality of the descriptors -- the information is needed only by\n\ \ development tools.\n\ \\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\EOT\DC2\ETXU\STX\n\ + \\EOT\DC2\ETXg\STX\n\ \\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\ACK\DC2\ETXU\v\EM\n\ + \\ACK\DC2\ETXg\v\EM\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\SOH\DC2\ETXU\SUB*\n\ + \\SOH\DC2\ETXg\SUB*\n\ \\f\n\ \\ENQ\EOT\SOH\STX\n\ - \\ETX\DC2\ETXU-.\n\ - \]\n\ - \\EOT\EOT\SOH\STX\v\DC2\ETXY\STX\RS\SUBP The syntax of the proto file.\n\ - \ The supported values are \"proto2\" and \"proto3\".\n\ + \\ETX\DC2\ETXg-.\n\ + \\165\SOH\n\ + \\EOT\EOT\SOH\STX\v\DC2\ETXm\STX\RS\SUB\151\SOH The syntax of the proto file.\n\ + \ The supported values are \"proto2\", \"proto3\", and \"editions\".\n\ + \\n\ + \ If `edition` is present, this value must be \"editions\".\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\EOT\DC2\ETXY\STX\n\ + \\ENQ\EOT\SOH\STX\v\EOT\DC2\ETXm\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\ENQ\DC2\ETXY\v\DC1\n\ + \\ENQ\EOT\SOH\STX\v\ENQ\DC2\ETXm\v\DC1\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETXY\DC2\CAN\n\ + \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETXm\DC2\CAN\n\ \\f\n\ - \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETXY\ESC\GS\n\ - \'\n\ - \\STX\EOT\STX\DC2\EOT]\NUL}\SOH\SUB\ESC Describes a message type.\n\ + \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETXm\ESC\GS\n\ + \\129\SOH\n\ + \\EOT\EOT\SOH\STX\f\DC2\ETXq\STX\US\SUBt The edition of the proto file, which is an opaque string.\n\ + \ TODO Deprecate and remove this field in favor of enums.\n\ \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\EOT\DC2\ETXq\STX\n\ \\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\ENQ\DC2\ETXq\v\DC1\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\SOH\DC2\ETXq\DC2\EM\n\ + \\f\n\ + \\ENQ\EOT\SOH\STX\f\ETX\DC2\ETXq\FS\RS\n\ + \-\n\ + \\EOT\EOT\SOH\STX\r\DC2\ETXt\STX%\SUB The edition of the proto file.\n\ \\n\ - \\ETX\EOT\STX\SOH\DC2\ETX]\b\ETB\n\ - \\v\n\ - \\EOT\EOT\STX\STX\NUL\DC2\ETX^\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX^\STX\n\ + \\ENQ\EOT\SOH\STX\r\EOT\DC2\ETXt\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX^\v\DC1\n\ + \\ENQ\EOT\SOH\STX\r\ACK\DC2\ETXt\v\DC2\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX^\DC2\SYN\n\ + \\ENQ\EOT\SOH\STX\r\SOH\DC2\ETXt\DC3\US\n\ \\f\n\ - \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX^\EM\SUB\n\ + \\ENQ\EOT\SOH\STX\r\ETX\DC2\ETXt\"$\n\ + \(\n\ + \\STX\EOT\STX\DC2\ENQx\NUL\152\SOH\SOH\SUB\ESC Describes a message type.\n\ + \\n\ + \\n\ + \\n\ + \\ETX\EOT\STX\SOH\DC2\ETXx\b\ETB\n\ \\v\n\ - \\EOT\EOT\STX\STX\SOH\DC2\ETX`\STX*\n\ + \\EOT\EOT\STX\STX\NUL\DC2\ETXy\STX\ESC\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX`\STX\n\ + \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETXy\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX`\v\US\n\ + \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXy\v\DC1\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX` %\n\ + \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXy\DC2\SYN\n\ \\f\n\ - \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX`()\n\ + \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXy\EM\SUB\n\ \\v\n\ - \\EOT\EOT\STX\STX\STX\DC2\ETXa\STX.\n\ + \\EOT\EOT\STX\STX\SOH\DC2\ETX{\STX*\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETXa\STX\n\ + \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETX{\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETXa\v\US\n\ + \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX{\v\US\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXa )\n\ + \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX{ %\n\ \\f\n\ - \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXa,-\n\ + \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX{()\n\ \\v\n\ - \\EOT\EOT\STX\STX\ETX\DC2\ETXc\STX+\n\ + \\EOT\EOT\STX\STX\STX\DC2\ETX|\STX.\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETXc\STX\n\ + \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETX|\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETXc\v\SUB\n\ + \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETX|\v\US\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXc\ESC&\n\ + \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETX| )\n\ \\f\n\ - \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXc)*\n\ + \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETX|,-\n\ \\v\n\ - \\EOT\EOT\STX\STX\EOT\DC2\ETXd\STX-\n\ + \\EOT\EOT\STX\STX\ETX\DC2\ETX~\STX+\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\EOT\DC2\ETXd\STX\n\ + \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETX~\STX\n\ \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETXd\v\RS\n\ + \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETX~\v\SUB\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETX~\ESC&\n\ + \\f\n\ + \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETX~)*\n\ + \\v\n\ + \\EOT\EOT\STX\STX\EOT\DC2\ETX\DEL\STX-\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETXd\US(\n\ + \\ENQ\EOT\STX\STX\EOT\EOT\DC2\ETX\DEL\STX\n\ + \\n\ \\f\n\ - \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETXd+,\n\ + \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETX\DEL\v\RS\n\ \\f\n\ - \\EOT\EOT\STX\ETX\NUL\DC2\EOTf\STXk\ETX\n\ + \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETX\DEL\US(\n\ \\f\n\ - \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\ETXf\n\ + \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETX\DEL+,\n\ + \\SO\n\ + \\EOT\EOT\STX\ETX\NUL\DC2\ACK\129\SOH\STX\134\SOH\ETX\n\ + \\r\n\ + \\ENQ\EOT\STX\ETX\NUL\SOH\DC2\EOT\129\SOH\n\ \\CAN\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\ETXg\EOT\GS\"\f Inclusive.\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\NUL\STX\NUL\DC2\EOT\130\SOH\EOT\GS\"\f Inclusive.\n\ \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\EOT\130\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\130\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\EOT\130\SOH\DC3\CAN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\EOT\130\SOH\ESC\FS\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\EOT\131\SOH\EOT\ESC\"\f Exclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\EOT\131\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\131\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\EOT\131\SOH\DC3\SYN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\EOT\131\SOH\EM\SUB\n\ \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\EOT\DC2\ETXg\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ENQ\DC2\ETXg\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\SOH\DC2\ETXg\DC3\CAN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\NUL\ETX\DC2\ETXg\ESC\FS\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\NUL\STX\SOH\DC2\ETXh\EOT\ESC\"\f Exclusive.\n\ + \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\EOT\133\SOH\EOT/\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\EOT\133\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ACK\DC2\EOT\133\SOH\r\"\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\EOT\133\SOH#*\n\ + \\SI\n\ + \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\EOT\133\SOH-.\n\ + \\f\n\ + \\EOT\EOT\STX\STX\ENQ\DC2\EOT\135\SOH\STX.\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\EOT\DC2\EOT\135\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\EOT\135\SOH\v\EM\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\EOT\135\SOH\SUB)\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\EOT\135\SOH,-\n\ + \\f\n\ + \\EOT\EOT\STX\STX\ACK\DC2\EOT\137\SOH\STX/\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\EOT\DC2\EOT\137\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\ACK\DC2\EOT\137\SOH\v\US\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\SOH\DC2\EOT\137\SOH *\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\ACK\ETX\DC2\EOT\137\SOH-.\n\ + \\f\n\ + \\EOT\EOT\STX\STX\a\DC2\EOT\139\SOH\STX&\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\EOT\DC2\EOT\139\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\ACK\DC2\EOT\139\SOH\v\EM\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\SOH\DC2\EOT\139\SOH\SUB!\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\a\ETX\DC2\EOT\139\SOH$%\n\ + \\172\SOH\n\ + \\EOT\EOT\STX\ETX\SOH\DC2\ACK\144\SOH\STX\147\SOH\ETX\SUB\155\SOH Range of reserved tag numbers. Reserved tag numbers may not be used by\n\ + \ fields or extension ranges in the same message. Reserved ranges may\n\ + \ not overlap.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\ETX\SOH\SOH\DC2\EOT\144\SOH\n\ + \\ETB\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\SOH\STX\NUL\DC2\EOT\145\SOH\EOT\GS\"\f Inclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\EOT\DC2\EOT\145\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\ENQ\DC2\EOT\145\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\SOH\DC2\EOT\145\SOH\DC3\CAN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\NUL\ETX\DC2\EOT\145\SOH\ESC\FS\n\ + \\FS\n\ + \\ACK\EOT\STX\ETX\SOH\STX\SOH\DC2\EOT\146\SOH\EOT\ESC\"\f Exclusive.\n\ + \\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\EOT\DC2\EOT\146\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\ENQ\DC2\EOT\146\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\SOH\DC2\EOT\146\SOH\DC3\SYN\n\ + \\SI\n\ + \\a\EOT\STX\ETX\SOH\STX\SOH\ETX\DC2\EOT\146\SOH\EM\SUB\n\ + \\f\n\ + \\EOT\EOT\STX\STX\b\DC2\EOT\148\SOH\STX,\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\EOT\DC2\EOT\148\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\ACK\DC2\EOT\148\SOH\v\CAN\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\SOH\DC2\EOT\148\SOH\EM'\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\b\ETX\DC2\EOT\148\SOH*+\n\ + \\131\SOH\n\ + \\EOT\EOT\STX\STX\t\DC2\EOT\151\SOH\STX%\SUBu Reserved field names, which may not be used by fields in the same message.\n\ + \ A given name may only be reserved once.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\EOT\DC2\EOT\151\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\ENQ\DC2\EOT\151\SOH\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\SOH\DC2\EOT\151\SOH\DC2\US\n\ + \\r\n\ + \\ENQ\EOT\STX\STX\t\ETX\DC2\EOT\151\SOH\"$\n\ + \\f\n\ + \\STX\EOT\ETX\DC2\ACK\154\SOH\NUL\205\SOH\SOH\n\ + \\v\n\ + \\ETX\EOT\ETX\SOH\DC2\EOT\154\SOH\b\GS\n\ + \O\n\ + \\EOT\EOT\ETX\STX\NUL\DC2\EOT\156\SOH\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ \\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\EOT\DC2\ETXh\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ENQ\DC2\ETXh\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\SOH\DC2\ETXh\DC3\SYN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\SOH\ETX\DC2\ETXh\EM\SUB\n\ \\r\n\ - \\ACK\EOT\STX\ETX\NUL\STX\STX\DC2\ETXj\EOT/\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\EOT\DC2\ETXj\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ACK\DC2\ETXj\r\"\n\ - \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\SOH\DC2\ETXj#*\n\ + \\ENQ\EOT\ETX\STX\NUL\EOT\DC2\EOT\156\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\156\SOH\v\RS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\156\SOH\US3\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\156\SOH69\n\ \\SO\n\ - \\a\EOT\STX\ETX\NUL\STX\STX\ETX\DC2\ETXj-.\n\ - \\v\n\ - \\EOT\EOT\STX\STX\ENQ\DC2\ETXl\STX.\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\EOT\DC2\ETXl\STX\n\ + \\EOT\EOT\ETX\ETX\NUL\DC2\ACK\158\SOH\STX\181\SOH\ETX\n\ + \\r\n\ + \\ENQ\EOT\ETX\ETX\NUL\SOH\DC2\EOT\158\SOH\n\ + \\NAK\n\ + \K\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\NUL\DC2\EOT\160\SOH\EOT\RS\SUB; The extension number declared within the extension range.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\ETXl\v\EM\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\ETXl\SUB)\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\ETXl,-\n\ - \\v\n\ - \\EOT\EOT\STX\STX\ACK\DC2\ETXn\STX/\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\EOT\DC2\ETXn\STX\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\EOT\DC2\EOT\160\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\160\SOH\r\DC2\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\SOH\DC2\EOT\160\SOH\DC3\EM\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\NUL\ETX\DC2\EOT\160\SOH\FS\GS\n\ + \z\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\SOH\DC2\EOT\164\SOH\EOT\"\SUBj The fully-qualified name of the extension field. There must be a leading\n\ + \ dot in front of the full name.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\ACK\DC2\ETXn\v\US\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\SOH\DC2\ETXn *\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\ACK\ETX\DC2\ETXn-.\n\ - \\v\n\ - \\EOT\EOT\STX\STX\a\DC2\ETXp\STX&\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\EOT\DC2\ETXp\STX\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\EOT\DC2\EOT\164\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\164\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\SOH\DC2\EOT\164\SOH\DC4\GS\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\SOH\ETX\DC2\EOT\164\SOH !\n\ + \\161\SOH\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\STX\DC2\EOT\169\SOH\EOT\GS\SUB\144\SOH The fully-qualified type name of the extension field. Unlike\n\ + \ Metadata.type, Declaration.type must have a leading dot for messages\n\ + \ and enums.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\ACK\DC2\ETXp\v\EM\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\SOH\DC2\ETXp\SUB!\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\a\ETX\DC2\ETXp$%\n\ - \\170\SOH\n\ - \\EOT\EOT\STX\ETX\SOH\DC2\EOTu\STXx\ETX\SUB\155\SOH Range of reserved tag numbers. Reserved tag numbers may not be used by\n\ - \ fields or extension ranges in the same message. Reserved ranges may\n\ - \ not overlap.\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\EOT\DC2\EOT\169\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\ENQ\DC2\EOT\169\SOH\r\DC3\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\SOH\DC2\EOT\169\SOH\DC4\CAN\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\STX\ETX\DC2\EOT\169\SOH\ESC\FS\n\ + \\206\SOH\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\ETX\DC2\EOT\174\SOH\EOT\US\SUB\189\SOH If true, indicates that the number is reserved in the extension range,\n\ + \ and any extension field with the number will fail to compile. Set this\n\ + \ when a declared extension field is deleted.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\ETX\SOH\SOH\DC2\ETXu\n\ - \\ETB\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\SOH\STX\NUL\DC2\ETXv\EOT\GS\"\f Inclusive.\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\EOT\DC2\EOT\174\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\ENQ\DC2\EOT\174\SOH\r\DC1\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\SOH\DC2\EOT\174\SOH\DC2\SUB\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\ETX\ETX\DC2\EOT\174\SOH\GS\RS\n\ + \\138\SOH\n\ + \\ACK\EOT\ETX\ETX\NUL\STX\EOT\DC2\EOT\178\SOH\EOT\US\SUBz If true, indicates that the extension must be defined as repeated.\n\ + \ Otherwise the extension must be defined as optional.\n\ \\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\EOT\DC2\ETXv\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\ENQ\DC2\ETXv\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\SOH\DC2\ETXv\DC3\CAN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\NUL\ETX\DC2\ETXv\ESC\FS\n\ - \\ESC\n\ - \\ACK\EOT\STX\ETX\SOH\STX\SOH\DC2\ETXw\EOT\ESC\"\f Exclusive.\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\EOT\DC2\EOT\178\SOH\EOT\f\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\ENQ\DC2\EOT\178\SOH\r\DC1\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\SOH\DC2\EOT\178\SOH\DC2\SUB\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\STX\EOT\ETX\DC2\EOT\178\SOH\GS\RS\n\ + \$\n\ + \\ENQ\EOT\ETX\ETX\NUL\t\DC2\EOT\180\SOH\EOT\SI\"\NAK removed is_repeated\n\ \\n\ \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\EOT\DC2\ETXw\EOT\f\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\ENQ\DC2\ETXw\r\DC2\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\SOH\DC2\ETXw\DC3\SYN\n\ - \\SO\n\ - \\a\EOT\STX\ETX\SOH\STX\SOH\ETX\DC2\ETXw\EM\SUB\n\ - \\v\n\ - \\EOT\EOT\STX\STX\b\DC2\ETXy\STX,\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\EOT\DC2\ETXy\STX\n\ + \\ACK\EOT\ETX\ETX\NUL\t\NUL\DC2\EOT\180\SOH\r\SO\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\t\NUL\SOH\DC2\EOT\180\SOH\r\SO\n\ + \\SI\n\ + \\a\EOT\ETX\ETX\NUL\t\NUL\STX\DC2\EOT\180\SOH\r\SO\n\ + \\177\SOH\n\ + \\EOT\EOT\ETX\STX\SOH\DC2\EOT\186\SOH\STXF\SUB\162\SOH For external users: DO NOT USE. We are in the process of open sourcing\n\ + \ extension declaration and executing internal cleanups before it can be\n\ + \ used externally.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\ACK\DC2\ETXy\v\CAN\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\SOH\DC2\ETXy\EM'\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\b\ETX\DC2\ETXy*+\n\ - \\130\SOH\n\ - \\EOT\EOT\STX\STX\t\DC2\ETX|\STX%\SUBu Reserved field names, which may not be used by fields in the same message.\n\ - \ A given name may only be reserved once.\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\EOT\DC2\EOT\186\SOH\STX\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\EOT\DC2\ETX|\STX\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\EOT\186\SOH\v\SYN\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\186\SOH\ETB\"\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\186\SOH%&\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\SOH\b\DC2\EOT\186\SOH'E\n\ + \\SO\n\ + \\ACK\EOT\ETX\STX\SOH\b\DC1\DC2\EOT\186\SOH(D\n\ + \=\n\ + \\EOT\EOT\ETX\STX\STX\DC2\EOT\189\SOH\STX$\SUB/ Any features defined in the specific edition.\n\ \\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\ENQ\DC2\ETX|\v\DC1\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\SOH\DC2\ETX|\DC2\US\n\ - \\f\n\ - \\ENQ\EOT\STX\STX\t\ETX\DC2\ETX|\"$\n\ - \\v\n\ - \\STX\EOT\ETX\DC2\ENQ\DEL\NUL\134\SOH\SOH\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\EOT\DC2\EOT\189\SOH\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\ACK\DC2\EOT\189\SOH\v\NAK\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\189\SOH\SYN\RS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\189\SOH!#\n\ + \@\n\ + \\EOT\EOT\ETX\EOT\NUL\DC2\ACK\192\SOH\STX\196\SOH\ETX\SUB0 The verification state of the extension range.\n\ \\n\ + \\r\n\ + \\ENQ\EOT\ETX\EOT\NUL\SOH\DC2\EOT\192\SOH\a\CAN\n\ + \C\n\ + \\ACK\EOT\ETX\EOT\NUL\STX\NUL\DC2\EOT\194\SOH\EOT\DC4\SUB3 All the extensions of the range must be declared.\n\ \\n\ - \\ETX\EOT\ETX\SOH\DC2\ETX\DEL\b\GS\n\ - \O\n\ - \\EOT\EOT\ETX\STX\NUL\DC2\EOT\129\SOH\STX:\SUBA The parser stores options it doesn't recognize here. See above.\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\NUL\SOH\DC2\EOT\194\SOH\EOT\SI\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\NUL\STX\DC2\EOT\194\SOH\DC2\DC3\n\ + \\SO\n\ + \\ACK\EOT\ETX\EOT\NUL\STX\SOH\DC2\EOT\195\SOH\EOT\DC3\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\SOH\SOH\DC2\EOT\195\SOH\EOT\SO\n\ + \\SI\n\ + \\a\EOT\ETX\EOT\NUL\STX\SOH\STX\DC2\EOT\195\SOH\DC1\DC2\n\ + \\140\SOH\n\ + \\EOT\EOT\ETX\STX\ETX\DC2\EOT\201\SOH\STXE\SUB~ The verification state of the range.\n\ + \ TODO: flip the default to DECLARATION once all empty ranges\n\ + \ are marked as UNVERIFIED.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\EOT\DC2\EOT\129\SOH\STX\n\ + \\ENQ\EOT\ETX\STX\ETX\EOT\DC2\EOT\201\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\129\SOH\v\RS\n\ + \\ENQ\EOT\ETX\STX\ETX\ACK\DC2\EOT\201\SOH\v\FS\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\EOT\201\SOH\GS)\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\129\SOH\US3\n\ + \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\EOT\201\SOH,-\n\ \\r\n\ - \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\129\SOH69\n\ + \\ENQ\EOT\ETX\STX\ETX\b\DC2\EOT\201\SOH.D\n\ + \\r\n\ + \\ENQ\EOT\ETX\STX\ETX\a\DC2\EOT\201\SOH9C\n\ \Z\n\ - \\ETX\EOT\ETX\ENQ\DC2\EOT\133\SOH\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ + \\ETX\EOT\ETX\ENQ\DC2\EOT\204\SOH\STX\EM\SUBM Clients can define custom options in extensions of this message. See above.\n\ \\n\ \\f\n\ - \\EOT\EOT\ETX\ENQ\NUL\DC2\EOT\133\SOH\r\CAN\n\ + \\EOT\EOT\ETX\ENQ\NUL\DC2\EOT\204\SOH\r\CAN\n\ \\r\n\ - \\ENQ\EOT\ETX\ENQ\NUL\SOH\DC2\EOT\133\SOH\r\DC1\n\ + \\ENQ\EOT\ETX\ENQ\NUL\SOH\DC2\EOT\204\SOH\r\DC1\n\ \\r\n\ - \\ENQ\EOT\ETX\ENQ\NUL\STX\DC2\EOT\133\SOH\NAK\CAN\n\ + \\ENQ\EOT\ETX\ENQ\NUL\STX\DC2\EOT\204\SOH\NAK\CAN\n\ \3\n\ - \\STX\EOT\EOT\DC2\ACK\137\SOH\NUL\238\SOH\SOH\SUB% Describes a field within a message.\n\ + \\STX\EOT\EOT\DC2\ACK\208\SOH\NUL\180\STX\SOH\SUB% Describes a field within a message.\n\ \\n\ \\v\n\ - \\ETX\EOT\EOT\SOH\DC2\EOT\137\SOH\b\FS\n\ + \\ETX\EOT\EOT\SOH\DC2\EOT\208\SOH\b\FS\n\ \\SO\n\ - \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\138\SOH\STX\169\SOH\ETX\n\ + \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\209\SOH\STX\240\SOH\ETX\n\ \\r\n\ - \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\138\SOH\a\v\n\ + \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\209\SOH\a\v\n\ \S\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\141\SOH\EOT\DC4\SUBC 0 is reserved for errors.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\212\SOH\EOT\DC4\SUBC 0 is reserved for errors.\n\ \ Order is weird for historical reasons.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\141\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\212\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\141\SOH\DC2\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\212\SOH\DC2\DC3\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\142\SOH\EOT\DC3\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\213\SOH\EOT\DC3\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\142\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\213\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\142\SOH\DC1\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\213\SOH\DC1\DC2\n\ \w\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\145\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\216\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n\ \ negative values are likely.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\145\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\216\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\145\SOH\DC1\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\216\SOH\DC1\DC2\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\ETX\DC2\EOT\146\SOH\EOT\DC4\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ETX\DC2\EOT\217\SOH\EOT\DC4\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ETX\SOH\DC2\EOT\146\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\ETX\SOH\DC2\EOT\217\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ETX\STX\DC2\EOT\146\SOH\DC2\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\ETX\STX\DC2\EOT\217\SOH\DC2\DC3\n\ \w\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\EOT\DC2\EOT\149\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\EOT\DC2\EOT\220\SOH\EOT\DC3\SUBg Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n\ \ negative values are likely.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\EOT\SOH\DC2\EOT\149\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\EOT\SOH\DC2\EOT\220\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\EOT\STX\DC2\EOT\149\SOH\DC1\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\EOT\STX\DC2\EOT\220\SOH\DC1\DC2\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\ENQ\DC2\EOT\150\SOH\EOT\NAK\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ENQ\DC2\EOT\221\SOH\EOT\NAK\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ENQ\SOH\DC2\EOT\150\SOH\EOT\DLE\n\ + \\a\EOT\EOT\EOT\NUL\STX\ENQ\SOH\DC2\EOT\221\SOH\EOT\DLE\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ENQ\STX\DC2\EOT\150\SOH\DC3\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\ENQ\STX\DC2\EOT\221\SOH\DC3\DC4\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\ACK\DC2\EOT\151\SOH\EOT\NAK\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\ACK\DC2\EOT\222\SOH\EOT\NAK\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ACK\SOH\DC2\EOT\151\SOH\EOT\DLE\n\ + \\a\EOT\EOT\EOT\NUL\STX\ACK\SOH\DC2\EOT\222\SOH\EOT\DLE\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\ACK\STX\DC2\EOT\151\SOH\DC3\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\ACK\STX\DC2\EOT\222\SOH\DC3\DC4\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\a\DC2\EOT\152\SOH\EOT\DC2\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\a\DC2\EOT\223\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\a\SOH\DC2\EOT\152\SOH\EOT\r\n\ + \\a\EOT\EOT\EOT\NUL\STX\a\SOH\DC2\EOT\223\SOH\EOT\r\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\a\STX\DC2\EOT\152\SOH\DLE\DC1\n\ + \\a\EOT\EOT\EOT\NUL\STX\a\STX\DC2\EOT\223\SOH\DLE\DC1\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\b\DC2\EOT\153\SOH\EOT\DC4\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\b\DC2\EOT\224\SOH\EOT\DC4\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\b\SOH\DC2\EOT\153\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\b\SOH\DC2\EOT\224\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\b\STX\DC2\EOT\153\SOH\DC2\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\b\STX\DC2\EOT\224\SOH\DC2\DC3\n\ \\226\SOH\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\t\DC2\EOT\158\SOH\EOT\DC4\SUB\209\SOH Tag-delimited aggregate.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\t\DC2\EOT\229\SOH\EOT\DC4\SUB\209\SOH Tag-delimited aggregate.\n\ \ Group type is deprecated and not supported in proto3. However, Proto3\n\ \ implementations should still be able to parse the group wire format and\n\ \ treat group fields as unknown fields.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\t\SOH\DC2\EOT\158\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\t\SOH\DC2\EOT\229\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\t\STX\DC2\EOT\158\SOH\DC1\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\t\STX\DC2\EOT\229\SOH\DC1\DC3\n\ \-\n\ \\ACK\EOT\EOT\EOT\NUL\STX\n\ - \\DC2\EOT\159\SOH\EOT\SYN\"\GS Length-delimited aggregate.\n\ + \\DC2\EOT\230\SOH\EOT\SYN\"\GS Length-delimited aggregate.\n\ \\n\ \\SI\n\ \\a\EOT\EOT\EOT\NUL\STX\n\ - \\SOH\DC2\EOT\159\SOH\EOT\DLE\n\ + \\SOH\DC2\EOT\230\SOH\EOT\DLE\n\ \\SI\n\ \\a\EOT\EOT\EOT\NUL\STX\n\ - \\STX\DC2\EOT\159\SOH\DC3\NAK\n\ + \\STX\DC2\EOT\230\SOH\DC3\NAK\n\ \#\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\v\DC2\EOT\162\SOH\EOT\DC4\SUB\DC3 New in version 2.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\v\DC2\EOT\233\SOH\EOT\DC4\SUB\DC3 New in version 2.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\v\SOH\DC2\EOT\162\SOH\EOT\SO\n\ + \\a\EOT\EOT\EOT\NUL\STX\v\SOH\DC2\EOT\233\SOH\EOT\SO\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\v\STX\DC2\EOT\162\SOH\DC1\DC3\n\ + \\a\EOT\EOT\EOT\NUL\STX\v\STX\DC2\EOT\233\SOH\DC1\DC3\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\f\DC2\EOT\163\SOH\EOT\NAK\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\f\DC2\EOT\234\SOH\EOT\NAK\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\f\SOH\DC2\EOT\163\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\f\SOH\DC2\EOT\234\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\f\STX\DC2\EOT\163\SOH\DC2\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\f\STX\DC2\EOT\234\SOH\DC2\DC4\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\r\DC2\EOT\164\SOH\EOT\DC3\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\r\DC2\EOT\235\SOH\EOT\DC3\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\r\SOH\DC2\EOT\164\SOH\EOT\r\n\ + \\a\EOT\EOT\EOT\NUL\STX\r\SOH\DC2\EOT\235\SOH\EOT\r\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\r\STX\DC2\EOT\164\SOH\DLE\DC2\n\ + \\a\EOT\EOT\EOT\NUL\STX\r\STX\DC2\EOT\235\SOH\DLE\DC2\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\SO\DC2\EOT\165\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SO\DC2\EOT\236\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SO\SOH\DC2\EOT\165\SOH\EOT\DC1\n\ + \\a\EOT\EOT\EOT\NUL\STX\SO\SOH\DC2\EOT\236\SOH\EOT\DC1\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SO\STX\DC2\EOT\165\SOH\DC4\SYN\n\ + \\a\EOT\EOT\EOT\NUL\STX\SO\STX\DC2\EOT\236\SOH\DC4\SYN\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\SI\DC2\EOT\166\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\SI\DC2\EOT\237\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SI\SOH\DC2\EOT\166\SOH\EOT\DC1\n\ + \\a\EOT\EOT\EOT\NUL\STX\SI\SOH\DC2\EOT\237\SOH\EOT\DC1\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\SI\STX\DC2\EOT\166\SOH\DC4\SYN\n\ + \\a\EOT\EOT\EOT\NUL\STX\SI\STX\DC2\EOT\237\SOH\DC4\SYN\n\ \'\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\DLE\DC2\EOT\167\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\DLE\DC2\EOT\238\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DLE\SOH\DC2\EOT\167\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DLE\SOH\DC2\EOT\238\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DLE\STX\DC2\EOT\167\SOH\DC2\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\DLE\STX\DC2\EOT\238\SOH\DC2\DC4\n\ \'\n\ - \\ACK\EOT\EOT\EOT\NUL\STX\DC1\DC2\EOT\168\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ + \\ACK\EOT\EOT\EOT\NUL\STX\DC1\DC2\EOT\239\SOH\EOT\NAK\"\ETB Uses ZigZag encoding.\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DC1\SOH\DC2\EOT\168\SOH\EOT\SI\n\ + \\a\EOT\EOT\EOT\NUL\STX\DC1\SOH\DC2\EOT\239\SOH\EOT\SI\n\ \\SI\n\ - \\a\EOT\EOT\EOT\NUL\STX\DC1\STX\DC2\EOT\168\SOH\DC2\DC4\n\ + \\a\EOT\EOT\EOT\NUL\STX\DC1\STX\DC2\EOT\239\SOH\DC2\DC4\n\ \\SO\n\ - \\EOT\EOT\EOT\EOT\SOH\DC2\ACK\171\SOH\STX\176\SOH\ETX\n\ + \\EOT\EOT\EOT\EOT\SOH\DC2\ACK\242\SOH\STX\247\SOH\ETX\n\ \\r\n\ - \\ENQ\EOT\EOT\EOT\SOH\SOH\DC2\EOT\171\SOH\a\f\n\ + \\ENQ\EOT\EOT\EOT\SOH\SOH\DC2\EOT\242\SOH\a\f\n\ \*\n\ - \\ACK\EOT\EOT\EOT\SOH\STX\NUL\DC2\EOT\173\SOH\EOT\ETB\SUB\SUB 0 is reserved for errors\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\NUL\DC2\EOT\244\SOH\EOT\ETB\SUB\SUB 0 is reserved for errors\n\ \\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\NUL\SOH\DC2\EOT\173\SOH\EOT\DC2\n\ + \\a\EOT\EOT\EOT\SOH\STX\NUL\SOH\DC2\EOT\244\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\NUL\STX\DC2\EOT\173\SOH\NAK\SYN\n\ + \\a\EOT\EOT\EOT\SOH\STX\NUL\STX\DC2\EOT\244\SOH\NAK\SYN\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\SOH\STX\SOH\DC2\EOT\174\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\SOH\DC2\EOT\245\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\SOH\SOH\DC2\EOT\174\SOH\EOT\DC2\n\ + \\a\EOT\EOT\EOT\SOH\STX\SOH\SOH\DC2\EOT\245\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\SOH\STX\DC2\EOT\174\SOH\NAK\SYN\n\ + \\a\EOT\EOT\EOT\SOH\STX\SOH\STX\DC2\EOT\245\SOH\NAK\SYN\n\ \\SO\n\ - \\ACK\EOT\EOT\EOT\SOH\STX\STX\DC2\EOT\175\SOH\EOT\ETB\n\ + \\ACK\EOT\EOT\EOT\SOH\STX\STX\DC2\EOT\246\SOH\EOT\ETB\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\STX\SOH\DC2\EOT\175\SOH\EOT\DC2\n\ + \\a\EOT\EOT\EOT\SOH\STX\STX\SOH\DC2\EOT\246\SOH\EOT\DC2\n\ \\SI\n\ - \\a\EOT\EOT\EOT\SOH\STX\STX\STX\DC2\EOT\175\SOH\NAK\SYN\n\ + \\a\EOT\EOT\EOT\SOH\STX\STX\STX\DC2\EOT\246\SOH\NAK\SYN\n\ \\f\n\ - \\EOT\EOT\EOT\STX\NUL\DC2\EOT\178\SOH\STX\ESC\n\ + \\EOT\EOT\EOT\STX\NUL\DC2\EOT\249\SOH\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\178\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\249\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\178\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\249\SOH\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\178\SOH\DC2\SYN\n\ + \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\249\SOH\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\178\SOH\EM\SUB\n\ + \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\249\SOH\EM\SUB\n\ \\f\n\ - \\EOT\EOT\EOT\STX\SOH\DC2\EOT\179\SOH\STX\FS\n\ + \\EOT\EOT\EOT\STX\SOH\DC2\EOT\250\SOH\STX\FS\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\EOT\DC2\EOT\179\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\SOH\EOT\DC2\EOT\250\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\179\SOH\v\DLE\n\ + \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\250\SOH\v\DLE\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\179\SOH\DC1\ETB\n\ + \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\250\SOH\DC1\ETB\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\179\SOH\SUB\ESC\n\ + \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\250\SOH\SUB\ESC\n\ \\f\n\ - \\EOT\EOT\EOT\STX\STX\DC2\EOT\180\SOH\STX\ESC\n\ + \\EOT\EOT\EOT\STX\STX\DC2\EOT\251\SOH\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\EOT\DC2\EOT\180\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\STX\EOT\DC2\EOT\251\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\180\SOH\v\DLE\n\ + \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\251\SOH\v\DLE\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\180\SOH\DC1\SYN\n\ + \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\251\SOH\DC1\SYN\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\180\SOH\EM\SUB\n\ + \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\251\SOH\EM\SUB\n\ \\156\SOH\n\ - \\EOT\EOT\EOT\STX\ETX\DC2\EOT\184\SOH\STX\EM\SUB\141\SOH If type_name is set, this need not be set. If both this and type_name\n\ + \\EOT\EOT\EOT\STX\ETX\DC2\EOT\255\SOH\STX\EM\SUB\141\SOH If type_name is set, this need not be set. If both this and type_name\n\ \ are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\EOT\DC2\EOT\184\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\ETX\EOT\DC2\EOT\255\SOH\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\184\SOH\v\SI\n\ + \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\255\SOH\v\SI\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\184\SOH\DLE\DC4\n\ + \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\255\SOH\DLE\DC4\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\184\SOH\ETB\CAN\n\ + \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\255\SOH\ETB\CAN\n\ \\183\STX\n\ - \\EOT\EOT\EOT\STX\EOT\DC2\EOT\191\SOH\STX \SUB\168\STX For message and enum types, this is the name of the type. If the name\n\ + \\EOT\EOT\EOT\STX\EOT\DC2\EOT\134\STX\STX \SUB\168\STX For message and enum types, this is the name of the type. If the name\n\ \ starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n\ \ rules are used to find the type (i.e. first the nested types within this\n\ \ message are searched, then within the parent, on up to the root\n\ \ namespace).\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\EOT\DC2\EOT\191\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\EOT\EOT\DC2\EOT\134\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\ENQ\DC2\EOT\191\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\EOT\ENQ\DC2\EOT\134\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\191\SOH\DC2\ESC\n\ + \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\134\STX\DC2\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\191\SOH\RS\US\n\ + \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\134\STX\RS\US\n\ \~\n\ - \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\195\SOH\STX\US\SUBp For extensions, this is the name of the type being extended. It is\n\ + \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\138\STX\STX\US\SUBp For extensions, this is the name of the type being extended. It is\n\ \ resolved in the same manner as type_name.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\EOT\DC2\EOT\195\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\ENQ\EOT\DC2\EOT\138\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\ENQ\DC2\EOT\195\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\ENQ\ENQ\DC2\EOT\138\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\195\SOH\DC2\SUB\n\ + \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\138\STX\DC2\SUB\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\195\SOH\GS\RS\n\ - \\177\STX\n\ - \\EOT\EOT\EOT\STX\ACK\DC2\EOT\202\SOH\STX$\SUB\162\STX For numeric types, contains the original text representation of the value.\n\ + \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\138\STX\GS\RS\n\ + \\145\STX\n\ + \\EOT\EOT\EOT\STX\ACK\DC2\EOT\144\STX\STX$\SUB\130\STX For numeric types, contains the original text representation of the value.\n\ \ For booleans, \"true\" or \"false\".\n\ \ For strings, contains the default text contents (not escaped in any way).\n\ \ For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n\ - \ TODO(kenton): Base-64 encode?\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\EOT\202\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\EOT\144\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\ENQ\DC2\EOT\202\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\ACK\ENQ\DC2\EOT\144\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\202\SOH\DC2\US\n\ + \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\144\STX\DC2\US\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\202\SOH\"#\n\ + \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\144\STX\"#\n\ \\132\SOH\n\ - \\EOT\EOT\EOT\STX\a\DC2\EOT\206\SOH\STX!\SUBv If set, gives the index of a oneof in the containing type's oneof_decl\n\ + \\EOT\EOT\EOT\STX\a\DC2\EOT\148\STX\STX!\SUBv If set, gives the index of a oneof in the containing type's oneof_decl\n\ \ list. This field is a member of that oneof.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\EOT\DC2\EOT\206\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\a\EOT\DC2\EOT\148\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\ENQ\DC2\EOT\206\SOH\v\DLE\n\ + \\ENQ\EOT\EOT\STX\a\ENQ\DC2\EOT\148\STX\v\DLE\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\206\SOH\DC1\FS\n\ + \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\148\STX\DC1\FS\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\206\SOH\US \n\ + \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\148\STX\US \n\ \\250\SOH\n\ - \\EOT\EOT\EOT\STX\b\DC2\EOT\212\SOH\STX!\SUB\235\SOH JSON name of this field. The value is set by protocol compiler. If the\n\ + \\EOT\EOT\EOT\STX\b\DC2\EOT\154\STX\STX!\SUB\235\SOH JSON name of this field. The value is set by protocol compiler. If the\n\ \ user has set a \"json_name\" option on this field, that option's value\n\ \ will be used. Otherwise, it's deduced from the field's name by converting\n\ \ it to camelCase.\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\EOT\DC2\EOT\212\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\b\EOT\DC2\EOT\154\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\ENQ\DC2\EOT\212\SOH\v\DC1\n\ + \\ENQ\EOT\EOT\STX\b\ENQ\DC2\EOT\154\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\212\SOH\DC2\ESC\n\ + \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\154\STX\DC2\ESC\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\212\SOH\RS \n\ + \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\154\STX\RS \n\ \\f\n\ - \\EOT\EOT\EOT\STX\t\DC2\EOT\214\SOH\STX$\n\ + \\EOT\EOT\EOT\STX\t\DC2\EOT\156\STX\STX$\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\EOT\DC2\EOT\214\SOH\STX\n\ + \\ENQ\EOT\EOT\STX\t\EOT\DC2\EOT\156\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\214\SOH\v\ETB\n\ + \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\156\STX\v\ETB\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\214\SOH\CAN\US\n\ + \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\156\STX\CAN\US\n\ \\r\n\ - \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\214\SOH\"#\n\ + \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\156\STX\"#\n\ \\179\t\n\ \\EOT\EOT\EOT\STX\n\ - \\DC2\EOT\237\SOH\STX%\SUB\164\t If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n\ + \\DC2\EOT\179\STX\STX%\SUB\164\t If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n\ \ tracks presence regardless of field type.\n\ \\n\ \ When proto3_optional is true, this field must be belong to a oneof to\n\ @@ -11342,84 +14728,84 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\EOT\DC2\EOT\237\SOH\STX\n\ + \\EOT\DC2\EOT\179\STX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\ENQ\DC2\EOT\237\SOH\v\SI\n\ + \\ENQ\DC2\EOT\179\STX\v\SI\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\SOH\DC2\EOT\237\SOH\DLE\US\n\ + \\SOH\DC2\EOT\179\STX\DLE\US\n\ \\r\n\ \\ENQ\EOT\EOT\STX\n\ - \\ETX\DC2\EOT\237\SOH\"$\n\ + \\ETX\DC2\EOT\179\STX\"$\n\ \\"\n\ - \\STX\EOT\ENQ\DC2\ACK\241\SOH\NUL\244\SOH\SOH\SUB\DC4 Describes a oneof.\n\ + \\STX\EOT\ENQ\DC2\ACK\183\STX\NUL\186\STX\SOH\SUB\DC4 Describes a oneof.\n\ \\n\ \\v\n\ - \\ETX\EOT\ENQ\SOH\DC2\EOT\241\SOH\b\FS\n\ + \\ETX\EOT\ENQ\SOH\DC2\EOT\183\STX\b\FS\n\ \\f\n\ - \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\242\SOH\STX\ESC\n\ + \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\184\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\242\SOH\STX\n\ + \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\184\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\242\SOH\v\DC1\n\ + \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\184\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\242\SOH\DC2\SYN\n\ + \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\184\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\242\SOH\EM\SUB\n\ + \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\184\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\243\SOH\STX$\n\ + \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\185\STX\STX$\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\EOT\DC2\EOT\243\SOH\STX\n\ + \\ENQ\EOT\ENQ\STX\SOH\EOT\DC2\EOT\185\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\243\SOH\v\ETB\n\ + \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\185\STX\v\ETB\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\243\SOH\CAN\US\n\ + \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\185\STX\CAN\US\n\ \\r\n\ - \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\243\SOH\"#\n\ + \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\185\STX\"#\n\ \'\n\ - \\STX\EOT\ACK\DC2\ACK\247\SOH\NUL\145\STX\SOH\SUB\EM Describes an enum type.\n\ + \\STX\EOT\ACK\DC2\ACK\189\STX\NUL\215\STX\SOH\SUB\EM Describes an enum type.\n\ \\n\ \\v\n\ - \\ETX\EOT\ACK\SOH\DC2\EOT\247\SOH\b\ESC\n\ + \\ETX\EOT\ACK\SOH\DC2\EOT\189\STX\b\ESC\n\ \\f\n\ - \\EOT\EOT\ACK\STX\NUL\DC2\EOT\248\SOH\STX\ESC\n\ + \\EOT\EOT\ACK\STX\NUL\DC2\EOT\190\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\248\SOH\STX\n\ + \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\190\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\248\SOH\v\DC1\n\ + \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\190\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\248\SOH\DC2\SYN\n\ + \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\190\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\248\SOH\EM\SUB\n\ + \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\190\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\ACK\STX\SOH\DC2\EOT\250\SOH\STX.\n\ + \\EOT\EOT\ACK\STX\SOH\DC2\EOT\192\STX\STX.\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\EOT\DC2\EOT\250\SOH\STX\n\ + \\ENQ\EOT\ACK\STX\SOH\EOT\DC2\EOT\192\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\250\SOH\v#\n\ + \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\192\STX\v#\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\250\SOH$)\n\ + \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\192\STX$)\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\250\SOH,-\n\ + \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\192\STX,-\n\ \\f\n\ - \\EOT\EOT\ACK\STX\STX\DC2\EOT\252\SOH\STX#\n\ + \\EOT\EOT\ACK\STX\STX\DC2\EOT\194\STX\STX#\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\EOT\DC2\EOT\252\SOH\STX\n\ + \\ENQ\EOT\ACK\STX\STX\EOT\DC2\EOT\194\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\252\SOH\v\SYN\n\ + \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\194\STX\v\SYN\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\252\SOH\ETB\RS\n\ + \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\194\STX\ETB\RS\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\252\SOH!\"\n\ + \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\194\STX!\"\n\ \\175\STX\n\ - \\EOT\EOT\ACK\ETX\NUL\DC2\ACK\132\STX\STX\135\STX\ETX\SUB\158\STX Range of reserved numeric values. Reserved values may not be used by\n\ + \\EOT\EOT\ACK\ETX\NUL\DC2\ACK\202\STX\STX\205\STX\ETX\SUB\158\STX Range of reserved numeric values. Reserved values may not be used by\n\ \ entries in the same enum. Reserved ranges may not overlap.\n\ \\n\ \ Note that this is distinct from DescriptorProto.ReservedRange in that it\n\ @@ -11427,219 +14813,219 @@ packedFileDescriptor \ domain.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\ETX\NUL\SOH\DC2\EOT\132\STX\n\ + \\ENQ\EOT\ACK\ETX\NUL\SOH\DC2\EOT\202\STX\n\ \\ESC\n\ \\FS\n\ - \\ACK\EOT\ACK\ETX\NUL\STX\NUL\DC2\EOT\133\STX\EOT\GS\"\f Inclusive.\n\ + \\ACK\EOT\ACK\ETX\NUL\STX\NUL\DC2\EOT\203\STX\EOT\GS\"\f Inclusive.\n\ \\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\EOT\DC2\EOT\133\STX\EOT\f\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\EOT\DC2\EOT\203\STX\EOT\f\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\ENQ\DC2\EOT\133\STX\r\DC2\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\ENQ\DC2\EOT\203\STX\r\DC2\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\SOH\DC2\EOT\133\STX\DC3\CAN\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\SOH\DC2\EOT\203\STX\DC3\CAN\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\NUL\ETX\DC2\EOT\133\STX\ESC\FS\n\ + \\a\EOT\ACK\ETX\NUL\STX\NUL\ETX\DC2\EOT\203\STX\ESC\FS\n\ \\FS\n\ - \\ACK\EOT\ACK\ETX\NUL\STX\SOH\DC2\EOT\134\STX\EOT\ESC\"\f Inclusive.\n\ + \\ACK\EOT\ACK\ETX\NUL\STX\SOH\DC2\EOT\204\STX\EOT\ESC\"\f Inclusive.\n\ \\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\EOT\DC2\EOT\134\STX\EOT\f\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\EOT\DC2\EOT\204\STX\EOT\f\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\ENQ\DC2\EOT\134\STX\r\DC2\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\ENQ\DC2\EOT\204\STX\r\DC2\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\SOH\DC2\EOT\134\STX\DC3\SYN\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\SOH\DC2\EOT\204\STX\DC3\SYN\n\ \\SI\n\ - \\a\EOT\ACK\ETX\NUL\STX\SOH\ETX\DC2\EOT\134\STX\EM\SUB\n\ + \\a\EOT\ACK\ETX\NUL\STX\SOH\ETX\DC2\EOT\204\STX\EM\SUB\n\ \\170\SOH\n\ - \\EOT\EOT\ACK\STX\ETX\DC2\EOT\140\STX\STX0\SUB\155\SOH Range of reserved numeric values. Reserved numeric values may not be used\n\ + \\EOT\EOT\ACK\STX\ETX\DC2\EOT\210\STX\STX0\SUB\155\SOH Range of reserved numeric values. Reserved numeric values may not be used\n\ \ by enum values in the same enum declaration. Reserved ranges may not\n\ \ overlap.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\EOT\DC2\EOT\140\STX\STX\n\ + \\ENQ\EOT\ACK\STX\ETX\EOT\DC2\EOT\210\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\EOT\140\STX\v\FS\n\ + \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\EOT\210\STX\v\FS\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\140\STX\GS+\n\ + \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\210\STX\GS+\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\140\STX./\n\ + \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\210\STX./\n\ \l\n\ - \\EOT\EOT\ACK\STX\EOT\DC2\EOT\144\STX\STX$\SUB^ Reserved enum value names, which may not be reused. A given name may only\n\ + \\EOT\EOT\ACK\STX\EOT\DC2\EOT\214\STX\STX$\SUB^ Reserved enum value names, which may not be reused. A given name may only\n\ \ be reserved once.\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\EOT\DC2\EOT\144\STX\STX\n\ + \\ENQ\EOT\ACK\STX\EOT\EOT\DC2\EOT\214\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\EOT\144\STX\v\DC1\n\ + \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\EOT\214\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\144\STX\DC2\US\n\ + \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\214\STX\DC2\US\n\ \\r\n\ - \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\144\STX\"#\n\ + \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\214\STX\"#\n\ \1\n\ - \\STX\EOT\a\DC2\ACK\148\STX\NUL\153\STX\SOH\SUB# Describes a value within an enum.\n\ + \\STX\EOT\a\DC2\ACK\218\STX\NUL\223\STX\SOH\SUB# Describes a value within an enum.\n\ \\n\ \\v\n\ - \\ETX\EOT\a\SOH\DC2\EOT\148\STX\b \n\ + \\ETX\EOT\a\SOH\DC2\EOT\218\STX\b \n\ \\f\n\ - \\EOT\EOT\a\STX\NUL\DC2\EOT\149\STX\STX\ESC\n\ + \\EOT\EOT\a\STX\NUL\DC2\EOT\219\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\149\STX\STX\n\ + \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\219\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\149\STX\v\DC1\n\ + \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\219\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\149\STX\DC2\SYN\n\ + \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\219\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\149\STX\EM\SUB\n\ + \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\219\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\a\STX\SOH\DC2\EOT\150\STX\STX\FS\n\ + \\EOT\EOT\a\STX\SOH\DC2\EOT\220\STX\STX\FS\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\EOT\DC2\EOT\150\STX\STX\n\ + \\ENQ\EOT\a\STX\SOH\EOT\DC2\EOT\220\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\150\STX\v\DLE\n\ + \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\220\STX\v\DLE\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\150\STX\DC1\ETB\n\ + \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\220\STX\DC1\ETB\n\ \\r\n\ - \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\150\STX\SUB\ESC\n\ + \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\220\STX\SUB\ESC\n\ \\f\n\ - \\EOT\EOT\a\STX\STX\DC2\EOT\152\STX\STX(\n\ + \\EOT\EOT\a\STX\STX\DC2\EOT\222\STX\STX(\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\EOT\DC2\EOT\152\STX\STX\n\ + \\ENQ\EOT\a\STX\STX\EOT\DC2\EOT\222\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\152\STX\v\ESC\n\ + \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\222\STX\v\ESC\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\152\STX\FS#\n\ + \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\222\STX\FS#\n\ \\r\n\ - \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\152\STX&'\n\ + \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\222\STX&'\n\ \$\n\ - \\STX\EOT\b\DC2\ACK\156\STX\NUL\161\STX\SOH\SUB\SYN Describes a service.\n\ + \\STX\EOT\b\DC2\ACK\226\STX\NUL\231\STX\SOH\SUB\SYN Describes a service.\n\ \\n\ \\v\n\ - \\ETX\EOT\b\SOH\DC2\EOT\156\STX\b\RS\n\ + \\ETX\EOT\b\SOH\DC2\EOT\226\STX\b\RS\n\ \\f\n\ - \\EOT\EOT\b\STX\NUL\DC2\EOT\157\STX\STX\ESC\n\ + \\EOT\EOT\b\STX\NUL\DC2\EOT\227\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\157\STX\STX\n\ + \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\227\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\157\STX\v\DC1\n\ + \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\227\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\157\STX\DC2\SYN\n\ + \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\227\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\157\STX\EM\SUB\n\ + \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\227\STX\EM\SUB\n\ \\f\n\ - \\EOT\EOT\b\STX\SOH\DC2\EOT\158\STX\STX,\n\ + \\EOT\EOT\b\STX\SOH\DC2\EOT\228\STX\STX,\n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\EOT\DC2\EOT\158\STX\STX\n\ + \\ENQ\EOT\b\STX\SOH\EOT\DC2\EOT\228\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\158\STX\v \n\ + \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\228\STX\v \n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\158\STX!'\n\ + \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\228\STX!'\n\ \\r\n\ - \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\158\STX*+\n\ + \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\228\STX*+\n\ \\f\n\ - \\EOT\EOT\b\STX\STX\DC2\EOT\160\STX\STX&\n\ + \\EOT\EOT\b\STX\STX\DC2\EOT\230\STX\STX&\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\EOT\DC2\EOT\160\STX\STX\n\ + \\ENQ\EOT\b\STX\STX\EOT\DC2\EOT\230\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\160\STX\v\EM\n\ + \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\230\STX\v\EM\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\160\STX\SUB!\n\ + \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\230\STX\SUB!\n\ \\r\n\ - \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\160\STX$%\n\ + \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\230\STX$%\n\ \0\n\ - \\STX\EOT\t\DC2\ACK\164\STX\NUL\178\STX\SOH\SUB\" Describes a method of a service.\n\ + \\STX\EOT\t\DC2\ACK\234\STX\NUL\248\STX\SOH\SUB\" Describes a method of a service.\n\ \\n\ \\v\n\ - \\ETX\EOT\t\SOH\DC2\EOT\164\STX\b\GS\n\ + \\ETX\EOT\t\SOH\DC2\EOT\234\STX\b\GS\n\ \\f\n\ - \\EOT\EOT\t\STX\NUL\DC2\EOT\165\STX\STX\ESC\n\ + \\EOT\EOT\t\STX\NUL\DC2\EOT\235\STX\STX\ESC\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\165\STX\STX\n\ + \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\235\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\165\STX\v\DC1\n\ + \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\235\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\165\STX\DC2\SYN\n\ + \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\235\STX\DC2\SYN\n\ \\r\n\ - \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\165\STX\EM\SUB\n\ + \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\235\STX\EM\SUB\n\ \\151\SOH\n\ - \\EOT\EOT\t\STX\SOH\DC2\EOT\169\STX\STX!\SUB\136\SOH Input and output type names. These are resolved in the same way as\n\ + \\EOT\EOT\t\STX\SOH\DC2\EOT\239\STX\STX!\SUB\136\SOH Input and output type names. These are resolved in the same way as\n\ \ FieldDescriptorProto.type_name, but must refer to a message type.\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\EOT\DC2\EOT\169\STX\STX\n\ + \\ENQ\EOT\t\STX\SOH\EOT\DC2\EOT\239\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\169\STX\v\DC1\n\ + \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\239\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\169\STX\DC2\FS\n\ + \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\239\STX\DC2\FS\n\ \\r\n\ - \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\169\STX\US \n\ + \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\239\STX\US \n\ \\f\n\ - \\EOT\EOT\t\STX\STX\DC2\EOT\170\STX\STX\"\n\ + \\EOT\EOT\t\STX\STX\DC2\EOT\240\STX\STX\"\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\EOT\DC2\EOT\170\STX\STX\n\ + \\ENQ\EOT\t\STX\STX\EOT\DC2\EOT\240\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\170\STX\v\DC1\n\ + \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\240\STX\v\DC1\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\170\STX\DC2\GS\n\ + \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\240\STX\DC2\GS\n\ \\r\n\ - \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\170\STX !\n\ + \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\240\STX !\n\ \\f\n\ - \\EOT\EOT\t\STX\ETX\DC2\EOT\172\STX\STX%\n\ + \\EOT\EOT\t\STX\ETX\DC2\EOT\242\STX\STX%\n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\EOT\DC2\EOT\172\STX\STX\n\ + \\ENQ\EOT\t\STX\ETX\EOT\DC2\EOT\242\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\172\STX\v\CAN\n\ + \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\242\STX\v\CAN\n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\172\STX\EM \n\ + \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\242\STX\EM \n\ \\r\n\ - \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\172\STX#$\n\ + \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\242\STX#$\n\ \E\n\ - \\EOT\EOT\t\STX\EOT\DC2\EOT\175\STX\STX7\SUB7 Identifies if client streams multiple client messages\n\ + \\EOT\EOT\t\STX\EOT\DC2\EOT\245\STX\STX7\SUB7 Identifies if client streams multiple client messages\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\EOT\DC2\EOT\175\STX\STX\n\ + \\ENQ\EOT\t\STX\EOT\EOT\DC2\EOT\245\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\175\STX\v\SI\n\ + \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\245\STX\v\SI\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\175\STX\DLE \n\ + \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\245\STX\DLE \n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\175\STX#$\n\ + \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\245\STX#$\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\b\DC2\EOT\175\STX%6\n\ + \\ENQ\EOT\t\STX\EOT\b\DC2\EOT\245\STX%6\n\ \\r\n\ - \\ENQ\EOT\t\STX\EOT\a\DC2\EOT\175\STX05\n\ + \\ENQ\EOT\t\STX\EOT\a\DC2\EOT\245\STX05\n\ \E\n\ - \\EOT\EOT\t\STX\ENQ\DC2\EOT\177\STX\STX7\SUB7 Identifies if server streams multiple server messages\n\ + \\EOT\EOT\t\STX\ENQ\DC2\EOT\247\STX\STX7\SUB7 Identifies if server streams multiple server messages\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\EOT\DC2\EOT\177\STX\STX\n\ + \\ENQ\EOT\t\STX\ENQ\EOT\DC2\EOT\247\STX\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\177\STX\v\SI\n\ + \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\247\STX\v\SI\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\177\STX\DLE \n\ + \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\247\STX\DLE \n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\177\STX#$\n\ + \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\247\STX#$\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\b\DC2\EOT\177\STX%6\n\ + \\ENQ\EOT\t\STX\ENQ\b\DC2\EOT\247\STX%6\n\ \\r\n\ - \\ENQ\EOT\t\STX\ENQ\a\DC2\EOT\177\STX05\n\ + \\ENQ\EOT\t\STX\ENQ\a\DC2\EOT\247\STX05\n\ \\175\SO\n\ \\STX\EOT\n\ - \\DC2\ACK\213\STX\NUL\208\ETX\SOH2N ===================================================================\n\ + \\DC2\ACK\154\ETX\NUL\145\EOT\SOH2N ===================================================================\n\ \ Options\n\ \2\208\r Each of the definitions above may have \"options\" attached. These are\n\ \ just annotations which may cause code to be generated slightly differently\n\ @@ -11672,102 +15058,102 @@ packedFileDescriptor \\n\ \\v\n\ \\ETX\EOT\n\ - \\SOH\DC2\EOT\213\STX\b\DC3\n\ + \\SOH\DC2\EOT\154\ETX\b\DC3\n\ \\244\SOH\n\ \\EOT\EOT\n\ - \\STX\NUL\DC2\EOT\219\STX\STX#\SUB\229\SOH Sets the Java package where classes generated from this .proto will be\n\ + \\STX\NUL\DC2\EOT\160\ETX\STX#\SUB\229\SOH Sets the Java package where classes generated from this .proto will be\n\ \ placed. By default, the proto package is used, but this is often\n\ \ inappropriate because proto packages do not normally start with backwards\n\ \ domain names.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\EOT\DC2\EOT\219\STX\STX\n\ + \\STX\NUL\EOT\DC2\EOT\160\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\ENQ\DC2\EOT\219\STX\v\DC1\n\ + \\STX\NUL\ENQ\DC2\EOT\160\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\SOH\DC2\EOT\219\STX\DC2\RS\n\ + \\STX\NUL\SOH\DC2\EOT\160\ETX\DC2\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\NUL\ETX\DC2\EOT\219\STX!\"\n\ - \\191\STX\n\ + \\STX\NUL\ETX\DC2\EOT\160\ETX!\"\n\ + \\241\STX\n\ \\EOT\EOT\n\ - \\STX\SOH\DC2\EOT\227\STX\STX+\SUB\176\STX If set, all the classes from the .proto file are wrapped in a single\n\ - \ outer class with the given name. This applies to both Proto1\n\ - \ (equivalent to the old \"--one_java_file\" option) and Proto2 (where\n\ - \ a .proto always translates to a single class, but you may want to\n\ - \ explicitly choose the class name).\n\ + \\STX\SOH\DC2\EOT\167\ETX\STX+\SUB\226\STX Controls the name of the wrapper Java class generated for the .proto file.\n\ + \ That class will always contain the .proto file's getDescriptor() method as\n\ + \ well as any top-level extensions defined in the .proto file.\n\ + \ If java_multiple_files is disabled, then all the other classes from the\n\ + \ .proto file will be nested inside the single wrapper outer class.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\EOT\DC2\EOT\227\STX\STX\n\ + \\STX\SOH\EOT\DC2\EOT\167\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\ENQ\DC2\EOT\227\STX\v\DC1\n\ + \\STX\SOH\ENQ\DC2\EOT\167\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\SOH\DC2\EOT\227\STX\DC2&\n\ + \\STX\SOH\SOH\DC2\EOT\167\ETX\DC2&\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SOH\ETX\DC2\EOT\227\STX)*\n\ - \\163\ETX\n\ + \\STX\SOH\ETX\DC2\EOT\167\ETX)*\n\ + \\166\ETX\n\ \\EOT\EOT\n\ - \\STX\STX\DC2\EOT\235\STX\STX;\SUB\148\ETX If set true, then the Java code generator will generate a separate .java\n\ + \\STX\STX\DC2\EOT\175\ETX\STX;\SUB\151\ETX If enabled, then the Java code generator will generate a separate .java\n\ \ file for each top-level message, enum, and service defined in the .proto\n\ - \ file. Thus, these types will *not* be nested inside the outer class\n\ - \ named by java_outer_classname. However, the outer class will still be\n\ + \ file. Thus, these types will *not* be nested inside the wrapper class\n\ + \ named by java_outer_classname. However, the wrapper class will still be\n\ \ generated to contain the file's getDescriptor() method as well as any\n\ \ top-level extensions defined in the file.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\EOT\DC2\EOT\235\STX\STX\n\ + \\STX\STX\EOT\DC2\EOT\175\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\ENQ\DC2\EOT\235\STX\v\SI\n\ + \\STX\STX\ENQ\DC2\EOT\175\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\SOH\DC2\EOT\235\STX\DLE#\n\ + \\STX\STX\SOH\DC2\EOT\175\ETX\DLE#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\ETX\DC2\EOT\235\STX&(\n\ + \\STX\STX\ETX\DC2\EOT\175\ETX&(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\b\DC2\EOT\235\STX):\n\ + \\STX\STX\b\DC2\EOT\175\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\STX\a\DC2\EOT\235\STX49\n\ + \\STX\STX\a\DC2\EOT\175\ETX49\n\ \)\n\ \\EOT\EOT\n\ - \\STX\ETX\DC2\EOT\238\STX\STXE\SUB\ESC This option does nothing.\n\ + \\STX\ETX\DC2\EOT\178\ETX\STXE\SUB\ESC This option does nothing.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\EOT\DC2\EOT\238\STX\STX\n\ + \\STX\ETX\EOT\DC2\EOT\178\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\ENQ\DC2\EOT\238\STX\v\SI\n\ + \\STX\ETX\ENQ\DC2\EOT\178\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\SOH\DC2\EOT\238\STX\DLE-\n\ + \\STX\ETX\SOH\DC2\EOT\178\ETX\DLE-\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\ETX\DC2\EOT\238\STX02\n\ + \\STX\ETX\ETX\DC2\EOT\178\ETX02\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ETX\b\DC2\EOT\238\STX3D\n\ + \\STX\ETX\b\DC2\EOT\178\ETX3D\n\ \\SO\n\ \\ACK\EOT\n\ - \\STX\ETX\b\ETX\DC2\EOT\238\STX4C\n\ + \\STX\ETX\b\ETX\DC2\EOT\178\ETX4C\n\ \\230\STX\n\ \\EOT\EOT\n\ - \\STX\EOT\DC2\EOT\246\STX\STX>\SUB\215\STX If set true, then the Java2 code generator will generate code that\n\ + \\STX\EOT\DC2\EOT\186\ETX\STX>\SUB\215\STX If set true, then the Java2 code generator will generate code that\n\ \ throws an exception whenever an attempt is made to assign a non-UTF-8\n\ \ byte sequence to a string field.\n\ \ Message reflection will do the same.\n\ @@ -11776,86 +15162,86 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\EOT\DC2\EOT\246\STX\STX\n\ + \\STX\EOT\EOT\DC2\EOT\186\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\ENQ\DC2\EOT\246\STX\v\SI\n\ + \\STX\EOT\ENQ\DC2\EOT\186\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\SOH\DC2\EOT\246\STX\DLE&\n\ + \\STX\EOT\SOH\DC2\EOT\186\ETX\DLE&\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\ETX\DC2\EOT\246\STX)+\n\ + \\STX\EOT\ETX\DC2\EOT\186\ETX)+\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\b\DC2\EOT\246\STX,=\n\ + \\STX\EOT\b\DC2\EOT\186\ETX,=\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\EOT\a\DC2\EOT\246\STX7<\n\ + \\STX\EOT\a\DC2\EOT\186\ETX7<\n\ \L\n\ \\EOT\EOT\n\ - \\EOT\NUL\DC2\ACK\250\STX\STX\255\STX\ETX\SUB< Generated classes can be optimized for speed or code size.\n\ + \\EOT\NUL\DC2\ACK\189\ETX\STX\194\ETX\ETX\SUB< Generated classes can be optimized for speed or code size.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\EOT\NUL\SOH\DC2\EOT\250\STX\a\DC3\n\ + \\EOT\NUL\SOH\DC2\EOT\189\ETX\a\DC3\n\ \D\n\ \\ACK\EOT\n\ - \\EOT\NUL\STX\NUL\DC2\EOT\251\STX\EOT\SO\"4 Generate complete code for parsing, serialization,\n\ + \\EOT\NUL\STX\NUL\DC2\EOT\190\ETX\EOT\SO\"4 Generate complete code for parsing, serialization,\n\ \\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\NUL\SOH\DC2\EOT\251\STX\EOT\t\n\ + \\EOT\NUL\STX\NUL\SOH\DC2\EOT\190\ETX\EOT\t\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\NUL\STX\DC2\EOT\251\STX\f\r\n\ + \\EOT\NUL\STX\NUL\STX\DC2\EOT\190\ETX\f\r\n\ \G\n\ \\ACK\EOT\n\ - \\EOT\NUL\STX\SOH\DC2\EOT\253\STX\EOT\DC2\SUB\ACK etc.\n\ + \\EOT\NUL\STX\SOH\DC2\EOT\192\ETX\EOT\DC2\SUB\ACK etc.\n\ \\"/ Use ReflectionOps to implement these methods.\n\ \\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\SOH\SOH\DC2\EOT\253\STX\EOT\r\n\ + \\EOT\NUL\STX\SOH\SOH\DC2\EOT\192\ETX\EOT\r\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\SOH\STX\DC2\EOT\253\STX\DLE\DC1\n\ + \\EOT\NUL\STX\SOH\STX\DC2\EOT\192\ETX\DLE\DC1\n\ \G\n\ \\ACK\EOT\n\ - \\EOT\NUL\STX\STX\DC2\EOT\254\STX\EOT\NAK\"7 Generate code using MessageLite and the lite runtime.\n\ + \\EOT\NUL\STX\STX\DC2\EOT\193\ETX\EOT\NAK\"7 Generate code using MessageLite and the lite runtime.\n\ \\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\STX\SOH\DC2\EOT\254\STX\EOT\DLE\n\ + \\EOT\NUL\STX\STX\SOH\DC2\EOT\193\ETX\EOT\DLE\n\ \\SI\n\ \\a\EOT\n\ - \\EOT\NUL\STX\STX\STX\DC2\EOT\254\STX\DC3\DC4\n\ + \\EOT\NUL\STX\STX\STX\DC2\EOT\193\ETX\DC3\DC4\n\ \\f\n\ \\EOT\EOT\n\ - \\STX\ENQ\DC2\EOT\128\ETX\STX;\n\ + \\STX\ENQ\DC2\EOT\195\ETX\STX;\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\EOT\DC2\EOT\128\ETX\STX\n\ + \\STX\ENQ\EOT\DC2\EOT\195\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\ACK\DC2\EOT\128\ETX\v\ETB\n\ + \\STX\ENQ\ACK\DC2\EOT\195\ETX\v\ETB\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\SOH\DC2\EOT\128\ETX\CAN$\n\ + \\STX\ENQ\SOH\DC2\EOT\195\ETX\CAN$\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\ETX\DC2\EOT\128\ETX'(\n\ + \\STX\ENQ\ETX\DC2\EOT\195\ETX'(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\b\DC2\EOT\128\ETX):\n\ + \\STX\ENQ\b\DC2\EOT\195\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ENQ\a\DC2\EOT\128\ETX49\n\ + \\STX\ENQ\a\DC2\EOT\195\ETX49\n\ \\226\STX\n\ \\EOT\EOT\n\ - \\STX\ACK\DC2\EOT\135\ETX\STX\"\SUB\211\STX Sets the Go package where structs generated from this .proto will be\n\ + \\STX\ACK\DC2\EOT\202\ETX\STX\"\SUB\211\STX Sets the Go package where structs generated from this .proto will be\n\ \ placed. If omitted, the Go package will be derived from the following:\n\ \ - The basename of the package import path, if provided.\n\ \ - Otherwise, the package statement in the .proto file, if present.\n\ @@ -11863,20 +15249,20 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\EOT\DC2\EOT\135\ETX\STX\n\ + \\STX\ACK\EOT\DC2\EOT\202\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\ENQ\DC2\EOT\135\ETX\v\DC1\n\ + \\STX\ACK\ENQ\DC2\EOT\202\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\SOH\DC2\EOT\135\ETX\DC2\FS\n\ + \\STX\ACK\SOH\DC2\EOT\202\ETX\DC2\FS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\ACK\ETX\DC2\EOT\135\ETX\US!\n\ + \\STX\ACK\ETX\DC2\EOT\202\ETX\US!\n\ \\212\EOT\n\ \\EOT\EOT\n\ - \\STX\a\DC2\EOT\150\ETX\STX;\SUB\197\EOT Should generic services be generated in each language? \"Generic\" services\n\ + \\STX\a\DC2\EOT\214\ETX\STX;\SUB\197\EOT Should generic services be generated in each language? \"Generic\" services\n\ \ are not specific to any particular RPC system. They are generated by the\n\ \ main code generators in each language (without additional plugins).\n\ \ Generic services were the only kind of service generation supported by\n\ @@ -11889,326 +15275,343 @@ packedFileDescriptor \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\EOT\DC2\EOT\150\ETX\STX\n\ + \\STX\a\EOT\DC2\EOT\214\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\ENQ\DC2\EOT\150\ETX\v\SI\n\ + \\STX\a\ENQ\DC2\EOT\214\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\SOH\DC2\EOT\150\ETX\DLE#\n\ + \\STX\a\SOH\DC2\EOT\214\ETX\DLE#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\ETX\DC2\EOT\150\ETX&(\n\ + \\STX\a\ETX\DC2\EOT\214\ETX&(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\b\DC2\EOT\150\ETX):\n\ + \\STX\a\b\DC2\EOT\214\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\a\a\DC2\EOT\150\ETX49\n\ + \\STX\a\a\DC2\EOT\214\ETX49\n\ \\f\n\ \\EOT\EOT\n\ - \\STX\b\DC2\EOT\151\ETX\STX=\n\ + \\STX\b\DC2\EOT\215\ETX\STX=\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\EOT\DC2\EOT\151\ETX\STX\n\ + \\STX\b\EOT\DC2\EOT\215\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\ENQ\DC2\EOT\151\ETX\v\SI\n\ + \\STX\b\ENQ\DC2\EOT\215\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\SOH\DC2\EOT\151\ETX\DLE%\n\ + \\STX\b\SOH\DC2\EOT\215\ETX\DLE%\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\ETX\DC2\EOT\151\ETX(*\n\ + \\STX\b\ETX\DC2\EOT\215\ETX(*\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\b\DC2\EOT\151\ETX+<\n\ + \\STX\b\b\DC2\EOT\215\ETX+<\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\b\a\DC2\EOT\151\ETX6;\n\ + \\STX\b\a\DC2\EOT\215\ETX6;\n\ \\f\n\ \\EOT\EOT\n\ - \\STX\t\DC2\EOT\152\ETX\STX;\n\ + \\STX\t\DC2\EOT\216\ETX\STX;\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\EOT\DC2\EOT\152\ETX\STX\n\ + \\STX\t\EOT\DC2\EOT\216\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\ENQ\DC2\EOT\152\ETX\v\SI\n\ + \\STX\t\ENQ\DC2\EOT\216\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\SOH\DC2\EOT\152\ETX\DLE#\n\ + \\STX\t\SOH\DC2\EOT\216\ETX\DLE#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\ETX\DC2\EOT\152\ETX&(\n\ + \\STX\t\ETX\DC2\EOT\216\ETX&(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\b\DC2\EOT\152\ETX):\n\ + \\STX\t\b\DC2\EOT\216\ETX):\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\t\a\DC2\EOT\152\ETX49\n\ + \\STX\t\a\DC2\EOT\216\ETX49\n\ \\f\n\ \\EOT\EOT\n\ \\STX\n\ - \\DC2\EOT\153\ETX\STX<\n\ + \\DC2\EOT\217\ETX\STX<\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\EOT\DC2\EOT\153\ETX\STX\n\ + \\EOT\DC2\EOT\217\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\ENQ\DC2\EOT\153\ETX\v\SI\n\ + \\ENQ\DC2\EOT\217\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\SOH\DC2\EOT\153\ETX\DLE$\n\ + \\SOH\DC2\EOT\217\ETX\DLE$\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\ETX\DC2\EOT\153\ETX')\n\ + \\ETX\DC2\EOT\217\ETX')\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\b\DC2\EOT\153\ETX*;\n\ + \\b\DC2\EOT\217\ETX*;\n\ \\r\n\ \\ENQ\EOT\n\ \\STX\n\ - \\a\DC2\EOT\153\ETX5:\n\ + \\a\DC2\EOT\217\ETX5:\n\ \\243\SOH\n\ \\EOT\EOT\n\ - \\STX\v\DC2\EOT\159\ETX\STX2\SUB\228\SOH Is this file deprecated?\n\ + \\STX\v\DC2\EOT\223\ETX\STX2\SUB\228\SOH Is this file deprecated?\n\ \ Depending on the target platform, this can emit Deprecated annotations\n\ \ for everything in the file, or it will be completely ignored; in the very\n\ \ least, this is a formalization for deprecating files.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\EOT\DC2\EOT\159\ETX\STX\n\ + \\STX\v\EOT\DC2\EOT\223\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\ENQ\DC2\EOT\159\ETX\v\SI\n\ + \\STX\v\ENQ\DC2\EOT\223\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\SOH\DC2\EOT\159\ETX\DLE\SUB\n\ + \\STX\v\SOH\DC2\EOT\223\ETX\DLE\SUB\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\ETX\DC2\EOT\159\ETX\GS\US\n\ + \\STX\v\ETX\DC2\EOT\223\ETX\GS\US\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\b\DC2\EOT\159\ETX 1\n\ + \\STX\v\b\DC2\EOT\223\ETX 1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\v\a\DC2\EOT\159\ETX+0\n\ + \\STX\v\a\DC2\EOT\223\ETX+0\n\ \\DEL\n\ \\EOT\EOT\n\ - \\STX\f\DC2\EOT\163\ETX\STX7\SUBq Enables the use of arenas for the proto messages in this file. This applies\n\ + \\STX\f\DC2\EOT\227\ETX\STX7\SUBq Enables the use of arenas for the proto messages in this file. This applies\n\ \ only to generated classes for C++.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\EOT\DC2\EOT\163\ETX\STX\n\ + \\STX\f\EOT\DC2\EOT\227\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\ENQ\DC2\EOT\163\ETX\v\SI\n\ + \\STX\f\ENQ\DC2\EOT\227\ETX\v\SI\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\SOH\DC2\EOT\163\ETX\DLE \n\ + \\STX\f\SOH\DC2\EOT\227\ETX\DLE \n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\ETX\DC2\EOT\163\ETX#%\n\ + \\STX\f\ETX\DC2\EOT\227\ETX#%\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\b\DC2\EOT\163\ETX&6\n\ + \\STX\f\b\DC2\EOT\227\ETX&6\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\f\a\DC2\EOT\163\ETX15\n\ + \\STX\f\a\DC2\EOT\227\ETX15\n\ \\146\SOH\n\ \\EOT\EOT\n\ - \\STX\r\DC2\EOT\168\ETX\STX)\SUB\131\SOH Sets the objective c class prefix which is prepended to all objective c\n\ + \\STX\r\DC2\EOT\231\ETX\STX)\SUB\131\SOH Sets the objective c class prefix which is prepended to all objective c\n\ \ generated classes from this .proto. There is no default.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\EOT\DC2\EOT\168\ETX\STX\n\ + \\STX\r\EOT\DC2\EOT\231\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\ENQ\DC2\EOT\168\ETX\v\DC1\n\ + \\STX\r\ENQ\DC2\EOT\231\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\SOH\DC2\EOT\168\ETX\DC2#\n\ + \\STX\r\SOH\DC2\EOT\231\ETX\DC2#\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\r\ETX\DC2\EOT\168\ETX&(\n\ + \\STX\r\ETX\DC2\EOT\231\ETX&(\n\ \I\n\ \\EOT\EOT\n\ - \\STX\SO\DC2\EOT\171\ETX\STX(\SUB; Namespace for generated classes; defaults to the package.\n\ + \\STX\SO\DC2\EOT\234\ETX\STX(\SUB; Namespace for generated classes; defaults to the package.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\EOT\DC2\EOT\171\ETX\STX\n\ + \\STX\SO\EOT\DC2\EOT\234\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\ENQ\DC2\EOT\171\ETX\v\DC1\n\ + \\STX\SO\ENQ\DC2\EOT\234\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\SOH\DC2\EOT\171\ETX\DC2\"\n\ + \\STX\SO\SOH\DC2\EOT\234\ETX\DC2\"\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SO\ETX\DC2\EOT\171\ETX%'\n\ + \\STX\SO\ETX\DC2\EOT\234\ETX%'\n\ \\145\STX\n\ \\EOT\EOT\n\ - \\STX\SI\DC2\EOT\177\ETX\STX$\SUB\130\STX By default Swift generators will take the proto package and CamelCase it\n\ + \\STX\SI\DC2\EOT\240\ETX\STX$\SUB\130\STX By default Swift generators will take the proto package and CamelCase it\n\ \ replacing '.' with underscore and use that to prefix the types/symbols\n\ \ defined. When this options is provided, they will use this value instead\n\ \ to prefix the types/symbols defined.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\EOT\DC2\EOT\177\ETX\STX\n\ + \\STX\SI\EOT\DC2\EOT\240\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\ENQ\DC2\EOT\177\ETX\v\DC1\n\ + \\STX\SI\ENQ\DC2\EOT\240\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\SOH\DC2\EOT\177\ETX\DC2\RS\n\ + \\STX\SI\SOH\DC2\EOT\240\ETX\DC2\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\SI\ETX\DC2\EOT\177\ETX!#\n\ + \\STX\SI\ETX\DC2\EOT\240\ETX!#\n\ \~\n\ \\EOT\EOT\n\ - \\STX\DLE\DC2\EOT\181\ETX\STX(\SUBp Sets the php class prefix which is prepended to all php generated classes\n\ + \\STX\DLE\DC2\EOT\244\ETX\STX(\SUBp Sets the php class prefix which is prepended to all php generated classes\n\ \ from this .proto. Default is empty.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\EOT\DC2\EOT\181\ETX\STX\n\ + \\STX\DLE\EOT\DC2\EOT\244\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\ENQ\DC2\EOT\181\ETX\v\DC1\n\ + \\STX\DLE\ENQ\DC2\EOT\244\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\SOH\DC2\EOT\181\ETX\DC2\"\n\ + \\STX\DLE\SOH\DC2\EOT\244\ETX\DC2\"\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DLE\ETX\DC2\EOT\181\ETX%'\n\ + \\STX\DLE\ETX\DC2\EOT\244\ETX%'\n\ \\190\SOH\n\ \\EOT\EOT\n\ - \\STX\DC1\DC2\EOT\186\ETX\STX%\SUB\175\SOH Use this option to change the namespace of php generated classes. Default\n\ + \\STX\DC1\DC2\EOT\249\ETX\STX%\SUB\175\SOH Use this option to change the namespace of php generated classes. Default\n\ \ is empty. When this option is empty, the package name will be used for\n\ \ determining the namespace.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\EOT\DC2\EOT\186\ETX\STX\n\ + \\STX\DC1\EOT\DC2\EOT\249\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\ENQ\DC2\EOT\186\ETX\v\DC1\n\ + \\STX\DC1\ENQ\DC2\EOT\249\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\SOH\DC2\EOT\186\ETX\DC2\US\n\ + \\STX\DC1\SOH\DC2\EOT\249\ETX\DC2\US\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC1\ETX\DC2\EOT\186\ETX\"$\n\ + \\STX\DC1\ETX\DC2\EOT\249\ETX\"$\n\ \\202\SOH\n\ \\EOT\EOT\n\ - \\STX\DC2\DC2\EOT\191\ETX\STX.\SUB\187\SOH Use this option to change the namespace of php generated metadata classes.\n\ + \\STX\DC2\DC2\EOT\254\ETX\STX.\SUB\187\SOH Use this option to change the namespace of php generated metadata classes.\n\ \ Default is empty. When this option is empty, the proto file name will be\n\ \ used for determining the namespace.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\EOT\DC2\EOT\191\ETX\STX\n\ + \\STX\DC2\EOT\DC2\EOT\254\ETX\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\ENQ\DC2\EOT\191\ETX\v\DC1\n\ + \\STX\DC2\ENQ\DC2\EOT\254\ETX\v\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\SOH\DC2\EOT\191\ETX\DC2(\n\ + \\STX\DC2\SOH\DC2\EOT\254\ETX\DC2(\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC2\ETX\DC2\EOT\191\ETX+-\n\ + \\STX\DC2\ETX\DC2\EOT\254\ETX+-\n\ \\194\SOH\n\ \\EOT\EOT\n\ - \\STX\DC3\DC2\EOT\196\ETX\STX$\SUB\179\SOH Use this option to change the package of ruby generated classes. Default\n\ + \\STX\DC3\DC2\EOT\131\EOT\STX$\SUB\179\SOH Use this option to change the package of ruby generated classes. Default\n\ \ is empty. When this option is not set, the package name will be used for\n\ \ determining the ruby package.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\EOT\DC2\EOT\196\ETX\STX\n\ + \\STX\DC3\EOT\DC2\EOT\131\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\ENQ\DC2\EOT\131\EOT\v\DC1\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\SOH\DC2\EOT\131\EOT\DC2\RS\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC3\ETX\DC2\EOT\131\EOT!#\n\ + \=\n\ + \\EOT\EOT\n\ + \\STX\DC4\DC2\EOT\134\EOT\STX$\SUB/ Any features defined in the specific edition.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\n\ + \\STX\DC4\EOT\DC2\EOT\134\EOT\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\ENQ\DC2\EOT\196\ETX\v\DC1\n\ + \\STX\DC4\ACK\DC2\EOT\134\EOT\v\NAK\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\SOH\DC2\EOT\196\ETX\DC2\RS\n\ + \\STX\DC4\SOH\DC2\EOT\134\EOT\SYN\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC3\ETX\DC2\EOT\196\ETX!#\n\ + \\STX\DC4\ETX\DC2\EOT\134\EOT!#\n\ \|\n\ \\EOT\EOT\n\ - \\STX\DC4\DC2\EOT\201\ETX\STX:\SUBn The parser stores options it doesn't recognize here.\n\ + \\STX\NAK\DC2\EOT\138\EOT\STX:\SUBn The parser stores options it doesn't recognize here.\n\ \ See the documentation for the \"Options\" section above.\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\EOT\DC2\EOT\201\ETX\STX\n\ + \\STX\NAK\EOT\DC2\EOT\138\EOT\STX\n\ \\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\ACK\DC2\EOT\201\ETX\v\RS\n\ + \\STX\NAK\ACK\DC2\EOT\138\EOT\v\RS\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\SOH\DC2\EOT\201\ETX\US3\n\ + \\STX\NAK\SOH\DC2\EOT\138\EOT\US3\n\ \\r\n\ \\ENQ\EOT\n\ - \\STX\DC4\ETX\DC2\EOT\201\ETX69\n\ + \\STX\NAK\ETX\DC2\EOT\138\EOT69\n\ \\135\SOH\n\ \\ETX\EOT\n\ - \\ENQ\DC2\EOT\205\ETX\STX\EM\SUBz Clients can define custom options in extensions of this message.\n\ + \\ENQ\DC2\EOT\142\EOT\STX\EM\SUBz Clients can define custom options in extensions of this message.\n\ \ See the documentation for the \"Options\" section above.\n\ \\n\ \\f\n\ \\EOT\EOT\n\ - \\ENQ\NUL\DC2\EOT\205\ETX\r\CAN\n\ + \\ENQ\NUL\DC2\EOT\142\EOT\r\CAN\n\ \\r\n\ \\ENQ\EOT\n\ - \\ENQ\NUL\SOH\DC2\EOT\205\ETX\r\DC1\n\ + \\ENQ\NUL\SOH\DC2\EOT\142\EOT\r\DC1\n\ \\r\n\ \\ENQ\EOT\n\ - \\ENQ\NUL\STX\DC2\EOT\205\ETX\NAK\CAN\n\ + \\ENQ\NUL\STX\DC2\EOT\142\EOT\NAK\CAN\n\ \\v\n\ \\ETX\EOT\n\ - \\t\DC2\EOT\207\ETX\STX\SO\n\ + \\t\DC2\EOT\144\EOT\STX\SO\n\ \\f\n\ \\EOT\EOT\n\ - \\t\NUL\DC2\EOT\207\ETX\v\r\n\ + \\t\NUL\DC2\EOT\144\EOT\v\r\n\ \\r\n\ \\ENQ\EOT\n\ - \\t\NUL\SOH\DC2\EOT\207\ETX\v\r\n\ + \\t\NUL\SOH\DC2\EOT\144\EOT\v\r\n\ \\r\n\ \\ENQ\EOT\n\ - \\t\NUL\STX\DC2\EOT\207\ETX\v\r\n\ + \\t\NUL\STX\DC2\EOT\144\EOT\v\r\n\ \\f\n\ - \\STX\EOT\v\DC2\ACK\210\ETX\NUL\146\EOT\SOH\n\ + \\STX\EOT\v\DC2\ACK\147\EOT\NUL\227\EOT\SOH\n\ \\v\n\ - \\ETX\EOT\v\SOH\DC2\EOT\210\ETX\b\SYN\n\ + \\ETX\EOT\v\SOH\DC2\EOT\147\EOT\b\SYN\n\ \\216\ENQ\n\ - \\EOT\EOT\v\STX\NUL\DC2\EOT\229\ETX\STX>\SUB\201\ENQ Set true to use the old proto1 MessageSet wire format for extensions.\n\ + \\EOT\EOT\v\STX\NUL\DC2\EOT\166\EOT\STX>\SUB\201\ENQ Set true to use the old proto1 MessageSet wire format for extensions.\n\ \ This is provided for backwards-compatibility with the MessageSet wire\n\ \ format. You should not use this for any other reason: It's less\n\ \ efficient, has fewer features, and is more complicated.\n\ @@ -12228,57 +15631,81 @@ packedFileDescriptor \ the protocol compiler.\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\229\ETX\STX\n\ + \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\166\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\229\ETX\v\SI\n\ + \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\166\EOT\v\SI\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\229\ETX\DLE'\n\ + \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\166\EOT\DLE'\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\229\ETX*+\n\ + \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\166\EOT*+\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\b\DC2\EOT\229\ETX,=\n\ + \\ENQ\EOT\v\STX\NUL\b\DC2\EOT\166\EOT,=\n\ \\r\n\ - \\ENQ\EOT\v\STX\NUL\a\DC2\EOT\229\ETX7<\n\ + \\ENQ\EOT\v\STX\NUL\a\DC2\EOT\166\EOT7<\n\ \\235\SOH\n\ - \\EOT\EOT\v\STX\SOH\DC2\EOT\234\ETX\STXF\SUB\220\SOH Disables the generation of the standard \"descriptor()\" accessor, which can\n\ + \\EOT\EOT\v\STX\SOH\DC2\EOT\171\EOT\STXF\SUB\220\SOH Disables the generation of the standard \"descriptor()\" accessor, which can\n\ \ conflict with a field of the same name. This is meant to make migration\n\ \ from proto1 easier; new code should avoid fields named \"descriptor\".\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\EOT\DC2\EOT\234\ETX\STX\n\ + \\ENQ\EOT\v\STX\SOH\EOT\DC2\EOT\171\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\234\ETX\v\SI\n\ + \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\171\EOT\v\SI\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\234\ETX\DLE/\n\ + \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\171\EOT\DLE/\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\234\ETX23\n\ + \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\171\EOT23\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\b\DC2\EOT\234\ETX4E\n\ + \\ENQ\EOT\v\STX\SOH\b\DC2\EOT\171\EOT4E\n\ \\r\n\ - \\ENQ\EOT\v\STX\SOH\a\DC2\EOT\234\ETX?D\n\ + \\ENQ\EOT\v\STX\SOH\a\DC2\EOT\171\EOT?D\n\ \\238\SOH\n\ - \\EOT\EOT\v\STX\STX\DC2\EOT\240\ETX\STX1\SUB\223\SOH Is this message deprecated?\n\ + \\EOT\EOT\v\STX\STX\DC2\EOT\177\EOT\STX1\SUB\223\SOH Is this message deprecated?\n\ \ Depending on the target platform, this can emit Deprecated annotations\n\ \ for the message, or it will be completely ignored; in the very least,\n\ \ this is a formalization for deprecating messages.\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\240\ETX\STX\n\ + \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\177\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\240\ETX\v\SI\n\ + \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\177\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\177\EOT\DLE\SUB\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\240\ETX\DLE\SUB\n\ + \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\177\EOT\GS\RS\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\240\ETX\GS\RS\n\ + \\ENQ\EOT\v\STX\STX\b\DC2\EOT\177\EOT\US0\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\b\DC2\EOT\240\ETX\US0\n\ + \\ENQ\EOT\v\STX\STX\a\DC2\EOT\177\EOT*/\n\ + \\v\n\ + \\ETX\EOT\v\t\DC2\EOT\179\EOT\STX\DC3\n\ + \\f\n\ + \\EOT\EOT\v\t\NUL\DC2\EOT\179\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\NUL\SOH\DC2\EOT\179\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\NUL\STX\DC2\EOT\179\EOT\v\f\n\ + \\f\n\ + \\EOT\EOT\v\t\SOH\DC2\EOT\179\EOT\SO\SI\n\ + \\r\n\ + \\ENQ\EOT\v\t\SOH\SOH\DC2\EOT\179\EOT\SO\SI\n\ + \\r\n\ + \\ENQ\EOT\v\t\SOH\STX\DC2\EOT\179\EOT\SO\SI\n\ + \\f\n\ + \\EOT\EOT\v\t\STX\DC2\EOT\179\EOT\DC1\DC2\n\ \\r\n\ - \\ENQ\EOT\v\STX\STX\a\DC2\EOT\240\ETX*/\n\ + \\ENQ\EOT\v\t\STX\SOH\DC2\EOT\179\EOT\DC1\DC2\n\ + \\r\n\ + \\ENQ\EOT\v\t\STX\STX\DC2\EOT\179\EOT\DC1\DC2\n\ \\160\ACK\n\ - \\EOT\EOT\v\STX\ETX\DC2\EOT\135\EOT\STX\RS\SUB\145\ACK Whether the message is an automatically generated map entry type for the\n\ + \\EOT\EOT\v\STX\ETX\DC2\EOT\202\EOT\STX\RS\SUB\145\ACK NOTE: Do not set the option in .proto files. Always use the maps syntax\n\ + \ instead. The option should only be implicitly set by the proto compiler\n\ + \ parser.\n\ + \\n\ + \ Whether the message is an automatically generated map entry type for the\n\ \ maps field.\n\ \\n\ \ For maps fields:\n\ @@ -12296,123 +15723,164 @@ packedFileDescriptor \ The reflection APIs in such implementations still need to work as\n\ \ if the field is a repeated message field.\n\ \\n\ - \ NOTE: Do not set the option in .proto files. Always use the maps syntax\n\ - \ instead. The option should only be implicitly set by the proto compiler\n\ - \ parser.\n\ - \\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\EOT\DC2\EOT\135\EOT\STX\n\ + \\ENQ\EOT\v\STX\ETX\EOT\DC2\EOT\202\EOT\STX\n\ \\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\135\EOT\v\SI\n\ + \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\202\EOT\v\SI\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\135\EOT\DLE\EM\n\ + \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\202\EOT\DLE\EM\n\ \\r\n\ - \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\135\EOT\FS\GS\n\ + \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\202\EOT\FS\GS\n\ \$\n\ - \\ETX\EOT\v\t\DC2\EOT\137\EOT\STX\r\"\ETB javalite_serializable\n\ + \\ETX\EOT\v\t\DC2\EOT\204\EOT\STX\r\"\ETB javalite_serializable\n\ \\n\ \\f\n\ - \\EOT\EOT\v\t\NUL\DC2\EOT\137\EOT\v\f\n\ + \\EOT\EOT\v\t\ETX\DC2\EOT\204\EOT\v\f\n\ \\r\n\ - \\ENQ\EOT\v\t\NUL\SOH\DC2\EOT\137\EOT\v\f\n\ + \\ENQ\EOT\v\t\ETX\SOH\DC2\EOT\204\EOT\v\f\n\ \\r\n\ - \\ENQ\EOT\v\t\NUL\STX\DC2\EOT\137\EOT\v\f\n\ + \\ENQ\EOT\v\t\ETX\STX\DC2\EOT\204\EOT\v\f\n\ \\US\n\ - \\ETX\EOT\v\t\DC2\EOT\138\EOT\STX\r\"\DC2 javanano_as_lite\n\ + \\ETX\EOT\v\t\DC2\EOT\205\EOT\STX\r\"\DC2 javanano_as_lite\n\ \\n\ \\f\n\ - \\EOT\EOT\v\t\SOH\DC2\EOT\138\EOT\v\f\n\ + \\EOT\EOT\v\t\EOT\DC2\EOT\205\EOT\v\f\n\ + \\r\n\ + \\ENQ\EOT\v\t\EOT\SOH\DC2\EOT\205\EOT\v\f\n\ \\r\n\ - \\ENQ\EOT\v\t\SOH\SOH\DC2\EOT\138\EOT\v\f\n\ + \\ENQ\EOT\v\t\EOT\STX\DC2\EOT\205\EOT\v\f\n\ + \\221\ETX\n\ + \\EOT\EOT\v\STX\EOT\DC2\EOT\217\EOT\STXP\SUB\206\ETX Enable the legacy handling of JSON field name conflicts. This lowercases\n\ + \ and strips underscored from the fields before comparison in proto3 only.\n\ + \ The new behavior takes `json_name` into account and applies to proto2 as\n\ + \ well.\n\ + \\n\ + \ This should only be used as a temporary measure against broken builds due\n\ + \ to the change in behavior for JSON field name conflicts.\n\ + \\n\ + \ TODO This is legacy behavior we plan to remove once downstream\n\ + \ teams have had time to migrate.\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\EOT\DC2\EOT\217\EOT\STX\n\ + \\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\ENQ\DC2\EOT\217\EOT\v\SI\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\217\EOT\DLE6\n\ + \\r\n\ + \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\217\EOT9;\n\ \\r\n\ - \\ENQ\EOT\v\t\SOH\STX\DC2\EOT\138\EOT\v\f\n\ + \\ENQ\EOT\v\STX\EOT\b\DC2\EOT\217\EOT Lens.Family2.LensLike' f s a ctype = Data.ProtoLens.Field.field @"ctype" +debugRedact :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "debugRedact" a) => + Lens.Family2.LensLike' f s a +debugRedact = Data.ProtoLens.Field.field @"debugRedact" +declaration :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "declaration" a) => + Lens.Family2.LensLike' f s a +declaration = Data.ProtoLens.Field.field @"declaration" defaultValue :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "defaultValue" a) => Lens.Family2.LensLike' f s a defaultValue = Data.ProtoLens.Field.field @"defaultValue" +defaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "defaults" a) => + Lens.Family2.LensLike' f s a +defaults = Data.ProtoLens.Field.field @"defaults" dependency :: forall f s a. (Prelude.Functor f, @@ -97,12 +115,36 @@ deprecated :: Data.ProtoLens.Field.HasField s "deprecated" a) => Lens.Family2.LensLike' f s a deprecated = Data.ProtoLens.Field.field @"deprecated" +deprecatedLegacyJsonFieldConflicts :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "deprecatedLegacyJsonFieldConflicts" a) => + Lens.Family2.LensLike' f s a +deprecatedLegacyJsonFieldConflicts + = Data.ProtoLens.Field.field @"deprecatedLegacyJsonFieldConflicts" doubleValue :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "doubleValue" a) => Lens.Family2.LensLike' f s a doubleValue = Data.ProtoLens.Field.field @"doubleValue" +edition :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "edition" a) => + Lens.Family2.LensLike' f s a +edition = Data.ProtoLens.Field.field @"edition" +editionDefaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "editionDefaults" a) => + Lens.Family2.LensLike' f s a +editionDefaults = Data.ProtoLens.Field.field @"editionDefaults" +editionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "editionEnum" a) => + Lens.Family2.LensLike' f s a +editionEnum = Data.ProtoLens.Field.field @"editionEnum" end :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "end" a) => @@ -132,16 +174,34 @@ extensionRange :: Data.ProtoLens.Field.HasField s "extensionRange" a) => Lens.Family2.LensLike' f s a extensionRange = Data.ProtoLens.Field.field @"extensionRange" +features :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "features" a) => + Lens.Family2.LensLike' f s a +features = Data.ProtoLens.Field.field @"features" field :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "field" a) => Lens.Family2.LensLike' f s a field = Data.ProtoLens.Field.field @"field" +fieldPresence :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "fieldPresence" a) => + Lens.Family2.LensLike' f s a +fieldPresence = Data.ProtoLens.Field.field @"fieldPresence" file :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "file" a) => Lens.Family2.LensLike' f s a file = Data.ProtoLens.Field.field @"file" +fullName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "fullName" a) => + Lens.Family2.LensLike' f s a +fullName = Data.ProtoLens.Field.field @"fullName" goPackage :: forall f s a. (Prelude.Functor f, @@ -212,6 +272,12 @@ javaStringCheckUtf8 :: Lens.Family2.LensLike' f s a javaStringCheckUtf8 = Data.ProtoLens.Field.field @"javaStringCheckUtf8" +jsonFormat :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "jsonFormat" a) => + Lens.Family2.LensLike' f s a +jsonFormat = Data.ProtoLens.Field.field @"jsonFormat" jsonName :: forall f s a. (Prelude.Functor f, @@ -258,6 +324,19 @@ mapEntry :: Data.ProtoLens.Field.HasField s "mapEntry" a) => Lens.Family2.LensLike' f s a mapEntry = Data.ProtoLens.Field.field @"mapEntry" +maximumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maximumEdition" a) => + Lens.Family2.LensLike' f s a +maximumEdition = Data.ProtoLens.Field.field @"maximumEdition" +maximumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maximumEditionEnum" a) => + Lens.Family2.LensLike' f s a +maximumEditionEnum + = Data.ProtoLens.Field.field @"maximumEditionEnum" maybe'aggregateValue :: forall f s a. (Prelude.Functor f, @@ -311,6 +390,12 @@ maybe'ctype :: Data.ProtoLens.Field.HasField s "maybe'ctype" a) => Lens.Family2.LensLike' f s a maybe'ctype = Data.ProtoLens.Field.field @"maybe'ctype" +maybe'debugRedact :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'debugRedact" a) => + Lens.Family2.LensLike' f s a +maybe'debugRedact = Data.ProtoLens.Field.field @"maybe'debugRedact" maybe'defaultValue :: forall f s a. (Prelude.Functor f, @@ -324,24 +409,69 @@ maybe'deprecated :: Data.ProtoLens.Field.HasField s "maybe'deprecated" a) => Lens.Family2.LensLike' f s a maybe'deprecated = Data.ProtoLens.Field.field @"maybe'deprecated" +maybe'deprecatedLegacyJsonFieldConflicts :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'deprecatedLegacyJsonFieldConflicts" a) => + Lens.Family2.LensLike' f s a +maybe'deprecatedLegacyJsonFieldConflicts + = Data.ProtoLens.Field.field + @"maybe'deprecatedLegacyJsonFieldConflicts" maybe'doubleValue :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'doubleValue" a) => Lens.Family2.LensLike' f s a maybe'doubleValue = Data.ProtoLens.Field.field @"maybe'doubleValue" +maybe'edition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'edition" a) => + Lens.Family2.LensLike' f s a +maybe'edition = Data.ProtoLens.Field.field @"maybe'edition" +maybe'editionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'editionEnum" a) => + Lens.Family2.LensLike' f s a +maybe'editionEnum = Data.ProtoLens.Field.field @"maybe'editionEnum" maybe'end :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'end" a) => Lens.Family2.LensLike' f s a maybe'end = Data.ProtoLens.Field.field @"maybe'end" +maybe'enumType :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'enumType" a) => + Lens.Family2.LensLike' f s a +maybe'enumType = Data.ProtoLens.Field.field @"maybe'enumType" maybe'extendee :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'extendee" a) => Lens.Family2.LensLike' f s a maybe'extendee = Data.ProtoLens.Field.field @"maybe'extendee" +maybe'features :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'features" a) => + Lens.Family2.LensLike' f s a +maybe'features = Data.ProtoLens.Field.field @"maybe'features" +maybe'fieldPresence :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'fieldPresence" a) => + Lens.Family2.LensLike' f s a +maybe'fieldPresence + = Data.ProtoLens.Field.field @"maybe'fieldPresence" +maybe'fullName :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'fullName" a) => + Lens.Family2.LensLike' f s a +maybe'fullName = Data.ProtoLens.Field.field @"maybe'fullName" maybe'goPackage :: forall f s a. (Prelude.Functor f, @@ -409,6 +539,12 @@ maybe'javaStringCheckUtf8 :: Lens.Family2.LensLike' f s a maybe'javaStringCheckUtf8 = Data.ProtoLens.Field.field @"maybe'javaStringCheckUtf8" +maybe'jsonFormat :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'jsonFormat" a) => + Lens.Family2.LensLike' f s a +maybe'jsonFormat = Data.ProtoLens.Field.field @"maybe'jsonFormat" maybe'jsonName :: forall f s a. (Prelude.Functor f, @@ -446,6 +582,27 @@ maybe'mapEntry :: Data.ProtoLens.Field.HasField s "maybe'mapEntry" a) => Lens.Family2.LensLike' f s a maybe'mapEntry = Data.ProtoLens.Field.field @"maybe'mapEntry" +maybe'maximumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'maximumEdition" a) => + Lens.Family2.LensLike' f s a +maybe'maximumEdition + = Data.ProtoLens.Field.field @"maybe'maximumEdition" +maybe'maximumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'maximumEditionEnum" a) => + Lens.Family2.LensLike' f s a +maybe'maximumEditionEnum + = Data.ProtoLens.Field.field @"maybe'maximumEditionEnum" +maybe'messageEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'messageEncoding" a) => + Lens.Family2.LensLike' f s a +maybe'messageEncoding + = Data.ProtoLens.Field.field @"maybe'messageEncoding" maybe'messageSetWireFormat :: forall f s a. (Prelude.Functor f, @@ -453,6 +610,20 @@ maybe'messageSetWireFormat :: Lens.Family2.LensLike' f s a maybe'messageSetWireFormat = Data.ProtoLens.Field.field @"maybe'messageSetWireFormat" +maybe'minimumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'minimumEdition" a) => + Lens.Family2.LensLike' f s a +maybe'minimumEdition + = Data.ProtoLens.Field.field @"maybe'minimumEdition" +maybe'minimumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'minimumEditionEnum" a) => + Lens.Family2.LensLike' f s a +maybe'minimumEditionEnum + = Data.ProtoLens.Field.field @"maybe'minimumEditionEnum" maybe'name :: forall f s a. (Prelude.Functor f, @@ -571,12 +742,43 @@ maybe'pyGenericServices :: Lens.Family2.LensLike' f s a maybe'pyGenericServices = Data.ProtoLens.Field.field @"maybe'pyGenericServices" +maybe'repeated :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'repeated" a) => + Lens.Family2.LensLike' f s a +maybe'repeated = Data.ProtoLens.Field.field @"maybe'repeated" +maybe'repeatedFieldEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'repeatedFieldEncoding" a) => + Lens.Family2.LensLike' f s a +maybe'repeatedFieldEncoding + = Data.ProtoLens.Field.field @"maybe'repeatedFieldEncoding" +maybe'reserved :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'reserved" a) => + Lens.Family2.LensLike' f s a +maybe'reserved = Data.ProtoLens.Field.field @"maybe'reserved" +maybe'retention :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'retention" a) => + Lens.Family2.LensLike' f s a +maybe'retention = Data.ProtoLens.Field.field @"maybe'retention" maybe'rubyPackage :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'rubyPackage" a) => Lens.Family2.LensLike' f s a maybe'rubyPackage = Data.ProtoLens.Field.field @"maybe'rubyPackage" +maybe'semantic :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'semantic" a) => + Lens.Family2.LensLike' f s a +maybe'semantic = Data.ProtoLens.Field.field @"maybe'semantic" maybe'serverStreaming :: forall f s a. (Prelude.Functor f, @@ -640,12 +842,38 @@ maybe'typeName :: Data.ProtoLens.Field.HasField s "maybe'typeName" a) => Lens.Family2.LensLike' f s a maybe'typeName = Data.ProtoLens.Field.field @"maybe'typeName" +maybe'unverifiedLazy :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'unverifiedLazy" a) => + Lens.Family2.LensLike' f s a +maybe'unverifiedLazy + = Data.ProtoLens.Field.field @"maybe'unverifiedLazy" +maybe'value :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'value" a) => + Lens.Family2.LensLike' f s a +maybe'value = Data.ProtoLens.Field.field @"maybe'value" +maybe'verification :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "maybe'verification" a) => + Lens.Family2.LensLike' f s a +maybe'verification + = Data.ProtoLens.Field.field @"maybe'verification" maybe'weak :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'weak" a) => Lens.Family2.LensLike' f s a maybe'weak = Data.ProtoLens.Field.field @"maybe'weak" +messageEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "messageEncoding" a) => + Lens.Family2.LensLike' f s a +messageEncoding = Data.ProtoLens.Field.field @"messageEncoding" messageSetWireFormat :: forall f s a. (Prelude.Functor f, @@ -664,6 +892,19 @@ method :: (Prelude.Functor f, Data.ProtoLens.Field.HasField s "method" a) => Lens.Family2.LensLike' f s a method = Data.ProtoLens.Field.field @"method" +minimumEdition :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "minimumEdition" a) => + Lens.Family2.LensLike' f s a +minimumEdition = Data.ProtoLens.Field.field @"minimumEdition" +minimumEditionEnum :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "minimumEditionEnum" a) => + Lens.Family2.LensLike' f s a +minimumEditionEnum + = Data.ProtoLens.Field.field @"minimumEditionEnum" name :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) => @@ -799,6 +1040,25 @@ pyGenericServices :: Data.ProtoLens.Field.HasField s "pyGenericServices" a) => Lens.Family2.LensLike' f s a pyGenericServices = Data.ProtoLens.Field.field @"pyGenericServices" +repeated :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "repeated" a) => + Lens.Family2.LensLike' f s a +repeated = Data.ProtoLens.Field.field @"repeated" +repeatedFieldEncoding :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "repeatedFieldEncoding" a) => + Lens.Family2.LensLike' f s a +repeatedFieldEncoding + = Data.ProtoLens.Field.field @"repeatedFieldEncoding" +reserved :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "reserved" a) => + Lens.Family2.LensLike' f s a +reserved = Data.ProtoLens.Field.field @"reserved" reservedName :: forall f s a. (Prelude.Functor f, @@ -811,12 +1071,24 @@ reservedRange :: Data.ProtoLens.Field.HasField s "reservedRange" a) => Lens.Family2.LensLike' f s a reservedRange = Data.ProtoLens.Field.field @"reservedRange" +retention :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "retention" a) => + Lens.Family2.LensLike' f s a +retention = Data.ProtoLens.Field.field @"retention" rubyPackage :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "rubyPackage" a) => Lens.Family2.LensLike' f s a rubyPackage = Data.ProtoLens.Field.field @"rubyPackage" +semantic :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "semantic" a) => + Lens.Family2.LensLike' f s a +semantic = Data.ProtoLens.Field.field @"semantic" serverStreaming :: forall f s a. (Prelude.Functor f, @@ -867,6 +1139,11 @@ syntax :: (Prelude.Functor f, Data.ProtoLens.Field.HasField s "syntax" a) => Lens.Family2.LensLike' f s a syntax = Data.ProtoLens.Field.field @"syntax" +targets :: + forall f s a. + (Prelude.Functor f, Data.ProtoLens.Field.HasField s "targets" a) => + Lens.Family2.LensLike' f s a +targets = Data.ProtoLens.Field.field @"targets" trailingComments :: forall f s a. (Prelude.Functor f, @@ -891,6 +1168,12 @@ uninterpretedOption :: Lens.Family2.LensLike' f s a uninterpretedOption = Data.ProtoLens.Field.field @"uninterpretedOption" +unverifiedLazy :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "unverifiedLazy" a) => + Lens.Family2.LensLike' f s a +unverifiedLazy = Data.ProtoLens.Field.field @"unverifiedLazy" value :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) => @@ -902,12 +1185,31 @@ vec'annotation :: Data.ProtoLens.Field.HasField s "vec'annotation" a) => Lens.Family2.LensLike' f s a vec'annotation = Data.ProtoLens.Field.field @"vec'annotation" +vec'declaration :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'declaration" a) => + Lens.Family2.LensLike' f s a +vec'declaration = Data.ProtoLens.Field.field @"vec'declaration" +vec'defaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'defaults" a) => + Lens.Family2.LensLike' f s a +vec'defaults = Data.ProtoLens.Field.field @"vec'defaults" vec'dependency :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "vec'dependency" a) => Lens.Family2.LensLike' f s a vec'dependency = Data.ProtoLens.Field.field @"vec'dependency" +vec'editionDefaults :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'editionDefaults" a) => + Lens.Family2.LensLike' f s a +vec'editionDefaults + = Data.ProtoLens.Field.field @"vec'editionDefaults" vec'enumType :: forall f s a. (Prelude.Functor f, @@ -1019,6 +1321,12 @@ vec'span :: Data.ProtoLens.Field.HasField s "vec'span" a) => Lens.Family2.LensLike' f s a vec'span = Data.ProtoLens.Field.field @"vec'span" +vec'targets :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "vec'targets" a) => + Lens.Family2.LensLike' f s a +vec'targets = Data.ProtoLens.Field.field @"vec'targets" vec'uninterpretedOption :: forall f s a. (Prelude.Functor f, @@ -1039,6 +1347,12 @@ vec'weakDependency :: Lens.Family2.LensLike' f s a vec'weakDependency = Data.ProtoLens.Field.field @"vec'weakDependency" +verification :: + forall f s a. + (Prelude.Functor f, + Data.ProtoLens.Field.HasField s "verification" a) => + Lens.Family2.LensLike' f s a +verification = Data.ProtoLens.Field.field @"verification" weak :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "weak" a) => diff --git a/proto-lens/src/Data/ProtoLens/Message.hs b/proto-lens/src/Data/ProtoLens/Message.hs index c6829ac2..90c844fa 100644 --- a/proto-lens/src/Data/ProtoLens/Message.hs +++ b/proto-lens/src/Data/ProtoLens/Message.hs @@ -284,6 +284,8 @@ data AnyMessageDescriptor msg -- | A class for protocol buffer enums that enables safe decoding. class (Enum a, Bounded a) => MessageEnum a where + -- | Get the name of this enum as defined in the .proto file. + enumName :: Proxy a -> T.Text -- | Convert the given 'Int' to an enum value. Returns 'Nothing' if -- no corresponding value was defined in the .proto file. maybeToEnum :: Int -> Maybe a From 4bf0d8597c4de03783599ac0eabd54aafceb2c39 Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Tue, 26 Sep 2023 12:17:56 +0200 Subject: [PATCH 7/9] default enum message to empty for now --- proto-lens/src/Data/ProtoLens/Message.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/proto-lens/src/Data/ProtoLens/Message.hs b/proto-lens/src/Data/ProtoLens/Message.hs index 90c844fa..021bf353 100644 --- a/proto-lens/src/Data/ProtoLens/Message.hs +++ b/proto-lens/src/Data/ProtoLens/Message.hs @@ -286,6 +286,7 @@ data AnyMessageDescriptor msg class (Enum a, Bounded a) => MessageEnum a where -- | Get the name of this enum as defined in the .proto file. enumName :: Proxy a -> T.Text + enumName = const "" -- | Convert the given 'Int' to an enum value. Returns 'Nothing' if -- no corresponding value was defined in the .proto file. maybeToEnum :: Int -> Maybe a From 216e42437ce5d744f3a3882f76d8794ad59eb88e Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Tue, 26 Sep 2023 15:24:24 +0200 Subject: [PATCH 8/9] fix some edge cases and add enum parsing customization support --- proto-lens-json/package.yaml | 1 + proto-lens-json/proto-lens-json.cabal | 3 +- proto-lens-json/src/Data/ProtoLens/Json.hs | 82 ++++++++++++++++------ 3 files changed, 62 insertions(+), 24 deletions(-) diff --git a/proto-lens-json/package.yaml b/proto-lens-json/package.yaml index 1f5f6de2..8f4047a9 100644 --- a/proto-lens-json/package.yaml +++ b/proto-lens-json/package.yaml @@ -24,6 +24,7 @@ dependencies: - base64 >= 0.4.2 && < 0.5 - proto-lens-protobuf-types >= 0.7 && < 0.9 - time + - split library: source-dirs: src exposed-modules: diff --git a/proto-lens-json/proto-lens-json.cabal b/proto-lens-json/proto-lens-json.cabal index 6f386d3e..6f327a2d 100644 --- a/proto-lens-json/proto-lens-json.cabal +++ b/proto-lens-json/proto-lens-json.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.35.5. -- -- see: https://github.com/sol/hpack @@ -41,6 +41,7 @@ library , lens-family >=1.2 && <2.2 , proto-lens >=0.4 && <0.9 , proto-lens-protobuf-types >=0.7 && <0.9 + , split , text >=1.2 && <2.2 , time default-language: Haskell2010 diff --git a/proto-lens-json/src/Data/ProtoLens/Json.hs b/proto-lens-json/src/Data/ProtoLens/Json.hs index 903d2fd6..7e6164f5 100644 --- a/proto-lens-json/src/Data/ProtoLens/Json.hs +++ b/proto-lens-json/src/Data/ProtoLens/Json.hs @@ -5,7 +5,9 @@ -- https://developers.google.com/open-source/licenses/bsd {-# LANGUAGE DeriveFunctor #-} +{-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE GADTs #-} +{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE FlexibleContexts #-} @@ -21,6 +23,7 @@ import Control.Applicative import Control.Monad import Data.Aeson import Data.ByteString.Base64 (decodeBase64) +import Data.Char import Lens.Family2 import Data.Fixed import Data.ProtoLens @@ -32,7 +35,8 @@ import Data.Proxy import Data.Aeson.Key (fromText) import qualified Data.Map.Strict as M import qualified Data.Text.Encoding as T -import Data.Map.Strict +import Data.List.Split (wordsBy) +import Data.Map.Strict (Map) import Data.Time.Clock.System import Proto.Google.Protobuf.Duration import qualified Proto.Google.Protobuf.Duration_Fields as Duration @@ -52,7 +56,7 @@ instance Applicative JsonMessage where -- | N.B. if you want to use this instance, make sure that you use the generated -- types for Duration, Timestamp, etc. from proto-lens-protobuf-types instead of generating your own. -instance (Typeable a, Message a) => FromJSON (JsonMessage a) where +instance (Show a, Typeable a, Message a) => FromJSON (JsonMessage a) where parseJSON = fmap JsonMessage . case jsonParseOverrides M.!? messageName (Proxy :: Proxy a) of Nothing -> defaultParser Just dynParser -> case fromDynamic dynParser of @@ -60,7 +64,7 @@ instance (Typeable a, Message a) => FromJSON (JsonMessage a) where Just parser -> (parser :: Value -> Parser a) where defaultParser :: Value -> Parser a - defaultParser = withObject (T.unpack $ messageName (Proxy :: Proxy a)) $ \o -> parseJsonMessage o + defaultParser = withObject (T.unpack $ messageName (Proxy :: Proxy a)) $ \o -> parseJsonMessage defaultFromJsonMessageOptions o -- These are special cases outlined in the proto3 JSON spec jsonParseOverrides :: Map T.Text Dynamic @@ -97,48 +101,65 @@ parseDuration t = case reads @Nano (T.unpack t) of & Duration.seconds .~ fromIntegral secs & Duration.nanos .~ fromIntegral nanos -parseJsonMessage :: forall a. Message a => Object -> Parser a -parseJsonMessage o = foldM (parseField o) defMessage (allFields @a) +data FromJsonMessageOptions = FromJsonMessageOptions + { fromJsonMessageEnumModifier :: forall msg enum. (Message msg, MessageEnum enum) => msg -> Proxy enum -> String -> String + } -parseField :: Object -> a -> FieldDescriptor a -> Parser a -parseField o msg (FieldDescriptor n ftd fa) = case fa of +defaultFromJsonMessageOptions :: FromJsonMessageOptions +defaultFromJsonMessageOptions = FromJsonMessageOptions + { fromJsonMessageEnumModifier = \_ _ -> id + } + +parseJsonMessage :: forall a. (Message a) => FromJsonMessageOptions -> Object -> Parser a +parseJsonMessage opts o = foldM (parseField opts o) defMessage (allFields @a) + +parseField :: (Message a) => FromJsonMessageOptions -> Object -> a -> FieldDescriptor a -> Parser a +parseField opts o msg (FieldDescriptor n ftd fa) = case fa of PlainField fieldReq lens_ -> do case fieldReq of - Required -> (o .: camelK <|> o .: plainK) >>= jsonFieldValue ftd >>= \x -> pure $ msg & lens_ .~ x + Required -> do + (o .: camelK <|> o .: plainK) >>= jsonFieldValue opts msg ftd >>= \x -> pure $ msg & lens_ .~ x Optional -> do mVal <- (o .:? camelK <|> o .:? plainK) case mVal of Nothing -> pure msg - Just val -> jsonFieldValue ftd val >>= \x -> pure $ msg & lens_ .~ x + Just val -> jsonFieldValue opts msg ftd val >>= \x -> pure $ msg & lens_ .~ x OptionalField lens_ -> do mVal <- (o .:? camelK <|> o .:? plainK) case mVal of Nothing -> pure msg - Just val -> jsonFieldValue ftd val >>= \x -> pure $ msg & lens_ .~ Just x + Just val -> jsonFieldValue opts msg ftd val >>= \x -> pure $ msg & lens_ .~ Just x RepeatedField _ lens_ -> do arr <- (o .: camelK <|> o .: plainK) case arr of -- Null is treated as an empty list Null -> pure msg _ -> do - vals <- traverse (jsonFieldValue ftd) =<< parseJSON arr + vals <- traverse (jsonFieldValue opts msg ftd) =<< parseJSON arr pure $ msg & lens_ .~ vals MapField kTy valDetails _entryK _entryVal lens_ -> do - m <- (o .: camelK <|> o .: plainK) >>= mapKeyScalarValue kTy - m' <- traverse (jsonFieldValue valDetails) m + raw <- (o .: camelK <|> o .: plainK <|> pure (Object mempty)) + m <- mapKeyScalarValue kTy $ case raw of + Null -> Object mempty + other -> other + m' <- traverse (jsonFieldValue opts msg valDetails) m pure $ msg & lens_ .~ m' where plainK = fromText (T.pack n) - camelK = fromText (T.pack $ camelTo2 '_' n) + camelK = fromText (T.pack $ toCamel $ fromSnake n) -jsonFieldValue :: forall value. (Typeable value) => FieldTypeDescriptor value -> Value -> Parser value -jsonFieldValue fdt = case fdt of +jsonFieldValue :: forall value msg. (Message msg, Typeable value) => FromJsonMessageOptions -> msg -> FieldTypeDescriptor value -> Value -> Parser value +jsonFieldValue opts msg fdt val = case fdt of MessageField _ -> case jsonParseOverrides M.!? messageName (Proxy @value) of - Nothing -> withObject (T.unpack $ messageName (Proxy @value)) parseJsonMessage + Nothing -> withObject (T.unpack $ messageName (Proxy @value)) (parseJsonMessage opts) val' Just override -> case fromDynamic override of - Nothing -> withObject (T.unpack $ messageName (Proxy @value)) parseJsonMessage - Just parser -> (parser :: Value -> Parser value) - ScalarField f -> jsonScalarFieldValue f + Nothing -> withObject (T.unpack $ messageName (Proxy @value)) (parseJsonMessage opts) val' + Just parser -> parser val' :: Parser value + ScalarField f -> jsonScalarFieldValue opts msg f val + where + val' = case val of + Null -> Object mempty + _ -> val parse64BitNumber :: (Integral a) => Value -> Parser a parse64BitNumber val = do @@ -165,9 +186,9 @@ mapKeyScalarValue = \case MapBoolKey -> parseJSON MapStringKey -> parseJSON -jsonScalarFieldValue :: ScalarField value -> Value -> Parser value -jsonScalarFieldValue = \case - EnumField -> \v -> parseJSON v >>= \str -> case readEnum str of +jsonScalarFieldValue :: forall msg value. Message msg => FromJsonMessageOptions -> msg -> ScalarField value -> Value -> Parser value +jsonScalarFieldValue opts msg = \case + EnumField -> \v -> parseJSON v >>= \str -> case readEnum (fromJsonMessageEnumModifier opts msg (Proxy @value) str) of Nothing -> fail ("Invalid enum value: " <> str) Just val -> pure val Int32Field -> parseJSON @@ -187,3 +208,18 @@ jsonScalarFieldValue = \case BytesField -> withText "bytes" $ \t -> case decodeBase64 (T.encodeUtf8 t) of Left e -> fail $ T.unpack e Right bs -> pure bs + +newtype Identifier a = Identifier { unIdentifier :: [a] } + deriving (Monad, Functor, Applicative, Show, Foldable, Traversable, Eq) + +toCamel :: Identifier String -> String +toCamel (Identifier []) = "" +toCamel (Identifier (x:xs)) = concat $ fmap toLower x:map wordCase xs + +-- | Convert from @snake_cased@ (either flavor) +fromSnake :: String -> Identifier String +fromSnake = Identifier . wordsBy (== '_') + +wordCase :: String -> String +wordCase "" = "" +wordCase (x:xs) = toUpper x : fmap toLower xs \ No newline at end of file From 191f384b5329f0231844ae8405695fcdc29eab44 Mon Sep 17 00:00:00 2001 From: Ian Duncan Date: Tue, 26 Sep 2023 15:25:49 +0200 Subject: [PATCH 9/9] specify exports for Json module --- proto-lens-json/src/Data/ProtoLens/Json.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proto-lens-json/src/Data/ProtoLens/Json.hs b/proto-lens-json/src/Data/ProtoLens/Json.hs index 7e6164f5..4f6c2c16 100644 --- a/proto-lens-json/src/Data/ProtoLens/Json.hs +++ b/proto-lens-json/src/Data/ProtoLens/Json.hs @@ -18,7 +18,12 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} -- | ToJSON/FromJSON instances for protocol buffer Messages to use with aeson. -module Data.ProtoLens.Json where +module Data.ProtoLens.Json + ( JsonMessage(..) + , FromJsonMessageOptions(..) + , defaultFromJsonMessageOptions + , parseJsonMessage + ) where import Control.Applicative import Control.Monad import Data.Aeson