Coverage for /Users/ajo/work/jumpstarter/jumpstarter/packages/jumpstarter-protocol/jumpstarter_protocol/jumpstarter/v1/jumpstarter_pb2.py: 18%
93 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-06 10:20 +0200
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-06 10:20 +0200
1# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# NO CHECKED-IN PROTOBUF GENCODE
4# source: jumpstarter/v1/jumpstarter.proto
5# Protobuf Python Version: 6.30.1
6"""Generated protocol buffer code."""
7from google.protobuf import descriptor as _descriptor
8from google.protobuf import descriptor_pool as _descriptor_pool
9from google.protobuf import runtime_version as _runtime_version
10from google.protobuf import symbol_database as _symbol_database
11from google.protobuf.internal import builder as _builder
12_runtime_version.ValidateProtobufRuntimeVersion(
13 _runtime_version.Domain.PUBLIC,
14 6,
15 30,
16 1,
17 '',
18 'jumpstarter/v1/jumpstarter.proto'
19)
20# @@protoc_insertion_point(imports)
22_sym_db = _symbol_database.Default()
25from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
26from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
27from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
28from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
29from . import kubernetes_pb2 as jumpstarter_dot_v1_dot_kubernetes__pb2
32DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n jumpstarter/v1/jumpstarter.proto\x12\x0ejumpstarter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fjumpstarter/v1/kubernetes.proto\"\xd1\x01\n\x0fRegisterRequest\x12\x43\n\x06labels\x18\x01 \x03(\x0b\x32+.jumpstarter.v1.RegisterRequest.LabelsEntryR\x06labels\x12>\n\x07reports\x18\x02 \x03(\x0b\x32$.jumpstarter.v1.DriverInstanceReportR\x07reports\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xe5\x01\n\x14\x44riverInstanceReport\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12$\n\x0bparent_uuid\x18\x02 \x01(\tH\x00R\nparentUuid\x88\x01\x01\x12H\n\x06labels\x18\x03 \x03(\x0b\x32\x30.jumpstarter.v1.DriverInstanceReport.LabelsEntryR\x06labels\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0e\n\x0c_parent_uuid\"&\n\x10RegisterResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\"+\n\x11UnregisterRequest\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\"\x14\n\x12UnregisterResponse\".\n\rListenRequest\x12\x1d\n\nlease_name\x18\x01 \x01(\tR\tleaseName\"\\\n\x0eListenResponse\x12\'\n\x0frouter_endpoint\x18\x01 \x01(\tR\x0erouterEndpoint\x12!\n\x0crouter_token\x18\x02 \x01(\tR\x0brouterToken\"\x0f\n\rStatusRequest\"\x91\x01\n\x0eStatusResponse\x12\x16\n\x06leased\x18\x01 \x01(\x08R\x06leased\x12\"\n\nlease_name\x18\x02 \x01(\tH\x00R\tleaseName\x88\x01\x01\x12$\n\x0b\x63lient_name\x18\x03 \x01(\tH\x01R\nclientName\x88\x01\x01\x42\r\n\x0b_lease_nameB\x0e\n\x0c_client_name\",\n\x0b\x44ialRequest\x12\x1d\n\nlease_name\x18\x01 \x01(\tR\tleaseName\"Z\n\x0c\x44ialResponse\x12\'\n\x0frouter_endpoint\x18\x01 \x01(\tR\x0erouterEndpoint\x12!\n\x0crouter_token\x18\x02 \x01(\tR\x0brouterToken\"\xa1\x01\n\x12\x41uditStreamRequest\x12#\n\rexporter_uuid\x18\x01 \x01(\tR\x0c\x65xporterUuid\x12\x30\n\x14\x64river_instance_uuid\x18\x02 \x01(\tR\x12\x64riverInstanceUuid\x12\x1a\n\x08severity\x18\x03 \x01(\tR\x08severity\x12\x18\n\x07message\x18\x04 \x01(\tR\x07message\"\xb8\x02\n\x11GetReportResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x45\n\x06labels\x18\x02 \x03(\x0b\x32-.jumpstarter.v1.GetReportResponse.LabelsEntryR\x06labels\x12>\n\x07reports\x18\x03 \x03(\x0b\x32$.jumpstarter.v1.DriverInstanceReportR\x07reports\x12M\n\x15\x61lternative_endpoints\x18\x04 \x03(\x0b\x32\x18.jumpstarter.v1.EndpointR\x14\x61lternativeEndpoints\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xa5\x01\n\x08\x45ndpoint\x12\x1a\n\x08\x65ndpoint\x18\x01 \x01(\tR\x08\x65ndpoint\x12 \n\x0b\x63\x65rtificate\x18\x02 \x01(\tR\x0b\x63\x65rtificate\x12-\n\x12\x63lient_certificate\x18\x03 \x01(\tR\x11\x63lientCertificate\x12,\n\x12\x63lient_private_key\x18\x04 \x01(\tR\x10\x63lientPrivateKey\"k\n\x11\x44riverCallRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x16\n\x06method\x18\x02 \x01(\tR\x06method\x12*\n\x04\x61rgs\x18\x03 \x03(\x0b\x32\x16.google.protobuf.ValueR\x04\x61rgs\"X\n\x12\x44riverCallResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12.\n\x06result\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x06result\"t\n\x1aStreamingDriverCallRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x16\n\x06method\x18\x02 \x01(\tR\x06method\x12*\n\x04\x61rgs\x18\x03 \x03(\x0b\x32\x16.google.protobuf.ValueR\x04\x61rgs\"a\n\x1bStreamingDriverCallResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12.\n\x06result\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x06result\"]\n\x11LogStreamResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x1a\n\x08severity\x18\x02 \x01(\tR\x08severity\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\"\x0e\n\x0cResetRequest\"\x0f\n\rResetResponse\"%\n\x0fGetLeaseRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\x93\x03\n\x10GetLeaseResponse\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12\x39\n\x08selector\x18\x02 \x01(\x0b\x32\x1d.jumpstarter.v1.LabelSelectorR\x08selector\x12>\n\nbegin_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tbeginTime\x88\x01\x01\x12:\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x07\x65ndTime\x88\x01\x01\x12(\n\rexporter_uuid\x18\x05 \x01(\tH\x02R\x0c\x65xporterUuid\x88\x01\x01\x12\x39\n\nconditions\x18\x06 \x03(\x0b\x32\x19.jumpstarter.v1.ConditionR\nconditionsB\r\n\x0b_begin_timeB\x0b\n\t_end_timeB\x10\n\x0e_exporter_uuid\"\x87\x01\n\x13RequestLeaseRequest\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12\x39\n\x08selector\x18\x02 \x01(\x0b\x32\x1d.jumpstarter.v1.LabelSelectorR\x08selector\"*\n\x14RequestLeaseResponse\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\")\n\x13ReleaseLeaseRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\x16\n\x14ReleaseLeaseResponse\"\x13\n\x11ListLeasesRequest\"*\n\x12ListLeasesResponse\x12\x14\n\x05names\x18\x01 \x03(\tR\x05names2\xb7\x06\n\x11\x43ontrollerService\x12M\n\x08Register\x12\x1f.jumpstarter.v1.RegisterRequest\x1a .jumpstarter.v1.RegisterResponse\x12S\n\nUnregister\x12!.jumpstarter.v1.UnregisterRequest\x1a\".jumpstarter.v1.UnregisterResponse\x12I\n\x06Listen\x12\x1d.jumpstarter.v1.ListenRequest\x1a\x1e.jumpstarter.v1.ListenResponse0\x01\x12I\n\x06Status\x12\x1d.jumpstarter.v1.StatusRequest\x1a\x1e.jumpstarter.v1.StatusResponse0\x01\x12\x41\n\x04\x44ial\x12\x1b.jumpstarter.v1.DialRequest\x1a\x1c.jumpstarter.v1.DialResponse\x12K\n\x0b\x41uditStream\x12\".jumpstarter.v1.AuditStreamRequest\x1a\x16.google.protobuf.Empty(\x01\x12M\n\x08GetLease\x12\x1f.jumpstarter.v1.GetLeaseRequest\x1a .jumpstarter.v1.GetLeaseResponse\x12Y\n\x0cRequestLease\x12#.jumpstarter.v1.RequestLeaseRequest\x1a$.jumpstarter.v1.RequestLeaseResponse\x12Y\n\x0cReleaseLease\x12#.jumpstarter.v1.ReleaseLeaseRequest\x1a$.jumpstarter.v1.ReleaseLeaseResponse\x12S\n\nListLeases\x12!.jumpstarter.v1.ListLeasesRequest\x1a\".jumpstarter.v1.ListLeasesResponse2\xb0\x03\n\x0f\x45xporterService\x12\x46\n\tGetReport\x12\x16.google.protobuf.Empty\x1a!.jumpstarter.v1.GetReportResponse\x12S\n\nDriverCall\x12!.jumpstarter.v1.DriverCallRequest\x1a\".jumpstarter.v1.DriverCallResponse\x12p\n\x13StreamingDriverCall\x12*.jumpstarter.v1.StreamingDriverCallRequest\x1a+.jumpstarter.v1.StreamingDriverCallResponse0\x01\x12H\n\tLogStream\x12\x16.google.protobuf.Empty\x1a!.jumpstarter.v1.LogStreamResponse0\x01\x12\x44\n\x05Reset\x12\x1c.jumpstarter.v1.ResetRequest\x1a\x1d.jumpstarter.v1.ResetResponseB\x7f\n\x12\x63om.jumpstarter.v1B\x10JumpstarterProtoP\x01\xa2\x02\x03JXX\xaa\x02\x0eJumpstarter.V1\xca\x02\x0eJumpstarter\\V1\xe2\x02\x1aJumpstarter\\V1\\GPBMetadata\xea\x02\x0fJumpstarter::V1b\x06proto3')
34_globals = globals()
35_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'jumpstarter.v1.jumpstarter_pb2', _globals)
37if not _descriptor._USE_C_DESCRIPTORS:
38 _globals['DESCRIPTOR']._loaded_options = None
39 _globals['DESCRIPTOR']._serialized_options = b'\n\022com.jumpstarter.v1B\020JumpstarterProtoP\001\242\002\003JXX\252\002\016Jumpstarter.V1\312\002\016Jumpstarter\\V1\342\002\032Jumpstarter\\V1\\GPBMetadata\352\002\017Jumpstarter::V1'
40 _globals['_REGISTERREQUEST_LABELSENTRY']._loaded_options = None
41 _globals['_REGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
42 _globals['_DRIVERINSTANCEREPORT_LABELSENTRY']._loaded_options = None
43 _globals['_DRIVERINSTANCEREPORT_LABELSENTRY']._serialized_options = b'8\001'
44 _globals['_GETREPORTRESPONSE_LABELSENTRY']._loaded_options = None
45 _globals['_GETREPORTRESPONSE_LABELSENTRY']._serialized_options = b'8\001'
46 _globals['_REGISTERREQUEST']._serialized_start=210
47 _globals['_REGISTERREQUEST']._serialized_end=419
48 _globals['_REGISTERREQUEST_LABELSENTRY']._serialized_start=362
49 _globals['_REGISTERREQUEST_LABELSENTRY']._serialized_end=419
50 _globals['_DRIVERINSTANCEREPORT']._serialized_start=422
51 _globals['_DRIVERINSTANCEREPORT']._serialized_end=651
52 _globals['_DRIVERINSTANCEREPORT_LABELSENTRY']._serialized_start=362
53 _globals['_DRIVERINSTANCEREPORT_LABELSENTRY']._serialized_end=419
54 _globals['_REGISTERRESPONSE']._serialized_start=653
55 _globals['_REGISTERRESPONSE']._serialized_end=691
56 _globals['_UNREGISTERREQUEST']._serialized_start=693
57 _globals['_UNREGISTERREQUEST']._serialized_end=736
58 _globals['_UNREGISTERRESPONSE']._serialized_start=738
59 _globals['_UNREGISTERRESPONSE']._serialized_end=758
60 _globals['_LISTENREQUEST']._serialized_start=760
61 _globals['_LISTENREQUEST']._serialized_end=806
62 _globals['_LISTENRESPONSE']._serialized_start=808
63 _globals['_LISTENRESPONSE']._serialized_end=900
64 _globals['_STATUSREQUEST']._serialized_start=902
65 _globals['_STATUSREQUEST']._serialized_end=917
66 _globals['_STATUSRESPONSE']._serialized_start=920
67 _globals['_STATUSRESPONSE']._serialized_end=1065
68 _globals['_DIALREQUEST']._serialized_start=1067
69 _globals['_DIALREQUEST']._serialized_end=1111
70 _globals['_DIALRESPONSE']._serialized_start=1113
71 _globals['_DIALRESPONSE']._serialized_end=1203
72 _globals['_AUDITSTREAMREQUEST']._serialized_start=1206
73 _globals['_AUDITSTREAMREQUEST']._serialized_end=1367
74 _globals['_GETREPORTRESPONSE']._serialized_start=1370
75 _globals['_GETREPORTRESPONSE']._serialized_end=1682
76 _globals['_GETREPORTRESPONSE_LABELSENTRY']._serialized_start=362
77 _globals['_GETREPORTRESPONSE_LABELSENTRY']._serialized_end=419
78 _globals['_ENDPOINT']._serialized_start=1685
79 _globals['_ENDPOINT']._serialized_end=1850
80 _globals['_DRIVERCALLREQUEST']._serialized_start=1852
81 _globals['_DRIVERCALLREQUEST']._serialized_end=1959
82 _globals['_DRIVERCALLRESPONSE']._serialized_start=1961
83 _globals['_DRIVERCALLRESPONSE']._serialized_end=2049
84 _globals['_STREAMINGDRIVERCALLREQUEST']._serialized_start=2051
85 _globals['_STREAMINGDRIVERCALLREQUEST']._serialized_end=2167
86 _globals['_STREAMINGDRIVERCALLRESPONSE']._serialized_start=2169
87 _globals['_STREAMINGDRIVERCALLRESPONSE']._serialized_end=2266
88 _globals['_LOGSTREAMRESPONSE']._serialized_start=2268
89 _globals['_LOGSTREAMRESPONSE']._serialized_end=2361
90 _globals['_RESETREQUEST']._serialized_start=2363
91 _globals['_RESETREQUEST']._serialized_end=2377
92 _globals['_RESETRESPONSE']._serialized_start=2379
93 _globals['_RESETRESPONSE']._serialized_end=2394
94 _globals['_GETLEASEREQUEST']._serialized_start=2396
95 _globals['_GETLEASEREQUEST']._serialized_end=2433
96 _globals['_GETLEASERESPONSE']._serialized_start=2436
97 _globals['_GETLEASERESPONSE']._serialized_end=2839
98 _globals['_REQUESTLEASEREQUEST']._serialized_start=2842
99 _globals['_REQUESTLEASEREQUEST']._serialized_end=2977
100 _globals['_REQUESTLEASERESPONSE']._serialized_start=2979
101 _globals['_REQUESTLEASERESPONSE']._serialized_end=3021
102 _globals['_RELEASELEASEREQUEST']._serialized_start=3023
103 _globals['_RELEASELEASEREQUEST']._serialized_end=3064
104 _globals['_RELEASELEASERESPONSE']._serialized_start=3066
105 _globals['_RELEASELEASERESPONSE']._serialized_end=3088
106 _globals['_LISTLEASESREQUEST']._serialized_start=3090
107 _globals['_LISTLEASESREQUEST']._serialized_end=3109
108 _globals['_LISTLEASESRESPONSE']._serialized_start=3111
109 _globals['_LISTLEASESRESPONSE']._serialized_end=3153
110 _globals['_CONTROLLERSERVICE']._serialized_start=3156
111 _globals['_CONTROLLERSERVICE']._serialized_end=3979
112 _globals['_EXPORTERSERVICE']._serialized_start=3982
113 _globals['_EXPORTERSERVICE']._serialized_end=4414
114# @@protoc_insertion_point(module_scope)