fleets/grpcapi/fleets.pb.go

1375 lines
42 KiB
Go

//COOPGO Groups Management gRPC service definition
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.7
// protoc v6.31.1
// source: fleets.proto
package grpcapi
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
structpb "google.golang.org/protobuf/types/known/structpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 `protogen:"open.v1"`
Vehicle *Vehicle `protobuf:"bytes,1,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddVehicleRequest) Reset() {
*x = AddVehicleRequest{}
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 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 `protogen:"open.v1"`
Vehicle *Vehicle `protobuf:"bytes,2,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddVehicleResponse) Reset() {
*x = AddVehicleResponse{}
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 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 `protogen:"open.v1"`
Vehicleid string `protobuf:"bytes,3,opt,name=vehicleid,proto3" json:"vehicleid,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVehicleRequest) Reset() {
*x = GetVehicleRequest{}
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 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 `protogen:"open.v1"`
Vehicle *Vehicle `protobuf:"bytes,4,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVehicleResponse) Reset() {
*x = GetVehicleResponse{}
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 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 `protogen:"open.v1"`
Namespaces []string `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
Types []string `protobuf:"bytes,6,rep,name=types,proto3" json:"types,omitempty"`
Administrators []string `protobuf:"bytes,7,rep,name=administrators,proto3" json:"administrators,omitempty"`
AvailabilityFrom *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=availability_from,json=availabilityFrom,proto3" json:"availability_from,omitempty"`
AvailabilityTo *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=availability_to,json=availabilityTo,proto3" json:"availability_to,omitempty"`
IncludeDeleted bool `protobuf:"varint,10,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVehiclesRequest) Reset() {
*x = GetVehiclesRequest{}
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 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
}
func (x *GetVehiclesRequest) GetTypes() []string {
if x != nil {
return x.Types
}
return nil
}
func (x *GetVehiclesRequest) GetAdministrators() []string {
if x != nil {
return x.Administrators
}
return nil
}
func (x *GetVehiclesRequest) GetAvailabilityFrom() *timestamppb.Timestamp {
if x != nil {
return x.AvailabilityFrom
}
return nil
}
func (x *GetVehiclesRequest) GetAvailabilityTo() *timestamppb.Timestamp {
if x != nil {
return x.AvailabilityTo
}
return nil
}
func (x *GetVehiclesRequest) GetIncludeDeleted() bool {
if x != nil {
return x.IncludeDeleted
}
return false
}
type GetVehiclesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Vehicles []*Vehicle `protobuf:"bytes,6,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVehiclesResponse) Reset() {
*x = GetVehiclesResponse{}
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 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 `protogen:"open.v1"`
Vehiclesids []string `protobuf:"bytes,7,rep,name=vehiclesids,proto3" json:"vehiclesids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVehiclesBatchRequest) Reset() {
*x = GetVehiclesBatchRequest{}
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 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 `protogen:"open.v1"`
Vehicles []*Vehicle `protobuf:"bytes,8,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVehiclesBatchResponse) Reset() {
*x = GetVehiclesBatchResponse{}
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 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 `protogen:"open.v1"`
Vehicle *Vehicle `protobuf:"bytes,9,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateVehicleRequest) Reset() {
*x = UpdateVehicleRequest{}
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 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 `protogen:"open.v1"`
Vehicle *Vehicle `protobuf:"bytes,10,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateVehicleResponse) Reset() {
*x = UpdateVehicleResponse{}
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 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 `protogen:"open.v1"`
Booking *Booking `protobuf:"bytes,11,opt,name=booking,proto3" json:"booking,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBookingRequest) Reset() {
*x = CreateBookingRequest{}
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 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 `protogen:"open.v1"`
Booking *Booking `protobuf:"bytes,12,opt,name=booking,proto3" json:"booking,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBookingResponse) Reset() {
*x = CreateBookingResponse{}
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 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 `protogen:"open.v1"`
Booking *Booking `protobuf:"bytes,13,opt,name=booking,proto3" json:"booking,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateBookingRequest) Reset() {
*x = UpdateBookingRequest{}
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 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 `protogen:"open.v1"`
Booking *Booking `protobuf:"bytes,14,opt,name=booking,proto3" json:"booking,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateBookingResponse) Reset() {
*x = UpdateBookingResponse{}
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 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 `protogen:"open.v1"`
Id string `protobuf:"bytes,15,opt,name=id,proto3" json:"id,omitempty"`
DeletionMetadata *structpb.Struct `protobuf:"bytes,30,opt,name=deletion_metadata,json=deletionMetadata,proto3" json:"deletion_metadata,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteBookingRequest) Reset() {
*x = DeleteBookingRequest{}
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 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 ""
}
func (x *DeleteBookingRequest) GetDeletionMetadata() *structpb.Struct {
if x != nil {
return x.DeletionMetadata
}
return nil
}
type DeleteBookingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Ok bool `protobuf:"varint,16,opt,name=ok,proto3" json:"ok,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteBookingResponse) Reset() {
*x = DeleteBookingResponse{}
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 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 `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindVehicleRequest) Reset() {
*x = FindVehicleRequest{}
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 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 `protogen:"open.v1"`
Vehicles []*Vehicle `protobuf:"bytes,22,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindVehicleResponse) Reset() {
*x = FindVehicleResponse{}
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 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 `protogen:"open.v1"`
Bookingid string `protobuf:"bytes,23,opt,name=bookingid,proto3" json:"bookingid,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBookingRequest) Reset() {
*x = GetBookingRequest{}
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 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 `protogen:"open.v1"`
Booking *Booking `protobuf:"bytes,24,opt,name=booking,proto3" json:"booking,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBookingResponse) Reset() {
*x = GetBookingResponse{}
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 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
}
type GetDriverBookingsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Driver string `protobuf:"bytes,25,opt,name=driver,proto3" json:"driver,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDriverBookingsRequest) Reset() {
*x = GetDriverBookingsRequest{}
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 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 `protogen:"open.v1"`
Bookings []*Booking `protobuf:"bytes,26,rep,name=bookings,proto3" json:"bookings,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDriverBookingsResponse) Reset() {
*x = GetDriverBookingsResponse{}
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 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 `protogen:"open.v1"`
Namespaces []string `protobuf:"bytes,27,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
IncludeDeleted bool `protobuf:"varint,29,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBookingsRequest) Reset() {
*x = GetBookingsRequest{}
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 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
}
func (x *GetBookingsRequest) GetIncludeDeleted() bool {
if x != nil {
return x.IncludeDeleted
}
return false
}
type GetBookingsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bookings []*Booking `protobuf:"bytes,28,rep,name=bookings,proto3" json:"bookings,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBookingsResponse) Reset() {
*x = GetBookingsResponse{}
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 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
const file_fleets_proto_rawDesc = "" +
"\n" +
"\ffleets.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x0evehicles.proto\"7\n" +
"\x11AddVehicleRequest\x12\"\n" +
"\avehicle\x18\x01 \x01(\v2\b.VehicleR\avehicle\"8\n" +
"\x12AddVehicleResponse\x12\"\n" +
"\avehicle\x18\x02 \x01(\v2\b.VehicleR\avehicle\"1\n" +
"\x11GetVehicleRequest\x12\x1c\n" +
"\tvehicleid\x18\x03 \x01(\tR\tvehicleid\"8\n" +
"\x12GetVehicleResponse\x12\"\n" +
"\avehicle\x18\x04 \x01(\v2\b.VehicleR\avehicle\"\xa9\x02\n" +
"\x12GetVehiclesRequest\x12\x1e\n" +
"\n" +
"namespaces\x18\x05 \x03(\tR\n" +
"namespaces\x12\x14\n" +
"\x05types\x18\x06 \x03(\tR\x05types\x12&\n" +
"\x0eadministrators\x18\a \x03(\tR\x0eadministrators\x12G\n" +
"\x11availability_from\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\x10availabilityFrom\x12C\n" +
"\x0favailability_to\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\x0eavailabilityTo\x12'\n" +
"\x0finclude_deleted\x18\n" +
" \x01(\bR\x0eincludeDeleted\";\n" +
"\x13GetVehiclesResponse\x12$\n" +
"\bvehicles\x18\x06 \x03(\v2\b.VehicleR\bvehicles\";\n" +
"\x17GetVehiclesBatchRequest\x12 \n" +
"\vvehiclesids\x18\a \x03(\tR\vvehiclesids\"@\n" +
"\x18GetVehiclesBatchResponse\x12$\n" +
"\bvehicles\x18\b \x03(\v2\b.VehicleR\bvehicles\":\n" +
"\x14UpdateVehicleRequest\x12\"\n" +
"\avehicle\x18\t \x01(\v2\b.VehicleR\avehicle\";\n" +
"\x15UpdateVehicleResponse\x12\"\n" +
"\avehicle\x18\n" +
" \x01(\v2\b.VehicleR\avehicle\":\n" +
"\x14CreateBookingRequest\x12\"\n" +
"\abooking\x18\v \x01(\v2\b.BookingR\abooking\";\n" +
"\x15CreateBookingResponse\x12\"\n" +
"\abooking\x18\f \x01(\v2\b.BookingR\abooking\":\n" +
"\x14UpdateBookingRequest\x12\"\n" +
"\abooking\x18\r \x01(\v2\b.BookingR\abooking\";\n" +
"\x15UpdateBookingResponse\x12\"\n" +
"\abooking\x18\x0e \x01(\v2\b.BookingR\abooking\"l\n" +
"\x14DeleteBookingRequest\x12\x0e\n" +
"\x02id\x18\x0f \x01(\tR\x02id\x12D\n" +
"\x11deletion_metadata\x18\x1e \x01(\v2\x17.google.protobuf.StructR\x10deletionMetadata\"'\n" +
"\x15DeleteBookingResponse\x12\x0e\n" +
"\x02ok\x18\x10 \x01(\bR\x02ok\"\xc6\x01\n" +
"\x12FindVehicleRequest\x12\x1c\n" +
"\tnamespace\x18\x11 \x01(\tR\tnamespace\x128\n" +
"\tstartdate\x18\x12 \x01(\v2\x1a.google.protobuf.TimestampR\tstartdate\x124\n" +
"\aenddate\x18\x13 \x01(\v2\x1a.google.protobuf.TimestampR\aenddate\x12\x10\n" +
"\x03lat\x18\x14 \x01(\x01R\x03lat\x12\x10\n" +
"\x03lon\x18\x15 \x01(\x01R\x03lon\";\n" +
"\x13FindVehicleResponse\x12$\n" +
"\bvehicles\x18\x16 \x03(\v2\b.VehicleR\bvehicles\"1\n" +
"\x11GetBookingRequest\x12\x1c\n" +
"\tbookingid\x18\x17 \x01(\tR\tbookingid\"8\n" +
"\x12GetBookingResponse\x12\"\n" +
"\abooking\x18\x18 \x01(\v2\b.BookingR\abooking\"2\n" +
"\x18GetDriverBookingsRequest\x12\x16\n" +
"\x06driver\x18\x19 \x01(\tR\x06driver\"A\n" +
"\x19GetDriverBookingsResponse\x12$\n" +
"\bbookings\x18\x1a \x03(\v2\b.BookingR\bbookings\"]\n" +
"\x12GetBookingsRequest\x12\x1e\n" +
"\n" +
"namespaces\x18\x1b \x03(\tR\n" +
"namespaces\x12'\n" +
"\x0finclude_deleted\x18\x1d \x01(\bR\x0eincludeDeleted\";\n" +
"\x13GetBookingsResponse\x12$\n" +
"\bbookings\x18\x1c \x03(\v2\b.BookingR\bbookings2\xbd\x05\n" +
"\x06Fleets\x127\n" +
"\n" +
"AddVehicle\x12\x12.AddVehicleRequest\x1a\x13.AddVehicleResponse\"\x00\x127\n" +
"\n" +
"GetVehicle\x12\x12.GetVehicleRequest\x1a\x13.GetVehicleResponse\"\x00\x12:\n" +
"\vGetVehicles\x12\x13.GetVehiclesRequest\x1a\x14.GetVehiclesResponse\"\x00\x12@\n" +
"\rUpdateVehicle\x12\x15.UpdateVehicleRequest\x1a\x16.UpdateVehicleResponse\"\x00\x12@\n" +
"\rCreateBooking\x12\x15.CreateBookingRequest\x1a\x16.CreateBookingResponse\"\x00\x127\n" +
"\n" +
"GetBooking\x12\x12.GetBookingRequest\x1a\x13.GetBookingResponse\"\x00\x12:\n" +
"\vGetBookings\x12\x13.GetBookingsRequest\x1a\x14.GetBookingsResponse\"\x00\x12L\n" +
"\x11GetDriverBookings\x12\x19.GetDriverBookingsRequest\x1a\x1a.GetDriverBookingsResponse\"\x00\x12@\n" +
"\rUpdateBooking\x12\x15.UpdateBookingRequest\x1a\x16.UpdateBookingResponse\"\x00\x12@\n" +
"\rDeleteBooking\x12\x15.DeleteBookingRequest\x1a\x16.DeleteBookingResponse\"\x00\x12:\n" +
"\vFindVehicle\x12\x13.FindVehicleRequest\x1a\x14.FindVehicleResponse\"\x00B.Z,git.coopgo.io/coopgo-platform/fleets/grpcapib\x06proto3"
var (
file_fleets_proto_rawDescOnce sync.Once
file_fleets_proto_rawDescData []byte
)
func file_fleets_proto_rawDescGZIP() []byte {
file_fleets_proto_rawDescOnce.Do(func() {
file_fleets_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_fleets_proto_rawDesc), len(file_fleets_proto_rawDesc)))
})
return file_fleets_proto_rawDescData
}
var file_fleets_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
var file_fleets_proto_goTypes = []any{
(*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
(*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
(*Booking)(nil), // 26: Booking
(*structpb.Struct)(nil), // 27: google.protobuf.Struct
}
var file_fleets_proto_depIdxs = []int32{
24, // 0: AddVehicleRequest.vehicle:type_name -> Vehicle
24, // 1: AddVehicleResponse.vehicle:type_name -> Vehicle
24, // 2: GetVehicleResponse.vehicle:type_name -> Vehicle
25, // 3: GetVehiclesRequest.availability_from:type_name -> google.protobuf.Timestamp
25, // 4: GetVehiclesRequest.availability_to:type_name -> google.protobuf.Timestamp
24, // 5: GetVehiclesResponse.vehicles:type_name -> Vehicle
24, // 6: GetVehiclesBatchResponse.vehicles:type_name -> Vehicle
24, // 7: UpdateVehicleRequest.vehicle:type_name -> Vehicle
24, // 8: UpdateVehicleResponse.vehicle:type_name -> Vehicle
26, // 9: CreateBookingRequest.booking:type_name -> Booking
26, // 10: CreateBookingResponse.booking:type_name -> Booking
26, // 11: UpdateBookingRequest.booking:type_name -> Booking
26, // 12: UpdateBookingResponse.booking:type_name -> Booking
27, // 13: DeleteBookingRequest.deletion_metadata:type_name -> google.protobuf.Struct
25, // 14: FindVehicleRequest.startdate:type_name -> google.protobuf.Timestamp
25, // 15: FindVehicleRequest.enddate:type_name -> google.protobuf.Timestamp
24, // 16: FindVehicleResponse.vehicles:type_name -> Vehicle
26, // 17: GetBookingResponse.booking:type_name -> Booking
26, // 18: GetDriverBookingsResponse.bookings:type_name -> Booking
26, // 19: GetBookingsResponse.bookings:type_name -> Booking
0, // 20: Fleets.AddVehicle:input_type -> AddVehicleRequest
2, // 21: Fleets.GetVehicle:input_type -> GetVehicleRequest
4, // 22: Fleets.GetVehicles:input_type -> GetVehiclesRequest
8, // 23: Fleets.UpdateVehicle:input_type -> UpdateVehicleRequest
10, // 24: Fleets.CreateBooking:input_type -> CreateBookingRequest
18, // 25: Fleets.GetBooking:input_type -> GetBookingRequest
22, // 26: Fleets.GetBookings:input_type -> GetBookingsRequest
20, // 27: Fleets.GetDriverBookings:input_type -> GetDriverBookingsRequest
12, // 28: Fleets.UpdateBooking:input_type -> UpdateBookingRequest
14, // 29: Fleets.DeleteBooking:input_type -> DeleteBookingRequest
16, // 30: Fleets.FindVehicle:input_type -> FindVehicleRequest
1, // 31: Fleets.AddVehicle:output_type -> AddVehicleResponse
3, // 32: Fleets.GetVehicle:output_type -> GetVehicleResponse
5, // 33: Fleets.GetVehicles:output_type -> GetVehiclesResponse
9, // 34: Fleets.UpdateVehicle:output_type -> UpdateVehicleResponse
11, // 35: Fleets.CreateBooking:output_type -> CreateBookingResponse
19, // 36: Fleets.GetBooking:output_type -> GetBookingResponse
23, // 37: Fleets.GetBookings:output_type -> GetBookingsResponse
21, // 38: Fleets.GetDriverBookings:output_type -> GetDriverBookingsResponse
13, // 39: Fleets.UpdateBooking:output_type -> UpdateBookingResponse
15, // 40: Fleets.DeleteBooking:output_type -> DeleteBookingResponse
17, // 41: Fleets.FindVehicle:output_type -> FindVehicleResponse
31, // [31:42] is the sub-list for method output_type
20, // [20:31] is the sub-list for method input_type
20, // [20:20] is the sub-list for extension type_name
20, // [20:20] is the sub-list for extension extendee
0, // [0:20] 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()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_fleets_proto_rawDesc), len(file_fleets_proto_rawDesc)),
NumEnums: 0,
NumMessages: 24,
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_goTypes = nil
file_fleets_proto_depIdxs = nil
}