bookv1beta1

package
v0.0.0-...-81ceaaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-aip-cli. DO NOT EDIT.

Code generated by protoc-gen-go-aip-cli. DO NOT EDIT.

Code generated by protoc-gen-go-aip-cli. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	Shipment_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "RELEASED",
		3: "CANCELLED",
	}
	Shipment_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"RELEASED":          2,
		"CANCELLED":         3,
	}
)

Enum value maps for Shipment_State.

View Source
var (
	Shipment_DeliveryState_name = map[int32]string{
		0: "DELIVERY_STATE_UNSPECIFIED",
		1: "AWAITING",
		2: "IN_TRANSIT",
		3: "DELIVERED",
	}
	Shipment_DeliveryState_value = map[string]int32{
		"DELIVERY_STATE_UNSPECIFIED": 0,
		"AWAITING":                   1,
		"IN_TRANSIT":                 2,
		"DELIVERED":                  3,
	}
)

Enum value maps for Shipment_DeliveryState.

View Source
var (
	Shipment_Service_name = map[int32]string{
		0: "SERVICE_UNSPECIFIED",
		1: "PALLET",
		2: "FTL",
		3: "DRAYAGE",
	}
	Shipment_Service_value = map[string]int32{
		"SERVICE_UNSPECIFIED": 0,
		"PALLET":              1,
		"FTL":                 2,
		"DRAYAGE":             3,
	}
)

Enum value maps for Shipment_Service.

View Source
var (
	ShipmentTrackingEvent_EventCode_name = map[int32]string{
		0: "EVENT_CODE_UNSPECIFIED",
		1: "ARRIVED_AT_PICKUP",
		2: "DEPARTED_PICKUP",
		3: "ARRIVED_AT_DELIVERY",
		4: "DEPARTED_DELIVERY",
		5: "STARTED_AT_PICKUP",
		6: "COMPLETED_PICKUP",
		7: "STARTED_AT_DELIVERY",
		8: "COMPLETED_DELIVERY",
	}
	ShipmentTrackingEvent_EventCode_value = map[string]int32{
		"EVENT_CODE_UNSPECIFIED": 0,
		"ARRIVED_AT_PICKUP":      1,
		"DEPARTED_PICKUP":        2,
		"ARRIVED_AT_DELIVERY":    3,
		"DEPARTED_DELIVERY":      4,
		"STARTED_AT_PICKUP":      5,
		"COMPLETED_PICKUP":       6,
		"STARTED_AT_DELIVERY":    7,
		"COMPLETED_DELIVERY":     8,
	}
)

Enum value maps for ShipmentTrackingEvent_EventCode.

View Source
var (
	Tour_TourType_name = map[int32]string{
		0: "TOUR_TYPE_UNSPECIFIED",
		1: "PROVISIONAL",
		2: "CONFIRMED",
	}
	Tour_TourType_value = map[string]int32{
		"TOUR_TYPE_UNSPECIFIED": 0,
		"PROVISIONAL":           1,
		"CONFIRMED":             2,
	}
)

Enum value maps for Tour_TourType.

View Source
var (
	Tour_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "ACCEPTED",
		3: "REJECTED",
	}
	Tour_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"ACCEPTED":          2,
		"REJECTED":          3,
	}
)

Enum value maps for Tour_State.

View Source
var (
	Tour_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "FULL_TRUCK_LOAD",
		2: "DISTRIBUTION",
		3: "SHUTTLE",
		4: "MILK_RUN",
		5: "DRAYAGE",
	}
	Tour_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"FULL_TRUCK_LOAD":          1,
		"DISTRIBUTION":             2,
		"SHUTTLE":                  3,
		"MILK_RUN":                 4,
		"DRAYAGE":                  5,
	}
)

Enum value maps for Tour_ServiceType.

View Source
var (
	Tour_AutomationRule_name = map[int32]string{
		0: "AUTOMATION_RULE_UNSPECIFIED",
		1: "CREATE_SHIPMENTS",
		2: "CREATE_AND_RELEASE_SHIPMENTS",
	}
	Tour_AutomationRule_value = map[string]int32{
		"AUTOMATION_RULE_UNSPECIFIED":  0,
		"CREATE_SHIPMENTS":             1,
		"CREATE_AND_RELEASE_SHIPMENTS": 2,
	}
)

Enum value maps for Tour_AutomationRule.

View Source
var (
	Tour_Stop_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "PICKUP",
		2: "DELIVER",
	}
	Tour_Stop_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"PICKUP":           1,
		"DELIVER":          2,
	}
)

Enum value maps for Tour_Stop_Type.

View Source
var (
	Unit_Weight_Unit_name = map[int32]string{
		0: "UNIT_UNSPECIFIED",
		1: "KG",
		2: "LBS",
	}
	Unit_Weight_Unit_value = map[string]int32{
		"UNIT_UNSPECIFIED": 0,
		"KG":               1,
		"LBS":              2,
	}
)

Enum value maps for Unit_Weight_Unit.

View Source
var (
	Unit_Length_Unit_name = map[int32]string{
		0: "UNIT_UNSPECIFIED",
		1: "CM",
		2: "IN",
	}
	Unit_Length_Unit_value = map[string]int32{
		"UNIT_UNSPECIFIED": 0,
		"CM":               1,
		"IN":               2,
	}
)

Enum value maps for Unit_Length_Unit.

View Source
var (
	Unit_Volume_Unit_name = map[int32]string{
		0: "UNIT_UNSPECIFIED",
		1: "CBM",
		2: "CBFT",
	}
	Unit_Volume_Unit_value = map[string]int32{
		"UNIT_UNSPECIFIED": 0,
		"CBM":              1,
		"CBFT":             2,
	}
)

Enum value maps for Unit_Volume_Unit.

View Source
var BookingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "einride.saga.extend.book.v1beta1.BookingService",
	HandlerType: (*BookingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTour",
			Handler:    _BookingService_CreateTour_Handler,
		},
		{
			MethodName: "GetTour",
			Handler:    _BookingService_GetTour_Handler,
		},
		{
			MethodName: "ListTours",
			Handler:    _BookingService_ListTours_Handler,
		},
		{
			MethodName: "SearchTours",
			Handler:    _BookingService_SearchTours_Handler,
		},
		{
			MethodName: "ConfirmTour",
			Handler:    _BookingService_ConfirmTour_Handler,
		},
		{
			MethodName: "UpdateTour",
			Handler:    _BookingService_UpdateTour_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "einride/saga/extend/book/v1beta1/booking_service.proto",
}

BookingService_ServiceDesc is the grpc.ServiceDesc for BookingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_einride_saga_extend_book_v1beta1_address_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_booking_service_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_default_service_config_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_shipment_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_shipment_service_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_shipment_tracking_event_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_shipment_tracking_event_service_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_tour_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_unit_proto protoreflect.FileDescriptor
View Source
var File_einride_saga_extend_book_v1beta1_vehicle_proto protoreflect.FileDescriptor
View Source
var ShipmentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "einride.saga.extend.book.v1beta1.ShipmentService",
	HandlerType: (*ShipmentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateShipment",
			Handler:    _ShipmentService_CreateShipment_Handler,
		},
		{
			MethodName: "GetShipment",
			Handler:    _ShipmentService_GetShipment_Handler,
		},
		{
			MethodName: "ListShipments",
			Handler:    _ShipmentService_ListShipments_Handler,
		},
		{
			MethodName: "ReleaseShipment",
			Handler:    _ShipmentService_ReleaseShipment_Handler,
		},
		{
			MethodName: "CancelShipment",
			Handler:    _ShipmentService_CancelShipment_Handler,
		},
		{
			MethodName: "UpdateShipment",
			Handler:    _ShipmentService_UpdateShipment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "einride/saga/extend/book/v1beta1/shipment_service.proto",
}

ShipmentService_ServiceDesc is the grpc.ServiceDesc for ShipmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ShipmentTrackingEventService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "einride.saga.extend.book.v1beta1.ShipmentTrackingEventService",
	HandlerType: (*ShipmentTrackingEventServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateShipmentTrackingEvent",
			Handler:    _ShipmentTrackingEventService_CreateShipmentTrackingEvent_Handler,
		},
		{
			MethodName: "GetShipmentTrackingEvent",
			Handler:    _ShipmentTrackingEventService_GetShipmentTrackingEvent_Handler,
		},
		{
			MethodName: "ListShipmentTrackingEvents",
			Handler:    _ShipmentTrackingEventService_ListShipmentTrackingEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "einride/saga/extend/book/v1beta1/shipment_tracking_event_service.proto",
}

ShipmentTrackingEventService_ServiceDesc is the grpc.ServiceDesc for ShipmentTrackingEventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func NewBookingServiceCommand

func NewBookingServiceCommand(config aipcli.Config) *cobra.Command

func NewShipmentServiceCommand

func NewShipmentServiceCommand(config aipcli.Config) *cobra.Command

func NewShipmentTrackingEventServiceCommand

func NewShipmentTrackingEventServiceCommand(config aipcli.Config) *cobra.Command

func RegisterBookingServiceServer

func RegisterBookingServiceServer(s grpc.ServiceRegistrar, srv BookingServiceServer)

func RegisterShipmentServiceServer

func RegisterShipmentServiceServer(s grpc.ServiceRegistrar, srv ShipmentServiceServer)

func RegisterShipmentTrackingEventServiceServer

func RegisterShipmentTrackingEventServiceServer(s grpc.ServiceRegistrar, srv ShipmentTrackingEventServiceServer)

Types

type Address

