1912 lines
75 KiB
Go
1912 lines
75 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.28.0
|
||
|
// protoc v3.19.4
|
||
|
// source: carpool-service.proto
|
||
|
|
||
|
package proto
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
// Internal trips and journeys management messages
|
||
|
type CreateRegularRoutesRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Routes []*CarpoolFeatureCollection `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CreateRegularRoutesRequest) Reset() {
|
||
|
*x = CreateRegularRoutesRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *CreateRegularRoutesRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateRegularRoutesRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateRegularRoutesRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use CreateRegularRoutesRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateRegularRoutesRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *CreateRegularRoutesRequest) GetRoutes() []*CarpoolFeatureCollection {
|
||
|
if x != nil {
|
||
|
return x.Routes
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type CreateRegularRoutesResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *CreateRegularRoutesResponse) Reset() {
|
||
|
*x = CreateRegularRoutesResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *CreateRegularRoutesResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateRegularRoutesResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateRegularRoutesResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use CreateRegularRoutesResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateRegularRoutesResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
type DeleteRegularRoutesRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DeleteRegularRoutesRequest) Reset() {
|
||
|
*x = DeleteRegularRoutesRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *DeleteRegularRoutesRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DeleteRegularRoutesRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *DeleteRegularRoutesRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use DeleteRegularRoutesRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*DeleteRegularRoutesRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *DeleteRegularRoutesRequest) GetIds() []string {
|
||
|
if x != nil {
|
||
|
return x.Ids
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type DeleteRegularRoutesResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *DeleteRegularRoutesResponse) Reset() {
|
||
|
*x = DeleteRegularRoutesResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *DeleteRegularRoutesResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DeleteRegularRoutesResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *DeleteRegularRoutesResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use DeleteRegularRoutesResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*DeleteRegularRoutesResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
type GetUserPlanningRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
|
Dates []string `protobuf:"bytes,2,rep,name=dates,proto3" json:"dates,omitempty"`
|
||
|
MinDepartureDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=min_departure_date,json=minDepartureDate,proto3" json:"min_departure_date,omitempty"`
|
||
|
MaxDepartureDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=max_departure_date,json=maxDepartureDate,proto3" json:"max_departure_date,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) Reset() {
|
||
|
*x = GetUserPlanningRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetUserPlanningRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetUserPlanningRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetUserPlanningRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) GetUserId() string {
|
||
|
if x != nil {
|
||
|
return x.UserId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) GetDates() []string {
|
||
|
if x != nil {
|
||
|
return x.Dates
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) GetMinDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.MinDepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningRequest) GetMaxDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.MaxDepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type GetUserPlanningResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RoutesByDates map[string]*CarpoolRoutesCollection `protobuf:"bytes,1,rep,name=routes_by_dates,json=routesByDates,proto3" json:"routes_by_dates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningResponse) Reset() {
|
||
|
*x = GetUserPlanningResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetUserPlanningResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetUserPlanningResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetUserPlanningResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetUserPlanningResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserPlanningResponse) GetRoutesByDates() map[string]*CarpoolRoutesCollection {
|
||
|
if x != nil {
|
||
|
return x.RoutesByDates
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// OCSS-like interaction messages
|
||
|
type DriverJourneysRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DepartureLat float64 `protobuf:"fixed64,1,opt,name=departure_lat,json=departureLat,proto3" json:"departure_lat,omitempty"`
|
||
|
DepartureLng float64 `protobuf:"fixed64,2,opt,name=departure_lng,json=departureLng,proto3" json:"departure_lng,omitempty"`
|
||
|
ArrivalLat float64 `protobuf:"fixed64,3,opt,name=arrival_lat,json=arrivalLat,proto3" json:"arrival_lat,omitempty"`
|
||
|
ArrivalLng float64 `protobuf:"fixed64,4,opt,name=arrival_lng,json=arrivalLng,proto3" json:"arrival_lng,omitempty"`
|
||
|
DepartureDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=departure_date,json=departureDate,proto3" json:"departure_date,omitempty"`
|
||
|
TimeDelta int64 `protobuf:"varint,6,opt,name=time_delta,json=timeDelta,proto3" json:"time_delta,omitempty"`
|
||
|
DepartureRadius float64 `protobuf:"fixed64,7,opt,name=departure_radius,json=departureRadius,proto3" json:"departure_radius,omitempty"`
|
||
|
ArrivalRadius float64 `protobuf:"fixed64,8,opt,name=arrival_radius,json=arrivalRadius,proto3" json:"arrival_radius,omitempty"`
|
||
|
Count int64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) Reset() {
|
||
|
*x = DriverJourneysRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DriverJourneysRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *DriverJourneysRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use DriverJourneysRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*DriverJourneysRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetDepartureLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetDepartureLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetArrivalLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetArrivalLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.DepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetTimeDelta() int64 {
|
||
|
if x != nil {
|
||
|
return x.TimeDelta
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetDepartureRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetArrivalRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysRequest) GetCount() int64 {
|
||
|
if x != nil {
|
||
|
return x.Count
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type DriverJourneysResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DriverJourneys []*CarpoolServiceDriverJourney `protobuf:"bytes,1,rep,name=driver_journeys,json=driverJourneys,proto3" json:"driver_journeys,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysResponse) Reset() {
|
||
|
*x = DriverJourneysResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DriverJourneysResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *DriverJourneysResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[7]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use DriverJourneysResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*DriverJourneysResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{7}
|
||
|
}
|
||
|
|
||
|
func (x *DriverJourneysResponse) GetDriverJourneys() []*CarpoolServiceDriverJourney {
|
||
|
if x != nil {
|
||
|
return x.DriverJourneys
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type PassengerJourneysRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DepartureLat float64 `protobuf:"fixed64,1,opt,name=departure_lat,json=departureLat,proto3" json:"departure_lat,omitempty"`
|
||
|
DepartureLng float64 `protobuf:"fixed64,2,opt,name=departure_lng,json=departureLng,proto3" json:"departure_lng,omitempty"`
|
||
|
ArrivalLat float64 `protobuf:"fixed64,3,opt,name=arrival_lat,json=arrivalLat,proto3" json:"arrival_lat,omitempty"`
|
||
|
ArrivalLng float64 `protobuf:"fixed64,4,opt,name=arrival_lng,json=arrivalLng,proto3" json:"arrival_lng,omitempty"`
|
||
|
DepartureDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=departure_date,json=departureDate,proto3" json:"departure_date,omitempty"`
|
||
|
TimeDelta int64 `protobuf:"varint,6,opt,name=time_delta,json=timeDelta,proto3" json:"time_delta,omitempty"`
|
||
|
DepartureRadius float64 `protobuf:"fixed64,7,opt,name=departure_radius,json=departureRadius,proto3" json:"departure_radius,omitempty"`
|
||
|
ArrivalRadius float64 `protobuf:"fixed64,8,opt,name=arrival_radius,json=arrivalRadius,proto3" json:"arrival_radius,omitempty"`
|
||
|
Count int64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) Reset() {
|
||
|
*x = PassengerJourneysRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*PassengerJourneysRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[8]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use PassengerJourneysRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*PassengerJourneysRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{8}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetDepartureLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetDepartureLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetArrivalLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetArrivalLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.DepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetTimeDelta() int64 {
|
||
|
if x != nil {
|
||
|
return x.TimeDelta
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetDepartureRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetArrivalRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysRequest) GetCount() int64 {
|
||
|
if x != nil {
|
||
|
return x.Count
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type PassengerJourneysResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
PassengerJourneys []*CarpoolServicePassengerJourney `protobuf:"bytes,1,rep,name=passenger_journeys,json=passengerJourneys,proto3" json:"passenger_journeys,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysResponse) Reset() {
|
||
|
*x = PassengerJourneysResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[9]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*PassengerJourneysResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *PassengerJourneysResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[9]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use PassengerJourneysResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*PassengerJourneysResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{9}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerJourneysResponse) GetPassengerJourneys() []*CarpoolServicePassengerJourney {
|
||
|
if x != nil {
|
||
|
return x.PassengerJourneys
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type DriverRegularTripsRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DepartureLat float64 `protobuf:"fixed64,1,opt,name=departure_lat,json=departureLat,proto3" json:"departure_lat,omitempty"`
|
||
|
DepartureLng float64 `protobuf:"fixed64,2,opt,name=departure_lng,json=departureLng,proto3" json:"departure_lng,omitempty"`
|
||
|
ArrivalLat float64 `protobuf:"fixed64,3,opt,name=arrival_lat,json=arrivalLat,proto3" json:"arrival_lat,omitempty"`
|
||
|
ArrivalLng float64 `protobuf:"fixed64,4,opt,name=arrival_lng,json=arrivalLng,proto3" json:"arrival_lng,omitempty"`
|
||
|
DepartureTimeOfDay string `protobuf:"bytes,5,opt,name=departure_time_of_day,json=departureTimeOfDay,proto3" json:"departure_time_of_day,omitempty"`
|
||
|
DepartureWeekDays []string `protobuf:"bytes,6,rep,name=departure_week_days,json=departureWeekDays,proto3" json:"departure_week_days,omitempty"`
|
||
|
TimeDelta int64 `protobuf:"varint,7,opt,name=time_delta,json=timeDelta,proto3" json:"time_delta,omitempty"`
|
||
|
DepartureRadius float64 `protobuf:"fixed64,8,opt,name=departure_radius,json=departureRadius,proto3" json:"departure_radius,omitempty"`
|
||
|
ArrivalRadius float64 `protobuf:"fixed64,9,opt,name=arrival_radius,json=arrivalRadius,proto3" json:"arrival_radius,omitempty"`
|
||
|
MinDepartureDate *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=min_departure_date,json=minDepartureDate,proto3" json:"min_departure_date,omitempty"`
|
||
|
MaxDepartureDate *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=max_departure_date,json=maxDepartureDate,proto3" json:"max_departure_date,omitempty"`
|
||
|
Count int64 `protobuf:"varint,12,opt,name=count,proto3" json:"count,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) Reset() {
|
||
|
*x = DriverRegularTripsRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[10]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DriverRegularTripsRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[10]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use DriverRegularTripsRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*DriverRegularTripsRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{10}
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetDepartureLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetDepartureLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetArrivalLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetArrivalLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetDepartureTimeOfDay() string {
|
||
|
if x != nil {
|
||
|
return x.DepartureTimeOfDay
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetDepartureWeekDays() []string {
|
||
|
if x != nil {
|
||
|
return x.DepartureWeekDays
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetTimeDelta() int64 {
|
||
|
if x != nil {
|
||
|
return x.TimeDelta
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetDepartureRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetArrivalRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetMinDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.MinDepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetMaxDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.MaxDepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsRequest) GetCount() int64 {
|
||
|
if x != nil {
|
||
|
return x.Count
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type DriverRegularTripsResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DriverRegularTrips []*CarpoolServiceDriverRegularTrip `protobuf:"bytes,1,rep,name=driver_regular_trips,json=driverRegularTrips,proto3" json:"driver_regular_trips,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsResponse) Reset() {
|
||
|
*x = DriverRegularTripsResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[11]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DriverRegularTripsResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *DriverRegularTripsResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[11]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use DriverRegularTripsResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*DriverRegularTripsResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{11}
|
||
|
}
|
||
|
|
||
|
func (x *DriverRegularTripsResponse) GetDriverRegularTrips() []*CarpoolServiceDriverRegularTrip {
|
||
|
if x != nil {
|
||
|
return x.DriverRegularTrips
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type PassengerRegularTripsRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DepartureLat float64 `protobuf:"fixed64,1,opt,name=departure_lat,json=departureLat,proto3" json:"departure_lat,omitempty"`
|
||
|
DepartureLng float64 `protobuf:"fixed64,2,opt,name=departure_lng,json=departureLng,proto3" json:"departure_lng,omitempty"`
|
||
|
ArrivalLat float64 `protobuf:"fixed64,3,opt,name=arrival_lat,json=arrivalLat,proto3" json:"arrival_lat,omitempty"`
|
||
|
ArrivalLng float64 `protobuf:"fixed64,4,opt,name=arrival_lng,json=arrivalLng,proto3" json:"arrival_lng,omitempty"`
|
||
|
DepartureTimeOfDay string `protobuf:"bytes,5,opt,name=departure_time_of_day,json=departureTimeOfDay,proto3" json:"departure_time_of_day,omitempty"`
|
||
|
DepartureWeekDays []string `protobuf:"bytes,6,rep,name=departure_week_days,json=departureWeekDays,proto3" json:"departure_week_days,omitempty"`
|
||
|
TimeDelta int64 `protobuf:"varint,7,opt,name=time_delta,json=timeDelta,proto3" json:"time_delta,omitempty"`
|
||
|
DepartureRadius float64 `protobuf:"fixed64,8,opt,name=departure_radius,json=departureRadius,proto3" json:"departure_radius,omitempty"`
|
||
|
ArrivalRadius float64 `protobuf:"fixed64,9,opt,name=arrival_radius,json=arrivalRadius,proto3" json:"arrival_radius,omitempty"`
|
||
|
MinDepartureDate *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=min_departure_date,json=minDepartureDate,proto3" json:"min_departure_date,omitempty"`
|
||
|
MaxDepartureDate *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=max_departure_date,json=maxDepartureDate,proto3" json:"max_departure_date,omitempty"`
|
||
|
Count int64 `protobuf:"varint,12,opt,name=count,proto3" json:"count,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) Reset() {
|
||
|
*x = PassengerRegularTripsRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[12]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*PassengerRegularTripsRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[12]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use PassengerRegularTripsRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*PassengerRegularTripsRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{12}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetDepartureLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetDepartureLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetArrivalLat() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetArrivalLng() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalLng
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetDepartureTimeOfDay() string {
|
||
|
if x != nil {
|
||
|
return x.DepartureTimeOfDay
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetDepartureWeekDays() []string {
|
||
|
if x != nil {
|
||
|
return x.DepartureWeekDays
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetTimeDelta() int64 {
|
||
|
if x != nil {
|
||
|
return x.TimeDelta
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetDepartureRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.DepartureRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetArrivalRadius() float64 {
|
||
|
if x != nil {
|
||
|
return x.ArrivalRadius
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetMinDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.MinDepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetMaxDepartureDate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.MaxDepartureDate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsRequest) GetCount() int64 {
|
||
|
if x != nil {
|
||
|
return x.Count
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type PassengerRegularTripsResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DriverRegularTrips []*CarpoolServiceDriverRegularTrip `protobuf:"bytes,1,rep,name=driver_regular_trips,json=driverRegularTrips,proto3" json:"driver_regular_trips,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsResponse) Reset() {
|
||
|
*x = PassengerRegularTripsResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[13]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*PassengerRegularTripsResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *PassengerRegularTripsResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[13]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use PassengerRegularTripsResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*PassengerRegularTripsResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{13}
|
||
|
}
|
||
|
|
||
|
func (x *PassengerRegularTripsResponse) GetDriverRegularTrips() []*CarpoolServiceDriverRegularTrip {
|
||
|
if x != nil {
|
||
|
return x.DriverRegularTrips
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type CreateBookingRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Booking *CarpoolServiceBooking `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CreateBookingRequest) Reset() {
|
||
|
*x = CreateBookingRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[14]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *CreateBookingRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateBookingRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateBookingRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[14]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use CreateBookingRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateBookingRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{14}
|
||
|
}
|
||
|
|
||
|
func (x *CreateBookingRequest) GetBooking() *CarpoolServiceBooking {
|
||
|
if x != nil {
|
||
|
return x.Booking
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type CreateBookingResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Booking *CarpoolServiceBooking `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CreateBookingResponse) Reset() {
|
||
|
*x = CreateBookingResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[15]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *CreateBookingResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateBookingResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateBookingResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[15]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use CreateBookingResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateBookingResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{15}
|
||
|
}
|
||
|
|
||
|
func (x *CreateBookingResponse) GetBooking() *CarpoolServiceBooking {
|
||
|
if x != nil {
|
||
|
return x.Booking
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UpdateBookingRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
|
||
|
Status CarpoolServiceBookingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=CarpoolServiceBookingStatus" json:"status,omitempty"`
|
||
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingRequest) Reset() {
|
||
|
*x = UpdateBookingRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[16]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*UpdateBookingRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *UpdateBookingRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[16]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use UpdateBookingRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*UpdateBookingRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{16}
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingRequest) GetBookingId() string {
|
||
|
if x != nil {
|
||
|
return x.BookingId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingRequest) GetStatus() CarpoolServiceBookingStatus {
|
||
|
if x != nil {
|
||
|
return x.Status
|
||
|
}
|
||
|
return CarpoolServiceBookingStatus_INITIATED
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingRequest) GetMessage() string {
|
||
|
if x != nil {
|
||
|
return x.Message
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UpdateBookingResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingResponse) Reset() {
|
||
|
*x = UpdateBookingResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[17]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *UpdateBookingResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*UpdateBookingResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *UpdateBookingResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[17]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use UpdateBookingResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*UpdateBookingResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{17}
|
||
|
}
|
||
|
|
||
|
type GetBookingRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetBookingRequest) Reset() {
|
||
|
*x = GetBookingRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[18]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetBookingRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetBookingRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetBookingRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[18]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetBookingRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetBookingRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{18}
|
||
|
}
|
||
|
|
||
|
func (x *GetBookingRequest) GetBookingId() string {
|
||
|
if x != nil {
|
||
|
return x.BookingId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type GetBookingResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Booking *CarpoolServiceBooking `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetBookingResponse) Reset() {
|
||
|
*x = GetBookingResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_carpool_service_proto_msgTypes[19]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetBookingResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetBookingResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetBookingResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_carpool_service_proto_msgTypes[19]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetBookingResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetBookingResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_carpool_service_proto_rawDescGZIP(), []int{19}
|
||
|
}
|
||
|
|
||
|
func (x *GetBookingResponse) GetBooking() *CarpoolServiceBooking {
|
||
|
if x != nil {
|
||
|
return x.Booking
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_carpool_service_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_carpool_service_proto_rawDesc = []byte{
|
||
|
0x0a, 0x15, 0x63, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
||
|
0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x61, 0x72, 0x70, 0x6f, 0x6f,
|
||
|
0x6c, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
|
||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
|
||
|
0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20,
|
||
|
0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x46, 0x65, 0x61,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06,
|
||
|
0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||
|
0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
|
||
|
0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
|
||
|
0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
|
||
|
0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0xdb, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
|
||
|
0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||
|
0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x61, 0x74, 0x65,
|
||
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x48,
|
||
|
0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f,
|
||
|
0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
||
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
||
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f,
|
||
|
0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||
|
0x52, 0x10, 0x6d, 0x61, 0x78, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61,
|
||
|
0x74, 0x65, 0x22, 0xca, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c,
|
||
|
0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53,
|
||
|
0x0a, 0x0f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x65,
|
||
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
|
||
|
0x72, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||
|
0x65, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x42, 0x79, 0x44, 0x61, 0x74, 0x65, 0x73, 0x45,
|
||
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x42, 0x79, 0x44, 0x61,
|
||
|
0x74, 0x65, 0x73, 0x1a, 0x5a, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x42, 0x79, 0x44,
|
||
|
0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x76,
|
||
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x61, 0x72,
|
||
|
0x70, 0x6f, 0x6f, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
|
||
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
||
|
0xed, 0x02, 0x0a, 0x15, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65,
|
||
|
0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70,
|
||
|
0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01,
|
||
|
0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x61, 0x74, 0x12, 0x23,
|
||
|
0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x6e, 0x67, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65,
|
||
|
0x4c, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x5f, 0x6c,
|
||
|
0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61,
|
||
|
0x6c, 0x4c, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x5f,
|
||
|
0x6c, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x69, 0x76,
|
||
|
0x61, 0x6c, 0x4c, 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75,
|
||
|
0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
||
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
||
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65,
|
||
|
0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69,
|
||
|
0x6d, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
|
0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x52, 0x61, 0x64, 0x69,
|
||
|
0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x5f, 0x72, 0x61,
|
||
|
0x64, 0x69, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x61, 0x72, 0x72, 0x69,
|
||
|
0x76, 0x61, 0x6c, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75,
|
||
|
0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
||
|
0x5f, 0x0a, 0x16, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
|
||
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x64, 0x72, 0x69,
|
||
|
0x76, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||
|
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76,
|
||
|
0x69, 0x63, 0x65, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
|
||
|
0x52, 0x0e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73,
|
||
|
0x22, 0xf0, 0x02, 0x0a, 0x18, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x4a, 0x6f,
|
||
|
0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a,
|
||
|
0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x4c,
|
||
|
0x61, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f,
|
||
|
0x6c, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x4c, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69, 0x76,
|
||
|
0x61, 0x6c, 0x5f, 0x6c, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x72,
|
||
|
0x72, 0x69, 0x76, 0x61, 0x6c, 0x4c, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69,
|
||
|
0x76, 0x61, 0x6c, 0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61,
|
||
|
0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x4c, 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0e, 0x64, 0x65, 0x70,
|
||
|
0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x64,
|
||
|
0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
|
||
|
0x74, 0x69, 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
||
|
0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x64,
|
||
|
0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18,
|
||
|
0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65,
|
||
|
0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61,
|
||
|
0x6c, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d,
|
||
|
0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x14, 0x0a,
|
||
|
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f,
|
||
|
0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x19, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72,
|
||
|
0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||
|
0x12, 0x4e, 0x0a, 0x12, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x5f, 0x6a, 0x6f,
|
||
|
0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x43,
|
||
|
0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x73,
|
||
|
0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x52, 0x11, 0x70,
|
||
|
0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73,
|
||
|
0x22, 0xa5, 0x04, 0x0a, 0x19, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c,
|
||
|
0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23,
|
||
|
0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x18,
|
||
|
0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65,
|
||
|
0x4c, 0x61, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65,
|
||
|
0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61,
|
||
|
0x72, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69,
|
||
|
0x76, 0x61, 0x6c, 0x5f, 0x6c, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61,
|
||
|
0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x4c, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72,
|
||
|
0x69, 0x76, 0x61, 0x6c, 0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a,
|
||
|
0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x4c, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x15, 0x64, 0x65,
|
||
|
0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x5f,
|
||
|
0x64, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x44, 0x61, 0x79, 0x12, 0x2e, 0x0a,
|
||
|
0x13, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x5f,
|
||
|
0x64, 0x61, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x70, 0x61,
|
||
|
0x72, 0x74, 0x75, 0x72, 0x65, 0x57, 0x65, 0x65, 0x6b, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1d, 0x0a,
|
||
|
0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
|
0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x10,
|
||
|
0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73,
|
||
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72,
|
||
|
0x65, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x72, 0x69, 0x76,
|
||
|
0x61, 0x6c, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52,
|
||
|
0x0d, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x48,
|
||
|
0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f,
|
||
|
0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
||
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
||
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f,
|
||
|
0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0b,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||
|
0x52, 0x10, 0x6d, 0x61, 0x78, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61,
|
||
|
0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||
|
0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x70, 0x0a, 0x1a, 0x44, 0x72, 0x69, 0x76,
|
||
|
0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65,
|
||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x14, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72,
|
||
|
0x5f, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x18, 0x01,
|
||
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65,
|
||
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c,
|
||
|
0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x52, 0x12, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65,
|
||
|
0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x22, 0xa8, 0x04, 0x0a, 0x1c, 0x50,
|
||
|
0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54,
|
||
|
0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64,
|
||
|
0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x61, 0x74,
|
||
|
0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x6e,
|
||
|
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75,
|
||
|
0x72, 0x65, 0x4c, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c,
|
||
|
0x5f, 0x6c, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x69,
|
||
|
0x76, 0x61, 0x6c, 0x4c, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61,
|
||
|
0x6c, 0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x72, 0x72,
|
||
|
0x69, 0x76, 0x61, 0x6c, 0x4c, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x15, 0x64, 0x65, 0x70, 0x61, 0x72,
|
||
|
0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x5f, 0x64, 0x61, 0x79,
|
||
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72,
|
||
|
0x65, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x44, 0x61, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x65,
|
||
|
0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x5f, 0x64, 0x61, 0x79,
|
||
|
0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75,
|
||
|
0x72, 0x65, 0x57, 0x65, 0x65, 0x6b, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69,
|
||
|
0x6d, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
||
|
0x74, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x70,
|
||
|
0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x08, 0x20,
|
||
|
0x01, 0x28, 0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x52, 0x61,
|
||
|
0x64, 0x69, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x5f,
|
||
|
0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x61, 0x72,
|
||
|
0x72, 0x69, 0x76, 0x61, 0x6c, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x48, 0x0a, 0x12, 0x6d,
|
||
|
0x69, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74,
|
||
|
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
||
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
||
|
0x61, 0x6d, 0x70, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72,
|
||
|
0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, 0x70,
|
||
|
0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6d,
|
||
|
0x61, 0x78, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12,
|
||
|
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
||
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x73, 0x0a, 0x1d, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67,
|
||
|
0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65,
|
||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x14, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72,
|
||
|
0x5f, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x18, 0x01,
|
||
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65,
|
||
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c,
|
||
|
0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x52, 0x12, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65,
|
||
|
0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x22, 0x48, 0x0a, 0x14, 0x43, 0x72,
|
||
|
0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72,
|
||
|
0x76, 0x69, 0x63, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f,
|
||
|
0x6b, 0x69, 0x6e, 0x67, 0x22, 0x49, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f,
|
||
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a,
|
||
|
0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
|
||
|
0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42,
|
||
|
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22,
|
||
|
0x85, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
|
||
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6b,
|
||
|
0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6f,
|
||
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
||
|
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f,
|
||
|
0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53,
|
||
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a,
|
||
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||
|
0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||
|
0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
||
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6b, 0x69,
|
||
|
0x6e, 0x67, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
|
||
|
0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x62, 0x6f,
|
||
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61,
|
||
|
0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x6f, 0x6f, 0x6b,
|
||
|
0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x32, 0xfb, 0x05, 0x0a,
|
||
|
0x0e, 0x43, 0x61, 0x72, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||
|
0x52, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
|
||
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
|
||
|
0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x75,
|
||
|
0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||
|
0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67,
|
||
|
0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x44, 0x65, 0x6c,
|
||
|
0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||
|
0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73,
|
||
|
0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x2e, 0x47, 0x65, 0x74,
|
||
|
0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x61,
|
||
|
0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
||
|
0x43, 0x0a, 0x0e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
|
||
|
0x73, 0x12, 0x16, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65,
|
||
|
0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x44, 0x72, 0x69, 0x76,
|
||
|
0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||
|
0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65,
|
||
|
0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x12, 0x19, 0x2e, 0x50, 0x61, 0x73, 0x73,
|
||
|
0x65, 0x6e, 0x67, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71,
|
||
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72,
|
||
|
0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||
|
0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75,
|
||
|
0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x12, 0x1a, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65,
|
||
|
0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71,
|
||
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67,
|
||
|
0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||
|
0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x15, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72,
|
||
|
0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72, 0x69, 0x70, 0x73, 0x12, 0x1d, 0x2e, 0x50,
|
||
|
0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54,
|
||
|
0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x50, 0x61,
|
||
|
0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x54, 0x72,
|
||
|
0x69, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a,
|
||
|
0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15,
|
||
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f,
|
||
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
||
|
0x40, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
||
|
0x12, 0x15, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||
|
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||
|
0x00, 0x12, 0x37, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12,
|
||
|
0x12, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69,
|
||
|
0x74, 0x2e, 0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x6f, 0x70,
|
||
|
0x67, 0x6f, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x61, 0x72, 0x70,
|
||
|
0x6f, 0x6f, 0x6c, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63,
|
||
|
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_carpool_service_proto_rawDescOnce sync.Once
|
||
|
file_carpool_service_proto_rawDescData = file_carpool_service_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_carpool_service_proto_rawDescGZIP() []byte {
|
||
|
file_carpool_service_proto_rawDescOnce.Do(func() {
|
||
|
file_carpool_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_carpool_service_proto_rawDescData)
|
||
|
})
|
||
|
return file_carpool_service_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_carpool_service_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||
|
var file_carpool_service_proto_goTypes = []interface{}{
|
||
|
(*CreateRegularRoutesRequest)(nil), // 0: CreateRegularRoutesRequest
|
||
|
(*CreateRegularRoutesResponse)(nil), // 1: CreateRegularRoutesResponse
|
||
|
(*DeleteRegularRoutesRequest)(nil), // 2: DeleteRegularRoutesRequest
|
||
|
(*DeleteRegularRoutesResponse)(nil), // 3: DeleteRegularRoutesResponse
|
||
|
(*GetUserPlanningRequest)(nil), // 4: GetUserPlanningRequest
|
||
|
(*GetUserPlanningResponse)(nil), // 5: GetUserPlanningResponse
|
||
|
(*DriverJourneysRequest)(nil), // 6: DriverJourneysRequest
|
||
|
(*DriverJourneysResponse)(nil), // 7: DriverJourneysResponse
|
||
|
(*PassengerJourneysRequest)(nil), // 8: PassengerJourneysRequest
|
||
|
(*PassengerJourneysResponse)(nil), // 9: PassengerJourneysResponse
|
||
|
(*DriverRegularTripsRequest)(nil), // 10: DriverRegularTripsRequest
|
||
|
(*DriverRegularTripsResponse)(nil), // 11: DriverRegularTripsResponse
|
||
|
(*PassengerRegularTripsRequest)(nil), // 12: PassengerRegularTripsRequest
|
||
|
(*PassengerRegularTripsResponse)(nil), // 13: PassengerRegularTripsResponse
|
||
|
(*CreateBookingRequest)(nil), // 14: CreateBookingRequest
|
||
|
(*CreateBookingResponse)(nil), // 15: CreateBookingResponse
|
||
|
(*UpdateBookingRequest)(nil), // 16: UpdateBookingRequest
|
||
|
(*UpdateBookingResponse)(nil), // 17: UpdateBookingResponse
|
||
|
(*GetBookingRequest)(nil), // 18: GetBookingRequest
|
||
|
(*GetBookingResponse)(nil), // 19: GetBookingResponse
|
||
|
nil, // 20: GetUserPlanningResponse.RoutesByDatesEntry
|
||
|
(*CarpoolFeatureCollection)(nil), // 21: CarpoolFeatureCollection
|
||
|
(*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp
|
||
|
(*CarpoolServiceDriverJourney)(nil), // 23: CarpoolServiceDriverJourney
|
||
|
(*CarpoolServicePassengerJourney)(nil), // 24: CarpoolServicePassengerJourney
|
||
|
(*CarpoolServiceDriverRegularTrip)(nil), // 25: CarpoolServiceDriverRegularTrip
|
||
|
(*CarpoolServiceBooking)(nil), // 26: CarpoolServiceBooking
|
||
|
(CarpoolServiceBookingStatus)(0), // 27: CarpoolServiceBookingStatus
|
||
|
(*CarpoolRoutesCollection)(nil), // 28: CarpoolRoutesCollection
|
||
|
}
|
||
|
var file_carpool_service_proto_depIdxs = []int32{
|
||
|
21, // 0: CreateRegularRoutesRequest.routes:type_name -> CarpoolFeatureCollection
|
||
|
22, // 1: GetUserPlanningRequest.min_departure_date:type_name -> google.protobuf.Timestamp
|
||
|
22, // 2: GetUserPlanningRequest.max_departure_date:type_name -> google.protobuf.Timestamp
|
||
|
20, // 3: GetUserPlanningResponse.routes_by_dates:type_name -> GetUserPlanningResponse.RoutesByDatesEntry
|
||
|
22, // 4: DriverJourneysRequest.departure_date:type_name -> google.protobuf.Timestamp
|
||
|
23, // 5: DriverJourneysResponse.driver_journeys:type_name -> CarpoolServiceDriverJourney
|
||
|
22, // 6: PassengerJourneysRequest.departure_date:type_name -> google.protobuf.Timestamp
|
||
|
24, // 7: PassengerJourneysResponse.passenger_journeys:type_name -> CarpoolServicePassengerJourney
|
||
|
22, // 8: DriverRegularTripsRequest.min_departure_date:type_name -> google.protobuf.Timestamp
|
||
|
22, // 9: DriverRegularTripsRequest.max_departure_date:type_name -> google.protobuf.Timestamp
|
||
|
25, // 10: DriverRegularTripsResponse.driver_regular_trips:type_name -> CarpoolServiceDriverRegularTrip
|
||
|
22, // 11: PassengerRegularTripsRequest.min_departure_date:type_name -> google.protobuf.Timestamp
|
||
|
22, // 12: PassengerRegularTripsRequest.max_departure_date:type_name -> google.protobuf.Timestamp
|
||
|
25, // 13: PassengerRegularTripsResponse.driver_regular_trips:type_name -> CarpoolServiceDriverRegularTrip
|
||
|
26, // 14: CreateBookingRequest.booking:type_name -> CarpoolServiceBooking
|
||
|
26, // 15: CreateBookingResponse.booking:type_name -> CarpoolServiceBooking
|
||
|
27, // 16: UpdateBookingRequest.status:type_name -> CarpoolServiceBookingStatus
|
||
|
26, // 17: GetBookingResponse.booking:type_name -> CarpoolServiceBooking
|
||
|
28, // 18: GetUserPlanningResponse.RoutesByDatesEntry.value:type_name -> CarpoolRoutesCollection
|
||
|
0, // 19: CarpoolService.CreateRegularRoutes:input_type -> CreateRegularRoutesRequest
|
||
|
2, // 20: CarpoolService.DeleteRegularRoutes:input_type -> DeleteRegularRoutesRequest
|
||
|
4, // 21: CarpoolService.GetUserPlanning:input_type -> GetUserPlanningRequest
|
||
|
6, // 22: CarpoolService.DriverJourneys:input_type -> DriverJourneysRequest
|
||
|
8, // 23: CarpoolService.PassengerJourneys:input_type -> PassengerJourneysRequest
|
||
|
10, // 24: CarpoolService.DriverRegularTrips:input_type -> DriverRegularTripsRequest
|
||
|
12, // 25: CarpoolService.PassengerRegularTrips:input_type -> PassengerRegularTripsRequest
|
||
|
14, // 26: CarpoolService.CreateBooking:input_type -> CreateBookingRequest
|
||
|
16, // 27: CarpoolService.UpdateBooking:input_type -> UpdateBookingRequest
|
||
|
18, // 28: CarpoolService.GetBooking:input_type -> GetBookingRequest
|
||
|
1, // 29: CarpoolService.CreateRegularRoutes:output_type -> CreateRegularRoutesResponse
|
||
|
3, // 30: CarpoolService.DeleteRegularRoutes:output_type -> DeleteRegularRoutesResponse
|
||
|
5, // 31: CarpoolService.GetUserPlanning:output_type -> GetUserPlanningResponse
|
||
|
7, // 32: CarpoolService.DriverJourneys:output_type -> DriverJourneysResponse
|
||
|
9, // 33: CarpoolService.PassengerJourneys:output_type -> PassengerJourneysResponse
|
||
|
11, // 34: CarpoolService.DriverRegularTrips:output_type -> DriverRegularTripsResponse
|
||
|
13, // 35: CarpoolService.PassengerRegularTrips:output_type -> PassengerRegularTripsResponse
|
||
|
15, // 36: CarpoolService.CreateBooking:output_type -> CreateBookingResponse
|
||
|
17, // 37: CarpoolService.UpdateBooking:output_type -> UpdateBookingResponse
|
||
|
19, // 38: CarpoolService.GetBooking:output_type -> GetBookingResponse
|
||
|
29, // [29:39] is the sub-list for method output_type
|
||
|
19, // [19:29] is the sub-list for method input_type
|
||
|
19, // [19:19] is the sub-list for extension type_name
|
||
|
19, // [19:19] is the sub-list for extension extendee
|
||
|
0, // [0:19] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_carpool_service_proto_init() }
|
||
|
func file_carpool_service_proto_init() {
|
||
|
if File_carpool_service_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
file_carpool_service_types_proto_init()
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_carpool_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*CreateRegularRoutesRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*CreateRegularRoutesResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*DeleteRegularRoutesRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*DeleteRegularRoutesResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetUserPlanningRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetUserPlanningResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*DriverJourneysRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*DriverJourneysResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*PassengerJourneysRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*PassengerJourneysResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*DriverRegularTripsRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*DriverRegularTripsResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*PassengerRegularTripsRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*PassengerRegularTripsResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*CreateBookingRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*CreateBookingResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*UpdateBookingRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*UpdateBookingResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetBookingRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_carpool_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetBookingResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_carpool_service_proto_rawDesc,
|
||
|
NumEnums: 0,
|
||
|
NumMessages: 21,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_carpool_service_proto_goTypes,
|
||
|
DependencyIndexes: file_carpool_service_proto_depIdxs,
|
||
|
MessageInfos: file_carpool_service_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_carpool_service_proto = out.File
|
||
|
file_carpool_service_proto_rawDesc = nil
|
||
|
file_carpool_service_proto_goTypes = nil
|
||
|
file_carpool_service_proto_depIdxs = nil
|
||
|
}
|