Update proto stubs with latest mypy-protobuf 2.6 (#5753)

This commit is contained in:
Nipunn Koorapati
2021-07-10 17:10:39 -07:00
committed by GitHub
parent 276c225cd9
commit 42eec29eed
15 changed files with 1187 additions and 1262 deletions

View File

@@ -9,12 +9,13 @@
# followed by committing the changes to typeshed
#
# Update these two variables when rerunning script
PROTOBUF_VERSION=3.14.0
MYPY_PROTOBUF_VERSION=v1.24
PROTOBUF_VERSION=3.17.3
MYPY_PROTOBUF_VERSION=v2.6
set -ex
if uname -a | grep Darwin; then
# brew install coreutils wget
PLAT=osx
else
PLAT=linux
@@ -43,10 +44,10 @@ PYTHON_PROTOBUF_DIR=protobuf-$PROTOBUF_VERSION
VENV=venv
python3 -m venv $VENV
source $VENV/bin/activate
pip install -r requirements-tests-py3.txt # for black and isort
pip install -r $REPO_ROOT/requirements-tests-py3.txt # for black and isort
# Install mypy-protobuf
pip install git+https://github.com/dropbox/mypy-protobuf@${MYPY_PROTOBUF_VERSION}#subdirectory=python
pip install git+https://github.com/dropbox/mypy-protobuf@${MYPY_PROTOBUF_VERSION}
# Remove existing pyi
find $REPO_ROOT/stubs/protobuf/ -name "*_pb2.pyi" -delete

View File

@@ -7,7 +7,6 @@ google.protobuf.compiler.plugin_pb2.CodeGeneratorRequest.__init__
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse.FEATURE_NONE
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse.FEATURE_PROTO3_OPTIONAL
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse.Feature
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse.FeatureValue
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse.File.__init__
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse._Feature
google.protobuf.compiler.plugin_pb2.CodeGeneratorResponse.__init__
@@ -30,7 +29,6 @@ google.protobuf.descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
google.protobuf.descriptor_pb2.FieldDescriptorProto.LABEL_REPEATED
google.protobuf.descriptor_pb2.FieldDescriptorProto.LABEL_REQUIRED
google.protobuf.descriptor_pb2.FieldDescriptorProto.Label
google.protobuf.descriptor_pb2.FieldDescriptorProto.LabelValue
google.protobuf.descriptor_pb2.FieldDescriptorProto.TYPE_BOOL
google.protobuf.descriptor_pb2.FieldDescriptorProto.TYPE_BYTES
google.protobuf.descriptor_pb2.FieldDescriptorProto.TYPE_DOUBLE
@@ -50,15 +48,12 @@ google.protobuf.descriptor_pb2.FieldDescriptorProto.TYPE_STRING
google.protobuf.descriptor_pb2.FieldDescriptorProto.TYPE_UINT32
google.protobuf.descriptor_pb2.FieldDescriptorProto.TYPE_UINT64
google.protobuf.descriptor_pb2.FieldDescriptorProto.Type
google.protobuf.descriptor_pb2.FieldDescriptorProto.TypeValue
google.protobuf.descriptor_pb2.FieldDescriptorProto._Label
google.protobuf.descriptor_pb2.FieldDescriptorProto._Type
google.protobuf.descriptor_pb2.FieldDescriptorProto.__init__
google.protobuf.descriptor_pb2.FieldOptions.CORD
google.protobuf.descriptor_pb2.FieldOptions.CType
google.protobuf.descriptor_pb2.FieldOptions.CTypeValue
google.protobuf.descriptor_pb2.FieldOptions.JSType
google.protobuf.descriptor_pb2.FieldOptions.JSTypeValue
google.protobuf.descriptor_pb2.FieldOptions.JS_NORMAL
google.protobuf.descriptor_pb2.FieldOptions.JS_NUMBER
google.protobuf.descriptor_pb2.FieldOptions.JS_STRING
@@ -72,7 +67,6 @@ google.protobuf.descriptor_pb2.FileDescriptorSet.__init__
google.protobuf.descriptor_pb2.FileOptions.CODE_SIZE
google.protobuf.descriptor_pb2.FileOptions.LITE_RUNTIME
google.protobuf.descriptor_pb2.FileOptions.OptimizeMode
google.protobuf.descriptor_pb2.FileOptions.OptimizeModeValue
google.protobuf.descriptor_pb2.FileOptions.SPEED
google.protobuf.descriptor_pb2.FileOptions._OptimizeMode
google.protobuf.descriptor_pb2.FileOptions.__init__
@@ -83,7 +77,6 @@ google.protobuf.descriptor_pb2.MethodDescriptorProto.__init__
google.protobuf.descriptor_pb2.MethodOptions.IDEMPOTENCY_UNKNOWN
google.protobuf.descriptor_pb2.MethodOptions.IDEMPOTENT
google.protobuf.descriptor_pb2.MethodOptions.IdempotencyLevel
google.protobuf.descriptor_pb2.MethodOptions.IdempotencyLevelValue
google.protobuf.descriptor_pb2.MethodOptions.NO_SIDE_EFFECTS
google.protobuf.descriptor_pb2.MethodOptions._IdempotencyLevel
google.protobuf.descriptor_pb2.MethodOptions.__init__
@@ -127,7 +120,7 @@ google.protobuf.service.Service.GetDescriptor
google.protobuf.source_context_pb2.SourceContext.__init__
google.protobuf.struct_pb2.ListValue.__init__
google.protobuf.struct_pb2.NULL_VALUE
google.protobuf.struct_pb2.NullValueValue
google.protobuf.struct_pb2.NullValue
google.protobuf.struct_pb2.Struct.FieldsEntry.__init__
google.protobuf.struct_pb2.Struct.__init__
google.protobuf.struct_pb2.Value.__init__
@@ -140,9 +133,7 @@ google.protobuf.type_pb2.Field.CARDINALITY_REPEATED
google.protobuf.type_pb2.Field.CARDINALITY_REQUIRED
google.protobuf.type_pb2.Field.CARDINALITY_UNKNOWN
google.protobuf.type_pb2.Field.Cardinality
google.protobuf.type_pb2.Field.CardinalityValue
google.protobuf.type_pb2.Field.Kind
google.protobuf.type_pb2.Field.KindValue
google.protobuf.type_pb2.Field.TYPE_BOOL
google.protobuf.type_pb2.Field.TYPE_BYTES
google.protobuf.type_pb2.Field.TYPE_DOUBLE
@@ -169,7 +160,6 @@ google.protobuf.type_pb2.Option.__init__
google.protobuf.type_pb2.SYNTAX_PROTO2
google.protobuf.type_pb2.SYNTAX_PROTO3
google.protobuf.type_pb2.Syntax
google.protobuf.type_pb2.SyntaxValue
google.protobuf.type_pb2.Type.__init__
google.protobuf.wrappers_pb2.BoolValue.__init__
google.protobuf.wrappers_pb2.BytesValue.__init__

View File

@@ -1,3 +1,4 @@
version = "0.1"
version = "3.17"
python2 = true
requires = ["types-futures"]
extra_description = "Generated with aid from mypy-protobuf 2.6"

View File

@@ -2,46 +2,26 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.well_known_types
import google.protobuf.message
import typing
import typing_extensions
from google.protobuf.internal.well_known_types import (
Any as google___protobuf___internal___well_known_types___Any,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Any(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Any):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
type_url: typing___Text = ...
value: builtin___bytes = ...
class Any(google.protobuf.message.Message, google.protobuf.internal.well_known_types.Any):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
TYPE_URL_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
type_url: typing.Text = ...
value: builtins.bytes = ...
def __init__(self,
*,
type_url : typing___Optional[typing___Text] = ...,
value : typing___Optional[builtin___bytes] = ...,
type_url : typing.Text = ...,
value : builtins.bytes = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"type_url",b"type_url",u"value",b"value"]) -> None: ...
type___Any = Any
def ClearField(self, field_name: typing_extensions.Literal[u"type_url",b"type_url",u"value",b"value"]) -> None: ...
global___Any = Any

View File

@@ -2,113 +2,99 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import google.protobuf.source_context_pb2
import google.protobuf.type_pb2
import typing
import typing_extensions
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from google.protobuf.source_context_pb2 import (
SourceContext as google___protobuf___source_context_pb2___SourceContext,
)
from google.protobuf.type_pb2 import (
Option as google___protobuf___type_pb2___Option,
SyntaxValue as google___protobuf___type_pb2___SyntaxValue,
)
from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Api(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
version: typing___Text = ...
syntax: google___protobuf___type_pb2___SyntaxValue = ...
class Api(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
METHODS_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
VERSION_FIELD_NUMBER: builtins.int
SOURCE_CONTEXT_FIELD_NUMBER: builtins.int
MIXINS_FIELD_NUMBER: builtins.int
SYNTAX_FIELD_NUMBER: builtins.int
name: typing.Text = ...
version: typing.Text = ...
syntax: google.protobuf.type_pb2.Syntax.V = ...
@property
def methods(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Method]: ...
def methods(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Method]: ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ...
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.type_pb2.Option]: ...
@property
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
def source_context(self) -> google.protobuf.source_context_pb2.SourceContext: ...
@property
def mixins(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Mixin]: ...
def mixins(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Mixin]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
methods : typing___Optional[typing___Iterable[type___Method]] = ...,
options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = ...,
version : typing___Optional[typing___Text] = ...,
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = ...,
mixins : typing___Optional[typing___Iterable[type___Mixin]] = ...,
syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = ...,
name : typing.Text = ...,
methods : typing.Optional[typing.Iterable[global___Method]] = ...,
options : typing.Optional[typing.Iterable[google.protobuf.type_pb2.Option]] = ...,
version : typing.Text = ...,
source_context : typing.Optional[google.protobuf.source_context_pb2.SourceContext] = ...,
mixins : typing.Optional[typing.Iterable[global___Mixin]] = ...,
syntax : google.protobuf.type_pb2.Syntax.V = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"methods",b"methods",u"mixins",b"mixins",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax",u"version",b"version"]) -> None: ...
type___Api = Api
def HasField(self, field_name: typing_extensions.Literal[u"source_context",b"source_context"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"methods",b"methods",u"mixins",b"mixins",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax",u"version",b"version"]) -> None: ...
global___Api = Api
class Method(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
request_type_url: typing___Text = ...
request_streaming: builtin___bool = ...
response_type_url: typing___Text = ...
response_streaming: builtin___bool = ...
syntax: google___protobuf___type_pb2___SyntaxValue = ...
class Method(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
REQUEST_TYPE_URL_FIELD_NUMBER: builtins.int
REQUEST_STREAMING_FIELD_NUMBER: builtins.int
RESPONSE_TYPE_URL_FIELD_NUMBER: builtins.int
RESPONSE_STREAMING_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
SYNTAX_FIELD_NUMBER: builtins.int
name: typing.Text = ...
request_type_url: typing.Text = ...
request_streaming: builtins.bool = ...
response_type_url: typing.Text = ...
response_streaming: builtins.bool = ...
syntax: google.protobuf.type_pb2.Syntax.V = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ...
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.type_pb2.Option]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
request_type_url : typing___Optional[typing___Text] = ...,
request_streaming : typing___Optional[builtin___bool] = ...,
response_type_url : typing___Optional[typing___Text] = ...,
response_streaming : typing___Optional[builtin___bool] = ...,
options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = ...,
syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = ...,
name : typing.Text = ...,
request_type_url : typing.Text = ...,
request_streaming : builtins.bool = ...,
response_type_url : typing.Text = ...,
response_streaming : builtins.bool = ...,
options : typing.Optional[typing.Iterable[google.protobuf.type_pb2.Option]] = ...,
syntax : google.protobuf.type_pb2.Syntax.V = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"request_streaming",b"request_streaming",u"request_type_url",b"request_type_url",u"response_streaming",b"response_streaming",u"response_type_url",b"response_type_url",u"syntax",b"syntax"]) -> None: ...
type___Method = Method
def ClearField(self, field_name: typing_extensions.Literal[u"name",b"name",u"options",b"options",u"request_streaming",b"request_streaming",u"request_type_url",b"request_type_url",u"response_streaming",b"response_streaming",u"response_type_url",b"response_type_url",u"syntax",b"syntax"]) -> None: ...
global___Method = Method
class Mixin(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
root: typing___Text = ...
class Mixin(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
ROOT_FIELD_NUMBER: builtins.int
name: typing.Text = ...
root: typing.Text = ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
root : typing___Optional[typing___Text] = ...,
name : typing.Text = ...,
root : typing.Text = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"root",b"root"]) -> None: ...
type___Mixin = Mixin
def ClearField(self, field_name: typing_extensions.Literal[u"name",b"name",u"root",b"root"]) -> None: ...
global___Mixin = Mixin

View File

@@ -2,135 +2,118 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.descriptor_pb2
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import typing
import typing_extensions
from google.protobuf.descriptor_pb2 import (
FileDescriptorProto as google___protobuf___descriptor_pb2___FileDescriptorProto,
GeneratedCodeInfo as google___protobuf___descriptor_pb2___GeneratedCodeInfo,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Iterable as typing___Iterable,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Version(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
major: builtin___int = ...
minor: builtin___int = ...
patch: builtin___int = ...
suffix: typing___Text = ...
class Version(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
MAJOR_FIELD_NUMBER: builtins.int
MINOR_FIELD_NUMBER: builtins.int
PATCH_FIELD_NUMBER: builtins.int
SUFFIX_FIELD_NUMBER: builtins.int
major: builtins.int = ...
minor: builtins.int = ...
patch: builtins.int = ...
suffix: typing.Text = ...
def __init__(self,
*,
major : typing___Optional[builtin___int] = ...,
minor : typing___Optional[builtin___int] = ...,
patch : typing___Optional[builtin___int] = ...,
suffix : typing___Optional[typing___Text] = ...,
major : typing.Optional[builtins.int] = ...,
minor : typing.Optional[builtins.int] = ...,
patch : typing.Optional[builtins.int] = ...,
suffix : typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> None: ...
type___Version = Version
def HasField(self, field_name: typing_extensions.Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> None: ...
global___Version = Version
class CodeGeneratorRequest(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
file_to_generate: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
parameter: typing___Text = ...
class CodeGeneratorRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
FILE_TO_GENERATE_FIELD_NUMBER: builtins.int
PARAMETER_FIELD_NUMBER: builtins.int
PROTO_FILE_FIELD_NUMBER: builtins.int
COMPILER_VERSION_FIELD_NUMBER: builtins.int
@property
def proto_file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___descriptor_pb2___FileDescriptorProto]: ...
def file_to_generate(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
parameter: typing.Text = ...
@property
def compiler_version(self) -> type___Version: ...
def proto_file(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.descriptor_pb2.FileDescriptorProto]: ...
@property
def compiler_version(self) -> global___Version: ...
def __init__(self,
*,
file_to_generate : typing___Optional[typing___Iterable[typing___Text]] = ...,
parameter : typing___Optional[typing___Text] = ...,
proto_file : typing___Optional[typing___Iterable[google___protobuf___descriptor_pb2___FileDescriptorProto]] = ...,
compiler_version : typing___Optional[type___Version] = ...,
file_to_generate : typing.Optional[typing.Iterable[typing.Text]] = ...,
parameter : typing.Optional[typing.Text] = ...,
proto_file : typing.Optional[typing.Iterable[google.protobuf.descriptor_pb2.FileDescriptorProto]] = ...,
compiler_version : typing.Optional[global___Version] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"compiler_version",b"compiler_version",u"parameter",b"parameter"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"compiler_version",b"compiler_version",u"file_to_generate",b"file_to_generate",u"parameter",b"parameter",u"proto_file",b"proto_file"]) -> None: ...
type___CodeGeneratorRequest = CodeGeneratorRequest
def HasField(self, field_name: typing_extensions.Literal[u"compiler_version",b"compiler_version",u"parameter",b"parameter"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"compiler_version",b"compiler_version",u"file_to_generate",b"file_to_generate",u"parameter",b"parameter",u"proto_file",b"proto_file"]) -> None: ...
global___CodeGeneratorRequest = CodeGeneratorRequest
class CodeGeneratorResponse(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
FeatureValue = typing___NewType('FeatureValue', builtin___int)
type___FeatureValue = FeatureValue
Feature: _Feature
class _Feature(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[CodeGeneratorResponse.FeatureValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
FEATURE_NONE = typing___cast(CodeGeneratorResponse.FeatureValue, 0)
FEATURE_PROTO3_OPTIONAL = typing___cast(CodeGeneratorResponse.FeatureValue, 1)
FEATURE_NONE = typing___cast(CodeGeneratorResponse.FeatureValue, 0)
FEATURE_PROTO3_OPTIONAL = typing___cast(CodeGeneratorResponse.FeatureValue, 1)
class CodeGeneratorResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
class Feature(metaclass=_Feature):
V = typing.NewType('V', builtins.int)
class File(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
insertion_point: typing___Text = ...
content: typing___Text = ...
FEATURE_NONE = CodeGeneratorResponse.Feature.V(0)
FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse.Feature.V(1)
class _Feature(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Feature.V], builtins.type): # type: ignore
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
FEATURE_NONE = CodeGeneratorResponse.Feature.V(0)
FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse.Feature.V(1)
class File(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
INSERTION_POINT_FIELD_NUMBER: builtins.int
CONTENT_FIELD_NUMBER: builtins.int
GENERATED_CODE_INFO_FIELD_NUMBER: builtins.int
name: typing.Text = ...
insertion_point: typing.Text = ...
content: typing.Text = ...
@property
def generated_code_info(self) -> google___protobuf___descriptor_pb2___GeneratedCodeInfo: ...
def generated_code_info(self) -> google.protobuf.descriptor_pb2.GeneratedCodeInfo: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
insertion_point : typing___Optional[typing___Text] = ...,
content : typing___Optional[typing___Text] = ...,
generated_code_info : typing___Optional[google___protobuf___descriptor_pb2___GeneratedCodeInfo] = ...,
name : typing.Optional[typing.Text] = ...,
insertion_point : typing.Optional[typing.Text] = ...,
content : typing.Optional[typing.Text] = ...,
generated_code_info : typing.Optional[google.protobuf.descriptor_pb2.GeneratedCodeInfo] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> None: ...
type___File = File
def HasField(self, field_name: typing_extensions.Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> None: ...
error: typing___Text = ...
supported_features: builtin___int = ...
ERROR_FIELD_NUMBER: builtins.int
SUPPORTED_FEATURES_FIELD_NUMBER: builtins.int
FILE_FIELD_NUMBER: builtins.int
error: typing.Text = ...
supported_features: builtins.int = ...
@property
def file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CodeGeneratorResponse.File]: ...
def file(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CodeGeneratorResponse.File]: ...
def __init__(self,
*,
error : typing___Optional[typing___Text] = ...,
supported_features : typing___Optional[builtin___int] = ...,
file : typing___Optional[typing___Iterable[type___CodeGeneratorResponse.File]] = ...,
error : typing.Optional[typing.Text] = ...,
supported_features : typing.Optional[builtins.int] = ...,
file : typing.Optional[typing.Iterable[global___CodeGeneratorResponse.File]] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"error",b"error",u"supported_features",b"supported_features"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"error",b"error",u"file",b"file",u"supported_features",b"supported_features"]) -> None: ...
type___CodeGeneratorResponse = CodeGeneratorResponse
def HasField(self, field_name: typing_extensions.Literal[u"error",b"error",u"supported_features",b"supported_features"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"error",b"error",u"file",b"file",u"supported_features",b"supported_features"]) -> None: ...
global___CodeGeneratorResponse = CodeGeneratorResponse

File diff suppressed because it is too large Load Diff

View File

@@ -2,45 +2,25 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.well_known_types
import google.protobuf.message
import typing_extensions
from google.protobuf.internal.well_known_types import (
Duration as google___protobuf___internal___well_known_types___Duration,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Duration(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Duration):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
seconds: builtin___int = ...
nanos: builtin___int = ...
class Duration(google.protobuf.message.Message, google.protobuf.internal.well_known_types.Duration):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
SECONDS_FIELD_NUMBER: builtins.int
NANOS_FIELD_NUMBER: builtins.int
seconds: builtins.int = ...
nanos: builtins.int = ...
def __init__(self,
*,
seconds : typing___Optional[builtin___int] = ...,
nanos : typing___Optional[builtin___int] = ...,
seconds : builtins.int = ...,
nanos : builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
type___Duration = Duration
def ClearField(self, field_name: typing_extensions.Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
global___Duration = Duration

View File

@@ -2,21 +2,14 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import google.protobuf.descriptor
import google.protobuf.message
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Empty(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class Empty(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
def __init__(self,
) -> None: ...
type___Empty = Empty
global___Empty = Empty

View File

@@ -2,49 +2,26 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.well_known_types
import google.protobuf.message
import typing
import typing_extensions
from google.protobuf.internal.containers import (
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.internal.well_known_types import (
FieldMask as google___protobuf___internal___well_known_types___FieldMask,
)
class FieldMask(google.protobuf.message.Message, google.protobuf.internal.well_known_types.FieldMask):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
PATHS_FIELD_NUMBER: builtins.int
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class FieldMask(google___protobuf___message___Message, google___protobuf___internal___well_known_types___FieldMask):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
paths: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
@property
def paths(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
def __init__(self,
*,
paths : typing___Optional[typing___Iterable[typing___Text]] = ...,
paths : typing.Optional[typing.Iterable[typing.Text]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"paths",b"paths"]) -> None: ...
type___FieldMask = FieldMask
def ClearField(self, field_name: typing_extensions.Literal[u"paths",b"paths"]) -> None: ...
global___FieldMask = FieldMask

View File

@@ -2,40 +2,22 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.message
import typing
import typing_extensions
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from typing import (
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class SourceContext(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
file_name: typing___Text = ...
class SourceContext(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
FILE_NAME_FIELD_NUMBER: builtins.int
file_name: typing.Text = ...
def __init__(self,
*,
file_name : typing___Optional[typing___Text] = ...,
file_name : typing.Text = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"file_name",b"file_name"]) -> None: ...
type___SourceContext = SourceContext
def ClearField(self, field_name: typing_extensions.Literal[u"file_name",b"file_name"]) -> None: ...
global___SourceContext = SourceContext

View File

@@ -2,130 +2,102 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.internal.well_known_types
import google.protobuf.message
import typing
import typing_extensions
from google.protobuf.internal.containers import (
MessageMap as google___protobuf___internal___containers___MessageMap,
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
class NullValue(metaclass=_NullValue):
V = typing.NewType('V', builtins.int)
from google.protobuf.internal.well_known_types import (
ListValue as google___protobuf___internal___well_known_types___ListValue,
Struct as google___protobuf___internal___well_known_types___Struct,
)
global___NullValue = NullValue
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
NULL_VALUE = NullValue.V(0)
from typing import (
Any,
Iterable as typing___Iterable,
Mapping as typing___Mapping,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
class _NullValue(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NullValue.V], builtins.type): # type: ignore
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
NULL_VALUE = NullValue.V(0)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
NullValueValue = typing___NewType('NullValueValue', builtin___int)
type___NullValueValue = NullValueValue
# We temporary set this to Any to simplify mypy-protobuf migration,
# replace with `NullValue: _NullValue` after mypy-protobuf 1.24 is out.
NullValue = Any
class _NullValue(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[NullValueValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
NULL_VALUE = typing___cast(NullValueValue, 0)
NULL_VALUE = typing___cast(NullValueValue, 0)
class Struct(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Struct):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class FieldsEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
class Struct(google.protobuf.message.Message, google.protobuf.internal.well_known_types.Struct):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
class FieldsEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: typing.Text = ...
@property
def value(self) -> type___Value: ...
def value(self) -> global___Value: ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = ...,
value : typing___Optional[type___Value] = ...,
key : typing.Text = ...,
value : typing.Optional[global___Value] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___FieldsEntry = FieldsEntry
def HasField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> None: ...
FIELDS_FIELD_NUMBER: builtins.int
@property
def fields(self) -> google___protobuf___internal___containers___MessageMap[typing___Text, type___Value]: ...
def fields(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, global___Value]: ...
def __init__(self,
*,
fields : typing___Optional[typing___Mapping[typing___Text, type___Value]] = ...,
fields : typing.Optional[typing.Mapping[typing.Text, global___Value]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"fields",b"fields"]) -> None: ...
type___Struct = Struct
def ClearField(self, field_name: typing_extensions.Literal[u"fields",b"fields"]) -> None: ...
global___Struct = Struct
class Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
null_value: type___NullValueValue = ...
number_value: builtin___float = ...
string_value: typing___Text = ...
bool_value: builtin___bool = ...
class Value(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NULL_VALUE_FIELD_NUMBER: builtins.int
NUMBER_VALUE_FIELD_NUMBER: builtins.int
STRING_VALUE_FIELD_NUMBER: builtins.int
BOOL_VALUE_FIELD_NUMBER: builtins.int
STRUCT_VALUE_FIELD_NUMBER: builtins.int
LIST_VALUE_FIELD_NUMBER: builtins.int
null_value: global___NullValue.V = ...
number_value: builtins.float = ...
string_value: typing.Text = ...
bool_value: builtins.bool = ...
@property
def struct_value(self) -> type___Struct: ...
def struct_value(self) -> global___Struct: ...
@property
def list_value(self) -> type___ListValue: ...
def list_value(self) -> global___ListValue: ...
def __init__(self,
*,
null_value : typing___Optional[type___NullValueValue] = ...,
number_value : typing___Optional[builtin___float] = ...,
string_value : typing___Optional[typing___Text] = ...,
bool_value : typing___Optional[builtin___bool] = ...,
struct_value : typing___Optional[type___Struct] = ...,
list_value : typing___Optional[type___ListValue] = ...,
null_value : global___NullValue.V = ...,
number_value : builtins.float = ...,
string_value : typing.Text = ...,
bool_value : builtins.bool = ...,
struct_value : typing.Optional[global___Struct] = ...,
list_value : typing.Optional[global___ListValue] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"kind",b"kind"]) -> typing_extensions___Literal["null_value","number_value","string_value","bool_value","struct_value","list_value"]: ...
type___Value = Value
def HasField(self, field_name: typing_extensions.Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions.Literal[u"kind",b"kind"]) -> typing.Optional[typing_extensions.Literal["null_value","number_value","string_value","bool_value","struct_value","list_value"]]: ...
global___Value = Value
class ListValue(google___protobuf___message___Message, google___protobuf___internal___well_known_types___ListValue):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class ListValue(google.protobuf.message.Message, google.protobuf.internal.well_known_types.ListValue):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUES_FIELD_NUMBER: builtins.int
@property
def values(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Value]: ...
def values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Value]: ...
def __init__(self,
*,
values : typing___Optional[typing___Iterable[type___Value]] = ...,
values : typing.Optional[typing.Iterable[global___Value]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"values",b"values"]) -> None: ...
type___ListValue = ListValue
def ClearField(self, field_name: typing_extensions.Literal[u"values",b"values"]) -> None: ...
global___ListValue = ListValue

View File

@@ -2,45 +2,25 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.well_known_types
import google.protobuf.message
import typing_extensions
from google.protobuf.internal.well_known_types import (
Timestamp as google___protobuf___internal___well_known_types___Timestamp,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Timestamp(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Timestamp):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
seconds: builtin___int = ...
nanos: builtin___int = ...
class Timestamp(google.protobuf.message.Message, google.protobuf.internal.well_known_types.Timestamp):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
SECONDS_FIELD_NUMBER: builtins.int
NANOS_FIELD_NUMBER: builtins.int
seconds: builtins.int = ...
nanos: builtins.int = ...
def __init__(self,
*,
seconds : typing___Optional[builtin___int] = ...,
nanos : typing___Optional[builtin___int] = ...,
seconds : builtins.int = ...,
nanos : builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
type___Timestamp = Timestamp
def ClearField(self, field_name: typing_extensions.Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
global___Timestamp = Timestamp

View File

@@ -2,236 +2,233 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.any_pb2 import (
Any as google___protobuf___any_pb2___Any,
)
import builtins
import google.protobuf.any_pb2
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import google.protobuf.source_context_pb2
import typing
import typing_extensions
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
class Syntax(metaclass=_Syntax):
V = typing.NewType('V', builtins.int)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
global___Syntax = Syntax
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
SYNTAX_PROTO2 = Syntax.V(0)
SYNTAX_PROTO3 = Syntax.V(1)
from google.protobuf.source_context_pb2 import (
SourceContext as google___protobuf___source_context_pb2___SourceContext,
)
class _Syntax(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Syntax.V], builtins.type): # type: ignore
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
SYNTAX_PROTO2 = Syntax.V(0)
SYNTAX_PROTO3 = Syntax.V(1)
from typing import (
Iterable as typing___Iterable,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
SyntaxValue = typing___NewType('SyntaxValue', builtin___int)
type___SyntaxValue = SyntaxValue
Syntax: _Syntax
class _Syntax(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[SyntaxValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
SYNTAX_PROTO2 = typing___cast(SyntaxValue, 0)
SYNTAX_PROTO3 = typing___cast(SyntaxValue, 1)
SYNTAX_PROTO2 = typing___cast(SyntaxValue, 0)
SYNTAX_PROTO3 = typing___cast(SyntaxValue, 1)
class Type(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
oneofs: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
syntax: type___SyntaxValue = ...
class Type(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
FIELDS_FIELD_NUMBER: builtins.int
ONEOFS_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
SOURCE_CONTEXT_FIELD_NUMBER: builtins.int
SYNTAX_FIELD_NUMBER: builtins.int
name: typing.Text = ...
@property
def fields(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Field]: ...
def oneofs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
syntax: global___Syntax.V = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
def fields(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Field]: ...
@property
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Option]: ...
@property
def source_context(self) -> google.protobuf.source_context_pb2.SourceContext: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
fields : typing___Optional[typing___Iterable[type___Field]] = ...,
oneofs : typing___Optional[typing___Iterable[typing___Text]] = ...,
options : typing___Optional[typing___Iterable[type___Option]] = ...,
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = ...,
syntax : typing___Optional[type___SyntaxValue] = ...,
name : typing.Text = ...,
fields : typing.Optional[typing.Iterable[global___Field]] = ...,
oneofs : typing.Optional[typing.Iterable[typing.Text]] = ...,
options : typing.Optional[typing.Iterable[global___Option]] = ...,
source_context : typing.Optional[google.protobuf.source_context_pb2.SourceContext] = ...,
syntax : global___Syntax.V = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"fields",b"fields",u"name",b"name",u"oneofs",b"oneofs",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
type___Type = Type
def HasField(self, field_name: typing_extensions.Literal[u"source_context",b"source_context"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"fields",b"fields",u"name",b"name",u"oneofs",b"oneofs",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
global___Type = Type
class Field(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
KindValue = typing___NewType('KindValue', builtin___int)
type___KindValue = KindValue
Kind: _Kind
class _Kind(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Field.KindValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
TYPE_UNKNOWN = typing___cast(Field.KindValue, 0)
TYPE_DOUBLE = typing___cast(Field.KindValue, 1)
TYPE_FLOAT = typing___cast(Field.KindValue, 2)
TYPE_INT64 = typing___cast(Field.KindValue, 3)
TYPE_UINT64 = typing___cast(Field.KindValue, 4)
TYPE_INT32 = typing___cast(Field.KindValue, 5)
TYPE_FIXED64 = typing___cast(Field.KindValue, 6)
TYPE_FIXED32 = typing___cast(Field.KindValue, 7)
TYPE_BOOL = typing___cast(Field.KindValue, 8)
TYPE_STRING = typing___cast(Field.KindValue, 9)
TYPE_GROUP = typing___cast(Field.KindValue, 10)
TYPE_MESSAGE = typing___cast(Field.KindValue, 11)
TYPE_BYTES = typing___cast(Field.KindValue, 12)
TYPE_UINT32 = typing___cast(Field.KindValue, 13)
TYPE_ENUM = typing___cast(Field.KindValue, 14)
TYPE_SFIXED32 = typing___cast(Field.KindValue, 15)
TYPE_SFIXED64 = typing___cast(Field.KindValue, 16)
TYPE_SINT32 = typing___cast(Field.KindValue, 17)
TYPE_SINT64 = typing___cast(Field.KindValue, 18)
TYPE_UNKNOWN = typing___cast(Field.KindValue, 0)
TYPE_DOUBLE = typing___cast(Field.KindValue, 1)
TYPE_FLOAT = typing___cast(Field.KindValue, 2)
TYPE_INT64 = typing___cast(Field.KindValue, 3)
TYPE_UINT64 = typing___cast(Field.KindValue, 4)
TYPE_INT32 = typing___cast(Field.KindValue, 5)
TYPE_FIXED64 = typing___cast(Field.KindValue, 6)
TYPE_FIXED32 = typing___cast(Field.KindValue, 7)
TYPE_BOOL = typing___cast(Field.KindValue, 8)
TYPE_STRING = typing___cast(Field.KindValue, 9)
TYPE_GROUP = typing___cast(Field.KindValue, 10)
TYPE_MESSAGE = typing___cast(Field.KindValue, 11)
TYPE_BYTES = typing___cast(Field.KindValue, 12)
TYPE_UINT32 = typing___cast(Field.KindValue, 13)
TYPE_ENUM = typing___cast(Field.KindValue, 14)
TYPE_SFIXED32 = typing___cast(Field.KindValue, 15)
TYPE_SFIXED64 = typing___cast(Field.KindValue, 16)
TYPE_SINT32 = typing___cast(Field.KindValue, 17)
TYPE_SINT64 = typing___cast(Field.KindValue, 18)
class Field(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
class Kind(metaclass=_Kind):
V = typing.NewType('V', builtins.int)
CardinalityValue = typing___NewType('CardinalityValue', builtin___int)
type___CardinalityValue = CardinalityValue
Cardinality: _Cardinality
class _Cardinality(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Field.CardinalityValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
CARDINALITY_UNKNOWN = typing___cast(Field.CardinalityValue, 0)
CARDINALITY_OPTIONAL = typing___cast(Field.CardinalityValue, 1)
CARDINALITY_REQUIRED = typing___cast(Field.CardinalityValue, 2)
CARDINALITY_REPEATED = typing___cast(Field.CardinalityValue, 3)
CARDINALITY_UNKNOWN = typing___cast(Field.CardinalityValue, 0)
CARDINALITY_OPTIONAL = typing___cast(Field.CardinalityValue, 1)
CARDINALITY_REQUIRED = typing___cast(Field.CardinalityValue, 2)
CARDINALITY_REPEATED = typing___cast(Field.CardinalityValue, 3)
TYPE_UNKNOWN = Field.Kind.V(0)
TYPE_DOUBLE = Field.Kind.V(1)
TYPE_FLOAT = Field.Kind.V(2)
TYPE_INT64 = Field.Kind.V(3)
TYPE_UINT64 = Field.Kind.V(4)
TYPE_INT32 = Field.Kind.V(5)
TYPE_FIXED64 = Field.Kind.V(6)
TYPE_FIXED32 = Field.Kind.V(7)
TYPE_BOOL = Field.Kind.V(8)
TYPE_STRING = Field.Kind.V(9)
TYPE_GROUP = Field.Kind.V(10)
TYPE_MESSAGE = Field.Kind.V(11)
TYPE_BYTES = Field.Kind.V(12)
TYPE_UINT32 = Field.Kind.V(13)
TYPE_ENUM = Field.Kind.V(14)
TYPE_SFIXED32 = Field.Kind.V(15)
TYPE_SFIXED64 = Field.Kind.V(16)
TYPE_SINT32 = Field.Kind.V(17)
TYPE_SINT64 = Field.Kind.V(18)
kind: type___Field.KindValue = ...
cardinality: type___Field.CardinalityValue = ...
number: builtin___int = ...
name: typing___Text = ...
type_url: typing___Text = ...
oneof_index: builtin___int = ...
packed: builtin___bool = ...
json_name: typing___Text = ...
default_value: typing___Text = ...
class _Kind(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Kind.V], builtins.type): # type: ignore
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
TYPE_UNKNOWN = Field.Kind.V(0)
TYPE_DOUBLE = Field.Kind.V(1)
TYPE_FLOAT = Field.Kind.V(2)
TYPE_INT64 = Field.Kind.V(3)
TYPE_UINT64 = Field.Kind.V(4)
TYPE_INT32 = Field.Kind.V(5)
TYPE_FIXED64 = Field.Kind.V(6)
TYPE_FIXED32 = Field.Kind.V(7)
TYPE_BOOL = Field.Kind.V(8)
TYPE_STRING = Field.Kind.V(9)
TYPE_GROUP = Field.Kind.V(10)
TYPE_MESSAGE = Field.Kind.V(11)
TYPE_BYTES = Field.Kind.V(12)
TYPE_UINT32 = Field.Kind.V(13)
TYPE_ENUM = Field.Kind.V(14)
TYPE_SFIXED32 = Field.Kind.V(15)
TYPE_SFIXED64 = Field.Kind.V(16)
TYPE_SINT32 = Field.Kind.V(17)
TYPE_SINT64 = Field.Kind.V(18)
class Cardinality(metaclass=_Cardinality):
V = typing.NewType('V', builtins.int)
CARDINALITY_UNKNOWN = Field.Cardinality.V(0)
CARDINALITY_OPTIONAL = Field.Cardinality.V(1)
CARDINALITY_REQUIRED = Field.Cardinality.V(2)
CARDINALITY_REPEATED = Field.Cardinality.V(3)
class _Cardinality(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Cardinality.V], builtins.type): # type: ignore
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
CARDINALITY_UNKNOWN = Field.Cardinality.V(0)
CARDINALITY_OPTIONAL = Field.Cardinality.V(1)
CARDINALITY_REQUIRED = Field.Cardinality.V(2)
CARDINALITY_REPEATED = Field.Cardinality.V(3)
KIND_FIELD_NUMBER: builtins.int
CARDINALITY_FIELD_NUMBER: builtins.int
NUMBER_FIELD_NUMBER: builtins.int
NAME_FIELD_NUMBER: builtins.int
TYPE_URL_FIELD_NUMBER: builtins.int
ONEOF_INDEX_FIELD_NUMBER: builtins.int
PACKED_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
JSON_NAME_FIELD_NUMBER: builtins.int
DEFAULT_VALUE_FIELD_NUMBER: builtins.int
kind: global___Field.Kind.V = ...
cardinality: global___Field.Cardinality.V = ...
number: builtins.int = ...
name: typing.Text = ...
type_url: typing.Text = ...
oneof_index: builtins.int = ...
packed: builtins.bool = ...
json_name: typing.Text = ...
default_value: typing.Text = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Option]: ...
def __init__(self,
*,
kind : typing___Optional[type___Field.KindValue] = ...,
cardinality : typing___Optional[type___Field.CardinalityValue] = ...,
number : typing___Optional[builtin___int] = ...,
name : typing___Optional[typing___Text] = ...,
type_url : typing___Optional[typing___Text] = ...,
oneof_index : typing___Optional[builtin___int] = ...,
packed : typing___Optional[builtin___bool] = ...,
options : typing___Optional[typing___Iterable[type___Option]] = ...,
json_name : typing___Optional[typing___Text] = ...,
default_value : typing___Optional[typing___Text] = ...,
kind : global___Field.Kind.V = ...,
cardinality : global___Field.Cardinality.V = ...,
number : builtins.int = ...,
name : typing.Text = ...,
type_url : typing.Text = ...,
oneof_index : builtins.int = ...,
packed : builtins.bool = ...,
options : typing.Optional[typing.Iterable[global___Option]] = ...,
json_name : typing.Text = ...,
default_value : typing.Text = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"cardinality",b"cardinality",u"default_value",b"default_value",u"json_name",b"json_name",u"kind",b"kind",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"packed",b"packed",u"type_url",b"type_url"]) -> None: ...
type___Field = Field
def ClearField(self, field_name: typing_extensions.Literal[u"cardinality",b"cardinality",u"default_value",b"default_value",u"json_name",b"json_name",u"kind",b"kind",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"packed",b"packed",u"type_url",b"type_url"]) -> None: ...
global___Field = Field
class Enum(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
syntax: type___SyntaxValue = ...
class Enum(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
ENUMVALUE_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
SOURCE_CONTEXT_FIELD_NUMBER: builtins.int
SYNTAX_FIELD_NUMBER: builtins.int
name: typing.Text = ...
syntax: global___Syntax.V = ...
@property
def enumvalue(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumValue]: ...
def enumvalue(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EnumValue]: ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Option]: ...
@property
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
def source_context(self) -> google.protobuf.source_context_pb2.SourceContext: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
enumvalue : typing___Optional[typing___Iterable[type___EnumValue]] = ...,
options : typing___Optional[typing___Iterable[type___Option]] = ...,
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = ...,
syntax : typing___Optional[type___SyntaxValue] = ...,
name : typing.Text = ...,
enumvalue : typing.Optional[typing.Iterable[global___EnumValue]] = ...,
options : typing.Optional[typing.Iterable[global___Option]] = ...,
source_context : typing.Optional[google.protobuf.source_context_pb2.SourceContext] = ...,
syntax : global___Syntax.V = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"enumvalue",b"enumvalue",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
type___Enum = Enum
def HasField(self, field_name: typing_extensions.Literal[u"source_context",b"source_context"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"enumvalue",b"enumvalue",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
global___Enum = Enum
class EnumValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
number: builtin___int = ...
class EnumValue(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
NUMBER_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
name: typing.Text = ...
number: builtins.int = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Option]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
number : typing___Optional[builtin___int] = ...,
options : typing___Optional[typing___Iterable[type___Option]] = ...,
name : typing.Text = ...,
number : builtins.int = ...,
options : typing.Optional[typing.Iterable[global___Option]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> None: ...
type___EnumValue = EnumValue
def ClearField(self, field_name: typing_extensions.Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> None: ...
global___EnumValue = EnumValue
class Option(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
class Option(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
NAME_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
name: typing.Text = ...
@property
def value(self) -> google___protobuf___any_pb2___Any: ...
def value(self) -> google.protobuf.any_pb2.Any: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = ...,
value : typing___Optional[google___protobuf___any_pb2___Any] = ...,
name : typing.Text = ...,
value : typing.Optional[google.protobuf.any_pb2.Any] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"value",b"value"]) -> None: ...
type___Option = Option
def HasField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"name",b"name",u"value",b"value"]) -> None: ...
global___Option = Option

View File

@@ -2,128 +2,118 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
import builtins
import google.protobuf.descriptor
import google.protobuf.message
import typing
import typing_extensions
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
from typing import (
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class DoubleValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___float = ...
class DoubleValue(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.float = ...
def __init__(self,
*,
value : typing___Optional[builtin___float] = ...,
value : builtins.float = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___DoubleValue = DoubleValue
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___DoubleValue = DoubleValue
class FloatValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___float = ...
class FloatValue(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.float = ...
def __init__(self,
*,
value : typing___Optional[builtin___float] = ...,
value : builtins.float = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___FloatValue = FloatValue
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___FloatValue = FloatValue
class Int64Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
class Int64Value(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = ...,
value : builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___Int64Value = Int64Value
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___Int64Value = Int64Value
class UInt64Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
class UInt64Value(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = ...,
value : builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___UInt64Value = UInt64Value
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___UInt64Value = UInt64Value
class Int32Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
class Int32Value(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = ...,
value : builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___Int32Value = Int32Value
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___Int32Value = Int32Value
class UInt32Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
class UInt32Value(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = ...,
value : builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___UInt32Value = UInt32Value
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___UInt32Value = UInt32Value
class BoolValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___bool = ...
class BoolValue(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.bool = ...
def __init__(self,
*,
value : typing___Optional[builtin___bool] = ...,
value : builtins.bool = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___BoolValue = BoolValue
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___BoolValue = BoolValue
class StringValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: typing___Text = ...
class StringValue(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: typing.Text = ...
def __init__(self,
*,
value : typing___Optional[typing___Text] = ...,
value : typing.Text = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___StringValue = StringValue
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___StringValue = StringValue
class BytesValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___bytes = ...
class BytesValue(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
VALUE_FIELD_NUMBER: builtins.int
value: builtins.bytes = ...
def __init__(self,
*,
value : typing___Optional[builtin___bytes] = ...,
value : builtins.bytes = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___BytesValue = BytesValue
def ClearField(self, field_name: typing_extensions.Literal[u"value",b"value"]) -> None: ...
global___BytesValue = BytesValue