Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Commit

Permalink
Update CodeGeneratorResponse (python#4680)
Browse files Browse the repository at this point in the history
  • Loading branch information
henribru authored Nov 1, 2020
1 parent 079584a commit fd6bb39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from typing import Iterable, Optional, Text

from google.protobuf.descriptor_pb2 import FileDescriptorProto
from google.protobuf.internal.containers import RepeatedCompositeFieldContainer, RepeatedScalarFieldContainer
from google.protobuf.internal.enum_type_wrapper import EnumTypeWrapper
from google.protobuf.message import Message

class Version(Message):
Expand Down Expand Up @@ -36,6 +37,13 @@ class CodeGeneratorResponse(Message):
def __init__(
self, name: Optional[Text] = ..., insertion_point: Optional[Text] = ..., content: Optional[Text] = ...
) -> None: ...
class _Feature(EnumTypeWrapper):
FEATURE_NONE: int
FEATURE_PROTO_3_OPTIONAL: int
Feature: CodeGeneratorResponse._Feature
FEATURE_NONE: int
FEATURE_PROTO_3_OPTIONAL: int
supported_features: int
error: Text
@property
def file(self) -> RepeatedCompositeFieldContainer[CodeGeneratorResponse.File]: ...
Expand Down

0 comments on commit fd6bb39

Please sign in to comment.