fix conflict with fleets bookings
This commit is contained in:
		
							parent
							
								
									4dbe0bd926
								
							
						
					
					
						commit
						5c722cfcb1
					
				| 
						 | 
				
			
			@ -131,21 +131,21 @@ func (PriceType) EnumDescriptor() ([]byte, []int) {
 | 
			
		|||
	return file_solidarity_api_types_proto_rawDescGZIP(), []int{1}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type BookingStatus int32
 | 
			
		||||
type BookingSolidarityStatus int32
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	BookingStatus_INITIATED                      BookingStatus = 0
 | 
			
		||||
	BookingStatus_WAITING_DRIVER_CONFIRMATION    BookingStatus = 1
 | 
			
		||||
	BookingStatus_WAITING_PASSENGER_CONFIRMATION BookingStatus = 2
 | 
			
		||||
	BookingStatus_CONFIRMED                      BookingStatus = 3
 | 
			
		||||
	BookingStatus_CANCELLED                      BookingStatus = 4
 | 
			
		||||
	BookingStatus_COMPLETED_PENDING_VALIDATION   BookingStatus = 5
 | 
			
		||||
	BookingStatus_VALIDATED                      BookingStatus = 6
 | 
			
		||||
	BookingSolidarityStatus_INITIATED                      BookingSolidarityStatus = 0
 | 
			
		||||
	BookingSolidarityStatus_WAITING_DRIVER_CONFIRMATION    BookingSolidarityStatus = 1
 | 
			
		||||
	BookingSolidarityStatus_WAITING_PASSENGER_CONFIRMATION BookingSolidarityStatus = 2
 | 
			
		||||
	BookingSolidarityStatus_CONFIRMED                      BookingSolidarityStatus = 3
 | 
			
		||||
	BookingSolidarityStatus_CANCELLED                      BookingSolidarityStatus = 4
 | 
			
		||||
	BookingSolidarityStatus_COMPLETED_PENDING_VALIDATION   BookingSolidarityStatus = 5
 | 
			
		||||
	BookingSolidarityStatus_VALIDATED                      BookingSolidarityStatus = 6
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Enum value maps for BookingStatus.
 | 
			
		||||
// Enum value maps for BookingSolidarityStatus.
 | 
			
		||||
var (
 | 
			
		||||
	BookingStatus_name = map[int32]string{
 | 
			
		||||
	BookingSolidarityStatus_name = map[int32]string{
 | 
			
		||||
		0: "INITIATED",
 | 
			
		||||
		1: "WAITING_DRIVER_CONFIRMATION",
 | 
			
		||||
		2: "WAITING_PASSENGER_CONFIRMATION",
 | 
			
		||||
| 
						 | 
				
			
			@ -154,7 +154,7 @@ var (
 | 
			
		|||
		5: "COMPLETED_PENDING_VALIDATION",
 | 
			
		||||
		6: "VALIDATED",
 | 
			
		||||
	}
 | 
			
		||||
	BookingStatus_value = map[string]int32{
 | 
			
		||||
	BookingSolidarityStatus_value = map[string]int32{
 | 
			
		||||
		"INITIATED":                      0,
 | 
			
		||||
		"WAITING_DRIVER_CONFIRMATION":    1,
 | 
			
		||||
		"WAITING_PASSENGER_CONFIRMATION": 2,
 | 
			
		||||
| 
						 | 
				
			
			@ -165,30 +165,30 @@ var (
 | 
			
		|||
	}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func (x BookingStatus) Enum() *BookingStatus {
 | 
			
		||||
	p := new(BookingStatus)
 | 
			
		||||
func (x BookingSolidarityStatus) Enum() *BookingSolidarityStatus {
 | 
			
		||||
	p := new(BookingSolidarityStatus)
 | 
			
		||||
	*p = x
 | 
			
		||||
	return p
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x BookingStatus) String() string {
 | 
			
		||||
func (x BookingSolidarityStatus) String() string {
 | 
			
		||||
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (BookingStatus) Descriptor() protoreflect.EnumDescriptor {
 | 
			
		||||
func (BookingSolidarityStatus) Descriptor() protoreflect.EnumDescriptor {
 | 
			
		||||
	return file_solidarity_api_types_proto_enumTypes[2].Descriptor()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (BookingStatus) Type() protoreflect.EnumType {
 | 
			
		||||
func (BookingSolidarityStatus) Type() protoreflect.EnumType {
 | 
			
		||||
	return &file_solidarity_api_types_proto_enumTypes[2]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x BookingStatus) Number() protoreflect.EnumNumber {
 | 
			
		||||
func (x BookingSolidarityStatus) Number() protoreflect.EnumNumber {
 | 
			
		||||
	return protoreflect.EnumNumber(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use BookingStatus.Descriptor instead.
 | 
			
		||||
func (BookingStatus) EnumDescriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use BookingSolidarityStatus.Descriptor instead.
 | 
			
		||||
func (BookingSolidarityStatus) EnumDescriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_types_proto_rawDescGZIP(), []int{2}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -720,22 +720,22 @@ func (x *RegularAvailabilitySlot) GetEndTime() string {
 | 
			
		|||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type BookingRequest struct {
 | 
			
		||||
type BookingSolidarityRequest struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Id                 string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
			
		||||
	PassengerId        string               `protobuf:"bytes,2,opt,name=passengerId,proto3" json:"passengerId,omitempty"`
 | 
			
		||||
	DriverId           string               `protobuf:"bytes,3,opt,name=driverId,proto3" json:"driverId,omitempty"`
 | 
			
		||||
	Status             BookingStatus        `protobuf:"varint,4,opt,name=status,proto3,enum=BookingStatus" json:"status,omitempty"`
 | 
			
		||||
	DepartureAddress   *Feature             `protobuf:"bytes,5,opt,name=departure_address,json=departureAddress,proto3" json:"departure_address,omitempty"`
 | 
			
		||||
	DestinationAddress *Feature             `protobuf:"bytes,6,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"`
 | 
			
		||||
	PickupDate         *timestamp.Timestamp `protobuf:"bytes,7,opt,name=pickup_date,json=pickupDate,proto3" json:"pickup_date,omitempty"`
 | 
			
		||||
	Id                 string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
			
		||||
	PassengerId        string                  `protobuf:"bytes,2,opt,name=passengerId,proto3" json:"passengerId,omitempty"`
 | 
			
		||||
	DriverId           string                  `protobuf:"bytes,3,opt,name=driverId,proto3" json:"driverId,omitempty"`
 | 
			
		||||
	Status             BookingSolidarityStatus `protobuf:"varint,4,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
 | 
			
		||||
	DepartureAddress   *Feature                `protobuf:"bytes,5,opt,name=departure_address,json=departureAddress,proto3" json:"departure_address,omitempty"`
 | 
			
		||||
	DestinationAddress *Feature                `protobuf:"bytes,6,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"`
 | 
			
		||||
	PickupDate         *timestamp.Timestamp    `protobuf:"bytes,7,opt,name=pickup_date,json=pickupDate,proto3" json:"pickup_date,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) Reset() {
 | 
			
		||||
	*x = BookingRequest{}
 | 
			
		||||
func (x *BookingSolidarityRequest) Reset() {
 | 
			
		||||
	*x = BookingSolidarityRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_types_proto_msgTypes[7]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -743,13 +743,13 @@ func (x *BookingRequest) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) String() string {
 | 
			
		||||
func (x *BookingSolidarityRequest) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*BookingRequest) ProtoMessage() {}
 | 
			
		||||
func (*BookingSolidarityRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *BookingSolidarityRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_types_proto_msgTypes[7]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -761,81 +761,81 @@ func (x *BookingRequest) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use BookingRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*BookingRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use BookingSolidarityRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*BookingSolidarityRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_types_proto_rawDescGZIP(), []int{7}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetId() string {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetId() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Id
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetPassengerId() string {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetPassengerId() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PassengerId
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetDriverId() string {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetDriverId() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.DriverId
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetStatus() BookingStatus {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetStatus() BookingSolidarityStatus {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Status
 | 
			
		||||
	}
 | 
			
		||||
	return BookingStatus_INITIATED
 | 
			
		||||
	return BookingSolidarityStatus_INITIATED
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetDepartureAddress() *Feature {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetDepartureAddress() *Feature {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.DepartureAddress
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetDestinationAddress() *Feature {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetDestinationAddress() *Feature {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.DestinationAddress
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingRequest) GetPickupDate() *timestamp.Timestamp {
 | 
			
		||||
func (x *BookingSolidarityRequest) GetPickupDate() *timestamp.Timestamp {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PickupDate
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type BookingSilvermobi struct {
 | 
			
		||||
type BookingSolidarity struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Id                        string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
			
		||||
	Driver                    *User                `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
 | 
			
		||||
	Passenger                 *User                `protobuf:"bytes,3,opt,name=passenger,proto3" json:"passenger,omitempty"`
 | 
			
		||||
	PassengerPickupDate       *timestamp.Timestamp `protobuf:"bytes,4,opt,name=passengerPickupDate,proto3" json:"passengerPickupDate,omitempty"`
 | 
			
		||||
	PassengerDepartureRoute   *Feature             `protobuf:"bytes,5,opt,name=passenger_departure_route,json=passengerDepartureRoute,proto3" json:"passenger_departure_route,omitempty"`
 | 
			
		||||
	PassengerDestinationRoute *Feature             `protobuf:"bytes,6,opt,name=passenger_destination_route,json=passengerDestinationRoute,proto3" json:"passenger_destination_route,omitempty"`
 | 
			
		||||
	Status                    BookingStatus        `protobuf:"varint,7,opt,name=status,proto3,enum=BookingStatus" json:"status,omitempty"`
 | 
			
		||||
	Duration                  int64                `protobuf:"varint,8,opt,name=duration,proto3" json:"duration,omitempty"`
 | 
			
		||||
	Distance                  int64                `protobuf:"varint,9,opt,name=distance,proto3" json:"distance,omitempty"`
 | 
			
		||||
	Price                     *Price               `protobuf:"bytes,10,opt,name=price,proto3" json:"price,omitempty"`
 | 
			
		||||
	Car                       *Car                 `protobuf:"bytes,11,opt,name=car,proto3" json:"car,omitempty"`
 | 
			
		||||
	PickupDate                *timestamp.Timestamp `protobuf:"bytes,12,opt,name=pickup_date,json=pickupDate,proto3" json:"pickup_date,omitempty"`
 | 
			
		||||
	Id                        string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
			
		||||
	Driver                    *User                   `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
 | 
			
		||||
	Passenger                 *User                   `protobuf:"bytes,3,opt,name=passenger,proto3" json:"passenger,omitempty"`
 | 
			
		||||
	PassengerPickupDate       *timestamp.Timestamp    `protobuf:"bytes,4,opt,name=passengerPickupDate,proto3" json:"passengerPickupDate,omitempty"`
 | 
			
		||||
	PassengerDepartureRoute   *Feature                `protobuf:"bytes,5,opt,name=passenger_departure_route,json=passengerDepartureRoute,proto3" json:"passenger_departure_route,omitempty"`
 | 
			
		||||
	PassengerDestinationRoute *Feature                `protobuf:"bytes,6,opt,name=passenger_destination_route,json=passengerDestinationRoute,proto3" json:"passenger_destination_route,omitempty"`
 | 
			
		||||
	Status                    BookingSolidarityStatus `protobuf:"varint,7,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
 | 
			
		||||
	Duration                  int64                   `protobuf:"varint,8,opt,name=duration,proto3" json:"duration,omitempty"`
 | 
			
		||||
	Distance                  int64                   `protobuf:"varint,9,opt,name=distance,proto3" json:"distance,omitempty"`
 | 
			
		||||
	Price                     *Price                  `protobuf:"bytes,10,opt,name=price,proto3" json:"price,omitempty"`
 | 
			
		||||
	Car                       *Car                    `protobuf:"bytes,11,opt,name=car,proto3" json:"car,omitempty"`
 | 
			
		||||
	PickupDate                *timestamp.Timestamp    `protobuf:"bytes,12,opt,name=pickup_date,json=pickupDate,proto3" json:"pickup_date,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) Reset() {
 | 
			
		||||
	*x = BookingSilvermobi{}
 | 
			
		||||
func (x *BookingSolidarity) Reset() {
 | 
			
		||||
	*x = BookingSolidarity{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_types_proto_msgTypes[8]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -843,13 +843,13 @@ func (x *BookingSilvermobi) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) String() string {
 | 
			
		||||
func (x *BookingSolidarity) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*BookingSilvermobi) ProtoMessage() {}
 | 
			
		||||
func (*BookingSolidarity) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *BookingSolidarity) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_types_proto_msgTypes[8]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -861,89 +861,89 @@ func (x *BookingSilvermobi) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use BookingSilvermobi.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*BookingSilvermobi) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use BookingSolidarity.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*BookingSolidarity) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_types_proto_rawDescGZIP(), []int{8}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetId() string {
 | 
			
		||||
func (x *BookingSolidarity) GetId() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Id
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetDriver() *User {
 | 
			
		||||
func (x *BookingSolidarity) GetDriver() *User {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Driver
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetPassenger() *User {
 | 
			
		||||
func (x *BookingSolidarity) GetPassenger() *User {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Passenger
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetPassengerPickupDate() *timestamp.Timestamp {
 | 
			
		||||
func (x *BookingSolidarity) GetPassengerPickupDate() *timestamp.Timestamp {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PassengerPickupDate
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetPassengerDepartureRoute() *Feature {
 | 
			
		||||
func (x *BookingSolidarity) GetPassengerDepartureRoute() *Feature {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PassengerDepartureRoute
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetPassengerDestinationRoute() *Feature {
 | 
			
		||||
func (x *BookingSolidarity) GetPassengerDestinationRoute() *Feature {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PassengerDestinationRoute
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetStatus() BookingStatus {
 | 
			
		||||
func (x *BookingSolidarity) GetStatus() BookingSolidarityStatus {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Status
 | 
			
		||||
	}
 | 
			
		||||
	return BookingStatus_INITIATED
 | 
			
		||||
	return BookingSolidarityStatus_INITIATED
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetDuration() int64 {
 | 
			
		||||
func (x *BookingSolidarity) GetDuration() int64 {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Duration
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetDistance() int64 {
 | 
			
		||||
func (x *BookingSolidarity) GetDistance() int64 {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Distance
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetPrice() *Price {
 | 
			
		||||
func (x *BookingSolidarity) GetPrice() *Price {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Price
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetCar() *Car {
 | 
			
		||||
func (x *BookingSolidarity) GetCar() *Car {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Car
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *BookingSilvermobi) GetPickupDate() *timestamp.Timestamp {
 | 
			
		||||
func (x *BookingSolidarity) GetPickupDate() *timestamp.Timestamp {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PickupDate
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -1335,119 +1335,121 @@ var file_solidarity_api_types_proto_rawDesc = []byte{
 | 
			
		|||
	0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72,
 | 
			
		||||
	0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
 | 
			
		||||
	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22,
 | 
			
		||||
	0xb5, 0x02, 0x0a, 0x0e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
 | 
			
		||||
	0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
 | 
			
		||||
	0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x49,
 | 
			
		||||
	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67,
 | 
			
		||||
	0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64,
 | 
			
		||||
	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64,
 | 
			
		||||
	0x12, 0x26, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
 | 
			
		||||
	0x32, 0x0e, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
 | 
			
		||||
	0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x61,
 | 
			
		||||
	0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20,
 | 
			
		||||
	0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x10, 0x64,
 | 
			
		||||
	0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
 | 
			
		||||
	0x39, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61,
 | 
			
		||||
	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46,
 | 
			
		||||
	0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
 | 
			
		||||
	0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x70, 0x69,
 | 
			
		||||
	0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 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, 0x0a, 0x70, 0x69, 0x63,
 | 
			
		||||
	0x6b, 0x75, 0x70, 0x44, 0x61, 0x74, 0x65, 0x22, 0x98, 0x04, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6b,
 | 
			
		||||
	0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x0e, 0x0a,
 | 
			
		||||
	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a,
 | 
			
		||||
	0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e,
 | 
			
		||||
	0x55, 0x73, 0x65, 0x72, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x09,
 | 
			
		||||
	0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
 | 
			
		||||
	0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x09, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65,
 | 
			
		||||
	0x72, 0x12, 0x4c, 0x0a, 0x13, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x50, 0x69,
 | 
			
		||||
	0x63, 0x6b, 0x75, 0x70, 0x44, 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, 0x13, 0x70, 0x61, 0x73, 0x73,
 | 
			
		||||
	0x65, 0x6e, 0x67, 0x65, 0x72, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x61, 0x74, 0x65, 0x12,
 | 
			
		||||
	0x44, 0x0a, 0x19, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x70,
 | 
			
		||||
	0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x17, 0x70, 0x61,
 | 
			
		||||
	0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65,
 | 
			
		||||
	0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x1b, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67,
 | 
			
		||||
	0x65, 0x72, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
 | 
			
		||||
	0x6f, 0x75, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61,
 | 
			
		||||
	0x74, 0x75, 0x72, 0x65, 0x52, 0x19, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x44,
 | 
			
		||||
	0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12,
 | 
			
		||||
	0x26, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32,
 | 
			
		||||
	0x0e, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
 | 
			
		||||
	0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74,
 | 
			
		||||
	0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74,
 | 
			
		||||
	0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18,
 | 
			
		||||
	0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12,
 | 
			
		||||
	0x1c, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06,
 | 
			
		||||
	0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a,
 | 
			
		||||
	0x03, 0x63, 0x61, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x43, 0x61, 0x72,
 | 
			
		||||
	0x52, 0x03, 0x63, 0x61, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x5f,
 | 
			
		||||
	0x64, 0x61, 0x74, 0x65, 0x18, 0x0c, 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, 0x0a, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x61,
 | 
			
		||||
	0x74, 0x65, 0x22, 0x31, 0x0a, 0x03, 0x43, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64,
 | 
			
		||||
	0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
 | 
			
		||||
	0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
 | 
			
		||||
	0x62, 0x72, 0x61, 0x6e, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72,
 | 
			
		||||
	0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6d, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
 | 
			
		||||
	0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x6d, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12,
 | 
			
		||||
	0x18, 0x0a, 0x07, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
 | 
			
		||||
	0x52, 0x07, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, 0x73,
 | 
			
		||||
	0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x12,
 | 
			
		||||
	0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x54, 0x61, 0x6c, 0x6b, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c,
 | 
			
		||||
	0x6c, 0x75, 0x67, 0x67, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x03, 0x52, 0x0b, 0x6c, 0x75, 0x67, 0x67, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22,
 | 
			
		||||
	0x5b, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
 | 
			
		||||
	0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x79,
 | 
			
		||||
	0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75,
 | 
			
		||||
	0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
 | 
			
		||||
	0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0xdd, 0x01, 0x0a,
 | 
			
		||||
	0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
 | 
			
		||||
	0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02,
 | 
			
		||||
	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66,
 | 
			
		||||
	0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
 | 
			
		||||
	0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61,
 | 
			
		||||
	0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c,
 | 
			
		||||
	0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65,
 | 
			
		||||
	0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x18, 0x0a,
 | 
			
		||||
	0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
 | 
			
		||||
	0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65,
 | 
			
		||||
	0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12,
 | 
			
		||||
	0x2b, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x65, 0x6e,
 | 
			
		||||
	0x74, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69,
 | 
			
		||||
	0x66, 0x69, 0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2a, 0x4a, 0x0a, 0x09,
 | 
			
		||||
	0x44, 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x4f, 0x4e,
 | 
			
		||||
	0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x55, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x57,
 | 
			
		||||
	0x45, 0x44, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x48, 0x55, 0x10, 0x04, 0x12, 0x07, 0x0a,
 | 
			
		||||
	0x03, 0x46, 0x52, 0x49, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x41, 0x54, 0x10, 0x06, 0x12,
 | 
			
		||||
	0x07, 0x0a, 0x03, 0x53, 0x55, 0x4e, 0x10, 0x07, 0x2a, 0x2e, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63,
 | 
			
		||||
	0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x52, 0x45, 0x45, 0x10, 0x00, 0x12,
 | 
			
		||||
	0x0a, 0x0a, 0x06, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55,
 | 
			
		||||
	0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x2a, 0xb2, 0x01, 0x0a, 0x0d, 0x42, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e,
 | 
			
		||||
	0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x57, 0x41, 0x49,
 | 
			
		||||
	0x54, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x52, 0x49, 0x56, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46,
 | 
			
		||||
	0x49, 0x52, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x41,
 | 
			
		||||
	0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x45, 0x4e, 0x47, 0x45, 0x52, 0x5f,
 | 
			
		||||
	0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x0d,
 | 
			
		||||
	0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a,
 | 
			
		||||
	0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x20, 0x0a, 0x1c,
 | 
			
		||||
	0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e,
 | 
			
		||||
	0x47, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0d,
 | 
			
		||||
	0x0a, 0x09, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x44, 0x10, 0x06, 0x2a, 0x25, 0x0a,
 | 
			
		||||
	0x08, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x72, 0x69,
 | 
			
		||||
	0x76, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67,
 | 
			
		||||
	0x65, 0x72, 0x10, 0x01, 0x42, 0x45, 0x5a, 0x43, 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, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79,
 | 
			
		||||
	0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
 | 
			
		||||
	0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
 | 
			
		||||
	0x74, 0x6f, 0x33,
 | 
			
		||||
	0xc9, 0x02, 0x0a, 0x18, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64,
 | 
			
		||||
	0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
 | 
			
		||||
	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b,
 | 
			
		||||
	0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
 | 
			
		||||
	0x09, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a,
 | 
			
		||||
	0x0a, 0x08, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
 | 
			
		||||
	0x52, 0x08, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74,
 | 
			
		||||
	0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74,
 | 
			
		||||
	0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x11,
 | 
			
		||||
	0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
 | 
			
		||||
	0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
 | 
			
		||||
	0x65, 0x52, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x41, 0x64, 0x64, 0x72,
 | 
			
		||||
	0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
 | 
			
		||||
	0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
 | 
			
		||||
	0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74,
 | 
			
		||||
	0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3b,
 | 
			
		||||
	0x0a, 0x0b, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 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,
 | 
			
		||||
	0x0a, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x61, 0x74, 0x65, 0x22, 0xa2, 0x04, 0x0a, 0x11,
 | 
			
		||||
	0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74,
 | 
			
		||||
	0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
 | 
			
		||||
	0x64, 0x12, 0x1d, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
 | 
			
		||||
	0x0b, 0x32, 0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72,
 | 
			
		||||
	0x12, 0x23, 0x0a, 0x09, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x18, 0x03, 0x20,
 | 
			
		||||
	0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x09, 0x70, 0x61, 0x73, 0x73,
 | 
			
		||||
	0x65, 0x6e, 0x67, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x13, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67,
 | 
			
		||||
	0x65, 0x72, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44, 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, 0x13,
 | 
			
		||||
	0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44,
 | 
			
		||||
	0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, 0x19, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72,
 | 
			
		||||
	0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65,
 | 
			
		||||
	0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
 | 
			
		||||
	0x52, 0x17, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x44, 0x65, 0x70, 0x61, 0x72,
 | 
			
		||||
	0x74, 0x75, 0x72, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x1b, 0x70, 0x61, 0x73,
 | 
			
		||||
	0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
 | 
			
		||||
	0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08,
 | 
			
		||||
	0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x19, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e,
 | 
			
		||||
	0x67, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f,
 | 
			
		||||
	0x75, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20,
 | 
			
		||||
	0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c,
 | 
			
		||||
	0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
 | 
			
		||||
	0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
 | 
			
		||||
	0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
 | 
			
		||||
	0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20,
 | 
			
		||||
	0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a,
 | 
			
		||||
	0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x50,
 | 
			
		||||
	0x72, 0x69, 0x63, 0x65, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x63,
 | 
			
		||||
	0x61, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x43, 0x61, 0x72, 0x52, 0x03,
 | 
			
		||||
	0x63, 0x61, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x61,
 | 
			
		||||
	0x74, 0x65, 0x18, 0x0c, 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, 0x0a, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x61, 0x74, 0x65,
 | 
			
		||||
	0x22, 0x31, 0x0a, 0x03, 0x43, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
 | 
			
		||||
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x14, 0x0a,
 | 
			
		||||
	0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72,
 | 
			
		||||
	0x61, 0x6e, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
 | 
			
		||||
	0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6d, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01,
 | 
			
		||||
	0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x6d, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a,
 | 
			
		||||
	0x07, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
 | 
			
		||||
	0x61, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, 0x73, 0x69, 0x63,
 | 
			
		||||
	0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x1b, 0x0a,
 | 
			
		||||
	0x09, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
 | 
			
		||||
	0x52, 0x08, 0x69, 0x73, 0x54, 0x61, 0x6c, 0x6b, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x75,
 | 
			
		||||
	0x67, 0x67, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
 | 
			
		||||
	0x52, 0x0b, 0x6c, 0x75, 0x67, 0x67, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x5b, 0x0a,
 | 
			
		||||
	0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
 | 
			
		||||
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65,
 | 
			
		||||
	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
 | 
			
		||||
	0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a,
 | 
			
		||||
	0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
 | 
			
		||||
	0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0xdd, 0x01, 0x0a, 0x04, 0x55,
 | 
			
		||||
	0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
 | 
			
		||||
	0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72,
 | 
			
		||||
	0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66,
 | 
			
		||||
	0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74,
 | 
			
		||||
	0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73,
 | 
			
		||||
	0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x05,
 | 
			
		||||
	0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70,
 | 
			
		||||
	0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69,
 | 
			
		||||
	0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18,
 | 
			
		||||
	0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a,
 | 
			
		||||
	0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
 | 
			
		||||
	0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69,
 | 
			
		||||
	0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2a, 0x4a, 0x0a, 0x09, 0x44, 0x61,
 | 
			
		||||
	0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x4f, 0x4e, 0x10, 0x00,
 | 
			
		||||
	0x12, 0x07, 0x0a, 0x03, 0x54, 0x55, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x57, 0x45, 0x44,
 | 
			
		||||
	0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x48, 0x55, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x46,
 | 
			
		||||
	0x52, 0x49, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x41, 0x54, 0x10, 0x06, 0x12, 0x07, 0x0a,
 | 
			
		||||
	0x03, 0x53, 0x55, 0x4e, 0x10, 0x07, 0x2a, 0x2e, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54,
 | 
			
		||||
	0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x52, 0x45, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a,
 | 
			
		||||
	0x06, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
 | 
			
		||||
	0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x2a, 0xbc, 0x01, 0x0a, 0x17, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
 | 
			
		||||
	0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74,
 | 
			
		||||
	0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10,
 | 
			
		||||
	0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x52, 0x49,
 | 
			
		||||
	0x56, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e,
 | 
			
		||||
	0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41,
 | 
			
		||||
	0x53, 0x53, 0x45, 0x4e, 0x47, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x41,
 | 
			
		||||
	0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52,
 | 
			
		||||
	0x4d, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c,
 | 
			
		||||
	0x45, 0x44, 0x10, 0x04, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45,
 | 
			
		||||
	0x44, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41,
 | 
			
		||||
	0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41,
 | 
			
		||||
	0x54, 0x45, 0x44, 0x10, 0x06, 0x2a, 0x25, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70,
 | 
			
		||||
	0x65, 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0d, 0x0a,
 | 
			
		||||
	0x09, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x10, 0x01, 0x42, 0x45, 0x5a, 0x43,
 | 
			
		||||
	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, 0x73, 0x6f,
 | 
			
		||||
	0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
 | 
			
		||||
	0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x72,
 | 
			
		||||
	0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
| 
						 | 
				
			
			@ -1467,7 +1469,7 @@ var file_solidarity_api_types_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
 | 
			
		|||
var file_solidarity_api_types_proto_goTypes = []interface{}{
 | 
			
		||||
	(DayOfWeek)(0),                           // 0: DayOfWeek
 | 
			
		||||
	(PriceType)(0),                           // 1: PriceType
 | 
			
		||||
	(BookingStatus)(0),                       // 2: BookingStatus
 | 
			
		||||
	(BookingSolidarityStatus)(0),             // 2: BookingSolidarityStatus
 | 
			
		||||
	(UserType)(0),                            // 3: UserType
 | 
			
		||||
	(*Feature)(nil),                          // 4: Feature
 | 
			
		||||
	(*DriverJourney)(nil),                    // 5: DriverJourney
 | 
			
		||||
| 
						 | 
				
			
			@ -1476,8 +1478,8 @@ var file_solidarity_api_types_proto_goTypes = []interface{}{
 | 
			
		|||
	(*DriverRequest)(nil),                    // 8: DriverRequest
 | 
			
		||||
	(*PunctualAvailabilitySlot)(nil),         // 9: PunctualAvailabilitySlot
 | 
			
		||||
	(*RegularAvailabilitySlot)(nil),          // 10: RegularAvailabilitySlot
 | 
			
		||||
	(*BookingRequest)(nil),                   // 11: BookingRequest
 | 
			
		||||
	(*BookingSilvermobi)(nil),                // 12: BookingSilvermobi
 | 
			
		||||
	(*BookingSolidarityRequest)(nil),         // 11: BookingSolidarityRequest
 | 
			
		||||
	(*BookingSolidarity)(nil),                // 12: BookingSolidarity
 | 
			
		||||
	(*Car)(nil),                              // 13: Car
 | 
			
		||||
	(*Preferences)(nil),                      // 14: Preferences
 | 
			
		||||
	(*Price)(nil),                            // 15: Price
 | 
			
		||||
| 
						 | 
				
			
			@ -1499,19 +1501,19 @@ var file_solidarity_api_types_proto_depIdxs = []int32{
 | 
			
		|||
	13, // 11: DriverRequest.car:type_name -> Car
 | 
			
		||||
	17, // 12: PunctualAvailabilitySlot.date:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	0,  // 13: RegularAvailabilitySlot.dayOfWeek:type_name -> DayOfWeek
 | 
			
		||||
	2,  // 14: BookingRequest.status:type_name -> BookingStatus
 | 
			
		||||
	4,  // 15: BookingRequest.departure_address:type_name -> Feature
 | 
			
		||||
	4,  // 16: BookingRequest.destination_address:type_name -> Feature
 | 
			
		||||
	17, // 17: BookingRequest.pickup_date:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	16, // 18: BookingSilvermobi.driver:type_name -> User
 | 
			
		||||
	16, // 19: BookingSilvermobi.passenger:type_name -> User
 | 
			
		||||
	17, // 20: BookingSilvermobi.passengerPickupDate:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	4,  // 21: BookingSilvermobi.passenger_departure_route:type_name -> Feature
 | 
			
		||||
	4,  // 22: BookingSilvermobi.passenger_destination_route:type_name -> Feature
 | 
			
		||||
	2,  // 23: BookingSilvermobi.status:type_name -> BookingStatus
 | 
			
		||||
	15, // 24: BookingSilvermobi.price:type_name -> Price
 | 
			
		||||
	13, // 25: BookingSilvermobi.car:type_name -> Car
 | 
			
		||||
	17, // 26: BookingSilvermobi.pickup_date:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	2,  // 14: BookingSolidarityRequest.status:type_name -> BookingSolidarityStatus
 | 
			
		||||
	4,  // 15: BookingSolidarityRequest.departure_address:type_name -> Feature
 | 
			
		||||
	4,  // 16: BookingSolidarityRequest.destination_address:type_name -> Feature
 | 
			
		||||
	17, // 17: BookingSolidarityRequest.pickup_date:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	16, // 18: BookingSolidarity.driver:type_name -> User
 | 
			
		||||
	16, // 19: BookingSolidarity.passenger:type_name -> User
 | 
			
		||||
	17, // 20: BookingSolidarity.passengerPickupDate:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	4,  // 21: BookingSolidarity.passenger_departure_route:type_name -> Feature
 | 
			
		||||
	4,  // 22: BookingSolidarity.passenger_destination_route:type_name -> Feature
 | 
			
		||||
	2,  // 23: BookingSolidarity.status:type_name -> BookingSolidarityStatus
 | 
			
		||||
	15, // 24: BookingSolidarity.price:type_name -> Price
 | 
			
		||||
	13, // 25: BookingSolidarity.car:type_name -> Car
 | 
			
		||||
	17, // 26: BookingSolidarity.pickup_date:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	1,  // 27: Price.type:type_name -> PriceType
 | 
			
		||||
	28, // [28:28] is the sub-list for method output_type
 | 
			
		||||
	28, // [28:28] is the sub-list for method input_type
 | 
			
		||||
| 
						 | 
				
			
			@ -1611,7 +1613,7 @@ func file_solidarity_api_types_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*BookingRequest); i {
 | 
			
		||||
			switch v := v.(*BookingSolidarityRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			@ -1623,7 +1625,7 @@ func file_solidarity_api_types_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_types_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*BookingSilvermobi); i {
 | 
			
		||||
			switch v := v.(*BookingSolidarity); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,24 +57,24 @@ enum DayOfWeek {
 | 
			
		|||
    SUN = 7;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message BookingRequest {
 | 
			
		||||
message BookingSolidarityRequest {
 | 
			
		||||
  string id = 1;
 | 
			
		||||
 string passengerId = 2;
 | 
			
		||||
 string driverId = 3;
 | 
			
		||||
 BookingStatus status = 4;
 | 
			
		||||
 BookingSolidarityStatus status = 4;
 | 
			
		||||
 Feature departure_address =5;
 | 
			
		||||
 Feature destination_address = 6;
 | 
			
		||||
  google.protobuf.Timestamp pickup_date = 7;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message BookingSilvermobi {
 | 
			
		||||
message BookingSolidarity {
 | 
			
		||||
  string id = 1;
 | 
			
		||||
  User driver = 2;
 | 
			
		||||
  User passenger = 3;
 | 
			
		||||
  google.protobuf.Timestamp passengerPickupDate =4;
 | 
			
		||||
  Feature passenger_departure_route = 5;
 | 
			
		||||
  Feature passenger_destination_route = 6;
 | 
			
		||||
  BookingStatus status = 7;
 | 
			
		||||
  BookingSolidarityStatus status = 7;
 | 
			
		||||
  int64 duration = 8;
 | 
			
		||||
  int64 distance = 9;
 | 
			
		||||
  Price price = 10;
 | 
			
		||||
| 
						 | 
				
			
			@ -119,7 +119,7 @@ message User {
 | 
			
		|||
  bool verified_identity = 8;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
enum BookingStatus {
 | 
			
		||||
enum BookingSolidarityStatus {
 | 
			
		||||
  INITIATED = 0;
 | 
			
		||||
  WAITING_DRIVER_CONFIRMATION = 1;
 | 
			
		||||
  WAITING_PASSENGER_CONFIRMATION = 2;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -296,16 +296,16 @@ func (x *DriverAvailabilitiesResponse) GetMessage() string {
 | 
			
		|||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type CreateBookingSilvermobiRequest struct {
 | 
			
		||||
type CreateBookingSolidarityRequest struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Booking *BookingRequest `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
	Booking *BookingSolidarityRequest `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiRequest) Reset() {
 | 
			
		||||
	*x = CreateBookingSilvermobiRequest{}
 | 
			
		||||
func (x *CreateBookingSolidarityRequest) Reset() {
 | 
			
		||||
	*x = CreateBookingSolidarityRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_proto_msgTypes[5]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -313,13 +313,13 @@ func (x *CreateBookingSilvermobiRequest) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiRequest) String() string {
 | 
			
		||||
func (x *CreateBookingSolidarityRequest) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*CreateBookingSilvermobiRequest) ProtoMessage() {}
 | 
			
		||||
func (*CreateBookingSolidarityRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *CreateBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_proto_msgTypes[5]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -331,28 +331,28 @@ func (x *CreateBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use CreateBookingSilvermobiRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*CreateBookingSilvermobiRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use CreateBookingSolidarityRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*CreateBookingSolidarityRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_proto_rawDescGZIP(), []int{5}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiRequest) GetBooking() *BookingRequest {
 | 
			
		||||
func (x *CreateBookingSolidarityRequest) GetBooking() *BookingSolidarityRequest {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Booking
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type CreateBookingSilvermobiResponse struct {
 | 
			
		||||
type CreateBookingSolidarityResponse struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Booking *BookingSilvermobi `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
	Booking *BookingSolidarity `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiResponse) Reset() {
 | 
			
		||||
	*x = CreateBookingSilvermobiResponse{}
 | 
			
		||||
func (x *CreateBookingSolidarityResponse) Reset() {
 | 
			
		||||
	*x = CreateBookingSolidarityResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_proto_msgTypes[6]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -360,13 +360,13 @@ func (x *CreateBookingSilvermobiResponse) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiResponse) String() string {
 | 
			
		||||
func (x *CreateBookingSolidarityResponse) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*CreateBookingSilvermobiResponse) ProtoMessage() {}
 | 
			
		||||
func (*CreateBookingSolidarityResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *CreateBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_proto_msgTypes[6]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -378,30 +378,30 @@ func (x *CreateBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use CreateBookingSilvermobiResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*CreateBookingSilvermobiResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use CreateBookingSolidarityResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*CreateBookingSolidarityResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_proto_rawDescGZIP(), []int{6}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *CreateBookingSilvermobiResponse) GetBooking() *BookingSilvermobi {
 | 
			
		||||
func (x *CreateBookingSolidarityResponse) GetBooking() *BookingSolidarity {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Booking
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type UpdateBookingSilvermobiRequest struct {
 | 
			
		||||
type UpdateBookingSolidarityRequest 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    BookingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=BookingStatus" json:"status,omitempty"`
 | 
			
		||||
	Message   string        `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
 | 
			
		||||
	BookingId string                  `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
 | 
			
		||||
	Status    BookingSolidarityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
 | 
			
		||||
	Message   string                  `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiRequest) Reset() {
 | 
			
		||||
	*x = UpdateBookingSilvermobiRequest{}
 | 
			
		||||
func (x *UpdateBookingSolidarityRequest) Reset() {
 | 
			
		||||
	*x = UpdateBookingSolidarityRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_proto_msgTypes[7]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -409,13 +409,13 @@ func (x *UpdateBookingSilvermobiRequest) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiRequest) String() string {
 | 
			
		||||
func (x *UpdateBookingSolidarityRequest) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*UpdateBookingSilvermobiRequest) ProtoMessage() {}
 | 
			
		||||
func (*UpdateBookingSolidarityRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *UpdateBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_proto_msgTypes[7]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -427,33 +427,33 @@ func (x *UpdateBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use UpdateBookingSilvermobiRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*UpdateBookingSilvermobiRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use UpdateBookingSolidarityRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*UpdateBookingSolidarityRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_proto_rawDescGZIP(), []int{7}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiRequest) GetBookingId() string {
 | 
			
		||||
func (x *UpdateBookingSolidarityRequest) GetBookingId() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.BookingId
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiRequest) GetStatus() BookingStatus {
 | 
			
		||||
func (x *UpdateBookingSolidarityRequest) GetStatus() BookingSolidarityStatus {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Status
 | 
			
		||||
	}
 | 
			
		||||
	return BookingStatus_INITIATED
 | 
			
		||||
	return BookingSolidarityStatus_INITIATED
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiRequest) GetMessage() string {
 | 
			
		||||
func (x *UpdateBookingSolidarityRequest) GetMessage() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Message
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type UpdateBookingSilvermobiResponse struct {
 | 
			
		||||
type UpdateBookingSolidarityResponse struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
| 
						 | 
				
			
			@ -462,8 +462,8 @@ type UpdateBookingSilvermobiResponse struct {
 | 
			
		|||
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiResponse) Reset() {
 | 
			
		||||
	*x = UpdateBookingSilvermobiResponse{}
 | 
			
		||||
func (x *UpdateBookingSolidarityResponse) Reset() {
 | 
			
		||||
	*x = UpdateBookingSolidarityResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_proto_msgTypes[8]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -471,13 +471,13 @@ func (x *UpdateBookingSilvermobiResponse) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiResponse) String() string {
 | 
			
		||||
func (x *UpdateBookingSolidarityResponse) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*UpdateBookingSilvermobiResponse) ProtoMessage() {}
 | 
			
		||||
func (*UpdateBookingSolidarityResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *UpdateBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_proto_msgTypes[8]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -489,26 +489,26 @@ func (x *UpdateBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use UpdateBookingSilvermobiResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*UpdateBookingSilvermobiResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use UpdateBookingSolidarityResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*UpdateBookingSolidarityResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_proto_rawDescGZIP(), []int{8}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiResponse) GetSuccess() bool {
 | 
			
		||||
func (x *UpdateBookingSolidarityResponse) GetSuccess() bool {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Success
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *UpdateBookingSilvermobiResponse) GetMessage() string {
 | 
			
		||||
func (x *UpdateBookingSolidarityResponse) GetMessage() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Message
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type GetBookingSilvermobiRequest struct {
 | 
			
		||||
type GetBookingSolidarityRequest struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
| 
						 | 
				
			
			@ -516,8 +516,8 @@ type GetBookingSilvermobiRequest struct {
 | 
			
		|||
	BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiRequest) Reset() {
 | 
			
		||||
	*x = GetBookingSilvermobiRequest{}
 | 
			
		||||
func (x *GetBookingSolidarityRequest) Reset() {
 | 
			
		||||
	*x = GetBookingSolidarityRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_proto_msgTypes[9]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -525,13 +525,13 @@ func (x *GetBookingSilvermobiRequest) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiRequest) String() string {
 | 
			
		||||
func (x *GetBookingSolidarityRequest) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*GetBookingSilvermobiRequest) ProtoMessage() {}
 | 
			
		||||
func (*GetBookingSolidarityRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *GetBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_proto_msgTypes[9]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -543,28 +543,28 @@ func (x *GetBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use GetBookingSilvermobiRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*GetBookingSilvermobiRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use GetBookingSolidarityRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*GetBookingSolidarityRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_proto_rawDescGZIP(), []int{9}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiRequest) GetBookingId() string {
 | 
			
		||||
func (x *GetBookingSolidarityRequest) GetBookingId() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.BookingId
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type GetBookingSilvermobiResponse struct {
 | 
			
		||||
type GetBookingSolidarityResponse struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Booking *BookingSilvermobi `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
	Booking *BookingSolidarity `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiResponse) Reset() {
 | 
			
		||||
	*x = GetBookingSilvermobiResponse{}
 | 
			
		||||
func (x *GetBookingSolidarityResponse) Reset() {
 | 
			
		||||
	*x = GetBookingSolidarityResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_solidarity_api_proto_msgTypes[10]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -572,13 +572,13 @@ func (x *GetBookingSilvermobiResponse) Reset() {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiResponse) String() string {
 | 
			
		||||
func (x *GetBookingSolidarityResponse) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*GetBookingSilvermobiResponse) ProtoMessage() {}
 | 
			
		||||
func (*GetBookingSolidarityResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
func (x *GetBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_solidarity_api_proto_msgTypes[10]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
| 
						 | 
				
			
			@ -590,12 +590,12 @@ func (x *GetBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
 | 
			
		|||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use GetBookingSilvermobiResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*GetBookingSilvermobiResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
// Deprecated: Use GetBookingSolidarityResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*GetBookingSolidarityResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_solidarity_api_proto_rawDescGZIP(), []int{10}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingSilvermobiResponse) GetBooking() *BookingSilvermobi {
 | 
			
		||||
func (x *GetBookingSolidarityResponse) GetBooking() *BookingSolidarity {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Booking
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -607,9 +607,9 @@ type GetBookingsByStatusRequest struct {
 | 
			
		|||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Status BookingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=BookingStatus" json:"status,omitempty"`
 | 
			
		||||
	Type   UserType      `protobuf:"varint,2,opt,name=type,proto3,enum=UserType" json:"type,omitempty"`
 | 
			
		||||
	UserId string        `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
 | 
			
		||||
	Status BookingSolidarityStatus `protobuf:"varint,1,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
 | 
			
		||||
	Type   UserType                `protobuf:"varint,2,opt,name=type,proto3,enum=UserType" json:"type,omitempty"`
 | 
			
		||||
	UserId string                  `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingsByStatusRequest) Reset() {
 | 
			
		||||
| 
						 | 
				
			
			@ -644,11 +644,11 @@ func (*GetBookingsByStatusRequest) Descriptor() ([]byte, []int) {
 | 
			
		|||
	return file_solidarity_api_proto_rawDescGZIP(), []int{11}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingsByStatusRequest) GetStatus() BookingStatus {
 | 
			
		||||
func (x *GetBookingsByStatusRequest) GetStatus() BookingSolidarityStatus {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Status
 | 
			
		||||
	}
 | 
			
		||||
	return BookingStatus_INITIATED
 | 
			
		||||
	return BookingSolidarityStatus_INITIATED
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingsByStatusRequest) GetType() UserType {
 | 
			
		||||
| 
						 | 
				
			
			@ -772,7 +772,7 @@ type GetBookingsByStatusResponse struct {
 | 
			
		|||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Booking []*BookingSilvermobi `protobuf:"bytes,1,rep,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
	Booking []*BookingSolidarity `protobuf:"bytes,1,rep,name=booking,proto3" json:"booking,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingsByStatusResponse) Reset() {
 | 
			
		||||
| 
						 | 
				
			
			@ -807,7 +807,7 @@ func (*GetBookingsByStatusResponse) Descriptor() ([]byte, []int) {
 | 
			
		|||
	return file_solidarity_api_proto_rawDescGZIP(), []int{14}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *GetBookingsByStatusResponse) GetBooking() []*BookingSilvermobi {
 | 
			
		||||
func (x *GetBookingsByStatusResponse) GetBooking() []*BookingSolidarity {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Booking
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -860,115 +860,117 @@ var file_solidarity_api_proto_rawDesc = []byte{
 | 
			
		|||
	0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75,
 | 
			
		||||
	0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
 | 
			
		||||
	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
 | 
			
		||||
	0x4b, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
 | 
			
		||||
	0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | 
			
		||||
	0x74, 0x12, 0x29, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75,
 | 
			
		||||
	0x65, 0x73, 0x74, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x4f, 0x0a, 0x1f,
 | 
			
		||||
	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c,
 | 
			
		||||
	0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
 | 
			
		||||
	0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
 | 
			
		||||
	0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72,
 | 
			
		||||
	0x6d, 0x6f, 0x62, 0x69, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x81, 0x01,
 | 
			
		||||
	0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53,
 | 
			
		||||
	0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 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,
 | 
			
		||||
	0x26, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
 | 
			
		||||
	0x0e, 0x2e, 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, 0x55, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
 | 
			
		||||
	0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73, 0x70,
 | 
			
		||||
	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18,
 | 
			
		||||
	0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18,
 | 
			
		||||
	0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
 | 
			
		||||
	0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3c, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x42,
 | 
			
		||||
	0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69,
 | 
			
		||||
	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, 0x4c, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65,
 | 
			
		||||
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
 | 
			
		||||
	0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
 | 
			
		||||
	0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x07, 0x62, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x22, 0x7c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
 | 
			
		||||
	0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
 | 
			
		||||
	0x73, 0x74, 0x12, 0x26, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74,
 | 
			
		||||
	0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x04, 0x74, 0x79,
 | 
			
		||||
	0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54,
 | 
			
		||||
	0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65,
 | 
			
		||||
	0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
 | 
			
		||||
	0x49, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x15, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75,
 | 
			
		||||
	0x72, 0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x09,
 | 
			
		||||
	0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
 | 
			
		||||
	0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x64, 0x65, 0x70, 0x61, 0x72,
 | 
			
		||||
	0x74, 0x75, 0x72, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72,
 | 
			
		||||
	0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 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, 0x22, 0x51, 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, 0x37, 0x0a, 0x0f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x75, 0x72,
 | 
			
		||||
	0x6e, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 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, 0x4b, 0x0a, 0x1b, 0x47, 0x65,
 | 
			
		||||
	0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75,
 | 
			
		||||
	0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x07,
 | 
			
		||||
	0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x32, 0xcc, 0x05, 0x0a, 0x11, 0x53, 0x6f, 0x6c, 0x69,
 | 
			
		||||
	0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a,
 | 
			
		||||
	0x1e, 0x53, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61,
 | 
			
		||||
	0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12,
 | 
			
		||||
	0x1c, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x41,
 | 
			
		||||
	0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x1d, 0x2e,
 | 
			
		||||
	0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69,
 | 
			
		||||
	0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61,
 | 
			
		||||
	0x0a, 0x1f, 0x53, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x74,
 | 
			
		||||
	0x75, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65,
 | 
			
		||||
	0x73, 0x12, 0x1d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x74, 0x75,
 | 
			
		||||
	0x55, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
 | 
			
		||||
	0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | 
			
		||||
	0x74, 0x12, 0x33, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x0b, 0x32, 0x19, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69,
 | 
			
		||||
	0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x62,
 | 
			
		||||
	0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x4f, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
 | 
			
		||||
	0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74,
 | 
			
		||||
	0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x07,
 | 
			
		||||
	0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x8b, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61,
 | 
			
		||||
	0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72,
 | 
			
		||||
	0x69, 0x74, 0x79, 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, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61,
 | 
			
		||||
	0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b,
 | 
			
		||||
	0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 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, 0x55, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42,
 | 
			
		||||
	0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79,
 | 
			
		||||
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63,
 | 
			
		||||
	0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
 | 
			
		||||
	0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
 | 
			
		||||
	0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3c, 0x0a, 0x1b,
 | 
			
		||||
	0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61,
 | 
			
		||||
	0x72, 0x69, 0x74, 0x79, 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, 0x4c, 0x0a, 0x1c, 0x47, 0x65,
 | 
			
		||||
	0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69,
 | 
			
		||||
	0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f,
 | 
			
		||||
	0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f,
 | 
			
		||||
	0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52,
 | 
			
		||||
	0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x86, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74,
 | 
			
		||||
	0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
 | 
			
		||||
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
 | 
			
		||||
	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
 | 
			
		||||
	0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75,
 | 
			
		||||
	0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x04, 0x74, 0x79, 0x70,
 | 
			
		||||
	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79,
 | 
			
		||||
	0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72,
 | 
			
		||||
	0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
 | 
			
		||||
	0x64, 0x22, 0x82, 0x01, 0x0a, 0x15, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72,
 | 
			
		||||
	0x6e, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x09, 0x64,
 | 
			
		||||
	0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08,
 | 
			
		||||
	0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74,
 | 
			
		||||
	0x75, 0x72, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65,
 | 
			
		||||
	0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 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, 0x22, 0x51, 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, 0x37, 0x0a, 0x0f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x75, 0x72, 0x6e,
 | 
			
		||||
	0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 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, 0x4b, 0x0a, 0x1b, 0x47, 0x65, 0x74,
 | 
			
		||||
	0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
 | 
			
		||||
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b,
 | 
			
		||||
	0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f, 0x6b,
 | 
			
		||||
	0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x07, 0x62,
 | 
			
		||||
	0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x32, 0xcc, 0x05, 0x0a, 0x11, 0x53, 0x6f, 0x6c, 0x69, 0x64,
 | 
			
		||||
	0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x1e,
 | 
			
		||||
	0x53, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
 | 
			
		||||
	0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c,
 | 
			
		||||
	0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x41, 0x76,
 | 
			
		||||
	0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x1d, 0x2e, 0x44,
 | 
			
		||||
	0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74,
 | 
			
		||||
	0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a,
 | 
			
		||||
	0x1f, 0x53, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x74, 0x75,
 | 
			
		||||
	0x61, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73,
 | 
			
		||||
	0x1a, 0x1d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62,
 | 
			
		||||
	0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
 | 
			
		||||
	0x00, 0x12, 0x5e, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
 | 
			
		||||
	0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x1f, 0x2e, 0x43,
 | 
			
		||||
	0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76,
 | 
			
		||||
	0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
 | 
			
		||||
	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c,
 | 
			
		||||
	0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
 | 
			
		||||
	0x00, 0x12, 0x5e, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
 | 
			
		||||
	0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x1f, 0x2e, 0x55,
 | 
			
		||||
	0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76,
 | 
			
		||||
	0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
 | 
			
		||||
	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c,
 | 
			
		||||
	0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
 | 
			
		||||
	0x00, 0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53,
 | 
			
		||||
	0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x1c, 0x2e, 0x47, 0x65, 0x74, 0x42,
 | 
			
		||||
	0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69,
 | 
			
		||||
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f,
 | 
			
		||||
	0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65,
 | 
			
		||||
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42,
 | 
			
		||||
	0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
 | 
			
		||||
	0x1b, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53,
 | 
			
		||||
	0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x47,
 | 
			
		||||
	0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74,
 | 
			
		||||
	0x75, 0x73, 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, 0x43, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65,
 | 
			
		||||
	0x72, 0x54, 0x72, 0x69, 0x70, 0x12, 0x15, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65,
 | 
			
		||||
	0x72, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x50,
 | 
			
		||||
	0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
 | 
			
		||||
	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x45, 0x5a, 0x43, 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, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69,
 | 
			
		||||
	0x74, 0x79, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65,
 | 
			
		||||
	0x72, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70,
 | 
			
		||||
	0x72, 0x6f, 0x74, 0x6f, 0x33,
 | 
			
		||||
	0x12, 0x1d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x74, 0x75, 0x61,
 | 
			
		||||
	0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a,
 | 
			
		||||
	0x1d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69,
 | 
			
		||||
	0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
 | 
			
		||||
	0x12, 0x5e, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
 | 
			
		||||
	0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, 0x43, 0x72,
 | 
			
		||||
	0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64,
 | 
			
		||||
	0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x43,
 | 
			
		||||
	0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69,
 | 
			
		||||
	0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
 | 
			
		||||
	0x12, 0x5e, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
 | 
			
		||||
	0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, 0x55, 0x70,
 | 
			
		||||
	0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64,
 | 
			
		||||
	0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x55,
 | 
			
		||||
	0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69,
 | 
			
		||||
	0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
 | 
			
		||||
	0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f,
 | 
			
		||||
	0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f,
 | 
			
		||||
	0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52,
 | 
			
		||||
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b,
 | 
			
		||||
	0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73,
 | 
			
		||||
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6f,
 | 
			
		||||
	0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b,
 | 
			
		||||
	0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74,
 | 
			
		||||
	0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x47, 0x65,
 | 
			
		||||
	0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75,
 | 
			
		||||
	0x73, 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, 0x43, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72,
 | 
			
		||||
	0x54, 0x72, 0x69, 0x70, 0x12, 0x15, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72,
 | 
			
		||||
	0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x50, 0x61,
 | 
			
		||||
	0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
 | 
			
		||||
	0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x45, 0x5a, 0x43, 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, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74,
 | 
			
		||||
	0x79, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
 | 
			
		||||
	0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72,
 | 
			
		||||
	0x6f, 0x74, 0x6f, 0x33,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
| 
						 | 
				
			
			@ -990,12 +992,12 @@ var file_solidarity_api_proto_goTypes = []interface{}{
 | 
			
		|||
	(*DriverPunctualAvailabilities)(nil),    // 2: DriverPunctualAvailabilities
 | 
			
		||||
	(*PassengerTripResponse)(nil),           // 3: PassengerTripResponse
 | 
			
		||||
	(*DriverAvailabilitiesResponse)(nil),    // 4: DriverAvailabilitiesResponse
 | 
			
		||||
	(*CreateBookingSilvermobiRequest)(nil),  // 5: CreateBookingSilvermobiRequest
 | 
			
		||||
	(*CreateBookingSilvermobiResponse)(nil), // 6: CreateBookingSilvermobiResponse
 | 
			
		||||
	(*UpdateBookingSilvermobiRequest)(nil),  // 7: UpdateBookingSilvermobiRequest
 | 
			
		||||
	(*UpdateBookingSilvermobiResponse)(nil), // 8: UpdateBookingSilvermobiResponse
 | 
			
		||||
	(*GetBookingSilvermobiRequest)(nil),     // 9: GetBookingSilvermobiRequest
 | 
			
		||||
	(*GetBookingSilvermobiResponse)(nil),    // 10: GetBookingSilvermobiResponse
 | 
			
		||||
	(*CreateBookingSolidarityRequest)(nil),  // 5: CreateBookingSolidarityRequest
 | 
			
		||||
	(*CreateBookingSolidarityResponse)(nil), // 6: CreateBookingSolidarityResponse
 | 
			
		||||
	(*UpdateBookingSolidarityRequest)(nil),  // 7: UpdateBookingSolidarityRequest
 | 
			
		||||
	(*UpdateBookingSolidarityResponse)(nil), // 8: UpdateBookingSolidarityResponse
 | 
			
		||||
	(*GetBookingSolidarityRequest)(nil),     // 9: GetBookingSolidarityRequest
 | 
			
		||||
	(*GetBookingSolidarityResponse)(nil),    // 10: GetBookingSolidarityResponse
 | 
			
		||||
	(*GetBookingsByStatusRequest)(nil),      // 11: GetBookingsByStatusRequest
 | 
			
		||||
	(*DriverJourneysRequest)(nil),           // 12: DriverJourneysRequest
 | 
			
		||||
	(*DriverJourneysResponse)(nil),          // 13: DriverJourneysResponse
 | 
			
		||||
| 
						 | 
				
			
			@ -1005,9 +1007,9 @@ var file_solidarity_api_proto_goTypes = []interface{}{
 | 
			
		|||
	(*DriverRequest)(nil),                   // 17: DriverRequest
 | 
			
		||||
	(*RegularAvailabilitySlot)(nil),         // 18: RegularAvailabilitySlot
 | 
			
		||||
	(*PunctualAvailabilitySlot)(nil),        // 19: PunctualAvailabilitySlot
 | 
			
		||||
	(*BookingRequest)(nil),                  // 20: BookingRequest
 | 
			
		||||
	(*BookingSilvermobi)(nil),               // 21: BookingSilvermobi
 | 
			
		||||
	(BookingStatus)(0),                      // 22: BookingStatus
 | 
			
		||||
	(*BookingSolidarityRequest)(nil),        // 20: BookingSolidarityRequest
 | 
			
		||||
	(*BookingSolidarity)(nil),               // 21: BookingSolidarity
 | 
			
		||||
	(BookingSolidarityStatus)(0),            // 22: BookingSolidarityStatus
 | 
			
		||||
	(UserType)(0),                           // 23: UserType
 | 
			
		||||
	(*Feature)(nil),                         // 24: Feature
 | 
			
		||||
	(*timestamp.Timestamp)(nil),             // 25: google.protobuf.Timestamp
 | 
			
		||||
| 
						 | 
				
			
			@ -1020,29 +1022,29 @@ var file_solidarity_api_proto_depIdxs = []int32{
 | 
			
		|||
	18, // 3: DriverRegularAvailabilities.driver_availabilities:type_name -> RegularAvailabilitySlot
 | 
			
		||||
	17, // 4: DriverPunctualAvailabilities.driver_request:type_name -> DriverRequest
 | 
			
		||||
	19, // 5: DriverPunctualAvailabilities.driver_availabilities:type_name -> PunctualAvailabilitySlot
 | 
			
		||||
	20, // 6: CreateBookingSilvermobiRequest.booking:type_name -> BookingRequest
 | 
			
		||||
	21, // 7: CreateBookingSilvermobiResponse.booking:type_name -> BookingSilvermobi
 | 
			
		||||
	22, // 8: UpdateBookingSilvermobiRequest.status:type_name -> BookingStatus
 | 
			
		||||
	21, // 9: GetBookingSilvermobiResponse.booking:type_name -> BookingSilvermobi
 | 
			
		||||
	22, // 10: GetBookingsByStatusRequest.status:type_name -> BookingStatus
 | 
			
		||||
	20, // 6: CreateBookingSolidarityRequest.booking:type_name -> BookingSolidarityRequest
 | 
			
		||||
	21, // 7: CreateBookingSolidarityResponse.booking:type_name -> BookingSolidarity
 | 
			
		||||
	22, // 8: UpdateBookingSolidarityRequest.status:type_name -> BookingSolidarityStatus
 | 
			
		||||
	21, // 9: GetBookingSolidarityResponse.booking:type_name -> BookingSolidarity
 | 
			
		||||
	22, // 10: GetBookingsByStatusRequest.status:type_name -> BookingSolidarityStatus
 | 
			
		||||
	23, // 11: GetBookingsByStatusRequest.type:type_name -> UserType
 | 
			
		||||
	24, // 12: DriverJourneysRequest.departure:type_name -> Feature
 | 
			
		||||
	25, // 13: DriverJourneysRequest.departure_date:type_name -> google.protobuf.Timestamp
 | 
			
		||||
	26, // 14: DriverJourneysResponse.driver_journeys:type_name -> DriverJourney
 | 
			
		||||
	21, // 15: GetBookingsByStatusResponse.booking:type_name -> BookingSilvermobi
 | 
			
		||||
	21, // 15: GetBookingsByStatusResponse.booking:type_name -> BookingSolidarity
 | 
			
		||||
	1,  // 16: SolidarityService.SetDriverRegularAvailabilities:input_type -> DriverRegularAvailabilities
 | 
			
		||||
	2,  // 17: SolidarityService.SetDriverPunctualAvailabilities:input_type -> DriverPunctualAvailabilities
 | 
			
		||||
	5,  // 18: SolidarityService.CreateBookingSilvermobi:input_type -> CreateBookingSilvermobiRequest
 | 
			
		||||
	7,  // 19: SolidarityService.UpdateBookingSilvermobi:input_type -> UpdateBookingSilvermobiRequest
 | 
			
		||||
	9,  // 20: SolidarityService.GetBookingSilvermobi:input_type -> GetBookingSilvermobiRequest
 | 
			
		||||
	5,  // 18: SolidarityService.CreateBookingSolidarity:input_type -> CreateBookingSolidarityRequest
 | 
			
		||||
	7,  // 19: SolidarityService.UpdateBookingSolidarity:input_type -> UpdateBookingSolidarityRequest
 | 
			
		||||
	9,  // 20: SolidarityService.GetBookingSolidarity:input_type -> GetBookingSolidarityRequest
 | 
			
		||||
	11, // 21: SolidarityService.GetBookingsByStatus:input_type -> GetBookingsByStatusRequest
 | 
			
		||||
	12, // 22: SolidarityService.DriverJourneys:input_type -> DriverJourneysRequest
 | 
			
		||||
	0,  // 23: SolidarityService.SetPassengerTrip:input_type -> PassengerTripRequest
 | 
			
		||||
	4,  // 24: SolidarityService.SetDriverRegularAvailabilities:output_type -> DriverAvailabilitiesResponse
 | 
			
		||||
	4,  // 25: SolidarityService.SetDriverPunctualAvailabilities:output_type -> DriverAvailabilitiesResponse
 | 
			
		||||
	6,  // 26: SolidarityService.CreateBookingSilvermobi:output_type -> CreateBookingSilvermobiResponse
 | 
			
		||||
	8,  // 27: SolidarityService.UpdateBookingSilvermobi:output_type -> UpdateBookingSilvermobiResponse
 | 
			
		||||
	10, // 28: SolidarityService.GetBookingSilvermobi:output_type -> GetBookingSilvermobiResponse
 | 
			
		||||
	6,  // 26: SolidarityService.CreateBookingSolidarity:output_type -> CreateBookingSolidarityResponse
 | 
			
		||||
	8,  // 27: SolidarityService.UpdateBookingSolidarity:output_type -> UpdateBookingSolidarityResponse
 | 
			
		||||
	10, // 28: SolidarityService.GetBookingSolidarity:output_type -> GetBookingSolidarityResponse
 | 
			
		||||
	14, // 29: SolidarityService.GetBookingsByStatus:output_type -> GetBookingsByStatusResponse
 | 
			
		||||
	13, // 30: SolidarityService.DriverJourneys:output_type -> DriverJourneysResponse
 | 
			
		||||
	3,  // 31: SolidarityService.SetPassengerTrip:output_type -> PassengerTripResponse
 | 
			
		||||
| 
						 | 
				
			
			@ -1121,7 +1123,7 @@ func file_solidarity_api_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*CreateBookingSilvermobiRequest); i {
 | 
			
		||||
			switch v := v.(*CreateBookingSolidarityRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			@ -1133,7 +1135,7 @@ func file_solidarity_api_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*CreateBookingSilvermobiResponse); i {
 | 
			
		||||
			switch v := v.(*CreateBookingSolidarityResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			@ -1145,7 +1147,7 @@ func file_solidarity_api_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*UpdateBookingSilvermobiRequest); i {
 | 
			
		||||
			switch v := v.(*UpdateBookingSolidarityRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			@ -1157,7 +1159,7 @@ func file_solidarity_api_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*UpdateBookingSilvermobiResponse); i {
 | 
			
		||||
			switch v := v.(*UpdateBookingSolidarityResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			@ -1169,7 +1171,7 @@ func file_solidarity_api_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*GetBookingSilvermobiRequest); i {
 | 
			
		||||
			switch v := v.(*GetBookingSolidarityRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			@ -1181,7 +1183,7 @@ func file_solidarity_api_proto_init() {
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_solidarity_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*GetBookingSilvermobiResponse); i {
 | 
			
		||||
			switch v := v.(*GetBookingSolidarityResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,9 +6,9 @@ import "solidarity-api-types.proto";
 | 
			
		|||
service SolidarityService {
 | 
			
		||||
  rpc SetDriverRegularAvailabilities(DriverRegularAvailabilities) returns (DriverAvailabilitiesResponse) {}
 | 
			
		||||
  rpc SetDriverPunctualAvailabilities(DriverPunctualAvailabilities) returns (DriverAvailabilitiesResponse) {}
 | 
			
		||||
  rpc CreateBookingSilvermobi(CreateBookingSilvermobiRequest) returns (CreateBookingSilvermobiResponse) {}
 | 
			
		||||
  rpc UpdateBookingSilvermobi(UpdateBookingSilvermobiRequest) returns (UpdateBookingSilvermobiResponse) {}
 | 
			
		||||
  rpc GetBookingSilvermobi(GetBookingSilvermobiRequest) returns (GetBookingSilvermobiResponse) {}
 | 
			
		||||
  rpc CreateBookingSolidarity(CreateBookingSolidarityRequest) returns (CreateBookingSolidarityResponse) {}
 | 
			
		||||
  rpc UpdateBookingSolidarity(UpdateBookingSolidarityRequest) returns (UpdateBookingSolidarityResponse) {}
 | 
			
		||||
  rpc GetBookingSolidarity(GetBookingSolidarityRequest) returns (GetBookingSolidarityResponse) {}
 | 
			
		||||
  rpc GetBookingsByStatus(GetBookingsByStatusRequest) returns (GetBookingsByStatusResponse) {}
 | 
			
		||||
  rpc DriverJourneys(DriverJourneysRequest) returns (DriverJourneysResponse) {}
 | 
			
		||||
  rpc SetPassengerTrip(PassengerTripRequest) returns (PassengerTripResponse) {}
 | 
			
		||||
| 
						 | 
				
			
			@ -39,36 +39,36 @@ message DriverAvailabilitiesResponse {
 | 
			
		|||
  string message = 2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message CreateBookingSilvermobiRequest {
 | 
			
		||||
  BookingRequest booking = 1;
 | 
			
		||||
message CreateBookingSolidarityRequest {
 | 
			
		||||
  BookingSolidarityRequest booking = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message CreateBookingSilvermobiResponse {
 | 
			
		||||
  BookingSilvermobi booking = 1;
 | 
			
		||||
message CreateBookingSolidarityResponse {
 | 
			
		||||
  BookingSolidarity booking = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message UpdateBookingSilvermobiRequest {
 | 
			
		||||
message UpdateBookingSolidarityRequest {
 | 
			
		||||
  string booking_id = 1;
 | 
			
		||||
  BookingStatus status = 2;
 | 
			
		||||
  BookingSolidarityStatus status = 2;
 | 
			
		||||
 string message = 3;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message UpdateBookingSilvermobiResponse {
 | 
			
		||||
message UpdateBookingSolidarityResponse {
 | 
			
		||||
  bool success = 1;
 | 
			
		||||
  string message = 2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message GetBookingSilvermobiRequest {
 | 
			
		||||
message GetBookingSolidarityRequest {
 | 
			
		||||
  string booking_id = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
message GetBookingSilvermobiResponse {
 | 
			
		||||
  BookingSilvermobi booking = 1;
 | 
			
		||||
message GetBookingSolidarityResponse {
 | 
			
		||||
  BookingSolidarity booking = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message GetBookingsByStatusRequest{
 | 
			
		||||
  BookingStatus status = 1;
 | 
			
		||||
  BookingSolidarityStatus status = 1;
 | 
			
		||||
  UserType type = 2;
 | 
			
		||||
  string user_id = 3;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -83,5 +83,5 @@ message DriverJourneysResponse {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
message GetBookingsByStatusResponse{
 | 
			
		||||
  repeated BookingSilvermobi booking = 1;
 | 
			
		||||
  repeated BookingSolidarity booking = 1;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -21,9 +21,9 @@ const _ = grpc.SupportPackageIsVersion9
 | 
			
		|||
const (
 | 
			
		||||
	SolidarityService_SetDriverRegularAvailabilities_FullMethodName  = "/SolidarityService/SetDriverRegularAvailabilities"
 | 
			
		||||
	SolidarityService_SetDriverPunctualAvailabilities_FullMethodName = "/SolidarityService/SetDriverPunctualAvailabilities"
 | 
			
		||||
	SolidarityService_CreateBookingSilvermobi_FullMethodName         = "/SolidarityService/CreateBookingSilvermobi"
 | 
			
		||||
	SolidarityService_UpdateBookingSilvermobi_FullMethodName         = "/SolidarityService/UpdateBookingSilvermobi"
 | 
			
		||||
	SolidarityService_GetBookingSilvermobi_FullMethodName            = "/SolidarityService/GetBookingSilvermobi"
 | 
			
		||||
	SolidarityService_CreateBookingSolidarity_FullMethodName         = "/SolidarityService/CreateBookingSolidarity"
 | 
			
		||||
	SolidarityService_UpdateBookingSolidarity_FullMethodName         = "/SolidarityService/UpdateBookingSolidarity"
 | 
			
		||||
	SolidarityService_GetBookingSolidarity_FullMethodName            = "/SolidarityService/GetBookingSolidarity"
 | 
			
		||||
	SolidarityService_GetBookingsByStatus_FullMethodName             = "/SolidarityService/GetBookingsByStatus"
 | 
			
		||||
	SolidarityService_DriverJourneys_FullMethodName                  = "/SolidarityService/DriverJourneys"
 | 
			
		||||
	SolidarityService_SetPassengerTrip_FullMethodName                = "/SolidarityService/SetPassengerTrip"
 | 
			
		||||
| 
						 | 
				
			
			@ -35,9 +35,9 @@ const (
 | 
			
		|||
type SolidarityServiceClient interface {
 | 
			
		||||
	SetDriverRegularAvailabilities(ctx context.Context, in *DriverRegularAvailabilities, opts ...grpc.CallOption) (*DriverAvailabilitiesResponse, error)
 | 
			
		||||
	SetDriverPunctualAvailabilities(ctx context.Context, in *DriverPunctualAvailabilities, opts ...grpc.CallOption) (*DriverAvailabilitiesResponse, error)
 | 
			
		||||
	CreateBookingSilvermobi(ctx context.Context, in *CreateBookingSilvermobiRequest, opts ...grpc.CallOption) (*CreateBookingSilvermobiResponse, error)
 | 
			
		||||
	UpdateBookingSilvermobi(ctx context.Context, in *UpdateBookingSilvermobiRequest, opts ...grpc.CallOption) (*UpdateBookingSilvermobiResponse, error)
 | 
			
		||||
	GetBookingSilvermobi(ctx context.Context, in *GetBookingSilvermobiRequest, opts ...grpc.CallOption) (*GetBookingSilvermobiResponse, error)
 | 
			
		||||
	CreateBookingSolidarity(ctx context.Context, in *CreateBookingSolidarityRequest, opts ...grpc.CallOption) (*CreateBookingSolidarityResponse, error)
 | 
			
		||||
	UpdateBookingSolidarity(ctx context.Context, in *UpdateBookingSolidarityRequest, opts ...grpc.CallOption) (*UpdateBookingSolidarityResponse, error)
 | 
			
		||||
	GetBookingSolidarity(ctx context.Context, in *GetBookingSolidarityRequest, opts ...grpc.CallOption) (*GetBookingSolidarityResponse, error)
 | 
			
		||||
	GetBookingsByStatus(ctx context.Context, in *GetBookingsByStatusRequest, opts ...grpc.CallOption) (*GetBookingsByStatusResponse, error)
 | 
			
		||||
	DriverJourneys(ctx context.Context, in *DriverJourneysRequest, opts ...grpc.CallOption) (*DriverJourneysResponse, error)
 | 
			
		||||
	SetPassengerTrip(ctx context.Context, in *PassengerTripRequest, opts ...grpc.CallOption) (*PassengerTripResponse, error)
 | 
			
		||||
| 
						 | 
				
			
			@ -71,30 +71,30 @@ func (c *solidarityServiceClient) SetDriverPunctualAvailabilities(ctx context.Co
 | 
			
		|||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *solidarityServiceClient) CreateBookingSilvermobi(ctx context.Context, in *CreateBookingSilvermobiRequest, opts ...grpc.CallOption) (*CreateBookingSilvermobiResponse, error) {
 | 
			
		||||
func (c *solidarityServiceClient) CreateBookingSolidarity(ctx context.Context, in *CreateBookingSolidarityRequest, opts ...grpc.CallOption) (*CreateBookingSolidarityResponse, error) {
 | 
			
		||||
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 | 
			
		||||
	out := new(CreateBookingSilvermobiResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, SolidarityService_CreateBookingSilvermobi_FullMethodName, in, out, cOpts...)
 | 
			
		||||
	out := new(CreateBookingSolidarityResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, SolidarityService_CreateBookingSolidarity_FullMethodName, in, out, cOpts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *solidarityServiceClient) UpdateBookingSilvermobi(ctx context.Context, in *UpdateBookingSilvermobiRequest, opts ...grpc.CallOption) (*UpdateBookingSilvermobiResponse, error) {
 | 
			
		||||
func (c *solidarityServiceClient) UpdateBookingSolidarity(ctx context.Context, in *UpdateBookingSolidarityRequest, opts ...grpc.CallOption) (*UpdateBookingSolidarityResponse, error) {
 | 
			
		||||
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 | 
			
		||||
	out := new(UpdateBookingSilvermobiResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, SolidarityService_UpdateBookingSilvermobi_FullMethodName, in, out, cOpts...)
 | 
			
		||||
	out := new(UpdateBookingSolidarityResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, SolidarityService_UpdateBookingSolidarity_FullMethodName, in, out, cOpts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *solidarityServiceClient) GetBookingSilvermobi(ctx context.Context, in *GetBookingSilvermobiRequest, opts ...grpc.CallOption) (*GetBookingSilvermobiResponse, error) {
 | 
			
		||||
func (c *solidarityServiceClient) GetBookingSolidarity(ctx context.Context, in *GetBookingSolidarityRequest, opts ...grpc.CallOption) (*GetBookingSolidarityResponse, error) {
 | 
			
		||||
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 | 
			
		||||
	out := new(GetBookingSilvermobiResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, SolidarityService_GetBookingSilvermobi_FullMethodName, in, out, cOpts...)
 | 
			
		||||
	out := new(GetBookingSolidarityResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, SolidarityService_GetBookingSolidarity_FullMethodName, in, out, cOpts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -137,9 +137,9 @@ func (c *solidarityServiceClient) SetPassengerTrip(ctx context.Context, in *Pass
 | 
			
		|||
type SolidarityServiceServer interface {
 | 
			
		||||
	SetDriverRegularAvailabilities(context.Context, *DriverRegularAvailabilities) (*DriverAvailabilitiesResponse, error)
 | 
			
		||||
	SetDriverPunctualAvailabilities(context.Context, *DriverPunctualAvailabilities) (*DriverAvailabilitiesResponse, error)
 | 
			
		||||
	CreateBookingSilvermobi(context.Context, *CreateBookingSilvermobiRequest) (*CreateBookingSilvermobiResponse, error)
 | 
			
		||||
	UpdateBookingSilvermobi(context.Context, *UpdateBookingSilvermobiRequest) (*UpdateBookingSilvermobiResponse, error)
 | 
			
		||||
	GetBookingSilvermobi(context.Context, *GetBookingSilvermobiRequest) (*GetBookingSilvermobiResponse, error)
 | 
			
		||||
	CreateBookingSolidarity(context.Context, *CreateBookingSolidarityRequest) (*CreateBookingSolidarityResponse, error)
 | 
			
		||||
	UpdateBookingSolidarity(context.Context, *UpdateBookingSolidarityRequest) (*UpdateBookingSolidarityResponse, error)
 | 
			
		||||
	GetBookingSolidarity(context.Context, *GetBookingSolidarityRequest) (*GetBookingSolidarityResponse, error)
 | 
			
		||||
	GetBookingsByStatus(context.Context, *GetBookingsByStatusRequest) (*GetBookingsByStatusResponse, error)
 | 
			
		||||
	DriverJourneys(context.Context, *DriverJourneysRequest) (*DriverJourneysResponse, error)
 | 
			
		||||
	SetPassengerTrip(context.Context, *PassengerTripRequest) (*PassengerTripResponse, error)
 | 
			
		||||
| 
						 | 
				
			
			@ -159,14 +159,14 @@ func (UnimplementedSolidarityServiceServer) SetDriverRegularAvailabilities(conte
 | 
			
		|||
func (UnimplementedSolidarityServiceServer) SetDriverPunctualAvailabilities(context.Context, *DriverPunctualAvailabilities) (*DriverAvailabilitiesResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method SetDriverPunctualAvailabilities not implemented")
 | 
			
		||||
}
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) CreateBookingSilvermobi(context.Context, *CreateBookingSilvermobiRequest) (*CreateBookingSilvermobiResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method CreateBookingSilvermobi not implemented")
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) CreateBookingSolidarity(context.Context, *CreateBookingSolidarityRequest) (*CreateBookingSolidarityResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method CreateBookingSolidarity not implemented")
 | 
			
		||||
}
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) UpdateBookingSilvermobi(context.Context, *UpdateBookingSilvermobiRequest) (*UpdateBookingSilvermobiResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method UpdateBookingSilvermobi not implemented")
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) UpdateBookingSolidarity(context.Context, *UpdateBookingSolidarityRequest) (*UpdateBookingSolidarityResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method UpdateBookingSolidarity not implemented")
 | 
			
		||||
}
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) GetBookingSilvermobi(context.Context, *GetBookingSilvermobiRequest) (*GetBookingSilvermobiResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method GetBookingSilvermobi not implemented")
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) GetBookingSolidarity(context.Context, *GetBookingSolidarityRequest) (*GetBookingSolidarityResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method GetBookingSolidarity not implemented")
 | 
			
		||||
}
 | 
			
		||||
func (UnimplementedSolidarityServiceServer) GetBookingsByStatus(context.Context, *GetBookingsByStatusRequest) (*GetBookingsByStatusResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method GetBookingsByStatus not implemented")
 | 
			
		||||
| 
						 | 
				
			
			@ -234,56 +234,56 @@ func _SolidarityService_SetDriverPunctualAvailabilities_Handler(srv interface{},
 | 
			
		|||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _SolidarityService_CreateBookingSilvermobi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(CreateBookingSilvermobiRequest)
 | 
			
		||||
func _SolidarityService_CreateBookingSolidarity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(CreateBookingSolidarityRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(SolidarityServiceServer).CreateBookingSilvermobi(ctx, in)
 | 
			
		||||
		return srv.(SolidarityServiceServer).CreateBookingSolidarity(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: SolidarityService_CreateBookingSilvermobi_FullMethodName,
 | 
			
		||||
		FullMethod: SolidarityService_CreateBookingSolidarity_FullMethodName,
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(SolidarityServiceServer).CreateBookingSilvermobi(ctx, req.(*CreateBookingSilvermobiRequest))
 | 
			
		||||
		return srv.(SolidarityServiceServer).CreateBookingSolidarity(ctx, req.(*CreateBookingSolidarityRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _SolidarityService_UpdateBookingSilvermobi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(UpdateBookingSilvermobiRequest)
 | 
			
		||||
func _SolidarityService_UpdateBookingSolidarity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(UpdateBookingSolidarityRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(SolidarityServiceServer).UpdateBookingSilvermobi(ctx, in)
 | 
			
		||||
		return srv.(SolidarityServiceServer).UpdateBookingSolidarity(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: SolidarityService_UpdateBookingSilvermobi_FullMethodName,
 | 
			
		||||
		FullMethod: SolidarityService_UpdateBookingSolidarity_FullMethodName,
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(SolidarityServiceServer).UpdateBookingSilvermobi(ctx, req.(*UpdateBookingSilvermobiRequest))
 | 
			
		||||
		return srv.(SolidarityServiceServer).UpdateBookingSolidarity(ctx, req.(*UpdateBookingSolidarityRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _SolidarityService_GetBookingSilvermobi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(GetBookingSilvermobiRequest)
 | 
			
		||||
func _SolidarityService_GetBookingSolidarity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(GetBookingSolidarityRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(SolidarityServiceServer).GetBookingSilvermobi(ctx, in)
 | 
			
		||||
		return srv.(SolidarityServiceServer).GetBookingSolidarity(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: SolidarityService_GetBookingSilvermobi_FullMethodName,
 | 
			
		||||
		FullMethod: SolidarityService_GetBookingSolidarity_FullMethodName,
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(SolidarityServiceServer).GetBookingSilvermobi(ctx, req.(*GetBookingSilvermobiRequest))
 | 
			
		||||
		return srv.(SolidarityServiceServer).GetBookingSolidarity(ctx, req.(*GetBookingSolidarityRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -358,16 +358,16 @@ var SolidarityService_ServiceDesc = grpc.ServiceDesc{
 | 
			
		|||
			Handler:    _SolidarityService_SetDriverPunctualAvailabilities_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "CreateBookingSilvermobi",
 | 
			
		||||
			Handler:    _SolidarityService_CreateBookingSilvermobi_Handler,
 | 
			
		||||
			MethodName: "CreateBookingSolidarity",
 | 
			
		||||
			Handler:    _SolidarityService_CreateBookingSolidarity_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "UpdateBookingSilvermobi",
 | 
			
		||||
			Handler:    _SolidarityService_UpdateBookingSilvermobi_Handler,
 | 
			
		||||
			MethodName: "UpdateBookingSolidarity",
 | 
			
		||||
			Handler:    _SolidarityService_UpdateBookingSolidarity_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "GetBookingSilvermobi",
 | 
			
		||||
			Handler:    _SolidarityService_GetBookingSilvermobi_Handler,
 | 
			
		||||
			MethodName: "GetBookingSolidarity",
 | 
			
		||||
			Handler:    _SolidarityService_GetBookingSolidarity_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "GetBookingsByStatus",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,23 +5,23 @@ import (
 | 
			
		|||
	"solidarity-service/servers/grpc/proto"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func ConvertInternalToProtoBookingStatus(internalStatus internal.BookingStatus) proto.BookingStatus {
 | 
			
		||||
func ConvertInternalToProtoBookingStatus(internalStatus internal.BookingStatus) proto.BookingSolidarityStatus {
 | 
			
		||||
	switch internalStatus {
 | 
			
		||||
	case internal.BookingStatusINITIATED:
 | 
			
		||||
		return proto.BookingStatus_INITIATED
 | 
			
		||||
		return proto.BookingSolidarityStatus_INITIATED
 | 
			
		||||
	case internal.BookingStatusWAITINGPASSENGERCONFIRMATION:
 | 
			
		||||
		return proto.BookingStatus_WAITING_PASSENGER_CONFIRMATION
 | 
			
		||||
		return proto.BookingSolidarityStatus_WAITING_PASSENGER_CONFIRMATION
 | 
			
		||||
	case internal.BookingStatusWAITINGDRIVERCONFIRMATION:
 | 
			
		||||
		return proto.BookingStatus_WAITING_DRIVER_CONFIRMATION
 | 
			
		||||
		return proto.BookingSolidarityStatus_WAITING_DRIVER_CONFIRMATION
 | 
			
		||||
	case internal.BookingStatusCONFIRMED:
 | 
			
		||||
		return proto.BookingStatus_CONFIRMED
 | 
			
		||||
		return proto.BookingSolidarityStatus_CONFIRMED
 | 
			
		||||
	case internal.BookingStatusCANCELLED:
 | 
			
		||||
		return proto.BookingStatus_CANCELLED
 | 
			
		||||
		return proto.BookingSolidarityStatus_CANCELLED
 | 
			
		||||
	case internal.BookingStatusCOMPLETEDPENDINGVALIDATION:
 | 
			
		||||
		return proto.BookingStatus_COMPLETED_PENDING_VALIDATION
 | 
			
		||||
		return proto.BookingSolidarityStatus_COMPLETED_PENDING_VALIDATION
 | 
			
		||||
	case internal.BookingStatusVALIDATED:
 | 
			
		||||
		return proto.BookingStatus_VALIDATED
 | 
			
		||||
		return proto.BookingSolidarityStatus_VALIDATED
 | 
			
		||||
	default:
 | 
			
		||||
		return proto.BookingStatus_CONFIRMED
 | 
			
		||||
		return proto.BookingSolidarityStatus_CONFIRMED
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -164,7 +164,7 @@ func (s *SolidarityServiceServerImpl) SetDriverPunctualAvailabilities(ctx contex
 | 
			
		|||
	}, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (s *SolidarityServiceServerImpl) CreateBooking(ctx context.Context, req *proto.CreateBookingSilvermobiRequest) (resp *proto.CreateBookingSilvermobiResponse, err error) {
 | 
			
		||||
func (s *SolidarityServiceServerImpl) CreateBooking(ctx context.Context, req *proto.CreateBookingSolidarityRequest) (resp *proto.CreateBookingSolidarityResponse, err error) {
 | 
			
		||||
	if req.Booking.DriverId == "" || req.Booking.PassengerId == "" || req.Booking.Id == "" || req.Booking.Status.String() == "" || req.Booking.DepartureAddress == nil || req.Booking.DestinationAddress == nil || req.Booking.PickupDate.Seconds == 0 {
 | 
			
		||||
		return nil, errors.New("missing required fields")
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -202,10 +202,10 @@ func (s *SolidarityServiceServerImpl) CreateBooking(ctx context.Context, req *pr
 | 
			
		|||
	}
 | 
			
		||||
	distance := s.Handler.CalculateDistanceBetweenFeatures(bookingRequest.Departure_address, bookingRequest.Destination_address)
 | 
			
		||||
	priceType := proto.PriceType_FREE
 | 
			
		||||
	resp = &proto.CreateBookingSilvermobiResponse{
 | 
			
		||||
		Booking: &proto.BookingSilvermobi{},
 | 
			
		||||
	resp = &proto.CreateBookingSolidarityResponse{
 | 
			
		||||
		Booking: &proto.BookingSolidarity{},
 | 
			
		||||
	}
 | 
			
		||||
	resp.Booking = &proto.BookingSilvermobi{
 | 
			
		||||
	resp.Booking = &proto.BookingSolidarity{
 | 
			
		||||
		Id: bookingRequest.ID,
 | 
			
		||||
		Driver: &proto.User{
 | 
			
		||||
			Id:               driver.Driver.ID,
 | 
			
		||||
| 
						 | 
				
			
			@ -254,9 +254,9 @@ func (s *SolidarityServiceServerImpl) CreateBooking(ctx context.Context, req *pr
 | 
			
		|||
	return resp, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (s *SolidarityServiceServerImpl) UpdateBooking(ctx context.Context, req *proto.UpdateBookingSilvermobiRequest) (resp *proto.UpdateBookingSilvermobiResponse, err error) {
 | 
			
		||||
func (s *SolidarityServiceServerImpl) UpdateBooking(ctx context.Context, req *proto.UpdateBookingSolidarityRequest) (resp *proto.UpdateBookingSolidarityResponse, err error) {
 | 
			
		||||
	if req.BookingId == "" || req.Status.String() == "" {
 | 
			
		||||
		return &proto.UpdateBookingSilvermobiResponse{
 | 
			
		||||
		return &proto.UpdateBookingSolidarityResponse{
 | 
			
		||||
			Success: false,
 | 
			
		||||
		}, errors.New("missing required fields")
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -266,16 +266,16 @@ func (s *SolidarityServiceServerImpl) UpdateBooking(ctx context.Context, req *pr
 | 
			
		|||
		if strings.Contains(err.Error(), utils.SQL_NO_ROWS) {
 | 
			
		||||
			err = errors.New("invalid ID")
 | 
			
		||||
		}
 | 
			
		||||
		return &proto.UpdateBookingSilvermobiResponse{
 | 
			
		||||
		return &proto.UpdateBookingSolidarityResponse{
 | 
			
		||||
			Success: false,
 | 
			
		||||
		}, err
 | 
			
		||||
	}
 | 
			
		||||
	return &proto.UpdateBookingSilvermobiResponse{
 | 
			
		||||
	return &proto.UpdateBookingSolidarityResponse{
 | 
			
		||||
		Success: true,
 | 
			
		||||
	}, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (s *SolidarityServiceServerImpl) GetBooking(ctx context.Context, req *proto.GetBookingSilvermobiRequest) (resp *proto.GetBookingSilvermobiResponse, err error) {
 | 
			
		||||
func (s *SolidarityServiceServerImpl) GetBooking(ctx context.Context, req *proto.GetBookingSolidarityRequest) (resp *proto.GetBookingSolidarityResponse, err error) {
 | 
			
		||||
	if req.BookingId == "" {
 | 
			
		||||
		return nil, errors.New("empty booking ID")
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -286,8 +286,8 @@ func (s *SolidarityServiceServerImpl) GetBooking(ctx context.Context, req *proto
 | 
			
		|||
		}
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	resp = &proto.GetBookingSilvermobiResponse{
 | 
			
		||||
		Booking: &proto.BookingSilvermobi{},
 | 
			
		||||
	resp = &proto.GetBookingSolidarityResponse{
 | 
			
		||||
		Booking: &proto.BookingSolidarity{},
 | 
			
		||||
	}
 | 
			
		||||
	priceType := proto.PriceType_FREE
 | 
			
		||||
	driver, err := s.Handler.GetDriver(context.Background(), booking.Driver.ID)
 | 
			
		||||
| 
						 | 
				
			
			@ -296,7 +296,7 @@ func (s *SolidarityServiceServerImpl) GetBooking(ctx context.Context, req *proto
 | 
			
		|||
	}
 | 
			
		||||
	car := driver.Car
 | 
			
		||||
	distance := int64(booking.Distance)
 | 
			
		||||
	resp.Booking = &proto.BookingSilvermobi{
 | 
			
		||||
	resp.Booking = &proto.BookingSolidarity{
 | 
			
		||||
		Id: booking.ID,
 | 
			
		||||
		Driver: &proto.User{
 | 
			
		||||
			Id:               booking.Driver.ID,
 | 
			
		||||
| 
						 | 
				
			
			@ -359,7 +359,7 @@ func (s *SolidarityServiceServerImpl) GetBookingsByStatus(ctx context.Context, r
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	// Use a goroutine to concurrently convert bookings to proto
 | 
			
		||||
	respChan := make(chan []*proto.BookingSilvermobi, 1)
 | 
			
		||||
	respChan := make(chan []*proto.BookingSolidarity, 1)
 | 
			
		||||
	go func() {
 | 
			
		||||
		respChan <- convertInternalBookingsToProto(s, bookings, 50)
 | 
			
		||||
	}()
 | 
			
		||||
| 
						 | 
				
			
			@ -379,8 +379,8 @@ func (s *SolidarityServiceServerImpl) GetBookingsByStatus(ctx context.Context, r
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func convertInternalBookingsToProto(s *SolidarityServiceServerImpl, bookings []internal.Booking, maxGoroutines int) []*proto.BookingSilvermobi {
 | 
			
		||||
	var responses []*proto.BookingSilvermobi
 | 
			
		||||
func convertInternalBookingsToProto(s *SolidarityServiceServerImpl, bookings []internal.Booking, maxGoroutines int) []*proto.BookingSolidarity {
 | 
			
		||||
	var responses []*proto.BookingSolidarity
 | 
			
		||||
	var wg sync.WaitGroup
 | 
			
		||||
	var mu sync.Mutex
 | 
			
		||||
	semaphore := make(chan struct{}, maxGoroutines)
 | 
			
		||||
| 
						 | 
				
			
			@ -426,7 +426,7 @@ func convertInternalBookingsToProto(s *SolidarityServiceServerImpl, bookings []i
 | 
			
		|||
 | 
			
		||||
			priceType := proto.PriceType_FREE
 | 
			
		||||
			distance := int64(booking.Distance)
 | 
			
		||||
			protoBooking := &proto.BookingSilvermobi{
 | 
			
		||||
			protoBooking := &proto.BookingSolidarity{
 | 
			
		||||
				Id:        booking.ID,
 | 
			
		||||
				Status:    ConvertInternalToProtoBookingStatus(booking.Status),
 | 
			
		||||
				Driver:    convertInternalUserToProtoUser(driver.Driver),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue