|
|
|
@ -995,6 +995,194 @@ func (x *GetBookingResponse) GetBooking() *Booking {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetDriverBookingsRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Driver string `protobuf:"bytes,25,opt,name=driver,proto3" json:"driver,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsRequest) Reset() {
|
|
|
|
|
*x = GetDriverBookingsRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[20]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetDriverBookingsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[20]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetDriverBookingsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetDriverBookingsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_fleets_proto_rawDescGZIP(), []int{20}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsRequest) GetDriver() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Driver
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetDriverBookingsResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Bookings []*Booking `protobuf:"bytes,26,rep,name=bookings,proto3" json:"bookings,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsResponse) Reset() {
|
|
|
|
|
*x = GetDriverBookingsResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[21]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetDriverBookingsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[21]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetDriverBookingsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetDriverBookingsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_fleets_proto_rawDescGZIP(), []int{21}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetDriverBookingsResponse) GetBookings() []*Booking {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Bookings
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetBookingsRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Namespaces []string `protobuf:"bytes,27,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsRequest) Reset() {
|
|
|
|
|
*x = GetBookingsRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[22]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetBookingsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[22]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBookingsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBookingsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_fleets_proto_rawDescGZIP(), []int{22}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsRequest) GetNamespaces() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Namespaces
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetBookingsResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Bookings []*Booking `protobuf:"bytes,28,rep,name=bookings,proto3" json:"bookings,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsResponse) Reset() {
|
|
|
|
|
*x = GetBookingsResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[23]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetBookingsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_fleets_proto_msgTypes[23]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBookingsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBookingsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_fleets_proto_rawDescGZIP(), []int{23}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBookingsResponse) GetBookings() []*Booking {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Bookings
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_fleets_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_fleets_proto_rawDesc = []byte{
|
|
|
|
@ -1082,45 +1270,69 @@ var file_fleets_proto_rawDesc = []byte{
|
|
|
|
|
0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07,
|
|
|
|
|
0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e,
|
|
|
|
|
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
|
|
|
|
0x32, 0xb3, 0x04, 0x0a, 0x06, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x0a, 0x41,
|
|
|
|
|
0x64, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x12, 0x2e, 0x41, 0x64, 0x64, 0x56,
|
|
|
|
|
0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e,
|
|
|
|
|
0x41, 0x64, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63,
|
|
|
|
|
0x6c, 0x65, 0x12, 0x12, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69,
|
|
|
|
|
0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a,
|
|
|
|
|
0x0b, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x13, 0x2e, 0x47,
|
|
|
|
|
0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x14, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x15, 0x2e, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x16, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
|
|
|
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x43,
|
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x43,
|
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b,
|
|
|
|
|
0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a,
|
|
|
|
|
0x0a, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x2e, 0x47, 0x65,
|
|
|
|
|
0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
|
0x13, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
|
|
|
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65,
|
|
|
|
|
0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x44, 0x65, 0x6c, 0x65,
|
|
|
|
|
0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x16, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0b, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x13, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2e, 0x5a, 0x2c, 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, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x2f, 0x67,
|
|
|
|
|
0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x22, 0x32, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x42, 0x6f, 0x6f,
|
|
|
|
|
0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
|
0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72,
|
|
|
|
|
0x69, 0x76, 0x65, 0x72, 0x22, 0x41, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65,
|
|
|
|
|
0x72, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x24, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x1a, 0x20,
|
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x62,
|
|
|
|
|
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x6f,
|
|
|
|
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28,
|
|
|
|
|
0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0x3b, 0x0a,
|
|
|
|
|
0x13, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73,
|
|
|
|
|
0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
|
|
|
|
0x52, 0x08, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x32, 0xbd, 0x05, 0x0a, 0x06, 0x46,
|
|
|
|
|
0x6c, 0x65, 0x65, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x56, 0x65, 0x68, 0x69,
|
|
|
|
|
0x63, 0x6c, 0x65, 0x12, 0x12, 0x2e, 0x41, 0x64, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x41, 0x64, 0x64, 0x56, 0x65, 0x68,
|
|
|
|
|
0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37,
|
|
|
|
|
0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x12, 0x2e, 0x47,
|
|
|
|
|
0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x56, 0x65,
|
|
|
|
|
0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69,
|
|
|
|
|
0x63, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x47, 0x65,
|
|
|
|
|
0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68,
|
|
|
|
|
0x69, 0x63, 0x6c, 0x65, 0x12, 0x15, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68,
|
|
|
|
|
0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x55, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42,
|
|
|
|
|
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42,
|
|
|
|
|
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
|
|
|
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x6f,
|
|
|
|
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
|
|
|
|
|
0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x42,
|
|
|
|
|
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
|
|
|
0x12, 0x3a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x12,
|
|
|
|
|
0x13, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
|
|
|
|
|
0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11,
|
|
|
|
|
0x47, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
|
|
|
|
|
0x73, 0x12, 0x19, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x42, 0x6f, 0x6f,
|
|
|
|
|
0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x47,
|
|
|
|
|
0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x55, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x55, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x16, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
|
|
|
|
|
0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d,
|
|
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e,
|
|
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f,
|
|
|
|
|
0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a,
|
|
|
|
|
0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x13, 0x2e,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2e, 0x5a, 0x2c, 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, 0x66, 0x6c, 0x65, 0x65,
|
|
|
|
|
0x74, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
|
0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -1135,71 +1347,81 @@ func file_fleets_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_fleets_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_fleets_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
|
|
|
var file_fleets_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
|
|
|
|
var file_fleets_proto_goTypes = []interface{}{
|
|
|
|
|
(*AddVehicleRequest)(nil), // 0: AddVehicleRequest
|
|
|
|
|
(*AddVehicleResponse)(nil), // 1: AddVehicleResponse
|
|
|
|
|
(*GetVehicleRequest)(nil), // 2: GetVehicleRequest
|
|
|
|
|
(*GetVehicleResponse)(nil), // 3: GetVehicleResponse
|
|
|
|
|
(*GetVehiclesRequest)(nil), // 4: GetVehiclesRequest
|
|
|
|
|
(*GetVehiclesResponse)(nil), // 5: GetVehiclesResponse
|
|
|
|
|
(*GetVehiclesBatchRequest)(nil), // 6: GetVehiclesBatchRequest
|
|
|
|
|
(*GetVehiclesBatchResponse)(nil), // 7: GetVehiclesBatchResponse
|
|
|
|
|
(*UpdateVehicleRequest)(nil), // 8: UpdateVehicleRequest
|
|
|
|
|
(*UpdateVehicleResponse)(nil), // 9: UpdateVehicleResponse
|
|
|
|
|
(*CreateBookingRequest)(nil), // 10: CreateBookingRequest
|
|
|
|
|
(*CreateBookingResponse)(nil), // 11: CreateBookingResponse
|
|
|
|
|
(*UpdateBookingRequest)(nil), // 12: UpdateBookingRequest
|
|
|
|
|
(*UpdateBookingResponse)(nil), // 13: UpdateBookingResponse
|
|
|
|
|
(*DeleteBookingRequest)(nil), // 14: DeleteBookingRequest
|
|
|
|
|
(*DeleteBookingResponse)(nil), // 15: DeleteBookingResponse
|
|
|
|
|
(*FindVehicleRequest)(nil), // 16: FindVehicleRequest
|
|
|
|
|
(*FindVehicleResponse)(nil), // 17: FindVehicleResponse
|
|
|
|
|
(*GetBookingRequest)(nil), // 18: GetBookingRequest
|
|
|
|
|
(*GetBookingResponse)(nil), // 19: GetBookingResponse
|
|
|
|
|
(*Vehicle)(nil), // 20: Vehicle
|
|
|
|
|
(*Booking)(nil), // 21: Booking
|
|
|
|
|
(*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp
|
|
|
|
|
(*AddVehicleRequest)(nil), // 0: AddVehicleRequest
|
|
|
|
|
(*AddVehicleResponse)(nil), // 1: AddVehicleResponse
|
|
|
|
|
(*GetVehicleRequest)(nil), // 2: GetVehicleRequest
|
|
|
|
|
(*GetVehicleResponse)(nil), // 3: GetVehicleResponse
|
|
|
|
|
(*GetVehiclesRequest)(nil), // 4: GetVehiclesRequest
|
|
|
|
|
(*GetVehiclesResponse)(nil), // 5: GetVehiclesResponse
|
|
|
|
|
(*GetVehiclesBatchRequest)(nil), // 6: GetVehiclesBatchRequest
|
|
|
|
|
(*GetVehiclesBatchResponse)(nil), // 7: GetVehiclesBatchResponse
|
|
|
|
|
(*UpdateVehicleRequest)(nil), // 8: UpdateVehicleRequest
|
|
|
|
|
(*UpdateVehicleResponse)(nil), // 9: UpdateVehicleResponse
|
|
|
|
|
(*CreateBookingRequest)(nil), // 10: CreateBookingRequest
|
|
|
|
|
(*CreateBookingResponse)(nil), // 11: CreateBookingResponse
|
|
|
|
|
(*UpdateBookingRequest)(nil), // 12: UpdateBookingRequest
|
|
|
|
|
(*UpdateBookingResponse)(nil), // 13: UpdateBookingResponse
|
|
|
|
|
(*DeleteBookingRequest)(nil), // 14: DeleteBookingRequest
|
|
|
|
|
(*DeleteBookingResponse)(nil), // 15: DeleteBookingResponse
|
|
|
|
|
(*FindVehicleRequest)(nil), // 16: FindVehicleRequest
|
|
|
|
|
(*FindVehicleResponse)(nil), // 17: FindVehicleResponse
|
|
|
|
|
(*GetBookingRequest)(nil), // 18: GetBookingRequest
|
|
|
|
|
(*GetBookingResponse)(nil), // 19: GetBookingResponse
|
|
|
|
|
(*GetDriverBookingsRequest)(nil), // 20: GetDriverBookingsRequest
|
|
|
|
|
(*GetDriverBookingsResponse)(nil), // 21: GetDriverBookingsResponse
|
|
|
|
|
(*GetBookingsRequest)(nil), // 22: GetBookingsRequest
|
|
|
|
|
(*GetBookingsResponse)(nil), // 23: GetBookingsResponse
|
|
|
|
|
(*Vehicle)(nil), // 24: Vehicle
|
|
|
|
|
(*Booking)(nil), // 25: Booking
|
|
|
|
|
(*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp
|
|
|
|
|
}
|
|
|
|
|
var file_fleets_proto_depIdxs = []int32{
|
|
|
|
|
20, // 0: AddVehicleRequest.vehicle:type_name -> Vehicle
|
|
|
|
|
20, // 1: AddVehicleResponse.vehicle:type_name -> Vehicle
|
|
|
|
|
20, // 2: GetVehicleResponse.vehicle:type_name -> Vehicle
|
|
|
|
|
20, // 3: GetVehiclesResponse.vehicles:type_name -> Vehicle
|
|
|
|
|
20, // 4: GetVehiclesBatchResponse.vehicles:type_name -> Vehicle
|
|
|
|
|
20, // 5: UpdateVehicleRequest.vehicle:type_name -> Vehicle
|
|
|
|
|
20, // 6: UpdateVehicleResponse.vehicle:type_name -> Vehicle
|
|
|
|
|
21, // 7: CreateBookingRequest.booking:type_name -> Booking
|
|
|
|
|
21, // 8: CreateBookingResponse.booking:type_name -> Booking
|
|
|
|
|
21, // 9: UpdateBookingRequest.booking:type_name -> Booking
|
|
|
|
|
21, // 10: UpdateBookingResponse.booking:type_name -> Booking
|
|
|
|
|
22, // 11: FindVehicleRequest.startdate:type_name -> google.protobuf.Timestamp
|
|
|
|
|
22, // 12: FindVehicleRequest.enddate:type_name -> google.protobuf.Timestamp
|
|
|
|
|
20, // 13: FindVehicleResponse.vehicles:type_name -> Vehicle
|
|
|
|
|
21, // 14: GetBookingResponse.booking:type_name -> Booking
|
|
|
|
|
0, // 15: Fleets.AddVehicle:input_type -> AddVehicleRequest
|
|
|
|
|
2, // 16: Fleets.GetVehicle:input_type -> GetVehicleRequest
|
|
|
|
|
4, // 17: Fleets.GetVehicles:input_type -> GetVehiclesRequest
|
|
|
|
|
8, // 18: Fleets.UpdateVehicle:input_type -> UpdateVehicleRequest
|
|
|
|
|
10, // 19: Fleets.CreateBooking:input_type -> CreateBookingRequest
|
|
|
|
|
18, // 20: Fleets.GetBooking:input_type -> GetBookingRequest
|
|
|
|
|
12, // 21: Fleets.UpdateBooking:input_type -> UpdateBookingRequest
|
|
|
|
|
14, // 22: Fleets.DeleteBooking:input_type -> DeleteBookingRequest
|
|
|
|
|
16, // 23: Fleets.FindVehicle:input_type -> FindVehicleRequest
|
|
|
|
|
1, // 24: Fleets.AddVehicle:output_type -> AddVehicleResponse
|
|
|
|
|
3, // 25: Fleets.GetVehicle:output_type -> GetVehicleResponse
|
|
|
|
|
5, // 26: Fleets.GetVehicles:output_type -> GetVehiclesResponse
|
|
|
|
|
9, // 27: Fleets.UpdateVehicle:output_type -> UpdateVehicleResponse
|
|
|
|
|
11, // 28: Fleets.CreateBooking:output_type -> CreateBookingResponse
|
|
|
|
|
19, // 29: Fleets.GetBooking:output_type -> GetBookingResponse
|
|
|
|
|
13, // 30: Fleets.UpdateBooking:output_type -> UpdateBookingResponse
|
|
|
|
|
15, // 31: Fleets.DeleteBooking:output_type -> DeleteBookingResponse
|
|
|
|
|
17, // 32: Fleets.FindVehicle:output_type -> FindVehicleResponse
|
|
|
|
|
24, // [24:33] is the sub-list for method output_type
|
|
|
|
|
15, // [15:24] is the sub-list for method input_type
|
|
|
|
|
15, // [15:15] is the sub-list for extension type_name
|
|
|
|
|
15, // [15:15] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:15] is the sub-list for field type_name
|
|
|
|
|
24, // 0: AddVehicleRequest.vehicle:type_name -> Vehicle
|
|
|
|
|
24, // 1: AddVehicleResponse.vehicle:type_name -> Vehicle
|
|
|
|
|
24, // 2: GetVehicleResponse.vehicle:type_name -> Vehicle
|
|
|
|
|
24, // 3: GetVehiclesResponse.vehicles:type_name -> Vehicle
|
|
|
|
|
24, // 4: GetVehiclesBatchResponse.vehicles:type_name -> Vehicle
|
|
|
|
|
24, // 5: UpdateVehicleRequest.vehicle:type_name -> Vehicle
|
|
|
|
|
24, // 6: UpdateVehicleResponse.vehicle:type_name -> Vehicle
|
|
|
|
|
25, // 7: CreateBookingRequest.booking:type_name -> Booking
|
|
|
|
|
25, // 8: CreateBookingResponse.booking:type_name -> Booking
|
|
|
|
|
25, // 9: UpdateBookingRequest.booking:type_name -> Booking
|
|
|
|
|
25, // 10: UpdateBookingResponse.booking:type_name -> Booking
|
|
|
|
|
26, // 11: FindVehicleRequest.startdate:type_name -> google.protobuf.Timestamp
|
|
|
|
|
26, // 12: FindVehicleRequest.enddate:type_name -> google.protobuf.Timestamp
|
|
|
|
|
24, // 13: FindVehicleResponse.vehicles:type_name -> Vehicle
|
|
|
|
|
25, // 14: GetBookingResponse.booking:type_name -> Booking
|
|
|
|
|
25, // 15: GetDriverBookingsResponse.bookings:type_name -> Booking
|
|
|
|
|
25, // 16: GetBookingsResponse.bookings:type_name -> Booking
|
|
|
|
|
0, // 17: Fleets.AddVehicle:input_type -> AddVehicleRequest
|
|
|
|
|
2, // 18: Fleets.GetVehicle:input_type -> GetVehicleRequest
|
|
|
|
|
4, // 19: Fleets.GetVehicles:input_type -> GetVehiclesRequest
|
|
|
|
|
8, // 20: Fleets.UpdateVehicle:input_type -> UpdateVehicleRequest
|
|
|
|
|
10, // 21: Fleets.CreateBooking:input_type -> CreateBookingRequest
|
|
|
|
|
18, // 22: Fleets.GetBooking:input_type -> GetBookingRequest
|
|
|
|
|
22, // 23: Fleets.GetBookings:input_type -> GetBookingsRequest
|
|
|
|
|
20, // 24: Fleets.GetDriverBookings:input_type -> GetDriverBookingsRequest
|
|
|
|
|
12, // 25: Fleets.UpdateBooking:input_type -> UpdateBookingRequest
|
|
|
|
|
14, // 26: Fleets.DeleteBooking:input_type -> DeleteBookingRequest
|
|
|
|
|
16, // 27: Fleets.FindVehicle:input_type -> FindVehicleRequest
|
|
|
|
|
1, // 28: Fleets.AddVehicle:output_type -> AddVehicleResponse
|
|
|
|
|
3, // 29: Fleets.GetVehicle:output_type -> GetVehicleResponse
|
|
|
|
|
5, // 30: Fleets.GetVehicles:output_type -> GetVehiclesResponse
|
|
|
|
|
9, // 31: Fleets.UpdateVehicle:output_type -> UpdateVehicleResponse
|
|
|
|
|
11, // 32: Fleets.CreateBooking:output_type -> CreateBookingResponse
|
|
|
|
|
19, // 33: Fleets.GetBooking:output_type -> GetBookingResponse
|
|
|
|
|
23, // 34: Fleets.GetBookings:output_type -> GetBookingsResponse
|
|
|
|
|
21, // 35: Fleets.GetDriverBookings:output_type -> GetDriverBookingsResponse
|
|
|
|
|
13, // 36: Fleets.UpdateBooking:output_type -> UpdateBookingResponse
|
|
|
|
|
15, // 37: Fleets.DeleteBooking:output_type -> DeleteBookingResponse
|
|
|
|
|
17, // 38: Fleets.FindVehicle:output_type -> FindVehicleResponse
|
|
|
|
|
28, // [28:39] is the sub-list for method output_type
|
|
|
|
|
17, // [17:28] is the sub-list for method input_type
|
|
|
|
|
17, // [17:17] is the sub-list for extension type_name
|
|
|
|
|
17, // [17:17] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:17] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_fleets_proto_init() }
|
|
|
|
@ -1449,6 +1671,54 @@ func file_fleets_proto_init() {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_fleets_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GetDriverBookingsRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_fleets_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GetDriverBookingsResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_fleets_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GetBookingsRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_fleets_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GetBookingsResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
@ -1456,7 +1726,7 @@ func file_fleets_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_fleets_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 20,
|
|
|
|
|
NumMessages: 24,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|