python-grpc/strafesnet/auth_pb2.py

36 lines
2.1 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: auth.proto
# Protobuf Python Version: 5.26.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nauth.proto\x12\x04\x61uth\"\x1e\n\tIdMessage\x12\x11\n\tSessionID\x18\x01 \x01(\t\"h\n\x0fSessionResponse\x12\x11\n\tSessionID\x18\x01 \x01(\t\x12\x0e\n\x06UserID\x18\x02 \x01(\x04\x12\x10\n\x08Username\x18\x03 \x01(\t\x12\x0f\n\x07\x43reated\x18\x04 \x01(\x04\x12\x0f\n\x07\x45xpires\x18\x05 \x01(\x04\"\x1b\n\x0bRoleReponse\x12\x0c\n\x04Role\x18\x01 \x01(\r\"!\n\x10ValidateResponse\x12\r\n\x05Valid\x18\x01 \x01(\x08\x32\xb3\x01\n\x0b\x41uthService\x12\x34\n\nGetSession\x12\x0f.auth.IdMessage\x1a\x15.auth.SessionResponse\x12\x32\n\x0cGetGroupRole\x12\x0f.auth.IdMessage\x1a\x11.auth.RoleReponse\x12:\n\x0fValidateSession\x12\x0f.auth.IdMessage\x1a\x16.auth.ValidateResponseB\'Z%git.itzana.me/strafesnet/go-grpc/authb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'auth_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'Z%git.itzana.me/strafesnet/go-grpc/auth'
_globals['_IDMESSAGE']._serialized_start=20
_globals['_IDMESSAGE']._serialized_end=50
_globals['_SESSIONRESPONSE']._serialized_start=52
_globals['_SESSIONRESPONSE']._serialized_end=156
_globals['_ROLEREPONSE']._serialized_start=158
_globals['_ROLEREPONSE']._serialized_end=185
_globals['_VALIDATERESPONSE']._serialized_start=187
_globals['_VALIDATERESPONSE']._serialized_end=220
_globals['_AUTHSERVICE']._serialized_start=223
_globals['_AUTHSERVICE']._serialized_end=402
# @@protoc_insertion_point(module_scope)