-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
2,958 additions
and
2,764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# @generated by generate_proto_mypy_stubs.py. Do not edit! | ||
import sys | ||
|
||
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 | ||
|
||
from google.protobuf.message import ( | ||
Message as google___protobuf___message___Message, | ||
) | ||
|
||
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... | ||
|
||
http = ... # type: google___protobuf___descriptor___FieldDescriptor | ||
http: google___protobuf___descriptor___FieldDescriptor = ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,137 +1,164 @@ | ||
# @generated by generate_proto_mypy_stubs.py. Do not edit! | ||
import sys | ||
from google.protobuf.descriptor import ( | ||
Descriptor as google___protobuf___descriptor___Descriptor, | ||
) | ||
|
||
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 import ( | ||
Iterable as typing___Iterable, | ||
Optional as typing___Optional, | ||
Text as typing___Text, | ||
) | ||
|
||
from typing_extensions import ( | ||
Literal as typing_extensions___Literal, | ||
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 | ||
|
||
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 = ... | ||
|
||
@property | ||
def rules(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[AuthenticationRule]: ... | ||
|
||
def rules( | ||
self, | ||
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[ | ||
type___AuthenticationRule | ||
]: ... | ||
@property | ||
def providers(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[AuthProvider]: ... | ||
|
||
def __init__(self, | ||
def providers( | ||
self, | ||
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[ | ||
type___AuthProvider | ||
]: ... | ||
def __init__( | ||
self, | ||
*, | ||
rules : typing___Optional[typing___Iterable[AuthenticationRule]] = None, | ||
providers : typing___Optional[typing___Iterable[AuthProvider]] = None, | ||
) -> None: ... | ||
@classmethod | ||
def FromString(cls, s: bytes) -> Authentication: ... | ||
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
if sys.version_info >= (3,): | ||
def ClearField(self, field_name: typing_extensions___Literal[u"providers",u"rules"]) -> None: ... | ||
else: | ||
def ClearField(self, field_name: typing_extensions___Literal[u"providers",b"providers",u"rules",b"rules"]) -> None: ... | ||
rules: typing___Optional[typing___Iterable[type___AuthenticationRule]] = None, | ||
providers: typing___Optional[typing___Iterable[type___AuthProvider]] = None, | ||
) -> None: ... | ||
def ClearField( | ||
self, | ||
field_name: typing_extensions___Literal[ | ||
"providers", b"providers", "rules", b"rules" | ||
], | ||
) -> None: ... | ||
|
||
type___Authentication = Authentication | ||
|
||
class AuthenticationRule(google___protobuf___message___Message): | ||
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | ||
selector = ... # type: typing___Text | ||
allow_without_credential = ... # type: bool | ||
|
||
selector: typing___Text = ... | ||
allow_without_credential: builtin___bool = ... | ||
@property | ||
def oauth(self) -> OAuthRequirements: ... | ||
|
||
def oauth(self) -> type___OAuthRequirements: ... | ||
@property | ||
def requirements(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[AuthRequirement]: ... | ||
|
||
def __init__(self, | ||
def requirements( | ||
self, | ||
) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[ | ||
type___AuthRequirement | ||
]: ... | ||
def __init__( | ||
self, | ||
*, | ||
selector : typing___Optional[typing___Text] = None, | ||
oauth : typing___Optional[OAuthRequirements] = None, | ||
allow_without_credential : typing___Optional[bool] = None, | ||
requirements : typing___Optional[typing___Iterable[AuthRequirement]] = None, | ||
) -> None: ... | ||
@classmethod | ||
def FromString(cls, s: bytes) -> AuthenticationRule: ... | ||
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
if sys.version_info >= (3,): | ||
def HasField(self, field_name: typing_extensions___Literal[u"oauth"]) -> bool: ... | ||
def ClearField(self, field_name: typing_extensions___Literal[u"allow_without_credential",u"oauth",u"requirements",u"selector"]) -> None: ... | ||
else: | ||
def HasField(self, field_name: typing_extensions___Literal[u"oauth",b"oauth"]) -> bool: ... | ||
def ClearField(self, field_name: typing_extensions___Literal[u"allow_without_credential",b"allow_without_credential",u"oauth",b"oauth",u"requirements",b"requirements",u"selector",b"selector"]) -> None: ... | ||
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, | ||
) -> None: ... | ||
def HasField( | ||
self, field_name: typing_extensions___Literal["oauth", b"oauth"] | ||
) -> builtin___bool: ... | ||
def ClearField( | ||
self, | ||
field_name: typing_extensions___Literal[ | ||
"allow_without_credential", | ||
b"allow_without_credential", | ||
"oauth", | ||
b"oauth", | ||
"requirements", | ||
b"requirements", | ||
"selector", | ||
b"selector", | ||
], | ||
) -> None: ... | ||
|
||
type___AuthenticationRule = AuthenticationRule | ||
|
||
class AuthProvider(google___protobuf___message___Message): | ||
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | ||
id = ... # type: typing___Text | ||
issuer = ... # type: typing___Text | ||
jwks_uri = ... # type: typing___Text | ||
audiences = ... # type: typing___Text | ||
authorization_url = ... # type: typing___Text | ||
|
||
def __init__(self, | ||
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, | ||
) -> None: ... | ||
@classmethod | ||
def FromString(cls, s: bytes) -> AuthProvider: ... | ||
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
if sys.version_info >= (3,): | ||
def ClearField(self, field_name: typing_extensions___Literal[u"audiences",u"authorization_url",u"id",u"issuer",u"jwks_uri"]) -> None: ... | ||
else: | ||
def ClearField(self, field_name: typing_extensions___Literal[u"audiences",b"audiences",u"authorization_url",b"authorization_url",u"id",b"id",u"issuer",b"issuer",u"jwks_uri",b"jwks_uri"]) -> None: ... | ||
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, | ||
) -> None: ... | ||
def ClearField( | ||
self, | ||
field_name: typing_extensions___Literal[ | ||
"audiences", | ||
b"audiences", | ||
"authorization_url", | ||
b"authorization_url", | ||
"id", | ||
b"id", | ||
"issuer", | ||
b"issuer", | ||
"jwks_uri", | ||
b"jwks_uri", | ||
], | ||
) -> None: ... | ||
|
||
type___AuthProvider = AuthProvider | ||
|
||
class OAuthRequirements(google___protobuf___message___Message): | ||
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | ||
canonical_scopes = ... # type: typing___Text | ||
|
||
def __init__(self, | ||
canonical_scopes: typing___Text = ... | ||
def __init__( | ||
self, | ||
*, | ||
canonical_scopes : typing___Optional[typing___Text] = None, | ||
) -> None: ... | ||
@classmethod | ||
def FromString(cls, s: bytes) -> OAuthRequirements: ... | ||
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
if sys.version_info >= (3,): | ||
def ClearField(self, field_name: typing_extensions___Literal[u"canonical_scopes"]) -> None: ... | ||
else: | ||
def ClearField(self, field_name: typing_extensions___Literal[u"canonical_scopes",b"canonical_scopes"]) -> None: ... | ||
canonical_scopes: typing___Optional[typing___Text] = None, | ||
) -> None: ... | ||
def ClearField( | ||
self, | ||
field_name: typing_extensions___Literal[ | ||
"canonical_scopes", b"canonical_scopes" | ||
], | ||
) -> None: ... | ||
|
||
type___OAuthRequirements = OAuthRequirements | ||
|
||
class AuthRequirement(google___protobuf___message___Message): | ||
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | ||
provider_id = ... # type: typing___Text | ||
audiences = ... # type: typing___Text | ||
|
||
def __init__(self, | ||
provider_id: typing___Text = ... | ||
audiences: typing___Text = ... | ||
def __init__( | ||
self, | ||
*, | ||
provider_id : typing___Optional[typing___Text] = None, | ||
audiences : typing___Optional[typing___Text] = None, | ||
) -> None: ... | ||
@classmethod | ||
def FromString(cls, s: bytes) -> AuthRequirement: ... | ||
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | ||
if sys.version_info >= (3,): | ||
def ClearField(self, field_name: typing_extensions___Literal[u"audiences",u"provider_id"]) -> None: ... | ||
else: | ||
def ClearField(self, field_name: typing_extensions___Literal[u"audiences",b"audiences",u"provider_id",b"provider_id"]) -> None: ... | ||
provider_id: typing___Optional[typing___Text] = None, | ||
audiences: typing___Optional[typing___Text] = None, | ||
) -> None: ... | ||
def ClearField( | ||
self, | ||
field_name: typing_extensions___Literal[ | ||
"audiences", b"audiences", "provider_id", b"provider_id" | ||
], | ||
) -> None: ... | ||
|
||
type___AuthRequirement = AuthRequirement |
Oops, something went wrong.