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

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from .. import common_types_pb2 as common__types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1arpc_messages/session.proto\x12\x08terminal\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x12\x63ommon_types.proto\"^\n\x14\x43reateSessionRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x17.terminal.SessionConfig\"K\n\x15\x43reateSessionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"H\n\x13\x43loseSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"6\n\x14\x43loseSessionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"-\n\x17GetSessionStatusRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\xec\x01\n\x18GetSessionStatusResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\x12\'\n\x06status\x18\x02 \x01(\x0e\x32\x17.terminal.SessionStatus\x12\x16\n\x0e\x61gent_hostname\x18\x03 \x01(\t\x12\x30\n\x0c\x63onnected_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_heartbeat_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x63ommands_count\x18\x06 \x01(\x05\"d\n\x13ListSessionsRequest\x12\x17\n\x0fhostname_filter\x18\x01 \x01(\t\x12\x15\n\rstatus_filter\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"\x96\x02\n\x0fSessionInfoItem\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x18\n\x10machine_hostname\x18\x02 \x01(\t\x12\x14\n\x0cmachine_name\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\n\n\x02os\x18\x05 \x01(\t\x12\x15\n\ragent_version\x18\x06 \x01(\t\x12\x1d\n\x15heartbeat_age_seconds\x18\x07 \x01(\x03\x12\x11\n\thas_shell\x18\x08 \x01(\x08\x12\r\n\x05shell\x18\t \x01(\t\x12\x19\n\x11working_directory\x18\n \x01(\t\x12\x30\n\x0c\x63onnected_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"y\n\x14ListSessionsResponse\x12+\n\x08sessions\x18\x01 \x03(\x0b\x32\x19.terminal.SessionInfoItem\x12\r\n\x05total\x18\x02 \x01(\x05\x12\x16\n\x0eworkspace_name\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\"F\n\x1bGetSessionByHostnameRequest\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x15\n\rpartial_match\x18\x02 \x01(\x08\"\xeb\x02\n\x1cGetSessionByHostnameResponse\x12\r\n\x05\x66ound\x18\x01 \x01(\x08\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x18\n\x10machine_hostname\x18\x03 \x01(\t\x12\x14\n\x0cmachine_name\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\r\n\x05\x65rror\x18\x06 \x01(\t\x12\x30\n\x0c\x63onnected_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15heartbeat_age_seconds\x18\x08 \x01(\x05\x12\x11\n\thas_shell\x18\t \x01(\x08\x12\r\n\x05shell\x18\n \x01(\t\x12\x19\n\x11working_directory\x18\x0b \x01(\t\x12\x11\n\tambiguous\x18\x0c \x01(\x08\x12\x15\n\rmatches_count\x18\r \x01(\x05\x12\n\n\x02os\x18\x0e \x01(\t\x12\x15\n\ragent_version\x18\x0f \x01(\tB\x10Z\x0eterminal/protob\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rpc_messages.session_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z\016terminal/proto'
  _globals['_CREATESESSIONREQUEST']._serialized_start=93
  _globals['_CREATESESSIONREQUEST']._serialized_end=187
  _globals['_CREATESESSIONRESPONSE']._serialized_start=189
  _globals['_CREATESESSIONRESPONSE']._serialized_end=264
  _globals['_CLOSESESSIONREQUEST']._serialized_start=266
  _globals['_CLOSESESSIONREQUEST']._serialized_end=338
  _globals['_CLOSESESSIONRESPONSE']._serialized_start=340
  _globals['_CLOSESESSIONRESPONSE']._serialized_end=394
  _globals['_GETSESSIONSTATUSREQUEST']._serialized_start=396
  _globals['_GETSESSIONSTATUSREQUEST']._serialized_end=441
  _globals['_GETSESSIONSTATUSRESPONSE']._serialized_start=444
  _globals['_GETSESSIONSTATUSRESPONSE']._serialized_end=680
  _globals['_LISTSESSIONSREQUEST']._serialized_start=682
  _globals['_LISTSESSIONSREQUEST']._serialized_end=782
  _globals['_SESSIONINFOITEM']._serialized_start=785
  _globals['_SESSIONINFOITEM']._serialized_end=1063
  _globals['_LISTSESSIONSRESPONSE']._serialized_start=1065
  _globals['_LISTSESSIONSRESPONSE']._serialized_end=1186
  _globals['_GETSESSIONBYHOSTNAMEREQUEST']._serialized_start=1188
  _globals['_GETSESSIONBYHOSTNAMEREQUEST']._serialized_end=1258
  _globals['_GETSESSIONBYHOSTNAMERESPONSE']._serialized_start=1261
  _globals['_GETSESSIONBYHOSTNAMERESPONSE']._serialized_end=1624
# @@protoc_insertion_point(module_scope)
