Skip to content

Update stub for CodeGeneratorResponse protobuf message #4680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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