42 lines
2.4 KiB
Python
42 lines
2.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: dev.proto
|
|
# Protobuf Python Version: 6.31.0
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import runtime_version as _runtime_version
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf.internal import builder as _builder
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
_runtime_version.Domain.PUBLIC,
|
|
6,
|
|
31,
|
|
0,
|
|
'',
|
|
'dev.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tdev.proto\x12\x03\x64\x65v\"f\n\x14\x41PIValidationRequest\x12\x0f\n\x07Service\x18\x01 \x01(\t\x12\x12\n\nPermission\x18\x02 \x01(\t\x12\x0b\n\x03Key\x18\x03 \x01(\t\x12\n\n\x02IP\x18\x04 \x01(\t\x12\x10\n\x08Resource\x18\x05 \x01(\t\"\x9b\x02\n\x15\x41PIValidationResponse\x12\r\n\x05Valid\x18\x01 \x01(\x08\x12\x14\n\x0c\x45rrorMessage\x18\x02 \x01(\t\x12\x12\n\nStatusCode\x18\x03 \x01(\x05\x12\x16\n\x0eRemainingBurst\x18\x04 \x01(\x04\x12\x16\n\x0eRemainingDaily\x18\x05 \x01(\x04\x12\x18\n\x10RemainingMonthly\x18\x06 \x01(\x04\x12\x12\n\nBurstLimit\x18\x07 \x01(\x04\x12\x1c\n\x14\x42urstDurationSeconds\x18\x08 \x01(\x04\x12\x12\n\nDailyLimit\x18\t \x01(\x04\x12\x14\n\x0cMonthlyLimit\x18\n \x01(\x04\x12\x0e\n\x06UserID\x18\x0b \x01(\x04\x12\x13\n\x0b\x41pplication\x18\x0c \x01(\t2O\n\nDevService\x12\x41\n\x08Validate\x12\x19.dev.APIValidationRequest\x1a\x1a.dev.APIValidationResponseB&Z$git.itzana.me/strafesnet/go-grpc/devb\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dev_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/dev'
|
|
_globals['_APIVALIDATIONREQUEST']._serialized_start=18
|
|
_globals['_APIVALIDATIONREQUEST']._serialized_end=120
|
|
_globals['_APIVALIDATIONRESPONSE']._serialized_start=123
|
|
_globals['_APIVALIDATIONRESPONSE']._serialized_end=406
|
|
_globals['_DEVSERVICE']._serialized_start=408
|
|
_globals['_DEVSERVICE']._serialized_end=487
|
|
# @@protoc_insertion_point(module_scope)
|