esp-idf/components/protocomm/python/constants_pb2.py

90 wiersze
2.5 KiB
Python

# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: constants.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pb2
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import enum_type_wrapper
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='constants.proto',
package='',
syntax='proto3',
serialized_pb=_b('\n\x0f\x63onstants.proto*\x9f\x01\n\x06Status\x12\x0b\n\x07Success\x10\x00\x12\x14\n\x10InvalidSecScheme\x10\x01\x12\x10\n\x0cInvalidProto\x10\x02\x12\x13\n\x0fTooManySessions\x10\x03\x12\x13\n\x0fInvalidArgument\x10\x04\x12\x11\n\rInternalError\x10\x05\x12\x0f\n\x0b\x43ryptoError\x10\x06\x12\x12\n\x0eInvalidSession\x10\x07\x62\x06proto3')
)
_STATUS = _descriptor.EnumDescriptor(
name='Status',
full_name='Status',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='Success', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='InvalidSecScheme', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='InvalidProto', index=2, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='TooManySessions', index=3, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='InvalidArgument', index=4, number=4,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='InternalError', index=5, number=5,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='CryptoError', index=6, number=6,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='InvalidSession', index=7, number=7,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=20,
serialized_end=179,
)
_sym_db.RegisterEnumDescriptor(_STATUS)
Status = enum_type_wrapper.EnumTypeWrapper(_STATUS)
Success = 0
InvalidSecScheme = 1
InvalidProto = 2
TooManySessions = 3
InvalidArgument = 4
InternalError = 5
CryptoError = 6
InvalidSession = 7
DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
# @@protoc_insertion_point(module_scope)