Coverage for /Users/ajo/work/jumpstarter/jumpstarter/packages/jumpstarter-protocol/jumpstarter_protocol/jumpstarter/client/v1/client_pb2.py: 17%

121 statements  

« 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/client/v1/client.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/client/v1/client.proto' 

19) 

20# @@protoc_insertion_point(imports) 

21 

22_sym_db = _symbol_database.Default() 

23 

24 

25from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 

26from google.api import client_pb2 as google_dot_api_dot_client__pb2 

27from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 

28from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 

29from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 

30from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 

31from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 

32from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 

33from ...v1 import kubernetes_pb2 as jumpstarter_dot_v1_dot_kubernetes__pb2 

34 

35 

36DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"jumpstarter/client/v1/client.proto\x12\x15jumpstarter.client.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fjumpstarter/v1/kubernetes.proto\"\x84\x02\n\x08\x45xporter\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08R\x04name\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32+.jumpstarter.client.v1.Exporter.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:_\xea\x41\\\n\x18jumpstarter.dev/Exporter\x12+namespaces/{namespace}/exporters/{exporter}*\texporters2\x08\x65xporter\"\xed\x06\n\x05Lease\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08R\x04name\x12\"\n\x08selector\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05R\x08selector\x12:\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02R\x08\x64uration\x12M\n\x12\x65\x66\x66\x65\x63tive_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03R\x11\x65\x66\x66\x65\x63tiveDuration\x12>\n\nbegin_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tbeginTime\x88\x01\x01\x12V\n\x14\x65\x66\x66\x65\x63tive_begin_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03H\x01R\x12\x65\x66\x66\x65\x63tiveBeginTime\x88\x01\x01\x12:\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x07\x65ndTime\x88\x01\x01\x12R\n\x12\x65\x66\x66\x65\x63tive_end_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03H\x03R\x10\x65\x66\x66\x65\x63tiveEndTime\x88\x01\x01\x12;\n\x06\x63lient\x18\t \x01(\tB\x1e\xe0\x41\x03\xfa\x41\x18\n\x16jumpstarter.dev/ClientH\x04R\x06\x63lient\x88\x01\x01\x12\x41\n\x08\x65xporter\x18\n \x01(\tB \xe0\x41\x03\xfa\x41\x1a\n\x18jumpstarter.dev/ExporterH\x05R\x08\x65xporter\x88\x01\x01\x12>\n\nconditions\x18\x0b \x03(\x0b\x32\x19.jumpstarter.v1.ConditionB\x03\xe0\x41\x03R\nconditions:P\xea\x41M\n\x15jumpstarter.dev/Lease\x12%namespaces/{namespace}/leases/{lease}*\x06leases2\x05leaseB\r\n\x0b_begin_timeB\x17\n\x15_effective_begin_timeB\x0b\n\t_end_timeB\x15\n\x13_effective_end_timeB\t\n\x07_clientB\x0b\n\t_exporter\"J\n\x12GetExporterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\n\x18jumpstarter.dev/ExporterR\x04name\"\xb3\x01\n\x14ListExportersRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\x12\x18jumpstarter.dev/ExporterR\x06parent\x12 \n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01R\x08pageSize\x12\"\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01R\tpageToken\x12\x1b\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01R\x06\x66ilter\"~\n\x15ListExportersResponse\x12=\n\texporters\x18\x01 \x03(\x0b\x32\x1f.jumpstarter.client.v1.ExporterR\texporters\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"D\n\x0fGetLeaseRequest\x12\x31\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15jumpstarter.dev/LeaseR\x04name\"\xad\x01\n\x11ListLeasesRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\x12\x15jumpstarter.dev/LeaseR\x06parent\x12 \n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01R\x08pageSize\x12\"\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01R\tpageToken\x12\x1b\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01R\x06\x66ilter\"r\n\x12ListLeasesResponse\x12\x34\n\x06leases\x18\x01 \x03(\x0b\x32\x1c.jumpstarter.client.v1.LeaseR\x06leases\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xa4\x01\n\x12\x43reateLeaseRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\x12\x15jumpstarter.dev/LeaseR\x06parent\x12\x1e\n\x08lease_id\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x07leaseId\x12\x37\n\x05lease\x18\x03 \x01(\x0b\x32\x1c.jumpstarter.client.v1.LeaseB\x03\xe0\x41\x02R\x05lease\"\x8f\x01\n\x12UpdateLeaseRequest\x12\x37\n\x05lease\x18\x01 \x01(\x0b\x32\x1c.jumpstarter.client.v1.LeaseB\x03\xe0\x41\x02R\x05lease\x12@\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01R\nupdateMask\"G\n\x12\x44\x65leteLeaseRequest\x12\x31\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15jumpstarter.dev/LeaseR\x04name2\xa7\x08\n\rClientService\x12\x8d\x01\n\x0bGetExporter\x12).jumpstarter.client.v1.GetExporterRequest\x1a\x1f.jumpstarter.client.v1.Exporter\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1/{name=namespaces/*/exporters/*}\x12\xa0\x01\n\rListExporters\x12+.jumpstarter.client.v1.ListExportersRequest\x1a,.jumpstarter.client.v1.ListExportersResponse\"4\xda\x41\x06parent\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=namespaces/*}/exporters\x12\x81\x01\n\x08GetLease\x12&.jumpstarter.client.v1.GetLeaseRequest\x1a\x1c.jumpstarter.client.v1.Lease\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"\x12 /v1/{name=namespaces/*/leases/*}\x12\x94\x01\n\nListLeases\x12(.jumpstarter.client.v1.ListLeasesRequest\x1a).jumpstarter.client.v1.ListLeasesResponse\"1\xda\x41\x06parent\x82\xd3\xe4\x93\x02\"\x12 /v1/{parent=namespaces/*}/leases\x12\x9f\x01\n\x0b\x43reateLease\x12).jumpstarter.client.v1.CreateLeaseRequest\x1a\x1c.jumpstarter.client.v1.Lease\"G\xda\x41\x15parent,lease,lease_id\x82\xd3\xe4\x93\x02)\" /v1/{parent=namespaces/*}/leases:\x05lease\x12\xa1\x01\n\x0bUpdateLease\x12).jumpstarter.client.v1.UpdateLeaseRequest\x1a\x1c.jumpstarter.client.v1.Lease\"I\xda\x41\x11lease,update_mask\x82\xd3\xe4\x93\x02/2&/v1/{lease.name=namespaces/*/leases/*}:\x05lease\x12\x81\x01\n\x0b\x44\x65leteLease\x12).jumpstarter.client.v1.DeleteLeaseRequest\x1a\x16.google.protobuf.Empty\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"* /v1/{name=namespaces/*/leases/*}B\x9e\x01\n\x19\x63om.jumpstarter.client.v1B\x0b\x43lientProtoP\x01\xa2\x02\x03JCX\xaa\x02\x15Jumpstarter.Client.V1\xca\x02\x15Jumpstarter\\Client\\V1\xe2\x02!Jumpstarter\\Client\\V1\\GPBMetadata\xea\x02\x17Jumpstarter::Client::V1b\x06proto3') 

37 

38_globals = globals() 

39_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 

40_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'jumpstarter.client.v1.client_pb2', _globals) 

41if not _descriptor._USE_C_DESCRIPTORS: 

42 _globals['DESCRIPTOR']._loaded_options = None 

43 _globals['DESCRIPTOR']._serialized_options = b'\n\031com.jumpstarter.client.v1B\013ClientProtoP\001\242\002\003JCX\252\002\025Jumpstarter.Client.V1\312\002\025Jumpstarter\\Client\\V1\342\002!Jumpstarter\\Client\\V1\\GPBMetadata\352\002\027Jumpstarter::Client::V1' 

44 _globals['_EXPORTER_LABELSENTRY']._loaded_options = None 

45 _globals['_EXPORTER_LABELSENTRY']._serialized_options = b'8\001' 

46 _globals['_EXPORTER'].fields_by_name['name']._loaded_options = None 

47 _globals['_EXPORTER'].fields_by_name['name']._serialized_options = b'\340A\010' 

48 _globals['_EXPORTER']._loaded_options = None 

49 _globals['_EXPORTER']._serialized_options = b'\352A\\\n\030jumpstarter.dev/Exporter\022+namespaces/{namespace}/exporters/{exporter}*\texporters2\010exporter' 

50 _globals['_LEASE'].fields_by_name['name']._loaded_options = None 

51 _globals['_LEASE'].fields_by_name['name']._serialized_options = b'\340A\010' 

52 _globals['_LEASE'].fields_by_name['selector']._loaded_options = None 

53 _globals['_LEASE'].fields_by_name['selector']._serialized_options = b'\340A\002\340A\005' 

54 _globals['_LEASE'].fields_by_name['duration']._loaded_options = None 

55 _globals['_LEASE'].fields_by_name['duration']._serialized_options = b'\340A\002' 

56 _globals['_LEASE'].fields_by_name['effective_duration']._loaded_options = None 

57 _globals['_LEASE'].fields_by_name['effective_duration']._serialized_options = b'\340A\003' 

58 _globals['_LEASE'].fields_by_name['effective_begin_time']._loaded_options = None 

59 _globals['_LEASE'].fields_by_name['effective_begin_time']._serialized_options = b'\340A\003' 

60 _globals['_LEASE'].fields_by_name['effective_end_time']._loaded_options = None 

61 _globals['_LEASE'].fields_by_name['effective_end_time']._serialized_options = b'\340A\003' 

62 _globals['_LEASE'].fields_by_name['client']._loaded_options = None 

63 _globals['_LEASE'].fields_by_name['client']._serialized_options = b'\340A\003\372A\030\n\026jumpstarter.dev/Client' 

64 _globals['_LEASE'].fields_by_name['exporter']._loaded_options = None 

65 _globals['_LEASE'].fields_by_name['exporter']._serialized_options = b'\340A\003\372A\032\n\030jumpstarter.dev/Exporter' 

66 _globals['_LEASE'].fields_by_name['conditions']._loaded_options = None 

67 _globals['_LEASE'].fields_by_name['conditions']._serialized_options = b'\340A\003' 

68 _globals['_LEASE']._loaded_options = None 

69 _globals['_LEASE']._serialized_options = b'\352AM\n\025jumpstarter.dev/Lease\022%namespaces/{namespace}/leases/{lease}*\006leases2\005lease' 

70 _globals['_GETEXPORTERREQUEST'].fields_by_name['name']._loaded_options = None 

71 _globals['_GETEXPORTERREQUEST'].fields_by_name['name']._serialized_options = b'\340A\002\372A\032\n\030jumpstarter.dev/Exporter' 

72 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['parent']._loaded_options = None 

73 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['parent']._serialized_options = b'\340A\002\372A\032\022\030jumpstarter.dev/Exporter' 

74 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['page_size']._loaded_options = None 

75 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['page_size']._serialized_options = b'\340A\001' 

76 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['page_token']._loaded_options = None 

77 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['page_token']._serialized_options = b'\340A\001' 

78 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['filter']._loaded_options = None 

79 _globals['_LISTEXPORTERSREQUEST'].fields_by_name['filter']._serialized_options = b'\340A\001' 

80 _globals['_GETLEASEREQUEST'].fields_by_name['name']._loaded_options = None 

81 _globals['_GETLEASEREQUEST'].fields_by_name['name']._serialized_options = b'\340A\002\372A\027\n\025jumpstarter.dev/Lease' 

82 _globals['_LISTLEASESREQUEST'].fields_by_name['parent']._loaded_options = None 

83 _globals['_LISTLEASESREQUEST'].fields_by_name['parent']._serialized_options = b'\340A\002\372A\027\022\025jumpstarter.dev/Lease' 

84 _globals['_LISTLEASESREQUEST'].fields_by_name['page_size']._loaded_options = None 

85 _globals['_LISTLEASESREQUEST'].fields_by_name['page_size']._serialized_options = b'\340A\001' 

86 _globals['_LISTLEASESREQUEST'].fields_by_name['page_token']._loaded_options = None 

87 _globals['_LISTLEASESREQUEST'].fields_by_name['page_token']._serialized_options = b'\340A\001' 

88 _globals['_LISTLEASESREQUEST'].fields_by_name['filter']._loaded_options = None 

89 _globals['_LISTLEASESREQUEST'].fields_by_name['filter']._serialized_options = b'\340A\001' 

90 _globals['_CREATELEASEREQUEST'].fields_by_name['parent']._loaded_options = None 

91 _globals['_CREATELEASEREQUEST'].fields_by_name['parent']._serialized_options = b'\340A\002\372A\027\022\025jumpstarter.dev/Lease' 

92 _globals['_CREATELEASEREQUEST'].fields_by_name['lease_id']._loaded_options = None 

93 _globals['_CREATELEASEREQUEST'].fields_by_name['lease_id']._serialized_options = b'\340A\001' 

94 _globals['_CREATELEASEREQUEST'].fields_by_name['lease']._loaded_options = None 

95 _globals['_CREATELEASEREQUEST'].fields_by_name['lease']._serialized_options = b'\340A\002' 

96 _globals['_UPDATELEASEREQUEST'].fields_by_name['lease']._loaded_options = None 

97 _globals['_UPDATELEASEREQUEST'].fields_by_name['lease']._serialized_options = b'\340A\002' 

98 _globals['_UPDATELEASEREQUEST'].fields_by_name['update_mask']._loaded_options = None 

99 _globals['_UPDATELEASEREQUEST'].fields_by_name['update_mask']._serialized_options = b'\340A\001' 

100 _globals['_DELETELEASEREQUEST'].fields_by_name['name']._loaded_options = None 

101 _globals['_DELETELEASEREQUEST'].fields_by_name['name']._serialized_options = b'\340A\002\372A\027\n\025jumpstarter.dev/Lease' 

102 _globals['_CLIENTSERVICE'].methods_by_name['GetExporter']._loaded_options = None 

103 _globals['_CLIENTSERVICE'].methods_by_name['GetExporter']._serialized_options = b'\332A\004name\202\323\344\223\002%\022#/v1/{name=namespaces/*/exporters/*}' 

104 _globals['_CLIENTSERVICE'].methods_by_name['ListExporters']._loaded_options = None 

105 _globals['_CLIENTSERVICE'].methods_by_name['ListExporters']._serialized_options = b'\332A\006parent\202\323\344\223\002%\022#/v1/{parent=namespaces/*}/exporters' 

106 _globals['_CLIENTSERVICE'].methods_by_name['GetLease']._loaded_options = None 

107 _globals['_CLIENTSERVICE'].methods_by_name['GetLease']._serialized_options = b'\332A\004name\202\323\344\223\002\"\022 /v1/{name=namespaces/*/leases/*}' 

108 _globals['_CLIENTSERVICE'].methods_by_name['ListLeases']._loaded_options = None 

109 _globals['_CLIENTSERVICE'].methods_by_name['ListLeases']._serialized_options = b'\332A\006parent\202\323\344\223\002\"\022 /v1/{parent=namespaces/*}/leases' 

110 _globals['_CLIENTSERVICE'].methods_by_name['CreateLease']._loaded_options = None 

111 _globals['_CLIENTSERVICE'].methods_by_name['CreateLease']._serialized_options = b'\332A\025parent,lease,lease_id\202\323\344\223\002)\" /v1/{parent=namespaces/*}/leases:\005lease' 

112 _globals['_CLIENTSERVICE'].methods_by_name['UpdateLease']._loaded_options = None 

113 _globals['_CLIENTSERVICE'].methods_by_name['UpdateLease']._serialized_options = b'\332A\021lease,update_mask\202\323\344\223\002/2&/v1/{lease.name=namespaces/*/leases/*}:\005lease' 

114 _globals['_CLIENTSERVICE'].methods_by_name['DeleteLease']._loaded_options = None 

115 _globals['_CLIENTSERVICE'].methods_by_name['DeleteLease']._serialized_options = b'\332A\004name\202\323\344\223\002\"* /v1/{name=namespaces/*/leases/*}' 

116 _globals['_EXPORTER']._serialized_start=338 

117 _globals['_EXPORTER']._serialized_end=598 

118 _globals['_EXPORTER_LABELSENTRY']._serialized_start=444 

119 _globals['_EXPORTER_LABELSENTRY']._serialized_end=501 

120 _globals['_LEASE']._serialized_start=601 

121 _globals['_LEASE']._serialized_end=1478 

122 _globals['_GETEXPORTERREQUEST']._serialized_start=1480 

123 _globals['_GETEXPORTERREQUEST']._serialized_end=1554 

124 _globals['_LISTEXPORTERSREQUEST']._serialized_start=1557 

125 _globals['_LISTEXPORTERSREQUEST']._serialized_end=1736 

126 _globals['_LISTEXPORTERSRESPONSE']._serialized_start=1738 

127 _globals['_LISTEXPORTERSRESPONSE']._serialized_end=1864 

128 _globals['_GETLEASEREQUEST']._serialized_start=1866 

129 _globals['_GETLEASEREQUEST']._serialized_end=1934 

130 _globals['_LISTLEASESREQUEST']._serialized_start=1937 

131 _globals['_LISTLEASESREQUEST']._serialized_end=2110 

132 _globals['_LISTLEASESRESPONSE']._serialized_start=2112 

133 _globals['_LISTLEASESRESPONSE']._serialized_end=2226 

134 _globals['_CREATELEASEREQUEST']._serialized_start=2229 

135 _globals['_CREATELEASEREQUEST']._serialized_end=2393 

136 _globals['_UPDATELEASEREQUEST']._serialized_start=2396 

137 _globals['_UPDATELEASEREQUEST']._serialized_end=2539 

138 _globals['_DELETELEASEREQUEST']._serialized_start=2541 

139 _globals['_DELETELEASEREQUEST']._serialized_end=2612 

140 _globals['_CLIENTSERVICE']._serialized_start=2615 

141 _globals['_CLIENTSERVICE']._serialized_end=3678 

142# @@protoc_insertion_point(module_scope)