regular routes journeys, persistent KV to store return states, ...
This commit is contained in:
@@ -18,7 +18,6 @@ service CarpoolService {
|
||||
rpc PassengerJourneys(PassengerJourneysRequest) returns (PassengerJourneysResponse) {}
|
||||
rpc DriverRegularTrips(DriverRegularTripsRequest) returns (DriverRegularTripsResponse) {}
|
||||
rpc PassengerRegularTrips(PassengerRegularTripsRequest) returns (PassengerRegularTripsResponse) {}
|
||||
|
||||
rpc CreateBooking(CreateBookingRequest) returns (CreateBookingResponse) {}
|
||||
rpc UpdateBooking(UpdateBookingRequest) returns (UpdateBookingResponse) {}
|
||||
rpc GetBooking(GetBookingRequest) returns (GetBookingResponse) {}
|
||||
@@ -56,10 +55,10 @@ message DriverJourneysRequest {
|
||||
double arrival_lat = 3;
|
||||
double arrival_lng = 4;
|
||||
google.protobuf.Timestamp departure_date = 5;
|
||||
int64 time_delta = 6;
|
||||
double departure_radius = 7;
|
||||
double arrival_radius = 8;
|
||||
int64 count = 9;
|
||||
optional int64 time_delta = 6;
|
||||
optional double departure_radius = 7;
|
||||
optional double arrival_radius = 8;
|
||||
optional int64 count = 9;
|
||||
}
|
||||
|
||||
message DriverJourneysResponse {
|
||||
@@ -72,10 +71,10 @@ message PassengerJourneysRequest {
|
||||
double arrival_lat = 3;
|
||||
double arrival_lng = 4;
|
||||
google.protobuf.Timestamp departure_date = 5;
|
||||
int64 time_delta = 6;
|
||||
double departure_radius = 7;
|
||||
double arrival_radius = 8;
|
||||
int64 count = 9;
|
||||
optional int64 time_delta = 6;
|
||||
optional double departure_radius = 7;
|
||||
optional double arrival_radius = 8;
|
||||
optional int64 count = 9;
|
||||
}
|
||||
|
||||
message PassengerJourneysResponse {
|
||||
@@ -89,12 +88,12 @@ message DriverRegularTripsRequest {
|
||||
double arrival_lng = 4;
|
||||
string departure_time_of_day = 5;
|
||||
repeated string departure_week_days = 6;
|
||||
int64 time_delta = 7;
|
||||
double departure_radius = 8;
|
||||
double arrival_radius = 9;
|
||||
google.protobuf.Timestamp min_departure_date = 10;
|
||||
google.protobuf.Timestamp max_departure_date = 11;
|
||||
int64 count = 12;
|
||||
optional int64 time_delta = 7;
|
||||
optional double departure_radius = 8;
|
||||
optional double arrival_radius = 9;
|
||||
optional google.protobuf.Timestamp min_departure_date = 10;
|
||||
optional google.protobuf.Timestamp max_departure_date = 11;
|
||||
optional int64 count = 12;
|
||||
}
|
||||
|
||||
message DriverRegularTripsResponse {
|
||||
@@ -108,12 +107,12 @@ message PassengerRegularTripsRequest {
|
||||
double arrival_lng = 4;
|
||||
string departure_time_of_day = 5;
|
||||
repeated string departure_week_days = 6;
|
||||
int64 time_delta = 7;
|
||||
double departure_radius = 8;
|
||||
double arrival_radius = 9;
|
||||
google.protobuf.Timestamp min_departure_date = 10;
|
||||
google.protobuf.Timestamp max_departure_date = 11;
|
||||
int64 count = 12;
|
||||
optional int64 time_delta = 7;
|
||||
optional double departure_radius = 8;
|
||||
optional double arrival_radius = 9;
|
||||
optional google.protobuf.Timestamp min_departure_date = 10;
|
||||
optional google.protobuf.Timestamp max_departure_date = 11;
|
||||
optional int64 count = 12;
|
||||
}
|
||||
|
||||
message PassengerRegularTripsResponse {
|
||||
|
||||
Reference in New Issue
Block a user