def to_proto(self): return meta_pb2.Job(id=self._id, name=self._name, inputs=_elements_to_proto(self._inputs), outputs=_elements_to_proto(self._outputs), functors=_elements_to_proto(self._functors), options=_stringify_dict(self._options))
def to_proto(self): return meta_pb2.SessionMeta(id=self._id, name=self._name, status=self._status, tag=self._tag, processors=_elements_to_proto( self._processors), options=_stringify_dict(self._options))
def to_proto(self): return transfer_pb2.RollSiteHeader( rollSiteSessionId=self._roll_site_session_id, name=self._name, tag=self._tag, srcRole=self._src_role, srcPartyId=self._src_party_id, dstRole=self._dst_role, dstPartyId=self._dst_party_id, dataType=self._data_type, options=_stringify_dict(self._options))
def to_proto(self): return meta_pb2.Processor( id=self._id, serverNodeId=self._server_node_id, name=self._name, processorType=self._processor_type, status=self._status, commandEndpoint=self._command_endpoint.to_proto(), transferEndpoint=self._transfer_endpoint.to_proto(), pid=self._pid, options=_stringify_dict(self._options), tag=self._tag)
def to_proto(self): return transfer_pb2.RollSiteHeader( rollSiteSessionId=self._roll_site_session_id, name=self._name, tag=self._tag, srcRole=self._src_role, srcPartyId=self._src_party_id, dstRole=self._dst_role, dstPartyId=self._dst_party_id, dataType=self._data_type, options=_stringify_dict(self._options), totalPartitions=self._total_partitions, partitionId=self._partition_id, totalStreams=self._total_streams, totalBatches=self._total_batches, streamSeq=self._stream_seq, batchSeq=self._batch_seq, stage=self._stage)
def to_proto(self): return meta_pb2.Store(storeLocator=self._store_locator.to_proto(), partitions=_elements_to_proto(self._partitions), options=_stringify_dict(self._options))
def to_proto(self): return meta_pb2.Functor(name=self._name, serdes=self._serdes, body=self._body, options=_stringify_dict(self._options))