type Address struct {

	// Recipient
	Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// Care of (C/O)
	Co string `protobuf:"bytes,2,opt,name=co,proto3" json:"co,omitempty"`
	// Address line 1
	Line1 string `protobuf:"bytes,3,opt,name=line1,proto3" json:"line1,omitempty"`
	// Address line 2
	Line2 string `protobuf:"bytes,4,opt,name=line2,proto3" json:"line2,omitempty"`
	// Postal code
	PostalCode string `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// City
	City string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"`
	// Region code (Unicode CLDR region code)
	// https://cldr.unicode.org/
	RegionCode string `protobuf:"bytes,7,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// State code
	StateCode string `protobuf:"bytes,8,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"`
	// The displayed name of the address
	DisplayName string `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Contact information
	ContactInfo string `protobuf:"bytes,10,opt,name=contact_info,json=contactInfo,proto3" json:"contact_info,omitempty"`
	// The geographic location of the address
	LatLng *latlng.LatLng `protobuf:"bytes,11,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
	// An external reference for this address.
	ExternalReferenceId string `protobuf:"bytes,12,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
	// contains filtered or unexported fields
}

An Address is where goods are picked up or delivered.

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetCo

func (x *Address) GetCo() string

func (*Address) GetContactInfo

func (x *Address) GetContactInfo() string

func (*Address) GetDisplayName

func (x *Address) GetDisplayName() string

func (*Address) GetExternalReferenceId

func (x *Address) GetExternalReferenceId() string

func (*Address) GetLatLng

func (x *Address) GetLatLng() *latlng.LatLng

func (*Address) GetLine1

func (x *Address) GetLine1() string

func (*Address) GetLine2

func (x *Address) GetLine2() string

func (*Address) GetPostalCode

func (x *Address) GetPostalCode() string

func (*Address) GetRecipient

func (x *Address) GetRecipient() string

func (*Address) GetRegionCode

func (x *Address) GetRegionCode() string

func (*Address) GetStateCode

func (x *Address) GetStateCode() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type BookingServiceClient

type BookingServiceClient interface {
	// Create a truck tour booking in a space.
	//
	// This is an AIP standard [Create](https://google.aip.dev/133) method.
	CreateTour(ctx context.Context, in *CreateTourRequest, opts ...grpc.CallOption) (*Tour, error)
	// Get an existing truck tour booking.
	//
	// This is an AIP standard [Get](https://google.aip.dev/131) method.
	GetTour(ctx context.Context, in *GetTourRequest, opts ...grpc.CallOption) (*Tour, error)
	// List existing truck tours.
	//
	// This is an AIP standard [List](https://google.aip.dev/132) method.
	ListTours(ctx context.Context, in *ListToursRequest, opts ...grpc.CallOption) (*ListToursResponse, error)
	// Search tours.
	//
	// Search for Tours in a space.
	// - You can search for Tours by external_reference_id
	SearchTours(ctx context.Context, in *SearchToursRequest, opts ...grpc.CallOption) (*SearchToursResponse, error)
	// Confirm a Provisional tour.
	//
	// Reconfirming a tour that is already confirmed will return an InvalidArgument Error.
	// When a tour has been accepted by Saga and confirmed by the user, Shipments will be created.
	ConfirmTour(ctx context.Context, in *ConfirmTourRequest, opts ...grpc.CallOption) (*Tour, error)
	// Update a tour.
	//
	// See: https://google.aip.dev/134 (Standard methods: Update).
	UpdateTour(ctx context.Context, in *UpdateTourRequest, opts ...grpc.CallOption) (*Tour, error)
}

BookingServiceClient is the client API for BookingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type BookingServiceServer

type BookingServiceServer interface {
	// Create a truck tour booking in a space.
	//
	// This is an AIP standard [Create](https://google.aip.dev/133) method.
	CreateTour(context.Context, *CreateTourRequest) (*Tour, error)
	// Get an existing truck tour booking.
	//
	// This is an AIP standard [Get](https://google.aip.dev/131) method.
	GetTour(context.Context, *GetTourRequest) (*Tour, error)
	// List existing truck tours.
	//
	// This is an AIP standard [List](https://google.aip.dev/132) method.
	ListTours(context.Context, *ListToursRequest) (*ListToursResponse, error)
	// Search tours.
	//
	// Search for Tours in a space.
	// - You can search for Tours by external_reference_id
	SearchTours(context.Context, *SearchToursRequest) (*SearchToursResponse, error)
	// Confirm a Provisional tour.
	//
	// Reconfirming a tour that is already confirmed will return an InvalidArgument Error.
	// When a tour has been accepted by Saga and confirmed by the user, Shipments will be created.
	ConfirmTour(context.Context, *ConfirmTourRequest) (*Tour, error)
	// Update a tour.
	//
	// See: https://google.aip.dev/134 (Standard methods: Update).
	UpdateTour(context.Context, *UpdateTourRequest) (*Tour, error)
}

BookingServiceServer is the server API for BookingService service. All implementations should embed UnimplementedBookingServiceServer for forward compatibility

type CancelShipmentRequest

