//COOPGO Groups Management gRPC service definition // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.19.4 // source: fleets.proto package grpcapi import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type AddVehicleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicle *Vehicle `protobuf:"bytes,1,opt,name=vehicle,proto3" json:"vehicle,omitempty"` } func (x *AddVehicleRequest) Reset() { *x = AddVehicleRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddVehicleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddVehicleRequest) ProtoMessage() {} func (x *AddVehicleRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddVehicleRequest.ProtoReflect.Descriptor instead. func (*AddVehicleRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{0} } func (x *AddVehicleRequest) GetVehicle() *Vehicle { if x != nil { return x.Vehicle } return nil } type AddVehicleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicle *Vehicle `protobuf:"bytes,2,opt,name=vehicle,proto3" json:"vehicle,omitempty"` } func (x *AddVehicleResponse) Reset() { *x = AddVehicleResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddVehicleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddVehicleResponse) ProtoMessage() {} func (x *AddVehicleResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddVehicleResponse.ProtoReflect.Descriptor instead. func (*AddVehicleResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{1} } func (x *AddVehicleResponse) GetVehicle() *Vehicle { if x != nil { return x.Vehicle } return nil } type GetVehicleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicleid string `protobuf:"bytes,3,opt,name=vehicleid,proto3" json:"vehicleid,omitempty"` } func (x *GetVehicleRequest) Reset() { *x = GetVehicleRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVehicleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVehicleRequest) ProtoMessage() {} func (x *GetVehicleRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVehicleRequest.ProtoReflect.Descriptor instead. func (*GetVehicleRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{2} } func (x *GetVehicleRequest) GetVehicleid() string { if x != nil { return x.Vehicleid } return "" } type GetVehicleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicle *Vehicle `protobuf:"bytes,4,opt,name=vehicle,proto3" json:"vehicle,omitempty"` } func (x *GetVehicleResponse) Reset() { *x = GetVehicleResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVehicleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVehicleResponse) ProtoMessage() {} func (x *GetVehicleResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVehicleResponse.ProtoReflect.Descriptor instead. func (*GetVehicleResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{3} } func (x *GetVehicleResponse) GetVehicle() *Vehicle { if x != nil { return x.Vehicle } return nil } type GetVehiclesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Namespaces []string `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` } func (x *GetVehiclesRequest) Reset() { *x = GetVehiclesRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVehiclesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVehiclesRequest) ProtoMessage() {} func (x *GetVehiclesRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVehiclesRequest.ProtoReflect.Descriptor instead. func (*GetVehiclesRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{4} } func (x *GetVehiclesRequest) GetNamespaces() []string { if x != nil { return x.Namespaces } return nil } type GetVehiclesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicles []*Vehicle `protobuf:"bytes,6,rep,name=vehicles,proto3" json:"vehicles,omitempty"` } func (x *GetVehiclesResponse) Reset() { *x = GetVehiclesResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVehiclesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVehiclesResponse) ProtoMessage() {} func (x *GetVehiclesResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVehiclesResponse.ProtoReflect.Descriptor instead. func (*GetVehiclesResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{5} } func (x *GetVehiclesResponse) GetVehicles() []*Vehicle { if x != nil { return x.Vehicles } return nil } type GetVehiclesBatchRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehiclesids []string `protobuf:"bytes,7,rep,name=vehiclesids,proto3" json:"vehiclesids,omitempty"` } func (x *GetVehiclesBatchRequest) Reset() { *x = GetVehiclesBatchRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVehiclesBatchRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVehiclesBatchRequest) ProtoMessage() {} func (x *GetVehiclesBatchRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVehiclesBatchRequest.ProtoReflect.Descriptor instead. func (*GetVehiclesBatchRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{6} } func (x *GetVehiclesBatchRequest) GetVehiclesids() []string { if x != nil { return x.Vehiclesids } return nil } type GetVehiclesBatchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicles []*Vehicle `protobuf:"bytes,8,rep,name=vehicles,proto3" json:"vehicles,omitempty"` } func (x *GetVehiclesBatchResponse) Reset() { *x = GetVehiclesBatchResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVehiclesBatchResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVehiclesBatchResponse) ProtoMessage() {} func (x *GetVehiclesBatchResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVehiclesBatchResponse.ProtoReflect.Descriptor instead. func (*GetVehiclesBatchResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{7} } func (x *GetVehiclesBatchResponse) GetVehicles() []*Vehicle { if x != nil { return x.Vehicles } return nil } type UpdateVehicleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicle *Vehicle `protobuf:"bytes,9,opt,name=vehicle,proto3" json:"vehicle,omitempty"` } func (x *UpdateVehicleRequest) Reset() { *x = UpdateVehicleRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateVehicleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateVehicleRequest) ProtoMessage() {} func (x *UpdateVehicleRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateVehicleRequest.ProtoReflect.Descriptor instead. func (*UpdateVehicleRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{8} } func (x *UpdateVehicleRequest) GetVehicle() *Vehicle { if x != nil { return x.Vehicle } return nil } type UpdateVehicleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicle *Vehicle `protobuf:"bytes,10,opt,name=vehicle,proto3" json:"vehicle,omitempty"` } func (x *UpdateVehicleResponse) Reset() { *x = UpdateVehicleResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateVehicleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateVehicleResponse) ProtoMessage() {} func (x *UpdateVehicleResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateVehicleResponse.ProtoReflect.Descriptor instead. func (*UpdateVehicleResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{9} } func (x *UpdateVehicleResponse) GetVehicle() *Vehicle { if x != nil { return x.Vehicle } return nil } type CreateBookingRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Booking *Booking `protobuf:"bytes,11,opt,name=booking,proto3" json:"booking,omitempty"` } func (x *CreateBookingRequest) Reset() { *x = CreateBookingRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateBookingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateBookingRequest) ProtoMessage() {} func (x *CreateBookingRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateBookingRequest.ProtoReflect.Descriptor instead. func (*CreateBookingRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{10} } func (x *CreateBookingRequest) GetBooking() *Booking { if x != nil { return x.Booking } return nil } type CreateBookingResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Booking *Booking `protobuf:"bytes,12,opt,name=booking,proto3" json:"booking,omitempty"` } func (x *CreateBookingResponse) Reset() { *x = CreateBookingResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateBookingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateBookingResponse) ProtoMessage() {} func (x *CreateBookingResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateBookingResponse.ProtoReflect.Descriptor instead. func (*CreateBookingResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{11} } func (x *CreateBookingResponse) GetBooking() *Booking { if x != nil { return x.Booking } return nil } type UpdateBookingRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Booking *Booking `protobuf:"bytes,13,opt,name=booking,proto3" json:"booking,omitempty"` } func (x *UpdateBookingRequest) Reset() { *x = UpdateBookingRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateBookingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateBookingRequest) ProtoMessage() {} func (x *UpdateBookingRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateBookingRequest.ProtoReflect.Descriptor instead. func (*UpdateBookingRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{12} } func (x *UpdateBookingRequest) GetBooking() *Booking { if x != nil { return x.Booking } return nil } type UpdateBookingResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Booking *Booking `protobuf:"bytes,14,opt,name=booking,proto3" json:"booking,omitempty"` } func (x *UpdateBookingResponse) Reset() { *x = UpdateBookingResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateBookingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateBookingResponse) ProtoMessage() {} func (x *UpdateBookingResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateBookingResponse.ProtoReflect.Descriptor instead. func (*UpdateBookingResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{13} } func (x *UpdateBookingResponse) GetBooking() *Booking { if x != nil { return x.Booking } return nil } type DeleteBookingRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,15,opt,name=id,proto3" json:"id,omitempty"` } func (x *DeleteBookingRequest) Reset() { *x = DeleteBookingRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteBookingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteBookingRequest) ProtoMessage() {} func (x *DeleteBookingRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteBookingRequest.ProtoReflect.Descriptor instead. func (*DeleteBookingRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{14} } func (x *DeleteBookingRequest) GetId() string { if x != nil { return x.Id } return "" } type DeleteBookingResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ok bool `protobuf:"varint,16,opt,name=ok,proto3" json:"ok,omitempty"` } func (x *DeleteBookingResponse) Reset() { *x = DeleteBookingResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteBookingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteBookingResponse) ProtoMessage() {} func (x *DeleteBookingResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteBookingResponse.ProtoReflect.Descriptor instead. func (*DeleteBookingResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{15} } func (x *DeleteBookingResponse) GetOk() bool { if x != nil { return x.Ok } return false } type FindVehicleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Namespace string `protobuf:"bytes,17,opt,name=namespace,proto3" json:"namespace,omitempty"` Startdate *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=startdate,proto3" json:"startdate,omitempty"` Enddate *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=enddate,proto3" json:"enddate,omitempty"` Lat float64 `protobuf:"fixed64,20,opt,name=lat,proto3" json:"lat,omitempty"` Lon float64 `protobuf:"fixed64,21,opt,name=lon,proto3" json:"lon,omitempty"` } func (x *FindVehicleRequest) Reset() { *x = FindVehicleRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindVehicleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindVehicleRequest) ProtoMessage() {} func (x *FindVehicleRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindVehicleRequest.ProtoReflect.Descriptor instead. func (*FindVehicleRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{16} } func (x *FindVehicleRequest) GetNamespace() string { if x != nil { return x.Namespace } return "" } func (x *FindVehicleRequest) GetStartdate() *timestamppb.Timestamp { if x != nil { return x.Startdate } return nil } func (x *FindVehicleRequest) GetEnddate() *timestamppb.Timestamp { if x != nil { return x.Enddate } return nil } func (x *FindVehicleRequest) GetLat() float64 { if x != nil { return x.Lat } return 0 } func (x *FindVehicleRequest) GetLon() float64 { if x != nil { return x.Lon } return 0 } type FindVehicleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Vehicles []*Vehicle `protobuf:"bytes,22,rep,name=vehicles,proto3" json:"vehicles,omitempty"` } func (x *FindVehicleResponse) Reset() { *x = FindVehicleResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindVehicleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindVehicleResponse) ProtoMessage() {} func (x *FindVehicleResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindVehicleResponse.ProtoReflect.Descriptor instead. func (*FindVehicleResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{17} } func (x *FindVehicleResponse) GetVehicles() []*Vehicle { if x != nil { return x.Vehicles } return nil } type GetBookingRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Bookingid string `protobuf:"bytes,23,opt,name=bookingid,proto3" json:"bookingid,omitempty"` } func (x *GetBookingRequest) Reset() { *x = GetBookingRequest{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetBookingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetBookingRequest) ProtoMessage() {} func (x *GetBookingRequest) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetBookingRequest.ProtoReflect.Descriptor instead. func (*GetBookingRequest) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{18} } func (x *GetBookingRequest) GetBookingid() string { if x != nil { return x.Bookingid } return "" } type GetBookingResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Booking *Booking `protobuf:"bytes,24,opt,name=booking,proto3" json:"booking,omitempty"` } func (x *GetBookingResponse) Reset() { *x = GetBookingResponse{} if protoimpl.UnsafeEnabled { mi := &file_fleets_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetBookingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetBookingResponse) ProtoMessage() {} func (x *GetBookingResponse) ProtoReflect() protoreflect.Message { mi := &file_fleets_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetBookingResponse.ProtoReflect.Descriptor instead. func (*GetBookingResponse) Descriptor() ([]byte, []int) { return file_fleets_proto_rawDescGZIP(), []int{19} } func (x *GetBookingResponse) GetBooking() *Booking { if x != nil { return x.Booking } return nil } var File_fleets_proto protoreflect.FileDescriptor var file_fleets_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x22, 0x38, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x22, 0x31, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x08, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x08, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x08, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x08, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x22, 0x3a, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x22, 0x3b, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x22, 0x3a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x3b, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x3a, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x3b, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x26, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x64, 0x61, 0x74, 0x65, 0x18, 0x12, 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, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x64, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x64, 0x61, 0x74, 0x65, 0x18, 0x13, 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, 0x07, 0x65, 0x6e, 0x64, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6c, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6c, 0x6f, 0x6e, 0x22, 0x3b, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x08, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x08, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x22, 0x31, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 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, } var ( file_fleets_proto_rawDescOnce sync.Once file_fleets_proto_rawDescData = file_fleets_proto_rawDesc ) func file_fleets_proto_rawDescGZIP() []byte { file_fleets_proto_rawDescOnce.Do(func() { file_fleets_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleets_proto_rawDescData) }) return file_fleets_proto_rawDescData } var file_fleets_proto_msgTypes = make([]protoimpl.MessageInfo, 20) 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 } 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 } func init() { file_fleets_proto_init() } func file_fleets_proto_init() { if File_fleets_proto != nil { return } file_vehicles_proto_init() if !protoimpl.UnsafeEnabled { file_fleets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddVehicleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddVehicleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVehicleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVehicleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVehiclesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVehiclesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVehiclesBatchRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVehiclesBatchResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateVehicleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateVehicleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateBookingRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateBookingResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateBookingRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateBookingResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteBookingRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteBookingResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindVehicleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindVehicleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBookingRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_fleets_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBookingResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_fleets_proto_rawDesc, NumEnums: 0, NumMessages: 20, NumExtensions: 0, NumServices: 1, }, GoTypes: file_fleets_proto_goTypes, DependencyIndexes: file_fleets_proto_depIdxs, MessageInfos: file_fleets_proto_msgTypes, }.Build() File_fleets_proto = out.File file_fleets_proto_rawDesc = nil file_fleets_proto_goTypes = nil file_fleets_proto_depIdxs = nil }