# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: truffle/os/client_session.proto
# Protobuf Python Version: 6.31.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 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,
    1,
    '',
    'truffle/os/client_session.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from truffle.os import client_metadata_pb2 as truffle_dot_os_dot_client__metadata__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftruffle/os/client_session.proto\x12\ntruffle.os\x1a truffle/os/client_metadata.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\"\n\x11UserRecoveryCodes\x12\r\n\x05\x63odes\x18\x01 \x03(\t\"\x88\x01\n\x19RegisterNewSessionRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12,\n\x08metadata\x18\x02 \x01(\x0b\x32\x1a.truffle.os.ClientMetadata\x12\x1a\n\rrecovery_code\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_recovery_code\"\x99\x01\n\x1aRegisterNewSessionResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x31\n\x08verifier\x18\x02 \x01(\x0b\x32\x1a.truffle.os.ClientMetadataH\x00\x88\x01\x01\x12,\n\x06status\x18\x03 \x01(\x0b\x32\x1c.truffle.os.NewSessionStatusB\x0b\n\t_verifier\"\x9b\x01\n\x16NewSessionVerification\x12\x1a\n\x12verification_token\x18\x01 \x01(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11requesting_client\x18\x03 \x01(\x0b\x32\x1a.truffle.os.ClientMetadata\"D\n\x17VerifyNewSessionRequest\x12\x1a\n\x12verification_token\x18\x01 \x01(\t\x12\r\n\x05\x61llow\x18\x02 \x01(\x08\"\xfc\x01\n\x10NewSessionStatus\x12@\n\x05\x65rror\x18\x01 \x01(\x0e\x32,.truffle.os.NewSessionStatus.NewSessionErrorH\x00\x88\x01\x01\"\x9b\x01\n\x0fNewSessionError\x12\x17\n\x13NEW_SESSION_SUCCESS\x10\x00\x12\x17\n\x13NEW_SESSION_TIMEOUT\x10\x01\x12\x18\n\x14NEW_SESSION_REJECTED\x10\x02\x12\x1f\n\x1bNEW_SESSION_TOKEN_NOT_FOUND\x10\x03\x12\x1b\n\x17NEW_SESSION_NO_REQUESTS\x10\x04\x42\x08\n\x06_errorb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'truffle.os.client_session_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_USERRECOVERYCODES']._serialized_start=114
  _globals['_USERRECOVERYCODES']._serialized_end=148
  _globals['_REGISTERNEWSESSIONREQUEST']._serialized_start=151
  _globals['_REGISTERNEWSESSIONREQUEST']._serialized_end=287
  _globals['_REGISTERNEWSESSIONRESPONSE']._serialized_start=290
  _globals['_REGISTERNEWSESSIONRESPONSE']._serialized_end=443
  _globals['_NEWSESSIONVERIFICATION']._serialized_start=446
  _globals['_NEWSESSIONVERIFICATION']._serialized_end=601
  _globals['_VERIFYNEWSESSIONREQUEST']._serialized_start=603
  _globals['_VERIFYNEWSESSIONREQUEST']._serialized_end=671
  _globals['_NEWSESSIONSTATUS']._serialized_start=674
  _globals['_NEWSESSIONSTATUS']._serialized_end=926
  _globals['_NEWSESSIONSTATUS_NEWSESSIONERROR']._serialized_start=761
  _globals['_NEWSESSIONSTATUS_NEWSESSIONERROR']._serialized_end=916
# @@protoc_insertion_point(module_scope)
