blob: b26cee7b589939197a70e28dcadc73ce7387cdbe [file] [log] [blame]
// Feeds declaration
syntax = "proto3";
package madden.ingestion;
option java_multiple_files = true;
option java_package = "com.google.madden.ingestion";
option go_package = "google/madden/ingestion";
message ActionFeed {
repeated ActionDetail data = 1;
}
message ActionDetail {
// Reference to entity id
optional string entity_id = 2;
optional string link_id = 3;
// Deep link for action detail
optional string url = 4;
repeated Action actions = 1;
}
// Information about an Action which could be performed.
message Action {
// Deprecated fields not to be reused.
reserved 1;
oneof action_info {
AppointmentInfo appointment_info = 2;
FoodOrderingInfo food_ordering_info = 3;
}
}
message AppointmentInfo {
// Deep link for appointment action.
string url = 1;
}
message FoodOrderingInfo {
// Service type for food ordering action.
enum ServiceType {
UNKNOWN = 0;
DELIVERY = 1;
TAKEOUT = 2;
}
ServiceType service_type = 1;
}