Skip to content

Commit

Permalink
Regenerate stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
henribru committed Feb 28, 2021
1 parent b109b20 commit 2c122e9
Show file tree
Hide file tree
Showing 57 changed files with 2,745 additions and 2,728 deletions.
2 changes: 2 additions & 0 deletions google-stubs/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from typing import Any

__path__: Any
17 changes: 7 additions & 10 deletions google-stubs/api/annotations_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import google.protobuf.descriptor

from google.protobuf.descriptor import (
FieldDescriptor as google___protobuf___descriptor___FieldDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import Message as google___protobuf___message___Message
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...

http: google___protobuf___descriptor___FieldDescriptor = ...
http: google.protobuf.descriptor.FieldDescriptor = ...
158 changes: 78 additions & 80 deletions google-stubs/api/auth_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,85 +1,77 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import typing_extensions

from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int

DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...

class Authentication(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class Authentication(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
RULES_FIELD_NUMBER: builtins.int
PROVIDERS_FIELD_NUMBER: builtins.int
@property
def rules(
self,
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[
type___AuthenticationRule
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
global___AuthenticationRule
]: ...
@property
def providers(
self,
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[
type___AuthProvider
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
global___AuthProvider
]: ...
def __init__(
self,
*,
rules: typing___Optional[typing___Iterable[type___AuthenticationRule]] = None,
providers: typing___Optional[typing___Iterable[type___AuthProvider]] = None,
rules: typing.Optional[typing.Iterable[global___AuthenticationRule]] = ...,
providers: typing.Optional[typing.Iterable[global___AuthProvider]] = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions___Literal[
field_name: typing_extensions.Literal[
"providers", b"providers", "rules", b"rules"
],
) -> None: ...

type___Authentication = Authentication
global___Authentication = Authentication

class AuthenticationRule(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
selector: typing___Text = ...
allow_without_credential: builtin___bool = ...
class AuthenticationRule(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
SELECTOR_FIELD_NUMBER: builtins.int
OAUTH_FIELD_NUMBER: builtins.int
ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER: builtins.int
REQUIREMENTS_FIELD_NUMBER: builtins.int
selector: typing.Text = ...
allow_without_credential: builtins.bool = ...
@property
def oauth(self) -> type___OAuthRequirements: ...
def oauth(self) -> global___OAuthRequirements: ...
@property
def requirements(
self,
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[
type___AuthRequirement
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
global___AuthRequirement
]: ...
def __init__(
self,
*,
selector: typing___Optional[typing___Text] = None,
oauth: typing___Optional[type___OAuthRequirements] = None,
allow_without_credential: typing___Optional[builtin___bool] = None,
requirements: typing___Optional[
typing___Iterable[type___AuthRequirement]
] = None,
selector: typing.Text = ...,
oauth: typing.Optional[global___OAuthRequirements] = ...,
allow_without_credential: builtins.bool = ...,
requirements: typing.Optional[typing.Iterable[global___AuthRequirement]] = ...,
) -> None: ...
def HasField(
self, field_name: typing_extensions___Literal["oauth", b"oauth"]
) -> builtin___bool: ...
self, field_name: typing_extensions.Literal["oauth", b"oauth"]
) -> builtins.bool: ...
def ClearField(
self,
field_name: typing_extensions___Literal[
field_name: typing_extensions.Literal[
"allow_without_credential",
b"allow_without_credential",
"oauth",
Expand All @@ -91,27 +83,32 @@ class AuthenticationRule(google___protobuf___message___Message):
],
) -> None: ...

type___AuthenticationRule = AuthenticationRule
global___AuthenticationRule = AuthenticationRule

class AuthProvider(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
id: typing___Text = ...
issuer: typing___Text = ...
jwks_uri: typing___Text = ...
audiences: typing___Text = ...
authorization_url: typing___Text = ...
class AuthProvider(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
ID_FIELD_NUMBER: builtins.int
ISSUER_FIELD_NUMBER: builtins.int
JWKS_URI_FIELD_NUMBER: builtins.int
AUDIENCES_FIELD_NUMBER: builtins.int
AUTHORIZATION_URL_FIELD_NUMBER: builtins.int
id: typing.Text = ...
issuer: typing.Text = ...
jwks_uri: typing.Text = ...
audiences: typing.Text = ...
authorization_url: typing.Text = ...
def __init__(
self,
*,
id: typing___Optional[typing___Text] = None,
issuer: typing___Optional[typing___Text] = None,
jwks_uri: typing___Optional[typing___Text] = None,
audiences: typing___Optional[typing___Text] = None,
authorization_url: typing___Optional[typing___Text] = None,
id: typing.Text = ...,
issuer: typing.Text = ...,
jwks_uri: typing.Text = ...,
audiences: typing.Text = ...,
authorization_url: typing.Text = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions___Literal[
field_name: typing_extensions.Literal[
"audiences",
b"audiences",
"authorization_url",
Expand All @@ -125,40 +122,41 @@ class AuthProvider(google___protobuf___message___Message):
],
) -> None: ...

type___AuthProvider = AuthProvider
global___AuthProvider = AuthProvider

class OAuthRequirements(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
canonical_scopes: typing___Text = ...
class OAuthRequirements(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
CANONICAL_SCOPES_FIELD_NUMBER: builtins.int
canonical_scopes: typing.Text = ...
def __init__(
self,
*,
canonical_scopes: typing___Optional[typing___Text] = None,
canonical_scopes: typing.Text = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions___Literal[
"canonical_scopes", b"canonical_scopes"
],
field_name: typing_extensions.Literal["canonical_scopes", b"canonical_scopes"],
) -> None: ...

type___OAuthRequirements = OAuthRequirements
global___OAuthRequirements = OAuthRequirements

class AuthRequirement(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
provider_id: typing___Text = ...
audiences: typing___Text = ...
class AuthRequirement(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
PROVIDER_ID_FIELD_NUMBER: builtins.int
AUDIENCES_FIELD_NUMBER: builtins.int
provider_id: typing.Text = ...
audiences: typing.Text = ...
def __init__(
self,
*,
provider_id: typing___Optional[typing___Text] = None,
audiences: typing___Optional[typing___Text] = None,
provider_id: typing.Text = ...,
audiences: typing.Text = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions___Literal[
field_name: typing_extensions.Literal[
"audiences", b"audiences", "provider_id", b"provider_id"
],
) -> None: ...

type___AuthRequirement = AuthRequirement
global___AuthRequirement = AuthRequirement
77 changes: 35 additions & 42 deletions google-stubs/api/backend_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,64 +1,57 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import typing_extensions

from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int

DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...

class Backend(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class Backend(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
RULES_FIELD_NUMBER: builtins.int
@property
def rules(
self,
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[
type___BackendRule
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
global___BackendRule
]: ...
def __init__(
self,
*,
rules: typing___Optional[typing___Iterable[type___BackendRule]] = None,
rules: typing.Optional[typing.Iterable[global___BackendRule]] = ...,
) -> None: ...
def ClearField(
self, field_name: typing_extensions___Literal["rules", b"rules"]
self, field_name: typing_extensions.Literal["rules", b"rules"]
) -> None: ...

type___Backend = Backend
global___Backend = Backend

class BackendRule(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
selector: typing___Text = ...
address: typing___Text = ...
deadline: builtin___float = ...
min_deadline: builtin___float = ...
class BackendRule(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
SELECTOR_FIELD_NUMBER: builtins.int
ADDRESS_FIELD_NUMBER: builtins.int
DEADLINE_FIELD_NUMBER: builtins.int
MIN_DEADLINE_FIELD_NUMBER: builtins.int
selector: typing.Text = ...
address: typing.Text = ...
deadline: builtins.float = ...
min_deadline: builtins.float = ...
def __init__(
self,
*,
selector: typing___Optional[typing___Text] = None,
address: typing___Optional[typing___Text] = None,
deadline: typing___Optional[builtin___float] = None,
min_deadline: typing___Optional[builtin___float] = None,
selector: typing.Text = ...,
address: typing.Text = ...,
deadline: builtins.float = ...,
min_deadline: builtins.float = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions___Literal[
field_name: typing_extensions.Literal[
"address",
b"address",
"deadline",
Expand All @@ -70,4 +63,4 @@ class BackendRule(google___protobuf___message___Message):
],
) -> None: ...

type___BackendRule = BackendRule
global___BackendRule = BackendRule
Loading

0 comments on commit 2c122e9

Please sign in to comment.