type CancelShipmentRequest struct {

	// The resource name of the shipment to cancel.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for BookService.CancelShipment.

func (*CancelShipmentRequest) Descriptor deprecated

func (*CancelShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelShipmentRequest.ProtoReflect.Descriptor instead.

func (*CancelShipmentRequest) GetName

func (x *CancelShipmentRequest) GetName() string

func (*CancelShipmentRequest) ProtoMessage

func (*CancelShipmentRequest) ProtoMessage()

func (*CancelShipmentRequest) ProtoReflect

func (x *CancelShipmentRequest) ProtoReflect() protoreflect.Message

func (*CancelShipmentRequest) Reset

func (x *CancelShipmentRequest) Reset()

func (*CancelShipmentRequest) String

func (x *CancelShipmentRequest) String() string

type ConfirmTourRequest

type ConfirmTourRequest struct {

	// The resource name of the tour to confirm.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message to confirm a tour.

func (*ConfirmTourRequest) Descriptor deprecated

func (*ConfirmTourRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfirmTourRequest.ProtoReflect.Descriptor instead.

func (*ConfirmTourRequest) GetName

func (x *ConfirmTourRequest) GetName() string

func (*ConfirmTourRequest) ProtoMessage

func (*ConfirmTourRequest) ProtoMessage()

func (*ConfirmTourRequest) ProtoReflect

func (x *ConfirmTourRequest) ProtoReflect() protoreflect.Message

func (*ConfirmTourRequest) Reset

func (x *ConfirmTourRequest) Reset()

func (*ConfirmTourRequest) String

func (x *ConfirmTourRequest) String() string

type CreateShipmentRequest

type CreateShipmentRequest struct {

	// The parent space in which to create the shipment.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The shipment to create.
	Shipment *Shipment `protobuf:"bytes,2,opt,name=shipment,proto3" json:"shipment,omitempty"`
	// contains filtered or unexported fields
}

Request message for BookService.CreateShipment.

func (*CreateShipmentRequest) Descriptor deprecated

func (*CreateShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShipmentRequest.ProtoReflect.Descriptor instead.

func (*CreateShipmentRequest) GetParent

func (x *CreateShipmentRequest) GetParent() string

func (*CreateShipmentRequest) GetShipment

func (x *CreateShipmentRequest) GetShipment() *Shipment

func (*CreateShipmentRequest) ProtoMessage

func (*CreateShipmentRequest) ProtoMessage()

func (*CreateShipmentRequest) ProtoReflect

func (x *CreateShipmentRequest) ProtoReflect() protoreflect.Message

func (*CreateShipmentRequest) Reset

func (x *CreateShipmentRequest) Reset()

func (*CreateShipmentRequest) String

func (x *CreateShipmentRequest) String() string

type CreateShipmentTrackingEventRequest

type CreateShipmentTrackingEventRequest struct {

	// The parent shipment in which to create the event.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The shipment tracking event
	ShipmentTrackingEvent *ShipmentTrackingEvent `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

CreateShipmentTrackingEventRequest for creating an event on a shipment

func (*CreateShipmentTrackingEventRequest) Descriptor deprecated

func (*CreateShipmentTrackingEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShipmentTrackingEventRequest.ProtoReflect.Descriptor instead.

func (*CreateShipmentTrackingEventRequest) GetParent

func (*CreateShipmentTrackingEventRequest) GetShipmentTrackingEvent

func (x *CreateShipmentTrackingEventRequest) GetShipmentTrackingEvent() *ShipmentTrackingEvent

func (*CreateShipmentTrackingEventRequest) ProtoMessage

func (*CreateShipmentTrackingEventRequest) ProtoMessage()

func (*CreateShipmentTrackingEventRequest) ProtoReflect

func (*CreateShipmentTrackingEventRequest) Reset

func (*CreateShipmentTrackingEventRequest) String

type CreateTourRequest

type CreateTourRequest struct {

	// The parent space in which to create the tour.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The tour to create.
	Tour *Tour `protobuf:"bytes,2,opt,name=tour,proto3" json:"tour,omitempty"`
	// contains filtered or unexported fields
}

The request message to create a tour.

func (*CreateTourRequest) Descriptor deprecated

func (*CreateTourRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTourRequest.ProtoReflect.Descriptor instead.

func (*CreateTourRequest) GetParent

func (x *CreateTourRequest) GetParent() string

func (*CreateTourRequest) GetTour

func (x *CreateTourRequest) GetTour() *Tour

func (*CreateTourRequest) ProtoMessage

func (*CreateTourRequest) ProtoMessage()

func (*CreateTourRequest) ProtoReflect

func (x *CreateTourRequest) ProtoReflect() protoreflect.Message

func (*CreateTourRequest) Reset

func (x *CreateTourRequest) Reset()

func (*CreateTourRequest) String

func (x *CreateTourRequest) String() string

type GetShipmentRequest

type GetShipmentRequest struct {

	// The resource name of the shipment to retrieve.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for BookService.GetShipment.

func (*GetShipmentRequest) Descriptor deprecated

func (*GetShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetShipmentRequest.ProtoReflect.Descriptor instead.

func (*GetShipmentRequest) GetName

func (x *GetShipmentRequest) GetName() string

func (*GetShipmentRequest) ProtoMessage

func (*GetShipmentRequest) ProtoMessage()

func (*GetShipmentRequest) ProtoReflect

func (x *GetShipmentRequest) ProtoReflect() protoreflect.Message

func (*GetShipmentRequest) Reset

func (x *GetShipmentRequest) Reset()

func (*GetShipmentRequest) String

func (x *GetShipmentRequest) String() string

type GetShipmentTrackingEventRequest

type GetShipmentTrackingEventRequest struct {

	// The resource name of the shipment tracking event to retrieve.
	// Format: spaces/{space}/shipments/{shipment}/trackingEvents/{shipmentTrackingEvent}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ShipmentTrackingEventService.GetShipmentTrackingEvent.

func (*GetShipmentTrackingEventRequest) Descriptor deprecated

func (*GetShipmentTrackingEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetShipmentTrackingEventRequest.ProtoReflect.Descriptor instead.

func (*GetShipmentTrackingEventRequest) GetName

func (*GetShipmentTrackingEventRequest) ProtoMessage

func (*GetShipmentTrackingEventRequest) ProtoMessage()

func (*GetShipmentTrackingEventRequest) ProtoReflect

func (*GetShipmentTrackingEventRequest) Reset

func (*GetShipmentTrackingEventRequest) String

type GetTourRequest

type GetTourRequest struct {

	// The resource name of the tour to retrieve.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message to get a tour.

func (*GetTourRequest) Descriptor deprecated

func (*GetTourRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTourRequest.ProtoReflect.Descriptor instead.

func (*GetTourRequest) GetName

func (x *GetTourRequest) GetName() string

func (*GetTourRequest) ProtoMessage

func (*GetTourRequest) ProtoMessage()

func (*GetTourRequest) ProtoReflect

func (x *GetTourRequest) ProtoReflect() protoreflect.Message

func (*GetTourRequest) Reset

func (x *GetTourRequest) Reset()

func (*GetTourRequest) String

func (x *GetTourRequest) String() string

type ListShipmentTrackingEventsRequest

type ListShipmentTrackingEventsRequest struct {

	// The resource name of the parent, which owns this collection of shipment tracking events.
	// Format: spaces/{space}/shipments/{shipment}/trackingEvents
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer shipment tracking events than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListShipmentTrackingEventsResponse.page_token][einride.saga.extend.book.v1beta1.ListShipmentTrackingEventsResponse.page_token]
	// returned from the previous call to `ListShipmentTrackingEvents` method.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ShipmentTrackingEventService.ListShipmentTrackingEvents.

func (*ListShipmentTrackingEventsRequest) Descriptor deprecated

func (*ListShipmentTrackingEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListShipmentTrackingEventsRequest.ProtoReflect.Descriptor instead.

func (*ListShipmentTrackingEventsRequest) GetPageSize

func (x *ListShipmentTrackingEventsRequest) GetPageSize() int32

func (*ListShipmentTrackingEventsRequest) GetPageToken

func (x *ListShipmentTrackingEventsRequest) GetPageToken() string

func (*ListShipmentTrackingEventsRequest) GetParent

func (*ListShipmentTrackingEventsRequest) ProtoMessage

func (*ListShipmentTrackingEventsRequest) ProtoMessage()

func (*ListShipmentTrackingEventsRequest) ProtoReflect

func (*ListShipmentTrackingEventsRequest) Reset

func (*ListShipmentTrackingEventsRequest) String

type ListShipmentTrackingEventsResponse

type ListShipmentTrackingEventsResponse struct {

	// The list of shipment tracking events.
	ShipmentTrackingEvents []*ShipmentTrackingEvent `` /* 129-byte string literal not displayed */
	// A token to retrieve next page of results.  Pass this value in the
	// [ListShipmentTrackingEventsRequest.page_token][einride.saga.extend.book.v1beta1.ListShipmentTrackingEventsRequest.page_token]
	// field in the subsequent call to `ListShipmentTrackingEvents` method to retrieve the next
	// page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ShipmentTrackingEventService.ListShipmentTrackingEvents.

func (*ListShipmentTrackingEventsResponse) Descriptor deprecated

func (*ListShipmentTrackingEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListShipmentTrackingEventsResponse.ProtoReflect.Descriptor instead.

func (*ListShipmentTrackingEventsResponse) GetNextPageToken

func (x *ListShipmentTrackingEventsResponse) GetNextPageToken() string

func (*ListShipmentTrackingEventsResponse) GetShipmentTrackingEvents

func (x *ListShipmentTrackingEventsResponse) GetShipmentTrackingEvents() []*ShipmentTrackingEvent

func (*ListShipmentTrackingEventsResponse) ProtoMessage

func (*ListShipmentTrackingEventsResponse) ProtoMessage()

func (*ListShipmentTrackingEventsResponse) ProtoReflect

func (*ListShipmentTrackingEventsResponse) Reset

func (*ListShipmentTrackingEventsResponse) String

type ListShipmentsRequest

type ListShipmentsRequest struct {

	// The resource name of the parent, which owns this collection of shipments.
	// Format: spaces/{space}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer shipments than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of ListShipmentsResponse.page_token
	// returned from the previous call to `ListShipments` method.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// How the results should be sorted. Presently, the only permitted values are:
	//
	// - `"create_time desc"` (default if no order_by is specified)
	// - `"create_time asc"`
	// Example:
	// “`
	// order_by = "create_time desc"
	// “
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Controls whether deleted shipments should be returned. Defaults to false.
	ShowDeleted bool `protobuf:"varint,5,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	// Allows to skip results.
	Skip int32 `protobuf:"varint,6,opt,name=skip,proto3" json:"skip,omitempty"`
	// contains filtered or unexported fields
}

Request message for ShipmentService.ListShipments.

func (*ListShipmentsRequest) Descriptor deprecated

func (*ListShipmentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListShipmentsRequest.ProtoReflect.Descriptor instead.

func (*ListShipmentsRequest) GetOrderBy

func (x *ListShipmentsRequest) GetOrderBy() string

func (*ListShipmentsRequest) GetPageSize

func (x *ListShipmentsRequest) GetPageSize() int32

func (*ListShipmentsRequest) GetPageToken

func (x *ListShipmentsRequest) GetPageToken() string

func (*ListShipmentsRequest) GetParent

func (x *ListShipmentsRequest) GetParent() string

func (*ListShipmentsRequest) GetShowDeleted

func (x *ListShipmentsRequest) GetShowDeleted() bool

func (*ListShipmentsRequest) GetSkip

func (x *ListShipmentsRequest) GetSkip() int32

func (*ListShipmentsRequest) ProtoMessage

func (*ListShipmentsRequest) ProtoMessage()

func (*ListShipmentsRequest) ProtoReflect

func (x *ListShipmentsRequest) ProtoReflect() protoreflect.Message

func (*ListShipmentsRequest) Reset

func (x *ListShipmentsRequest) Reset()

func (*ListShipmentsRequest) String

func (x *ListShipmentsRequest) String() string

type ListShipmentsResponse

type ListShipmentsResponse struct {

	// The list of shipments.
	Shipments []*Shipment `protobuf:"bytes,1,rep,name=shipments,proto3" json:"shipments,omitempty"`
	// A token to retrieve next page of results.  Pass this value in the ListShipmentsRequest.page_token field in the
	// subsequent call to `ListShipments` method to retrieve the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total size of shipments found in a space.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response message for ShipmentService.ListShipments.

func (*ListShipmentsResponse) Descriptor deprecated

func (*ListShipmentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListShipmentsResponse.ProtoReflect.Descriptor instead.

func (*ListShipmentsResponse) GetNextPageToken

func (x *ListShipmentsResponse) GetNextPageToken() string

func (*ListShipmentsResponse) GetShipments

func (x *ListShipmentsResponse) GetShipments() []*Shipment

func (*ListShipmentsResponse) GetTotalSize

func (x *ListShipmentsResponse) GetTotalSize() int32

func (*ListShipmentsResponse) ProtoMessage

func (*ListShipmentsResponse) ProtoMessage()

func (*ListShipmentsResponse) ProtoReflect

func (x *ListShipmentsResponse) ProtoReflect() protoreflect.Message

func (*ListShipmentsResponse) Reset

func (x *ListShipmentsResponse) Reset()

func (*ListShipmentsResponse) String

func (x *ListShipmentsResponse) String() string

type ListToursRequest

type ListToursRequest struct {

	// The resource name of the parent, which owns this collection of tours.
	// Format: spaces/{space}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer tours than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of ListToursResponse.page_token returned from the previous call to `ListTours` method.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// How the results should be sorted. Presently, the only permitted values are:
	//
	// - `"create_time desc"` (default if no order_by is specified)
	// - `"create_time asc"`
	// Example:
	// “`
	// order_by = "create_time desc"
	// “
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Controls whether deleted tours should be returned. Defaults to false.
	ShowDeleted bool `protobuf:"varint,5,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	// Allows to skip results.
	Skip int32 `protobuf:"varint,6,opt,name=skip,proto3" json:"skip,omitempty"`
	// contains filtered or unexported fields
}

Request message for TourService.ListTours.

func (*ListToursRequest) Descriptor deprecated

func (*ListToursRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListToursRequest.ProtoReflect.Descriptor instead.

func (*ListToursRequest) GetOrderBy

func (x *ListToursRequest) GetOrderBy() string

func (*ListToursRequest) GetPageSize

func (x *ListToursRequest) GetPageSize() int32

func (*ListToursRequest) GetPageToken

func (x *ListToursRequest) GetPageToken() string

func (*ListToursRequest) GetParent

func (x *ListToursRequest) GetParent() string

func (*ListToursRequest) GetShowDeleted

func (x *ListToursRequest) GetShowDeleted() bool

func (*ListToursRequest) GetSkip

func (x *ListToursRequest) GetSkip() int32

func (*ListToursRequest) ProtoMessage

func (*ListToursRequest) ProtoMessage()

func (*ListToursRequest) ProtoReflect

func (x *ListToursRequest) ProtoReflect() protoreflect.Message

func (*ListToursRequest) Reset

func (x *ListToursRequest) Reset()

func (*ListToursRequest) String

func (x *ListToursRequest) String() string

type ListToursResponse

type ListToursResponse struct {

	// The list of tours. If there are none in the current page then this will be empty.
	Tours []*Tour `protobuf:"bytes,1,rep,name=tours,proto3" json:"tours,omitempty"`
	// A token to retrieve next page of results.  Pass this value in the ListToursRequest.page_token field in the
	// subsequent call to `ListTours` method to retrieve the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total size of tours found in a space.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response message for TourService.ListTours.

func (*ListToursResponse) Descriptor deprecated

func (*ListToursResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListToursResponse.ProtoReflect.Descriptor instead.

func (*ListToursResponse) GetNextPageToken

func (x *ListToursResponse) GetNextPageToken() string

func (*ListToursResponse) GetTotalSize

func (x *ListToursResponse) GetTotalSize() int32

func (*ListToursResponse) GetTours

func (x *ListToursResponse) GetTours() []*Tour

func (*ListToursResponse) ProtoMessage

func (*ListToursResponse) ProtoMessage()

func (*ListToursResponse) ProtoReflect

func (x *ListToursResponse) ProtoReflect() protoreflect.Message

func (*ListToursResponse) Reset

func (x *ListToursResponse) Reset()

func (*ListToursResponse) String

func (x *ListToursResponse) String() string

type ReleaseShipmentRequest

type ReleaseShipmentRequest struct {

	// The resource name of the shipment to release.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for BookService.ReleaseShipment.

func (*ReleaseShipmentRequest) Descriptor deprecated

func (*ReleaseShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseShipmentRequest.ProtoReflect.Descriptor instead.

func (*ReleaseShipmentRequest) GetName

func (x *ReleaseShipmentRequest) GetName() string

func (*ReleaseShipmentRequest) ProtoMessage

func (*ReleaseShipmentRequest) ProtoMessage()

func (*ReleaseShipmentRequest) ProtoReflect

func (x *ReleaseShipmentRequest) ProtoReflect() protoreflect.Message

func (*ReleaseShipmentRequest) Reset

func (x *ReleaseShipmentRequest) Reset()

func (*ReleaseShipmentRequest) String

func (x *ReleaseShipmentRequest) String() string

type SearchToursRequest

type SearchToursRequest struct {

	// The resource name of the parent, which owns this collection of tours.
	// Format: spaces/{space}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer tours than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [SearchToursResponse.page_token][einride.saga.book.v1.SearchToursResponse.page_token]
	// returned from the previous call to `SearchTours` method.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Allows for skipping result
	Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
	// Filters
	// Multiple filters will be combined with the logical operator AND.
	//
	// Returned tours contain the query string in ANY of the fields:
	// tour_id, external_reference_id
	Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// Includes deleted tours in result
	ShowDeleted bool `protobuf:"varint,8,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	// How the results should be sorted. Presently, the only permitted values are:
	//
	// - `"create_time asc"` (default if no order_by is specified)
	// - `"create_time desc"`
	// Example:
	// “`
	// order_by = "create_time desc"
	// “`
	OrderBy string `protobuf:"bytes,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request to search tours

func (*SearchToursRequest) Descriptor deprecated

func (*SearchToursRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchToursRequest.ProtoReflect.Descriptor instead.

func (*SearchToursRequest) GetOrderBy

func (x *SearchToursRequest) GetOrderBy() string

func (*SearchToursRequest) GetPageSize

func (x *SearchToursRequest) GetPageSize() int32

func (*SearchToursRequest) GetPageToken

func (x *SearchToursRequest) GetPageToken() string

func (*SearchToursRequest) GetParent

func (x *SearchToursRequest) GetParent() string

func (*SearchToursRequest) GetQuery

func (x *SearchToursRequest) GetQuery() string

func (*SearchToursRequest) GetShowDeleted

func (x *SearchToursRequest) GetShowDeleted() bool

func (*SearchToursRequest) GetSkip

func (x *SearchToursRequest) GetSkip() int32

func (*SearchToursRequest) ProtoMessage

func (*SearchToursRequest) ProtoMessage()

func (*SearchToursRequest) ProtoReflect

func (x *SearchToursRequest) ProtoReflect() protoreflect.Message

func (*SearchToursRequest) Reset

func (x *SearchToursRequest) Reset()

func (*SearchToursRequest) String

func (x *SearchToursRequest) String() string

type SearchToursResponse

type SearchToursResponse struct {

	// The list of tours.
	Tours []*Tour `protobuf:"bytes,1,rep,name=tours,proto3" json:"tours,omitempty"`
	// A token to retrieve next page of results. Pass this value in the
	// SearchToursRequest.page_token field in the subsequent call to `SearchTours` method
	// to retrieve the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total size of tours found using the search filters.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response message for TourService.SearchTours.

func (*SearchToursResponse) Descriptor deprecated

func (*SearchToursResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchToursResponse.ProtoReflect.Descriptor instead.

func (*SearchToursResponse) GetNextPageToken

func (x *SearchToursResponse) GetNextPageToken() string

func (*SearchToursResponse) GetTotalSize

func (x *SearchToursResponse) GetTotalSize() int32

func (*SearchToursResponse) GetTours

func (x *SearchToursResponse) GetTours() []*Tour

func (*SearchToursResponse) ProtoMessage

func (*SearchToursResponse) ProtoMessage()

func (*SearchToursResponse) ProtoReflect

func (x *SearchToursResponse) ProtoReflect() protoreflect.Message

func (*SearchToursResponse) Reset

func (x *SearchToursResponse) Reset()

func (*SearchToursResponse) String

func (x *SearchToursResponse) String() string

type Shipment

type Shipment struct {

	// The resource name of the shipment.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Resource name of the space that owns the shipment.
	Space string `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	// Resource name of the sender of the shipment.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// The creation timestamp of the shipment.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of the shipment.
	// Updated when create/update/delete operation is performed.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The deletion timestamp of the shipment. Set if the shipment is deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// A generated tracking ID for this shipment.
	TrackingId string `protobuf:"bytes,7,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"`
	// The address where the shipment is picked up.
	// Supply when creating shipment if different from the sender default pickup address.
	PickupAddress *Address `protobuf:"bytes,8,opt,name=pickup_address,json=pickupAddress,proto3" json:"pickup_address,omitempty"`
	// Instructions for the pickup.
	PickupInstructions string `protobuf:"bytes,9,opt,name=pickup_instructions,json=pickupInstructions,proto3" json:"pickup_instructions,omitempty"`
	// The shipment should be picked up after this time
	RequestedPickupStartTime *timestamppb.Timestamp `` /* 138-byte string literal not displayed */
	// The shipment should be picked up before this time
	RequestedPickupEndTime *timestamppb.Timestamp `` /* 132-byte string literal not displayed */
	// The address where the shipment is delivered to.
	DeliveryAddress *Address `protobuf:"bytes,12,opt,name=delivery_address,json=deliveryAddress,proto3" json:"delivery_address,omitempty"`
	// Instructions for the delivery.
	DeliveryInstructions string `protobuf:"bytes,13,opt,name=delivery_instructions,json=deliveryInstructions,proto3" json:"delivery_instructions,omitempty"`
	// The shipment should be delivered after this time
	RequestedDeliveryStartTime *timestamppb.Timestamp `` /* 144-byte string literal not displayed */
	// The shipment should be delivered before this time
	RequestedDeliveryEndTime *timestamppb.Timestamp `` /* 138-byte string literal not displayed */
	// Shipment units
	Units []*Unit `protobuf:"bytes,16,rep,name=units,proto3" json:"units,omitempty"`
	// An external reference for this shipment. If supplied then it must be unique within the space.
	ExternalReferenceId string `protobuf:"bytes,17,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
	// Resource name of the truck tour booking this shipment relates to.
	Tour string `protobuf:"bytes,24,opt,name=tour,proto3" json:"tour,omitempty"`
	// Shipment state
	// Can be set to ACTIVE (default) or RELEASED when creating a shipment.
	// Disabled as existing API allows setting.
	// (-- api-linter: core::0216::state-field-output-only=disabled --)
	State Shipment_State `protobuf:"varint,19,opt,name=state,proto3,enum=einride.saga.extend.book.v1beta1.Shipment_State" json:"state,omitempty"`
	// Shipment delivery state
	DeliveryState Shipment_DeliveryState `` /* 163-byte string literal not displayed */
	// Vehicle information for the shipment
	Vehicle *Vehicle `protobuf:"bytes,21,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
	// Annotations for the shipment
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// Shipment service, defaults to PALLET
	Service Shipment_Service `protobuf:"varint,23,opt,name=service,proto3,enum=einride.saga.extend.book.v1beta1.Shipment_Service" json:"service,omitempty"`
	// contains filtered or unexported fields
}

A shipment represents a demand to deliver goods from an origin to a destination.

func (*Shipment) Descriptor deprecated

func (*Shipment) Descriptor() ([]byte, []int)

Deprecated: Use Shipment.ProtoReflect.Descriptor instead.

func (*Shipment) GetAnnotations

func (x *Shipment) GetAnnotations() map[string]string

func (*Shipment) GetCreateTime

func (x *Shipment) GetCreateTime() *timestamppb.Timestamp

func (*Shipment) GetDeleteTime

func (x *Shipment) GetDeleteTime() *timestamppb.Timestamp

func (*Shipment) GetDeliveryAddress

func (x *Shipment) GetDeliveryAddress() *Address

func (*Shipment) GetDeliveryInstructions

func (x *Shipment) GetDeliveryInstructions() string

func (*Shipment) GetDeliveryState

func (x *Shipment) GetDeliveryState() Shipment_DeliveryState

func (*Shipment) GetExternalReferenceId

func (x *Shipment) GetExternalReferenceId() string

func (*Shipment) GetName

func (x *Shipment) GetName() string

func (*Shipment) GetPickupAddress

func (x *Shipment) GetPickupAddress() *Address

func (*Shipment) GetPickupInstructions

func (x *Shipment) GetPickupInstructions() string

func (*Shipment) GetRequestedDeliveryEndTime

func (x *Shipment) GetRequestedDeliveryEndTime() *timestamppb.Timestamp

func (*Shipment) GetRequestedDeliveryStartTime

func (x *Shipment) GetRequestedDeliveryStartTime() *timestamppb.Timestamp

func (*Shipment) GetRequestedPickupEndTime

func (x *Shipment) GetRequestedPickupEndTime() *timestamppb.Timestamp

func (*Shipment) GetRequestedPickupStartTime

func (x *Shipment) GetRequestedPickupStartTime() *timestamppb.Timestamp

func (*Shipment) GetSender

func (x *Shipment) GetSender() string

func (*Shipment) GetService

func (x *Shipment) GetService() Shipment_Service

func (*Shipment) GetSpace

func (x *Shipment) GetSpace() string

func (*Shipment) GetState

func (x *Shipment) GetState() Shipment_State

func (*Shipment) GetTour

func (x *Shipment) GetTour() string

func (*Shipment) GetTrackingId

func (x *Shipment) GetTrackingId() string

func (*Shipment) GetUnits

func (x *Shipment) GetUnits() []*Unit

func (*Shipment) GetUpdateTime

func (x *Shipment) GetUpdateTime() *timestamppb.Timestamp

func (*Shipment) GetVehicle

func (x *Shipment) GetVehicle() *Vehicle

func (*Shipment) ProtoMessage

func (*Shipment) ProtoMessage()

func (*Shipment) ProtoReflect

func (x *Shipment) ProtoReflect() protoreflect.Message

func (*Shipment) Reset

func (x *Shipment) Reset()

func (*Shipment) String

func (x *Shipment) String() string

type ShipmentServiceClient

type ShipmentServiceClient interface {
	// Create a shipment in a space.
	//
	// This is an AIP standard [Create](https://google.aip.dev/133) method.
	CreateShipment(ctx context.Context, in *CreateShipmentRequest, opts ...grpc.CallOption) (*Shipment, error)
	// Get a shipment.
	//
	// This is an AIP standard [Get](https://google.aip.dev/131) method.
	GetShipment(ctx context.Context, in *GetShipmentRequest, opts ...grpc.CallOption) (*Shipment, error)
	// List shipments in a space.
	//
	// This is an AIP standard [List](https://google.aip.dev/132) method.
	ListShipments(ctx context.Context, in *ListShipmentsRequest, opts ...grpc.CallOption) (*ListShipmentsResponse, error)
	// Release a shipment.
	//
	// The state of the shipment after releasing it is RELEASED.
	//
	// This is an AIP [state](https://google.aip.dev/216) transition method.
	ReleaseShipment(ctx context.Context, in *ReleaseShipmentRequest, opts ...grpc.CallOption) (*Shipment, error)
	// Cancel a shipment.
	//
	// The state of the shipment after cancelling it is CANCELLED.
	//
	// This is an AIP [state](https://google.aip.dev/216) transition method.
	CancelShipment(ctx context.Context, in *CancelShipmentRequest, opts ...grpc.CallOption) (*Shipment, error)
	// Update a shipment in a space.
	//
	// This is an AIP standard [Update](https://google.aip.dev/134) method.
	UpdateShipment(ctx context.Context, in *UpdateShipmentRequest, opts ...grpc.CallOption) (*Shipment, error)
}

ShipmentServiceClient is the client API for ShipmentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ShipmentServiceServer

type ShipmentServiceServer interface {
	// Create a shipment in a space.
	//
	// This is an AIP standard [Create](https://google.aip.dev/133) method.
	CreateShipment(context.Context, *CreateShipmentRequest) (*Shipment, error)
	// Get a shipment.
	//
	// This is an AIP standard [Get](https://google.aip.dev/131) method.
	GetShipment(context.Context, *GetShipmentRequest) (*Shipment, error)
	// List shipments in a space.
	//
	// This is an AIP standard [List](https://google.aip.dev/132) method.
	ListShipments(context.Context, *ListShipmentsRequest) (*ListShipmentsResponse, error)
	// Release a shipment.
	//
	// The state of the shipment after releasing it is RELEASED.
	//
	// This is an AIP [state](https://google.aip.dev/216) transition method.
	ReleaseShipment(context.Context, *ReleaseShipmentRequest) (*Shipment, error)
	// Cancel a shipment.
	//
	// The state of the shipment after cancelling it is CANCELLED.
	//
	// This is an AIP [state](https://google.aip.dev/216) transition method.
	CancelShipment(context.Context, *CancelShipmentRequest) (*Shipment, error)
	// Update a shipment in a space.
	//
	// This is an AIP standard [Update](https://google.aip.dev/134) method.
	UpdateShipment(context.Context, *UpdateShipmentRequest) (*Shipment, error)
}

ShipmentServiceServer is the server API for ShipmentService service. All implementations should embed UnimplementedShipmentServiceServer for forward compatibility

type ShipmentTrackingEvent

type ShipmentTrackingEvent struct {

	// The resource name of the ShipmentTrackingEvent.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Resource name of the shipment that owns the ShipmentTrackingEvent.
	Shipment string `protobuf:"bytes,2,opt,name=shipment,proto3" json:"shipment,omitempty"`
	// The creation timestamp of the ShipmentTrackingEvent. When this event was received by Einride.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of the ShipmentTrackingEvent.
	// Updated when create/update/delete operation is performed.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The deletion timestamp of the ShipmentTrackingEvent. Set if the event is deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// The kind of tracking event that happened
	Code ShipmentTrackingEvent_EventCode `` /* 132-byte string literal not displayed */
	// When the event occurred.
	OccurredTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=occurred_time,json=occurredTime,proto3" json:"occurred_time,omitempty"`
	// The address where the event happened.
	Address *Address `protobuf:"bytes,8,opt,name=address,proto3" json:"address,omitempty"`
	// Description for the ShipmentTrackingEvent.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// On what vehicle did this event occur
	Vehicle *Vehicle `protobuf:"bytes,10,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
	// contains filtered or unexported fields
}

A shipment tracking event represents an event on a shipment.

func (*ShipmentTrackingEvent) Descriptor deprecated

func (*ShipmentTrackingEvent) Descriptor() ([]byte, []int)

Deprecated: Use ShipmentTrackingEvent.ProtoReflect.Descriptor instead.

func (*ShipmentTrackingEvent) GetAddress

func (x *ShipmentTrackingEvent) GetAddress() *Address

func (*ShipmentTrackingEvent) GetCode

func (*ShipmentTrackingEvent) GetCreateTime

func (x *ShipmentTrackingEvent) GetCreateTime() *timestamppb.Timestamp

func (*ShipmentTrackingEvent) GetDeleteTime

func (x *ShipmentTrackingEvent) GetDeleteTime() *timestamppb.Timestamp

func (*ShipmentTrackingEvent) GetDescription

func (x *ShipmentTrackingEvent) GetDescription() string

func (*ShipmentTrackingEvent) GetName

func (x *ShipmentTrackingEvent) GetName() string

func (*ShipmentTrackingEvent) GetOccurredTime

func (x *ShipmentTrackingEvent) GetOccurredTime() *timestamppb.Timestamp

func (*ShipmentTrackingEvent) GetShipment

func (x *ShipmentTrackingEvent) GetShipment() string

func (*ShipmentTrackingEvent) GetUpdateTime

func (x *ShipmentTrackingEvent) GetUpdateTime() *timestamppb.Timestamp

func (*ShipmentTrackingEvent) GetVehicle

func (x *ShipmentTrackingEvent) GetVehicle() *Vehicle

func (*ShipmentTrackingEvent) ProtoMessage

func (*ShipmentTrackingEvent) ProtoMessage()

func (*ShipmentTrackingEvent) ProtoReflect

func (x *ShipmentTrackingEvent) ProtoReflect() protoreflect.Message

func (*ShipmentTrackingEvent) Reset

func (x *ShipmentTrackingEvent) Reset()

func (*ShipmentTrackingEvent) String

func (x *ShipmentTrackingEvent) String() string

type ShipmentTrackingEventServiceClient

type ShipmentTrackingEventServiceClient interface {
	// Create a tracking event.
	//
	// This is an AIP standard [Create](https://google.aip.dev/133) method.
	CreateShipmentTrackingEvent(ctx context.Context, in *CreateShipmentTrackingEventRequest, opts ...grpc.CallOption) (*ShipmentTrackingEvent, error)
	// Get a shipment tracking event.
	//
	// This is an AIP standard [Get](https://google.aip.dev/131) method.
	GetShipmentTrackingEvent(ctx context.Context, in *GetShipmentTrackingEventRequest, opts ...grpc.CallOption) (*ShipmentTrackingEvent, error)
	// List shipment tracking events.
	//
	// See: https://google.aip.dev/132 (Standard methods: List).
	ListShipmentTrackingEvents(ctx context.Context, in *ListShipmentTrackingEventsRequest, opts ...grpc.CallOption) (*ListShipmentTrackingEventsResponse, error)
}

ShipmentTrackingEventServiceClient is the client API for ShipmentTrackingEventService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ShipmentTrackingEventServiceServer

type ShipmentTrackingEventServiceServer interface {
	// Create a tracking event.
	//
	// This is an AIP standard [Create](https://google.aip.dev/133) method.
	CreateShipmentTrackingEvent(context.Context, *CreateShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
	// Get a shipment tracking event.
	//
	// This is an AIP standard [Get](https://google.aip.dev/131) method.
	GetShipmentTrackingEvent(context.Context, *GetShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
	// List shipment tracking events.
	//
	// See: https://google.aip.dev/132 (Standard methods: List).
	ListShipmentTrackingEvents(context.Context, *ListShipmentTrackingEventsRequest) (*ListShipmentTrackingEventsResponse, error)
}

ShipmentTrackingEventServiceServer is the server API for ShipmentTrackingEventService service. All implementations should embed UnimplementedShipmentTrackingEventServiceServer for forward compatibility

type ShipmentTrackingEvent_EventCode

type ShipmentTrackingEvent_EventCode int32

Event code

const (
	// Unspecified
	ShipmentTrackingEvent_EVENT_CODE_UNSPECIFIED ShipmentTrackingEvent_EventCode = 0
	// Arrived at pickup.
	ShipmentTrackingEvent_ARRIVED_AT_PICKUP ShipmentTrackingEvent_EventCode = 1
	// Departed pickup.
	ShipmentTrackingEvent_DEPARTED_PICKUP ShipmentTrackingEvent_EventCode = 2
	// Arrived at delivery.
	ShipmentTrackingEvent_ARRIVED_AT_DELIVERY ShipmentTrackingEvent_EventCode = 3
	// Departed delivery.
	ShipmentTrackingEvent_DEPARTED_DELIVERY ShipmentTrackingEvent_EventCode = 4
	// Started at pickup.
	ShipmentTrackingEvent_STARTED_AT_PICKUP ShipmentTrackingEvent_EventCode = 5
	// Completed pickup.
	ShipmentTrackingEvent_COMPLETED_PICKUP ShipmentTrackingEvent_EventCode = 6
	// Started at delivery.
	ShipmentTrackingEvent_STARTED_AT_DELIVERY ShipmentTrackingEvent_EventCode = 7
	// Completed delivery.
	ShipmentTrackingEvent_COMPLETED_DELIVERY ShipmentTrackingEvent_EventCode = 8
)

func (ShipmentTrackingEvent_EventCode) Descriptor

func (ShipmentTrackingEvent_EventCode) Enum

func (ShipmentTrackingEvent_EventCode) EnumDescriptor deprecated

func (ShipmentTrackingEvent_EventCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ShipmentTrackingEvent_EventCode.Descriptor instead.

func (ShipmentTrackingEvent_EventCode) Number

func (ShipmentTrackingEvent_EventCode) String

func (ShipmentTrackingEvent_EventCode) Type

type Shipment_DeliveryState

type Shipment_DeliveryState int32

Shipment delivery state

const (
	// Unspecified shipment delivery state
	Shipment_DELIVERY_STATE_UNSPECIFIED Shipment_DeliveryState = 0
	// Shipment delivery hasn't started
	Shipment_AWAITING Shipment_DeliveryState = 1
	// Shipment is in transit
	Shipment_IN_TRANSIT Shipment_DeliveryState = 2
	// Shipment is delivered
	Shipment_DELIVERED Shipment_DeliveryState = 3
)

func (Shipment_DeliveryState) Descriptor

func (Shipment_DeliveryState) Enum

func (Shipment_DeliveryState) EnumDescriptor deprecated

func (Shipment_DeliveryState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Shipment_DeliveryState.Descriptor instead.

func (Shipment_DeliveryState) Number

func (Shipment_DeliveryState) String

func (x Shipment_DeliveryState) String() string

func (Shipment_DeliveryState) Type

type Shipment_Service

type Shipment_Service int32

Shipment service type

const (
	// Unspecified shipment service
	Shipment_SERVICE_UNSPECIFIED Shipment_Service = 0
	// Pallet
	Shipment_PALLET Shipment_Service = 1
	// Full truck load
	Shipment_FTL Shipment_Service = 2
	// Drayage is the transport of goods over a short distance also known as the "The first mile."
	Shipment_DRAYAGE Shipment_Service = 3
)

func (Shipment_Service) Descriptor

func (Shipment_Service) Enum

func (Shipment_Service) EnumDescriptor deprecated

func (Shipment_Service) EnumDescriptor() ([]byte, []int)

Deprecated: Use Shipment_Service.Descriptor instead.

func (Shipment_Service) Number

func (Shipment_Service) String

func (x Shipment_Service) String() string

func (Shipment_Service) Type

type Shipment_State

type Shipment_State int32

Shipment state

const (
	// Unspecified shipment state.
	Shipment_STATE_UNSPECIFIED Shipment_State = 0
	// Shipment is active (initial state).
	Shipment_ACTIVE Shipment_State = 1
	// Shipment is ready for pickup.
	Shipment_RELEASED Shipment_State = 2
	// Shipment is cancelled
	Shipment_CANCELLED Shipment_State = 3
)

func (Shipment_State) Descriptor

func (Shipment_State) Enum

func (x Shipment_State) Enum() *Shipment_State

func (Shipment_State) EnumDescriptor deprecated

func (Shipment_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Shipment_State.Descriptor instead.

func (Shipment_State) Number

func (Shipment_State) String

func (x Shipment_State) String() string

func (Shipment_State) Type

type Tour

type Tour struct {

	// The resource name of the tour.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Resource name of the space that owns the tour.
	Space string `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	// Resource name of the sender of the tour.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// The creation timestamp of the tour.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of the tour.
	// Updated when create/update/delete operation is performed.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The deletion timestamp of the tour. This is set if the tour is deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// The state of the tour. Set to PENDING upon creation.
	// A tour is then either accepted or rejected.
	State Tour_State `protobuf:"varint,7,opt,name=state,proto3,enum=einride.saga.extend.book.v1beta1.Tour_State" json:"state,omitempty"`
	// The type of tour, either PROVISIONAL or CONFIRMED. Defaults to PROVISIONAL.
	Type Tour_TourType `protobuf:"varint,8,opt,name=type,proto3,enum=einride.saga.extend.book.v1beta1.Tour_TourType" json:"type,omitempty"`
	// The type of service to create a tour for.
	ServiceType Tour_ServiceType `` /* 150-byte string literal not displayed */
	// External reference ID is a unique identifier that can be set by the client.
	ExternalReferenceId string `protobuf:"bytes,10,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
	// The rule that is applied when a confirmed tour is accepted. Defaults to CREATE_SHIPMENTS.
	AutomationRule Tour_AutomationRule `` /* 163-byte string literal not displayed */
	// The preliminary shipments included in this tour.
	// A preliminary shipment includes input about the specific shipments for a tour, including units and references.
	PreliminaryShipments []*Tour_PreliminaryShipment `protobuf:"bytes,12,rep,name=preliminary_shipments,json=preliminaryShipments,proto3" json:"preliminary_shipments,omitempty"`
	// The ordered list of stops included in this tour.
	Stops []*Tour_Stop `protobuf:"bytes,13,rep,name=stops,proto3" json:"stops,omitempty"`
	// The shipments that are associated with the tour. These are created when a tour is CONFIRMED and ACCEPTED.
	CreatedShipments []*Shipment `protobuf:"bytes,14,rep,name=created_shipments,json=createdShipments,proto3" json:"created_shipments,omitempty"`
	// Supplementary annotation metadata for the tour, e.g. customer internal references.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Tour is a preplanned definition of what groups of goods are to be picked up and delivered, where, at what times, and in what order. When a tour is accepted and confirmed by Saga, Shipments based on the data provided in the Tour will be created.

func (*Tour) Descriptor deprecated

func (*Tour) Descriptor() ([]byte, []int)

Deprecated: Use Tour.ProtoReflect.Descriptor instead.

func (*Tour) GetAnnotations

func (x *Tour) GetAnnotations() map[string]string

func (*Tour) GetAutomationRule

func (x *Tour) GetAutomationRule() Tour_AutomationRule

func (*Tour) GetCreateTime

func (x *Tour) GetCreateTime() *timestamppb.Timestamp

func (*Tour) GetCreatedShipments

func (x *Tour) GetCreatedShipments() []*Shipment

func (*Tour) GetDeleteTime

func (x *Tour) GetDeleteTime() *timestamppb.Timestamp

func (*Tour) GetExternalReferenceId

func (x *Tour) GetExternalReferenceId() string

func (*Tour) GetName

func (x *Tour) GetName() string

func (*Tour) GetPreliminaryShipments

func (x *Tour) GetPreliminaryShipments() []*Tour_PreliminaryShipment

func (*Tour) GetSender

func (x *Tour) GetSender() string

func (*Tour) GetServiceType

func (x *Tour) GetServiceType() Tour_ServiceType

func (*Tour) GetSpace

func (x *Tour) GetSpace() string

func (*Tour) GetState

func (x *Tour) GetState() Tour_State

func (*Tour) GetStops

func (x *Tour) GetStops() []*Tour_Stop

func (*Tour) GetType

func (x *Tour) GetType() Tour_TourType

func (*Tour) GetUpdateTime

func (x *Tour) GetUpdateTime() *timestamppb.Timestamp

func (*Tour) ProtoMessage

func (*Tour) ProtoMessage()

func (*Tour) ProtoReflect

func (x *Tour) ProtoReflect() protoreflect.Message

func (*Tour) Reset

func (x *Tour) Reset()

func (*Tour) String

func (x *Tour) String() string

type Tour_AutomationRule

type Tour_AutomationRule int32

The rule that is applied when a confirmed tour is accepted.

const (
	// Unspecified auto rule.
	Tour_AUTOMATION_RULE_UNSPECIFIED Tour_AutomationRule = 0
	// When the confirmed tour is accepted, shipments will be created automatically from its stops and units.
	Tour_CREATE_SHIPMENTS Tour_AutomationRule = 1
	// When the confirmed tour is accepted, shipments will be created automatically from its stops and units
	// and then released.
	Tour_CREATE_AND_RELEASE_SHIPMENTS Tour_AutomationRule = 2
)

func (Tour_AutomationRule) Descriptor

func (Tour_AutomationRule) Enum

func (Tour_AutomationRule) EnumDescriptor deprecated

func (Tour_AutomationRule) EnumDescriptor() ([]byte, []int)

Deprecated: Use Tour_AutomationRule.Descriptor instead.

func (Tour_AutomationRule) Number

func (Tour_AutomationRule) String

func (x Tour_AutomationRule) String() string

func (Tour_AutomationRule) Type

type Tour_PreliminaryShipment

type Tour_PreliminaryShipment struct {

	// A customer provided external reference id.
	ExternalReferenceId string `protobuf:"bytes,1,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
	// The units that should be shipped.
	Units []*Unit `protobuf:"bytes,2,rep,name=units,proto3" json:"units,omitempty"`
	// Annotations for the shipment.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

Customer provided information about a shipment associated with a tour that will be added to the created shipments.

func (*Tour_PreliminaryShipment) Descriptor deprecated

func (*Tour_PreliminaryShipment) Descriptor() ([]byte, []int)

Deprecated: Use Tour_PreliminaryShipment.ProtoReflect.Descriptor instead.

func (*Tour_PreliminaryShipment) GetAnnotations

func (x *Tour_PreliminaryShipment) GetAnnotations() map[string]string

func (*Tour_PreliminaryShipment) GetExternalReferenceId

func (x *Tour_PreliminaryShipment) GetExternalReferenceId() string

func (*Tour_PreliminaryShipment) GetUnits

func (x *Tour_PreliminaryShipment) GetUnits() []*Unit

func (*Tour_PreliminaryShipment) ProtoMessage

func (*Tour_PreliminaryShipment) ProtoMessage()

func (*Tour_PreliminaryShipment) ProtoReflect

func (x *Tour_PreliminaryShipment) ProtoReflect() protoreflect.Message

func (*Tour_PreliminaryShipment) Reset

func (x *Tour_PreliminaryShipment) Reset()

func (*Tour_PreliminaryShipment) String

func (x *Tour_PreliminaryShipment) String() string

type Tour_ServiceType

type Tour_ServiceType int32

The service type of the tour.

const (
	// Unspecified service type.
	Tour_SERVICE_TYPE_UNSPECIFIED Tour_ServiceType = 0
	// Service type FTL.
	Tour_FULL_TRUCK_LOAD Tour_ServiceType = 1
	// Service type distribution.
	Tour_DISTRIBUTION Tour_ServiceType = 2
	// Service type shuttle.
	Tour_SHUTTLE Tour_ServiceType = 3
	// Service type milk run.
	Tour_MILK_RUN Tour_ServiceType = 4
	// Service type drayage.
	Tour_DRAYAGE Tour_ServiceType = 5
)

func (Tour_ServiceType) Descriptor

func (Tour_ServiceType) Enum

func (Tour_ServiceType) EnumDescriptor deprecated

func (Tour_ServiceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Tour_ServiceType.Descriptor instead.

func (Tour_ServiceType) Number

func (Tour_ServiceType) String

func (x Tour_ServiceType) String() string

func (Tour_ServiceType) Type

type Tour_State

type Tour_State int32

The state of the tour.

const (
	// Unspecified state
	Tour_STATE_UNSPECIFIED Tour_State = 0
	// The tour is received. Awaiting accept/reject.
	Tour_PENDING Tour_State = 1
	// The tour is accepted.
	Tour_ACCEPTED Tour_State = 2
	// The tour is rejected.
	Tour_REJECTED Tour_State = 3
)

func (Tour_State) Descriptor

func (Tour_State) Descriptor() protoreflect.EnumDescriptor

func (Tour_State) Enum

func (x Tour_State) Enum() *Tour_State

func (Tour_State) EnumDescriptor deprecated

func (Tour_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Tour_State.Descriptor instead.

func (Tour_State) Number

func (x Tour_State) Number() protoreflect.EnumNumber

func (Tour_State) String

func (x Tour_State) String() string

func (Tour_State) Type

type Tour_Stop

type Tour_Stop struct {

	// The address of this stop.
	Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The type of stop.
	StopType Tour_Stop_Type `` /* 139-byte string literal not displayed */
	// Instructions for this stop.
	Instructions string `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,omitempty"`
	// The contact person for this stop.
	ContactPerson string `protobuf:"bytes,7,opt,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"`
	// The earliest time to arrive this stop.
	RequestedStartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=requested_start_time,json=requestedStartTime,proto3" json:"requested_start_time,omitempty"`
	// The latest time to depart this stop.
	RequestedEndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=requested_end_time,json=requestedEndTime,proto3" json:"requested_end_time,omitempty"`
	// The shipment external reference ids associated with this stop. E.g. for a pickup stop this will hold the shipments to pickup.
	// The external_reference_ids are defined in preliminary_shipments.
	ShipmentExternalReferenceIds []string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

A stop is an address where an event is going to happen. The event is either to pickup or deliver goods.

func (*Tour_Stop) Descriptor deprecated

func (*Tour_Stop) Descriptor() ([]byte, []int)

Deprecated: Use Tour_Stop.ProtoReflect.Descriptor instead.

func (*Tour_Stop) GetAddress

func (x *Tour_Stop) GetAddress() *Address

func (*Tour_Stop) GetContactPerson

func (x *Tour_Stop) GetContactPerson() string

func (*Tour_Stop) GetInstructions

func (x *Tour_Stop) GetInstructions() string

func (*Tour_Stop) GetRequestedEndTime

func (x *Tour_Stop) GetRequestedEndTime() *timestamppb.Timestamp

func (*Tour_Stop) GetRequestedStartTime

func (x *Tour_Stop) GetRequestedStartTime() *timestamppb.Timestamp

func (*Tour_Stop) GetShipmentExternalReferenceIds

func (x *Tour_Stop) GetShipmentExternalReferenceIds() []string

func (*Tour_Stop) GetStopType

func (x *Tour_Stop) GetStopType() Tour_Stop_Type

func (*Tour_Stop) ProtoMessage

func (*Tour_Stop) ProtoMessage()

func (*Tour_Stop) ProtoReflect

func (x *Tour_Stop) ProtoReflect() protoreflect.Message

func (*Tour_Stop) Reset

func (x *Tour_Stop) Reset()

func (*Tour_Stop) String

func (x *Tour_Stop) String() string

type Tour_Stop_Type

type Tour_Stop_Type int32

Type describes the reason for the stop. E.g. a stop to deliver or pickup.

const (
	// Unknown type.
	Tour_Stop_TYPE_UNSPECIFIED Tour_Stop_Type = 0
	// Stop to pick up goods.
	Tour_Stop_PICKUP Tour_Stop_Type = 1
	// Stop to deliver goods.
	Tour_Stop_DELIVER Tour_Stop_Type = 2
)

func (Tour_Stop_Type) Descriptor

func (Tour_Stop_Type) Enum

func (x Tour_Stop_Type) Enum() *Tour_Stop_Type

func (Tour_Stop_Type) EnumDescriptor deprecated

func (Tour_Stop_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Tour_Stop_Type.Descriptor instead.

func (Tour_Stop_Type) Number

func (Tour_Stop_Type) String

func (x Tour_Stop_Type) String() string

func (Tour_Stop_Type) Type

type Tour_TourType

type Tour_TourType int32

The tour type.

const (
	// Unspecified tour type
	Tour_TOUR_TYPE_UNSPECIFIED Tour_TourType = 0
	// The tour is provisional and can be updated.
	Tour_PROVISIONAL Tour_TourType = 1
	// The tour is confirmed and can not be updated.
	Tour_CONFIRMED Tour_TourType = 2
)

func (Tour_TourType) Descriptor

func (Tour_TourType) Enum

func (x Tour_TourType) Enum() *Tour_TourType

func (Tour_TourType) EnumDescriptor deprecated

func (Tour_TourType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Tour_TourType.Descriptor instead.

func (Tour_TourType) Number

func (Tour_TourType) String

func (x Tour_TourType) String() string

func (Tour_TourType) Type

type UnimplementedBookingServiceServer

type UnimplementedBookingServiceServer struct {
}

UnimplementedBookingServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBookingServiceServer) ConfirmTour

func (UnimplementedBookingServiceServer) CreateTour

func (UnimplementedBookingServiceServer) GetTour

func (UnimplementedBookingServiceServer) ListTours

func (UnimplementedBookingServiceServer) SearchTours

func (UnimplementedBookingServiceServer) UpdateTour

type UnimplementedShipmentServiceServer

type UnimplementedShipmentServiceServer struct {
}

UnimplementedShipmentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedShipmentServiceServer) CancelShipment

func (UnimplementedShipmentServiceServer) CreateShipment

func (UnimplementedShipmentServiceServer) GetShipment

func (UnimplementedShipmentServiceServer) ListShipments

func (UnimplementedShipmentServiceServer) ReleaseShipment

func (UnimplementedShipmentServiceServer) UpdateShipment

type UnimplementedShipmentTrackingEventServiceServer

type UnimplementedShipmentTrackingEventServiceServer struct {
}

UnimplementedShipmentTrackingEventServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedShipmentTrackingEventServiceServer) CreateShipmentTrackingEvent

func (UnimplementedShipmentTrackingEventServiceServer) GetShipmentTrackingEvent

type Unit

type Unit struct {

	// Type of unit
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// External reference ID of the unit
	ExternalReferenceId string `protobuf:"bytes,2,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
	// Description of the unit
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Unique unit tracking ID
	TrackingId string `protobuf:"bytes,4,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"`
	// Unit weight
	Weight *Unit_Weight `protobuf:"bytes,5,opt,name=weight,proto3" json:"weight,omitempty"`
	// Unit length
	Length *Unit_Length `protobuf:"bytes,6,opt,name=length,proto3" json:"length,omitempty"`
	// Unit height
	Height *Unit_Length `protobuf:"bytes,7,opt,name=height,proto3" json:"height,omitempty"`
	// Unit width
	Width *Unit_Length `protobuf:"bytes,8,opt,name=width,proto3" json:"width,omitempty"`
	// Unit volume
	Volume *Unit_Volume `protobuf:"bytes,9,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

A unit is a holder of goods such as a EUR-pallet.

func (*Unit) Descriptor deprecated

func (*Unit) Descriptor() ([]byte, []int)

Deprecated: Use Unit.ProtoReflect.Descriptor instead.

func (*Unit) GetDescription

func (x *Unit) GetDescription() string

func (*Unit) GetExternalReferenceId

func (x *Unit) GetExternalReferenceId() string

func (*Unit) GetHeight

func (x *Unit) GetHeight() *Unit_Length

func (*Unit) GetLength

func (x *Unit) GetLength() *Unit_Length

func (*Unit) GetTrackingId

func (x *Unit) GetTrackingId() string

func (*Unit) GetType

func (x *Unit) GetType() string

func (*Unit) GetVolume

func (x *Unit) GetVolume() *Unit_Volume

func (*Unit) GetWeight

func (x *Unit) GetWeight() *Unit_Weight

func (*Unit) GetWidth

func (x *Unit) GetWidth() *Unit_Length

func (*Unit) ProtoMessage

func (*Unit) ProtoMessage()

func (*Unit) ProtoReflect

func (x *Unit) ProtoReflect() protoreflect.Message

func (*Unit) Reset

func (x *Unit) Reset()

func (*Unit) String

func (x *Unit) String() string

type Unit_Length

type Unit_Length struct {

	// Length value
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Length unit
	Unit Unit_Length_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=einride.saga.extend.book.v1beta1.Unit_Length_Unit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Length specified in different units

func (*Unit_Length) Descriptor deprecated

func (*Unit_Length) Descriptor() ([]byte, []int)

Deprecated: Use Unit_Length.ProtoReflect.Descriptor instead.

func (*Unit_Length) GetUnit

func (x *Unit_Length) GetUnit() Unit_Length_Unit

func (*Unit_Length) GetValue

func (x *Unit_Length) GetValue() float64

func (*Unit_Length) ProtoMessage

func (*Unit_Length) ProtoMessage()

func (*Unit_Length) ProtoReflect

func (x *Unit_Length) ProtoReflect() protoreflect.Message

func (*Unit_Length) Reset

func (x *Unit_Length) Reset()

func (*Unit_Length) String

func (x *Unit_Length) String() string

type Unit_Length_Unit

type Unit_Length_Unit int32

Length units

const (
	// Unspecified unit
	Unit_Length_UNIT_UNSPECIFIED Unit_Length_Unit = 0
	// Centimeters
	Unit_Length_CM Unit_Length_Unit = 1
	// Inches
	Unit_Length_IN Unit_Length_Unit = 2
)

func (Unit_Length_Unit) Descriptor

func (Unit_Length_Unit) Enum

func (Unit_Length_Unit) EnumDescriptor deprecated

func (Unit_Length_Unit) EnumDescriptor() ([]byte, []int)

Deprecated: Use Unit_Length_Unit.Descriptor instead.

func (Unit_Length_Unit) Number

func (Unit_Length_Unit) String

func (x Unit_Length_Unit) String() string

func (Unit_Length_Unit) Type

type Unit_Volume

type Unit_Volume struct {

	// Volume value
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Volume unit
	Unit Unit_Volume_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=einride.saga.extend.book.v1beta1.Unit_Volume_Unit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Volume specified in different units

func (*Unit_Volume) Descriptor deprecated

func (*Unit_Volume) Descriptor() ([]byte, []int)

Deprecated: Use Unit_Volume.ProtoReflect.Descriptor instead.

func (*Unit_Volume) GetUnit

func (x *Unit_Volume) GetUnit() Unit_Volume_Unit

func (*Unit_Volume) GetValue

func (x *Unit_Volume) GetValue() float64

func (*Unit_Volume) ProtoMessage

func (*Unit_Volume) ProtoMessage()

func (*Unit_Volume) ProtoReflect

func (x *Unit_Volume) ProtoReflect() protoreflect.Message

func (*Unit_Volume) Reset

func (x *Unit_Volume) Reset()

func (*Unit_Volume) String

func (x *Unit_Volume) String() string

type Unit_Volume_Unit

type Unit_Volume_Unit int32

Volume units

const (
	// Unspecified unit
	Unit_Volume_UNIT_UNSPECIFIED Unit_Volume_Unit = 0
	// Cubic meters
	Unit_Volume_CBM Unit_Volume_Unit = 1
	// Cubic feet
	Unit_Volume_CBFT Unit_Volume_Unit = 2
)

func (Unit_Volume_Unit) Descriptor

func (Unit_Volume_Unit) Enum

func (Unit_Volume_Unit) EnumDescriptor deprecated

func (Unit_Volume_Unit) EnumDescriptor() ([]byte, []int)

Deprecated: Use Unit_Volume_Unit.Descriptor instead.

func (Unit_Volume_Unit) Number

func (Unit_Volume_Unit) String

func (x Unit_Volume_Unit) String() string

func (Unit_Volume_Unit) Type

type Unit_Weight

type Unit_Weight struct {

	// Weight value
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Weight unit
	Unit Unit_Weight_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=einride.saga.extend.book.v1beta1.Unit_Weight_Unit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Weight specified in different units

func (*Unit_Weight) Descriptor deprecated

func (*Unit_Weight) Descriptor() ([]byte, []int)

Deprecated: Use Unit_Weight.ProtoReflect.Descriptor instead.

func (*Unit_Weight) GetUnit

func (x *Unit_Weight) GetUnit() Unit_Weight_Unit

func (*Unit_Weight) GetValue

func (x *Unit_Weight) GetValue() float64

func (*Unit_Weight) ProtoMessage

func (*Unit_Weight) ProtoMessage()

func (*Unit_Weight) ProtoReflect

func (x *Unit_Weight) ProtoReflect() protoreflect.Message

func (*Unit_Weight) Reset

func (x *Unit_Weight) Reset()

func (*Unit_Weight) String

func (x *Unit_Weight) String() string

type Unit_Weight_Unit

type Unit_Weight_Unit int32

Weight units

const (
	// Unspecified unit
	Unit_Weight_UNIT_UNSPECIFIED Unit_Weight_Unit = 0
	// Kilograms
	Unit_Weight_KG Unit_Weight_Unit = 1
	// Pounds
	Unit_Weight_LBS Unit_Weight_Unit = 2
)

func (Unit_Weight_Unit) Descriptor

func (Unit_Weight_Unit) Enum

func (Unit_Weight_Unit) EnumDescriptor deprecated

func (Unit_Weight_Unit) EnumDescriptor() ([]byte, []int)

Deprecated: Use Unit_Weight_Unit.Descriptor instead.

func (Unit_Weight_Unit) Number

func (Unit_Weight_Unit) String

func (x Unit_Weight_Unit) String() string

func (Unit_Weight_Unit) Type

type UnsafeBookingServiceServer

type UnsafeBookingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBookingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BookingServiceServer will result in compilation errors.

type UnsafeShipmentServiceServer

type UnsafeShipmentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeShipmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShipmentServiceServer will result in compilation errors.

type UnsafeShipmentTrackingEventServiceServer

type UnsafeShipmentTrackingEventServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeShipmentTrackingEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShipmentTrackingEventServiceServer will result in compilation errors.

type UpdateShipmentRequest

type UpdateShipmentRequest struct {

	// The resource which replaces the current resource.
	Shipment *Shipment `protobuf:"bytes,1,opt,name=shipment,proto3" json:"shipment,omitempty"`
	// The update mask applies to the shipment.
	//
	// Currently, it allows updating with the following:
	// * external_reference_id
	// * units
	// For units you cannot update individual units, so you MUST provide all the other units
	// * vehicle
	// * vehicle.reference_id
	// * vehicle.driver_reference_id
	// * vehicle.carrier_reference_id
	// * pickup_address
	// * pickup_instructions
	// * delivery_address
	// * delivery_instructions
	// * annotations
	// * service
	//
	// The star (*) update mask will update the above listed masks
	// This applies also for empty update mask partial update
	// For the `FieldMask` definition, see:
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to UpdateShipment method.

func (*UpdateShipmentRequest) Descriptor deprecated

func (*UpdateShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateShipmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateShipmentRequest) GetShipment

func (x *UpdateShipmentRequest) GetShipment() *Shipment

func (*UpdateShipmentRequest) GetUpdateMask

func (x *UpdateShipmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateShipmentRequest) ProtoMessage

func (*UpdateShipmentRequest) ProtoMessage()

func (*UpdateShipmentRequest) ProtoReflect

func (x *UpdateShipmentRequest) ProtoReflect() protoreflect.Message

func (*UpdateShipmentRequest) Reset

func (x *UpdateShipmentRequest) Reset()

func (*UpdateShipmentRequest) String

func (x *UpdateShipmentRequest) String() string

type UpdateTourRequest

type UpdateTourRequest struct {

	// The resource which replaces the current resource.
	Tour *Tour `protobuf:"bytes,1,opt,name=tour,proto3" json:"tour,omitempty"`
	// The update mask applies to the tour.
	// For the `FieldMask` definition, see:
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to UpdateTour method.

func (*UpdateTourRequest) Descriptor deprecated

func (*UpdateTourRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTourRequest.ProtoReflect.Descriptor instead.

func (*UpdateTourRequest) GetTour

func (x *UpdateTourRequest) GetTour() *Tour

func (*UpdateTourRequest) GetUpdateMask

func (x *UpdateTourRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTourRequest) ProtoMessage

func (*UpdateTourRequest) ProtoMessage()

func (*UpdateTourRequest) ProtoReflect

func (x *UpdateTourRequest) ProtoReflect() protoreflect.Message

func (*UpdateTourRequest) Reset

func (x *UpdateTourRequest) Reset()

func (*UpdateTourRequest) String

func (x *UpdateTourRequest) String() string

type Vehicle

type Vehicle struct {

	// Reference id
	ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
	// Driver reference id
	DriverReferenceId string `protobuf:"bytes,2,opt,name=driver_reference_id,json=driverReferenceId,proto3" json:"driver_reference_id,omitempty"`
	// Carrier reference id
	CarrierReferenceId string `protobuf:"bytes,3,opt,name=carrier_reference_id,json=carrierReferenceId,proto3" json:"carrier_reference_id,omitempty"`
	// contains filtered or unexported fields
}

Holds vehicle information

func (*Vehicle) Descriptor deprecated

func (*Vehicle) Descriptor() ([]byte, []int)

Deprecated: Use Vehicle.ProtoReflect.Descriptor instead.

func (*Vehicle) GetCarrierReferenceId

func (x *Vehicle) GetCarrierReferenceId() string

func (*Vehicle) GetDriverReferenceId

func (x *Vehicle) GetDriverReferenceId() string

func (*Vehicle) GetReferenceId

func (x *Vehicle) GetReferenceId() string

func (*Vehicle) ProtoMessage

func (*Vehicle) ProtoMessage()

func (*Vehicle) ProtoReflect

func (x *Vehicle) ProtoReflect() protoreflect.Message

func (*Vehicle) Reset

func (x *Vehicle) Reset()

func (*Vehicle) String

func (x *Vehicle) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL