facade.proto 847 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
syntax = "proto3";
package eu.melodic.upperware.utilitygenerator.facade.test;

option java_package = "eu.melodic.upperware.utilitygenerator.facade.test";
option optimize_for = SPEED;

option java_multiple_files = true;

message CallPmPrediction {
  int32 dispatcherCores = 1;
  int32 dispatcherRam = 2;
  string dispatcherLocation = 3;
  int32 workerCores = 4;
  int32 workerRam = 5;
  string workerLocation = 6;
  int32 workerMulti = 7;
  string senderID = 8; //  facade sender ID
};

message Config {
  int32 cores = 1;
  int32 ram = 2;
  string location = 3;
}

message CallPmPrediction2 {
  Config dispatcher = 1;
  Config worker = 2;
  int32 workerMulti = 3;
  string senderID = 4; //  facade sender ID
}

message CallPmPredictionResponse {
  double utilityValue = 1;
//  int32 utilityValue = 1;
  string senderID = 2; //  facade sender ID
};