Esempio n. 1
0
 def __init__(self, compression):
     self.Request = catrank_pb2.SearchResultList
     self.Response = catrank_pb2.SearchResultList
     self.from_bytes_request = from_bytes_helper(
         catrank_pb2.SearchResultList)
     self.from_bytes_response = from_bytes_helper(
         catrank_pb2.SearchResultList)
     self.to_bytes = lambda x: x.SerializeToString()
Esempio n. 2
0
 def __init__(self, compression):
     self.Request = carsales_pb2.ParkingLot
     self.Response = carsales_pb2.TotalValue
     self.from_bytes_request = from_bytes_helper(carsales_pb2.ParkingLot)
     self.from_bytes_response = from_bytes_helper(carsales_pb2.TotalValue)
     self.to_bytes = lambda x: x.SerializeToString()
Esempio n. 3
0
 def __init__(self, compression):
     self.Request = eval_pb2.Expression
     self.Response = eval_pb2.EvaluationResult
     self.from_bytes_request = from_bytes_helper(eval_pb2.Expression)
     self.from_bytes_response = from_bytes_helper(eval_pb2.EvaluationResult)
     self.to_bytes = lambda x: x.SerializeToString()
Esempio n. 4
0
 def __init__(self, compression):
     self.Request = carsales_pb2.ParkingLot
     self.Response = carsales_pb2.TotalValue
     self.from_bytes_request = from_bytes_helper(carsales_pb2.ParkingLot)
     self.from_bytes_response = from_bytes_helper(carsales_pb2.TotalValue)
     self.to_bytes = lambda x: x.SerializeToString()
Esempio n. 5
0
 def __init__(self, compression):
     self.Request = eval_pb2.Expression
     self.Response = eval_pb2.EvaluationResult
     self.from_bytes_request = from_bytes_helper(eval_pb2.Expression)
     self.from_bytes_response = from_bytes_helper(eval_pb2.EvaluationResult)
     self.to_bytes = lambda x: x.SerializeToString()
Esempio n. 6
0
 def __init__(self, compression):
     self.Request = catrank_pb2.SearchResultList
     self.Response = catrank_pb2.SearchResultList
     self.from_bytes_request = from_bytes_helper(catrank_pb2.SearchResultList)
     self.from_bytes_response = from_bytes_helper(catrank_pb2.SearchResultList)
     self.to_bytes = lambda x: x.SerializeToString()