massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / google / protobuf / compiler / plugin_pb2.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi
new file mode 100644 (file)
index 0000000..61cc53e
--- /dev/null
@@ -0,0 +1,82 @@
+from google.protobuf.descriptor_pb2 import (\r
+    FileDescriptorProto,\r
+)\r
+from google.protobuf.internal.containers import (\r
+    RepeatedCompositeFieldContainer,\r
+    RepeatedScalarFieldContainer,\r
+)\r
+from google.protobuf.message import (\r
+    Message,\r
+)\r
+from typing import (\r
+    Iterable,\r
+    Optional,\r
+    Text,\r
+)\r
+\r
+\r
+class Version(Message):\r
+    major = ...  # type: int\r
+    minor = ...  # type: int\r
+    patch = ...  # type: int\r
+    suffix = ...  # type: Text\r
+\r
+    def __init__(self,\r
+                 major: Optional[int] = ...,\r
+                 minor: Optional[int] = ...,\r
+                 patch: Optional[int] = ...,\r
+                 suffix: Optional[Text] = ...,\r
+                 ) -> None: ...\r
+\r
+    @classmethod\r
+    def FromString(cls, s: bytes) -> Version: ...\r
+\r
+\r
+class CodeGeneratorRequest(Message):\r
+    file_to_generate = ...  # type: RepeatedScalarFieldContainer[Text]\r
+    parameter = ...  # type: Text\r
+\r
+    @property\r
+    def proto_file(self) -> RepeatedCompositeFieldContainer[FileDescriptorProto]: ...\r
+\r
+    @property\r
+    def compiler_version(self) -> Version: ...\r
+\r
+    def __init__(self,\r
+                 file_to_generate: Optional[Iterable[Text]] = ...,\r
+                 parameter: Optional[Text] = ...,\r
+                 proto_file: Optional[Iterable[FileDescriptorProto]] = ...,\r
+                 compiler_version: Optional[Version] = ...,\r
+                 ) -> None: ...\r
+\r
+    @classmethod\r
+    def FromString(cls, s: bytes) -> CodeGeneratorRequest: ...\r
+\r
+\r
+class CodeGeneratorResponse(Message):\r
+\r
+    class File(Message):\r
+        name = ...  # type: Text\r
+        insertion_point = ...  # type: Text\r
+        content = ...  # type: Text\r
+\r
+        def __init__(self,\r
+                     name: Optional[Text] = ...,\r
+                     insertion_point: Optional[Text] = ...,\r
+                     content: Optional[Text] = ...,\r
+                     ) -> None: ...\r
+\r
+        @classmethod\r
+        def FromString(cls, s: bytes) -> CodeGeneratorResponse.File: ...\r
+    error = ...  # type: Text\r
+\r
+    @property\r
+    def file(self) -> RepeatedCompositeFieldContainer[CodeGeneratorResponse.File]: ...\r
+\r
+    def __init__(self,\r
+                 error: Optional[Text] = ...,\r
+                 file: Optional[Iterable[CodeGeneratorResponse.File]] = ...,\r
+                 ) -> None: ...\r
+\r
+    @classmethod\r
+    def FromString(cls, s: bytes) -> CodeGeneratorResponse: ...\r