Documentation ¶
Overview ¶
Code generated by protoc-gen-go-grpc-service-config. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterBookingServiceServer(s grpc.ServiceRegistrar, srv BookingServiceServer)
- func RegisterShipmentServiceServer(s grpc.ServiceRegistrar, srv ShipmentServiceServer)
- func RegisterShipmentTrackingEventServiceServer(s grpc.ServiceRegistrar, srv ShipmentTrackingEventServiceServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetCity() string
- func (x *Address) GetCo() string
- func (x *Address) GetContactInfo() string
- func (x *Address) GetDisplayName() string
- func (x *Address) GetExternalReferenceId() string
- func (x *Address) GetLatLng() *latlng.LatLng
- func (x *Address) GetLine1() string
- func (x *Address) GetLine2() string
- func (x *Address) GetPostalCode() string
- func (x *Address) GetRecipient() string
- func (x *Address) GetRegionCode() string
- func (x *Address) GetStateCode() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type Booking
- func (*Booking) Descriptor() ([]byte, []int)deprecated
- func (x *Booking) GetAutomationRule() Booking_AutomationRule
- func (x *Booking) GetCreateTime() *timestamppb.Timestamp
- func (x *Booking) GetDeleteTime() *timestamppb.Timestamp
- func (x *Booking) GetExternalReferenceId() string
- func (x *Booking) GetName() string
- func (x *Booking) GetSender() string
- func (x *Booking) GetServiceType() Booking_ServiceType
- func (x *Booking) GetSpace() string
- func (x *Booking) GetState() Booking_State
- func (x *Booking) GetStops() []*Booking_Stop
- func (x *Booking) GetType() Booking_BookingType
- func (x *Booking) GetUnits() []*Unit
- func (x *Booking) GetUpdateTime() *timestamppb.Timestamp
- func (*Booking) ProtoMessage()
- func (x *Booking) ProtoReflect() protoreflect.Message
- func (x *Booking) Reset()
- func (x *Booking) String() string
- type BookingResourceName
- func (n BookingResourceName) ContainsWildcard() bool
- func (n BookingResourceName) MarshalString() (string, error)
- func (n BookingResourceName) SpaceResourceName() SpaceResourceName
- func (n BookingResourceName) String() string
- func (n *BookingResourceName) UnmarshalString(name string) error
- func (n BookingResourceName) Validate() error
- type BookingServiceAuthorization
- func (a *BookingServiceAuthorization) CancelTour(ctx context.Context, request *CancelTourRequest) (*Tour, error)
- func (a *BookingServiceAuthorization) ConfirmTour(ctx context.Context, request *ConfirmTourRequest) (*Tour, error)
- func (a *BookingServiceAuthorization) CreateTour(ctx context.Context, request *CreateTourRequest) (*Tour, error)
- func (a *BookingServiceAuthorization) GetTour(ctx context.Context, request *GetTourRequest) (*Tour, error)
- func (a *BookingServiceAuthorization) ListTours(ctx context.Context, request *ListToursRequest) (*ListToursResponse, error)
- func (a *BookingServiceAuthorization) SearchTours(ctx context.Context, request *SearchToursRequest) (*SearchToursResponse, error)
- func (a *BookingServiceAuthorization) UpdateTour(ctx context.Context, request *UpdateTourRequest) (*Tour, error)
- type BookingServiceClient
- type BookingServiceIAMDescriptor
- type BookingServiceServer
- type BookingServiceTestSuite
- type Booking_AutomationRule
- func (Booking_AutomationRule) Descriptor() protoreflect.EnumDescriptor
- func (x Booking_AutomationRule) Enum() *Booking_AutomationRule
- func (Booking_AutomationRule) EnumDescriptor() ([]byte, []int)deprecated
- func (x Booking_AutomationRule) Number() protoreflect.EnumNumber
- func (x Booking_AutomationRule) String() string
- func (Booking_AutomationRule) Type() protoreflect.EnumType
- type Booking_BookingType
- func (Booking_BookingType) Descriptor() protoreflect.EnumDescriptor
- func (x Booking_BookingType) Enum() *Booking_BookingType
- func (Booking_BookingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Booking_BookingType) Number() protoreflect.EnumNumber
- func (x Booking_BookingType) String() string
- func (Booking_BookingType) Type() protoreflect.EnumType
- type Booking_ServiceType
- func (Booking_ServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x Booking_ServiceType) Enum() *Booking_ServiceType
- func (Booking_ServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Booking_ServiceType) Number() protoreflect.EnumNumber
- func (x Booking_ServiceType) String() string
- func (Booking_ServiceType) Type() protoreflect.EnumType
- type Booking_State
- func (Booking_State) Descriptor() protoreflect.EnumDescriptor
- func (x Booking_State) Enum() *Booking_State
- func (Booking_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Booking_State) Number() protoreflect.EnumNumber
- func (x Booking_State) String() string
- func (Booking_State) Type() protoreflect.EnumType
- type Booking_Stop
- func (*Booking_Stop) Descriptor() ([]byte, []int)deprecated
- func (x *Booking_Stop) GetAddress() *Address
- func (x *Booking_Stop) GetInstructions() string
- func (x *Booking_Stop) GetRequestedEndTime() *timestamppb.Timestamp
- func (x *Booking_Stop) GetRequestedStartTime() *timestamppb.Timestamp
- func (x *Booking_Stop) GetStopType() Booking_Stop_Type
- func (x *Booking_Stop) GetUnitExternalReferenceIds() []string
- func (*Booking_Stop) ProtoMessage()
- func (x *Booking_Stop) ProtoReflect() protoreflect.Message
- func (x *Booking_Stop) Reset()
- func (x *Booking_Stop) String() string
- type Booking_Stop_Type
- func (Booking_Stop_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Booking_Stop_Type) Enum() *Booking_Stop_Type
- func (Booking_Stop_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Booking_Stop_Type) Number() protoreflect.EnumNumber
- func (x Booking_Stop_Type) String() string
- func (Booking_Stop_Type) Type() protoreflect.EnumType
- type CancelShipmentRequest
- func (*CancelShipmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelShipmentRequest) GetName() string
- func (*CancelShipmentRequest) ProtoMessage()
- func (x *CancelShipmentRequest) ProtoReflect() protoreflect.Message
- func (x *CancelShipmentRequest) Reset()
- func (x *CancelShipmentRequest) String() string
- type CancelTourRequest
- type ConfirmTourRequest
- func (*ConfirmTourRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfirmTourRequest) GetName() string
- func (*ConfirmTourRequest) ProtoMessage()
- func (x *ConfirmTourRequest) ProtoReflect() protoreflect.Message
- func (x *ConfirmTourRequest) Reset()
- func (x *ConfirmTourRequest) String() string
- type CreateShipmentRequest
- func (*CreateShipmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShipmentRequest) GetParent() string
- func (x *CreateShipmentRequest) GetShipment() *Shipment
- func (*CreateShipmentRequest) ProtoMessage()
- func (x *CreateShipmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateShipmentRequest) Reset()
- func (x *CreateShipmentRequest) String() string
- type CreateShipmentTrackingEventRequest
- func (*CreateShipmentTrackingEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShipmentTrackingEventRequest) GetParent() string
- func (x *CreateShipmentTrackingEventRequest) GetShipmentTrackingEvent() *ShipmentTrackingEvent
- func (*CreateShipmentTrackingEventRequest) ProtoMessage()
- func (x *CreateShipmentTrackingEventRequest) ProtoReflect() protoreflect.Message
- func (x *CreateShipmentTrackingEventRequest) Reset()
- func (x *CreateShipmentTrackingEventRequest) String() string
- type CreateTourRequest
- func (*CreateTourRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTourRequest) GetParent() string
- func (x *CreateTourRequest) GetTour() *Tour
- func (*CreateTourRequest) ProtoMessage()
- func (x *CreateTourRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTourRequest) Reset()
- func (x *CreateTourRequest) String() string
- type GetShipmentRequest
- func (*GetShipmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetShipmentRequest) GetName() string
- func (*GetShipmentRequest) ProtoMessage()
- func (x *GetShipmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetShipmentRequest) Reset()
- func (x *GetShipmentRequest) String() string
- type GetShipmentTrackingEventRequest
- func (*GetShipmentTrackingEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetShipmentTrackingEventRequest) GetName() string
- func (*GetShipmentTrackingEventRequest) ProtoMessage()
- func (x *GetShipmentTrackingEventRequest) ProtoReflect() protoreflect.Message
- func (x *GetShipmentTrackingEventRequest) Reset()
- func (x *GetShipmentTrackingEventRequest) String() string
- type GetTourRequest
- type ListShipmentTrackingEventsRequest
- func (*ListShipmentTrackingEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListShipmentTrackingEventsRequest) GetPageSize() int32
- func (x *ListShipmentTrackingEventsRequest) GetPageToken() string
- func (x *ListShipmentTrackingEventsRequest) GetParent() string
- func (*ListShipmentTrackingEventsRequest) ProtoMessage()
- func (x *ListShipmentTrackingEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListShipmentTrackingEventsRequest) Reset()
- func (x *ListShipmentTrackingEventsRequest) String() string
- type ListShipmentTrackingEventsResponse
- func (*ListShipmentTrackingEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListShipmentTrackingEventsResponse) GetNextPageToken() string
- func (x *ListShipmentTrackingEventsResponse) GetShipmentTrackingEvents() []*ShipmentTrackingEvent
- func (*ListShipmentTrackingEventsResponse) ProtoMessage()
- func (x *ListShipmentTrackingEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListShipmentTrackingEventsResponse) Reset()
- func (x *ListShipmentTrackingEventsResponse) String() string
- type ListShipmentsRequest
- func (*ListShipmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListShipmentsRequest) GetOrderBy() string
- func (x *ListShipmentsRequest) GetPageSize() int32
- func (x *ListShipmentsRequest) GetPageToken() string
- func (x *ListShipmentsRequest) GetParent() string
- func (x *ListShipmentsRequest) GetShowDeleted() bool
- func (x *ListShipmentsRequest) GetSkip() int32
- func (*ListShipmentsRequest) ProtoMessage()
- func (x *ListShipmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListShipmentsRequest) Reset()
- func (x *ListShipmentsRequest) String() string
- type ListShipmentsResponse
- func (*ListShipmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListShipmentsResponse) GetNextPageToken() string
- func (x *ListShipmentsResponse) GetShipments() []*Shipment
- func (x *ListShipmentsResponse) GetTotalSize() int32
- func (*ListShipmentsResponse) ProtoMessage()
- func (x *ListShipmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListShipmentsResponse) Reset()
- func (x *ListShipmentsResponse) String() string
- type ListToursRequest
- func (*ListToursRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListToursRequest) GetOrderBy() string
- func (x *ListToursRequest) GetPageSize() int32
- func (x *ListToursRequest) GetPageToken() string
- func (x *ListToursRequest) GetParent() string
- func (x *ListToursRequest) GetShowDeleted() bool
- func (x *ListToursRequest) GetSkip() int32
- func (*ListToursRequest) ProtoMessage()
- func (x *ListToursRequest) ProtoReflect() protoreflect.Message
- func (x *ListToursRequest) Reset()
- func (x *ListToursRequest) String() string
- type ListToursResponse
- func (*ListToursResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListToursResponse) GetNextPageToken() string
- func (x *ListToursResponse) GetTotalSize() int32
- func (x *ListToursResponse) GetTours() []*Tour
- func (*ListToursResponse) ProtoMessage()
- func (x *ListToursResponse) ProtoReflect() protoreflect.Message
- func (x *ListToursResponse) Reset()
- func (x *ListToursResponse) String() string
- type OrganizationResourceName
- type ReleaseShipmentRequest
- func (*ReleaseShipmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseShipmentRequest) GetName() string
- func (*ReleaseShipmentRequest) ProtoMessage()
- func (x *ReleaseShipmentRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseShipmentRequest) Reset()
- func (x *ReleaseShipmentRequest) String() string
- type SearchToursRequest
- func (*SearchToursRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchToursRequest) GetOrderBy() string
- func (x *SearchToursRequest) GetPageSize() int32
- func (x *SearchToursRequest) GetPageToken() string
- func (x *SearchToursRequest) GetParent() string
- func (x *SearchToursRequest) GetQuery() string
- func (x *SearchToursRequest) GetShowDeleted() bool
- func (x *SearchToursRequest) GetSkip() int32
- func (*SearchToursRequest) ProtoMessage()
- func (x *SearchToursRequest) ProtoReflect() protoreflect.Message
- func (x *SearchToursRequest) Reset()
- func (x *SearchToursRequest) String() string
- type SearchToursResponse
- func (*SearchToursResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchToursResponse) GetNextPageToken() string
- func (x *SearchToursResponse) GetTotalSize() int32
- func (x *SearchToursResponse) GetTours() []*Tour
- func (*SearchToursResponse) ProtoMessage()
- func (x *SearchToursResponse) ProtoReflect() protoreflect.Message
- func (x *SearchToursResponse) Reset()
- func (x *SearchToursResponse) String() string
- type SenderResourceName
- func (n SenderResourceName) ContainsWildcard() bool
- func (n SenderResourceName) MarshalString() (string, error)
- func (n SenderResourceName) SpaceResourceName() SpaceResourceName
- func (n SenderResourceName) String() string
- func (n *SenderResourceName) UnmarshalString(name string) error
- func (n SenderResourceName) Validate() error
- type Shipment
- func (*Shipment) Descriptor() ([]byte, []int)deprecated
- func (x *Shipment) GetAnnotations() map[string]string
- func (x *Shipment) GetCreateTime() *timestamppb.Timestamp
- func (x *Shipment) GetDeleteTime() *timestamppb.Timestamp
- func (x *Shipment) GetDeliveryAddress() *Address
- func (x *Shipment) GetDeliveryInstructions() string
- func (x *Shipment) GetDeliveryState() Shipment_DeliveryState
- func (x *Shipment) GetExternalReferenceId() string
- func (x *Shipment) GetName() string
- func (x *Shipment) GetPickupAddress() *Address
- func (x *Shipment) GetPickupInstructions() string
- func (x *Shipment) GetRequestedDeliveryEndTime() *timestamppb.Timestamp
- func (x *Shipment) GetRequestedDeliveryStartTime() *timestamppb.Timestamp
- func (x *Shipment) GetRequestedPickupEndTime() *timestamppb.Timestamp
- func (x *Shipment) GetRequestedPickupStartTime() *timestamppb.Timestamp
- func (x *Shipment) GetSender() string
- func (x *Shipment) GetService() Shipment_Service
- func (x *Shipment) GetSpace() string
- func (x *Shipment) GetState() Shipment_State
- func (x *Shipment) GetTour() string
- func (x *Shipment) GetTrackingId() string
- func (x *Shipment) GetUnits() []*Unit
- func (x *Shipment) GetUpdateTime() *timestamppb.Timestamp
- func (x *Shipment) GetVehicle() *Vehicle
- func (*Shipment) ProtoMessage()
- func (x *Shipment) ProtoReflect() protoreflect.Message
- func (x *Shipment) Reset()
- func (x *Shipment) String() string
- type ShipmentResourceName
- func (n ShipmentResourceName) ContainsWildcard() bool
- func (n ShipmentResourceName) MarshalString() (string, error)
- func (n ShipmentResourceName) ShipmentTrackingEventResourceName(trackingEvent string) ShipmentTrackingEventResourceName
- func (n ShipmentResourceName) SpaceResourceName() SpaceResourceName
- func (n ShipmentResourceName) String() string
- func (n *ShipmentResourceName) UnmarshalString(name string) error
- func (n ShipmentResourceName) Validate() error
- type ShipmentServiceAuthorization
- func (a *ShipmentServiceAuthorization) CancelShipment(ctx context.Context, request *CancelShipmentRequest) (*Shipment, error)
- func (a *ShipmentServiceAuthorization) CreateShipment(ctx context.Context, request *CreateShipmentRequest) (*Shipment, error)
- func (a *ShipmentServiceAuthorization) GetShipment(ctx context.Context, request *GetShipmentRequest) (*Shipment, error)
- func (a *ShipmentServiceAuthorization) ListShipments(ctx context.Context, request *ListShipmentsRequest) (*ListShipmentsResponse, error)
- func (a *ShipmentServiceAuthorization) ReleaseShipment(ctx context.Context, request *ReleaseShipmentRequest) (*Shipment, error)
- func (a *ShipmentServiceAuthorization) UpdateShipment(ctx context.Context, request *UpdateShipmentRequest) (*Shipment, error)
- type ShipmentServiceClient
- type ShipmentServiceIAMDescriptor
- type ShipmentServiceServer
- type ShipmentServiceTestSuite
- type ShipmentTestSuiteConfig
- type ShipmentTrackingEvent
- func (*ShipmentTrackingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ShipmentTrackingEvent) GetAddress() *Address
- func (x *ShipmentTrackingEvent) GetCode() ShipmentTrackingEvent_EventCode
- func (x *ShipmentTrackingEvent) GetCreateTime() *timestamppb.Timestamp
- func (x *ShipmentTrackingEvent) GetDeleteTime() *timestamppb.Timestamp
- func (x *ShipmentTrackingEvent) GetDescription() string
- func (x *ShipmentTrackingEvent) GetName() string
- func (x *ShipmentTrackingEvent) GetOccurredTime() *timestamppb.Timestamp
- func (x *ShipmentTrackingEvent) GetShipment() string
- func (x *ShipmentTrackingEvent) GetUpdateTime() *timestamppb.Timestamp
- func (x *ShipmentTrackingEvent) GetVehicle() *Vehicle
- func (*ShipmentTrackingEvent) ProtoMessage()
- func (x *ShipmentTrackingEvent) ProtoReflect() protoreflect.Message
- func (x *ShipmentTrackingEvent) Reset()
- func (x *ShipmentTrackingEvent) String() string
- type ShipmentTrackingEventResourceName
- func (n ShipmentTrackingEventResourceName) ContainsWildcard() bool
- func (n ShipmentTrackingEventResourceName) MarshalString() (string, error)
- func (n ShipmentTrackingEventResourceName) ShipmentResourceName() ShipmentResourceName
- func (n ShipmentTrackingEventResourceName) SpaceResourceName() SpaceResourceName
- func (n ShipmentTrackingEventResourceName) String() string
- func (n *ShipmentTrackingEventResourceName) UnmarshalString(name string) error
- func (n ShipmentTrackingEventResourceName) Validate() error
- type ShipmentTrackingEventServiceAuthorization
- func (a *ShipmentTrackingEventServiceAuthorization) CreateShipmentTrackingEvent(ctx context.Context, request *CreateShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
- func (a *ShipmentTrackingEventServiceAuthorization) GetShipmentTrackingEvent(ctx context.Context, request *GetShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
- func (a *ShipmentTrackingEventServiceAuthorization) ListShipmentTrackingEvents(ctx context.Context, request *ListShipmentTrackingEventsRequest) (*ListShipmentTrackingEventsResponse, error)
- type ShipmentTrackingEventServiceClient
- type ShipmentTrackingEventServiceIAMDescriptor
- type ShipmentTrackingEventServiceServer
- type ShipmentTrackingEventServiceTestSuite
- type ShipmentTrackingEventTestSuiteConfig
- type ShipmentTrackingEvent_EventCode
- func (ShipmentTrackingEvent_EventCode) Descriptor() protoreflect.EnumDescriptor
- func (x ShipmentTrackingEvent_EventCode) Enum() *ShipmentTrackingEvent_EventCode
- func (ShipmentTrackingEvent_EventCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ShipmentTrackingEvent_EventCode) Number() protoreflect.EnumNumber
- func (x ShipmentTrackingEvent_EventCode) String() string
- func (ShipmentTrackingEvent_EventCode) Type() protoreflect.EnumType
- type Shipment_DeliveryState
- func (Shipment_DeliveryState) Descriptor() protoreflect.EnumDescriptor
- func (x Shipment_DeliveryState) Enum() *Shipment_DeliveryState
- func (Shipment_DeliveryState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Shipment_DeliveryState) Number() protoreflect.EnumNumber
- func (x Shipment_DeliveryState) String() string
- func (Shipment_DeliveryState) Type() protoreflect.EnumType
- type Shipment_Service
- func (Shipment_Service) Descriptor() protoreflect.EnumDescriptor
- func (x Shipment_Service) Enum() *Shipment_Service
- func (Shipment_Service) EnumDescriptor() ([]byte, []int)deprecated
- func (x Shipment_Service) Number() protoreflect.EnumNumber
- func (x Shipment_Service) String() string
- func (Shipment_Service) Type() protoreflect.EnumType
- type Shipment_State
- func (Shipment_State) Descriptor() protoreflect.EnumDescriptor
- func (x Shipment_State) Enum() *Shipment_State
- func (Shipment_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Shipment_State) Number() protoreflect.EnumNumber
- func (x Shipment_State) String() string
- func (Shipment_State) Type() protoreflect.EnumType
- type SpaceResourceName
- func (n SpaceResourceName) BookingResourceName(booking string) BookingResourceName
- func (n SpaceResourceName) ContainsWildcard() bool
- func (n SpaceResourceName) MarshalString() (string, error)
- func (n SpaceResourceName) SenderResourceName(sender string) SenderResourceName
- func (n SpaceResourceName) ShipmentResourceName(shipment string) ShipmentResourceName
- func (n SpaceResourceName) ShipmentTrackingEventResourceName(shipment string, trackingEvent string) ShipmentTrackingEventResourceName
- func (n SpaceResourceName) String() string
- func (n SpaceResourceName) TourResourceName(tour string) TourResourceName
- func (n *SpaceResourceName) UnmarshalString(name string) error
- func (n SpaceResourceName) Validate() error
- type Tour
- func (*Tour) Descriptor() ([]byte, []int)deprecated
- func (x *Tour) GetAnnotations() map[string]string
- func (x *Tour) GetAutomationRule() Tour_AutomationRule
- func (x *Tour) GetCreateTime() *timestamppb.Timestamp
- func (x *Tour) GetCreatedShipments() []*Shipment
- func (x *Tour) GetDeleteTime() *timestamppb.Timestamp
- func (x *Tour) GetExternalReferenceId() string
- func (x *Tour) GetName() string
- func (x *Tour) GetPreliminaryShipments() []*Tour_PreliminaryShipment
- func (x *Tour) GetSender() string
- func (x *Tour) GetServiceType() Tour_ServiceType
- func (x *Tour) GetSpace() string
- func (x *Tour) GetState() Tour_State
- func (x *Tour) GetStops() []*Tour_Stop
- func (x *Tour) GetType() Tour_TourType
- func (x *Tour) GetUpdateTime() *timestamppb.Timestamp
- func (*Tour) ProtoMessage()
- func (x *Tour) ProtoReflect() protoreflect.Message
- func (x *Tour) Reset()
- func (x *Tour) String() string
- type TourResourceName
- func (n TourResourceName) ContainsWildcard() bool
- func (n TourResourceName) MarshalString() (string, error)
- func (n TourResourceName) SpaceResourceName() SpaceResourceName
- func (n TourResourceName) String() string
- func (n *TourResourceName) UnmarshalString(name string) error
- func (n TourResourceName) Validate() error
- type TourTestSuiteConfig
- type Tour_AutomationRule
- func (Tour_AutomationRule) Descriptor() protoreflect.EnumDescriptor
- func (x Tour_AutomationRule) Enum() *Tour_AutomationRule
- func (Tour_AutomationRule) EnumDescriptor() ([]byte, []int)deprecated
- func (x Tour_AutomationRule) Number() protoreflect.EnumNumber
- func (x Tour_AutomationRule) String() string
- func (Tour_AutomationRule) Type() protoreflect.EnumType
- type Tour_PreliminaryShipment
- func (*Tour_PreliminaryShipment) Descriptor() ([]byte, []int)deprecated
- func (x *Tour_PreliminaryShipment) GetAnnotations() map[string]string
- func (x *Tour_PreliminaryShipment) GetExternalReferenceId() string
- func (x *Tour_PreliminaryShipment) GetUnits() []*Unit
- func (*Tour_PreliminaryShipment) ProtoMessage()
- func (x *Tour_PreliminaryShipment) ProtoReflect() protoreflect.Message
- func (x *Tour_PreliminaryShipment) Reset()
- func (x *Tour_PreliminaryShipment) String() string
- type Tour_ServiceType
- func (Tour_ServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x Tour_ServiceType) Enum() *Tour_ServiceType
- func (Tour_ServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Tour_ServiceType) Number() protoreflect.EnumNumber
- func (x Tour_ServiceType) String() string
- func (Tour_ServiceType) Type() protoreflect.EnumType
- type Tour_State
- type Tour_Stop
- func (*Tour_Stop) Descriptor() ([]byte, []int)deprecated
- func (x *Tour_Stop) GetAddress() *Address
- func (x *Tour_Stop) GetContactPerson() string
- func (x *Tour_Stop) GetInstructions() string
- func (x *Tour_Stop) GetRequestedEndTime() *timestamppb.Timestamp
- func (x *Tour_Stop) GetRequestedStartTime() *timestamppb.Timestamp
- func (x *Tour_Stop) GetShipmentExternalReferenceIds() []string
- func (x *Tour_Stop) GetStopType() Tour_Stop_Type
- func (*Tour_Stop) ProtoMessage()
- func (x *Tour_Stop) ProtoReflect() protoreflect.Message
- func (x *Tour_Stop) Reset()
- func (x *Tour_Stop) String() string
- type Tour_Stop_Type
- func (Tour_Stop_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Tour_Stop_Type) Enum() *Tour_Stop_Type
- func (Tour_Stop_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Tour_Stop_Type) Number() protoreflect.EnumNumber
- func (x Tour_Stop_Type) String() string
- func (Tour_Stop_Type) Type() protoreflect.EnumType
- type Tour_TourType
- func (Tour_TourType) Descriptor() protoreflect.EnumDescriptor
- func (x Tour_TourType) Enum() *Tour_TourType
- func (Tour_TourType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Tour_TourType) Number() protoreflect.EnumNumber
- func (x Tour_TourType) String() string
- func (Tour_TourType) Type() protoreflect.EnumType
- type UnimplementedBookingServiceServer
- func (UnimplementedBookingServiceServer) CancelTour(context.Context, *CancelTourRequest) (*Tour, error)
- func (UnimplementedBookingServiceServer) ConfirmTour(context.Context, *ConfirmTourRequest) (*Tour, error)
- func (UnimplementedBookingServiceServer) CreateTour(context.Context, *CreateTourRequest) (*Tour, error)
- func (UnimplementedBookingServiceServer) GetTour(context.Context, *GetTourRequest) (*Tour, error)
- func (UnimplementedBookingServiceServer) ListTours(context.Context, *ListToursRequest) (*ListToursResponse, error)
- func (UnimplementedBookingServiceServer) SearchTours(context.Context, *SearchToursRequest) (*SearchToursResponse, error)
- func (UnimplementedBookingServiceServer) UpdateTour(context.Context, *UpdateTourRequest) (*Tour, error)
- type UnimplementedShipmentServiceServer
- func (UnimplementedShipmentServiceServer) CancelShipment(context.Context, *CancelShipmentRequest) (*Shipment, error)
- func (UnimplementedShipmentServiceServer) CreateShipment(context.Context, *CreateShipmentRequest) (*Shipment, error)
- func (UnimplementedShipmentServiceServer) GetShipment(context.Context, *GetShipmentRequest) (*Shipment, error)
- func (UnimplementedShipmentServiceServer) ListShipments(context.Context, *ListShipmentsRequest) (*ListShipmentsResponse, error)
- func (UnimplementedShipmentServiceServer) ReleaseShipment(context.Context, *ReleaseShipmentRequest) (*Shipment, error)
- func (UnimplementedShipmentServiceServer) UpdateShipment(context.Context, *UpdateShipmentRequest) (*Shipment, error)
- type UnimplementedShipmentTrackingEventServiceServer
- func (UnimplementedShipmentTrackingEventServiceServer) CreateShipmentTrackingEvent(context.Context, *CreateShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
- func (UnimplementedShipmentTrackingEventServiceServer) GetShipmentTrackingEvent(context.Context, *GetShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
- func (UnimplementedShipmentTrackingEventServiceServer) ListShipmentTrackingEvents(context.Context, *ListShipmentTrackingEventsRequest) (*ListShipmentTrackingEventsResponse, error)
- type Unit
- func (*Unit) Descriptor() ([]byte, []int)deprecated
- func (x *Unit) GetDescription() string
- func (x *Unit) GetExternalReferenceId() string
- func (x *Unit) GetHeight() *Unit_Length
- func (x *Unit) GetLength() *Unit_Length
- func (x *Unit) GetTrackingId() string
- func (x *Unit) GetType() string
- func (x *Unit) GetVolume() *Unit_Volume
- func (x *Unit) GetWeight() *Unit_Weight
- func (x *Unit) GetWidth() *Unit_Length
- func (*Unit) ProtoMessage()
- func (x *Unit) ProtoReflect() protoreflect.Message
- func (x *Unit) Reset()
- func (x *Unit) String() string
- type Unit_Length
- func (*Unit_Length) Descriptor() ([]byte, []int)deprecated
- func (x *Unit_Length) GetUnit() Unit_Length_Unit
- func (x *Unit_Length) GetValue() float64
- func (*Unit_Length) ProtoMessage()
- func (x *Unit_Length) ProtoReflect() protoreflect.Message
- func (x *Unit_Length) Reset()
- func (x *Unit_Length) String() string
- type Unit_Length_Unit
- func (Unit_Length_Unit) Descriptor() protoreflect.EnumDescriptor
- func (x Unit_Length_Unit) Enum() *Unit_Length_Unit
- func (Unit_Length_Unit) EnumDescriptor() ([]byte, []int)deprecated
- func (x Unit_Length_Unit) Number() protoreflect.EnumNumber
- func (x Unit_Length_Unit) String() string
- func (Unit_Length_Unit) Type() protoreflect.EnumType
- type Unit_Volume
- func (*Unit_Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Unit_Volume) GetUnit() Unit_Volume_Unit
- func (x *Unit_Volume) GetValue() float64
- func (*Unit_Volume) ProtoMessage()
- func (x *Unit_Volume) ProtoReflect() protoreflect.Message
- func (x *Unit_Volume) Reset()
- func (x *Unit_Volume) String() string
- type Unit_Volume_Unit
- func (Unit_Volume_Unit) Descriptor() protoreflect.EnumDescriptor
- func (x Unit_Volume_Unit) Enum() *Unit_Volume_Unit
- func (Unit_Volume_Unit) EnumDescriptor() ([]byte, []int)deprecated
- func (x Unit_Volume_Unit) Number() protoreflect.EnumNumber
- func (x Unit_Volume_Unit) String() string
- func (Unit_Volume_Unit) Type() protoreflect.EnumType
- type Unit_Weight
- func (*Unit_Weight) Descriptor() ([]byte, []int)deprecated
- func (x *Unit_Weight) GetUnit() Unit_Weight_Unit
- func (x *Unit_Weight) GetValue() float64
- func (*Unit_Weight) ProtoMessage()
- func (x *Unit_Weight) ProtoReflect() protoreflect.Message
- func (x *Unit_Weight) Reset()
- func (x *Unit_Weight) String() string
- type Unit_Weight_Unit
- func (Unit_Weight_Unit) Descriptor() protoreflect.EnumDescriptor
- func (x Unit_Weight_Unit) Enum() *Unit_Weight_Unit
- func (Unit_Weight_Unit) EnumDescriptor() ([]byte, []int)deprecated
- func (x Unit_Weight_Unit) Number() protoreflect.EnumNumber
- func (x Unit_Weight_Unit) String() string
- func (Unit_Weight_Unit) Type() protoreflect.EnumType
- type UnsafeBookingServiceServer
- type UnsafeShipmentServiceServer
- type UnsafeShipmentTrackingEventServiceServer
- type UpdateShipmentRequest
- func (*UpdateShipmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateShipmentRequest) GetShipment() *Shipment
- func (x *UpdateShipmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateShipmentRequest) ProtoMessage()
- func (x *UpdateShipmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateShipmentRequest) Reset()
- func (x *UpdateShipmentRequest) String() string
- type UpdateTourRequest
- func (*UpdateTourRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTourRequest) GetTour() *Tour
- func (x *UpdateTourRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTourRequest) ProtoMessage()
- func (x *UpdateTourRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTourRequest) Reset()
- func (x *UpdateTourRequest) String() string
- type UserResourceName
- type Vehicle
- func (*Vehicle) Descriptor() ([]byte, []int)deprecated
- func (x *Vehicle) GetCarrierReferenceId() string
- func (x *Vehicle) GetDriverReferenceId() string
- func (x *Vehicle) GetReferenceId() string
- func (*Vehicle) ProtoMessage()
- func (x *Vehicle) ProtoReflect() protoreflect.Message
- func (x *Vehicle) Reset()
- func (x *Vehicle) String() string
Constants ¶
const ( BookingService_CreateTour_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/CreateTour" BookingService_GetTour_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/GetTour" BookingService_ListTours_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/ListTours" BookingService_SearchTours_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/SearchTours" BookingService_ConfirmTour_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/ConfirmTour" BookingService_UpdateTour_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/UpdateTour" BookingService_CancelTour_FullMethodName = "/einride.saga.extend.book.v1beta1.BookingService/CancelTour" )
const ( ShipmentService_CreateShipment_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentService/CreateShipment" ShipmentService_GetShipment_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentService/GetShipment" ShipmentService_ListShipments_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentService/ListShipments" ShipmentService_ReleaseShipment_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentService/ReleaseShipment" ShipmentService_CancelShipment_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentService/CancelShipment" ShipmentService_UpdateShipment_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentService/UpdateShipment" )
const ( ShipmentTrackingEventService_CreateShipmentTrackingEvent_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/CreateShipmentTrackingEvent" ShipmentTrackingEventService_GetShipmentTrackingEvent_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/GetShipmentTrackingEvent" ShipmentTrackingEventService_ListShipmentTrackingEvents_FullMethodName = "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/ListShipmentTrackingEvents" )
const DefaultServiceConfig = `` /* 342-byte string literal not displayed */
DefaultServiceConfig is the default service config for all services in the package. Source: einride/saga/extend/book/v1beta1/default_service_config.proto.
Variables ¶
var ( Booking_BookingType_name = map[int32]string{ 0: "BOOKING_TYPE_UNSPECIFIED", 1: "PROVISIONAL", 2: "CONFIRMED", } Booking_BookingType_value = map[string]int32{ "BOOKING_TYPE_UNSPECIFIED": 0, "PROVISIONAL": 1, "CONFIRMED": 2, } )
Enum value maps for Booking_BookingType.
var ( Booking_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PENDING", 2: "ACCEPTED", 3: "REJECTED", } Booking_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 1, "ACCEPTED": 2, "REJECTED": 3, } )
Enum value maps for Booking_State.
var ( Booking_ServiceType_name = map[int32]string{ 0: "SERVICE_TYPE_UNSPECIFIED", 1: "FULL_TRUCK_LOAD", 2: "DISTRIBUTION", 3: "SHUTTLE", 4: "MILK_RUN", 5: "DRAYAGE", } Booking_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 Booking_ServiceType.
var ( Booking_AutomationRule_name = map[int32]string{ 0: "AUTOMATION_RULE_UNSPECIFIED", 1: "NONE", 2: "CREATE_SHIPMENTS", 3: "CREATE_AND_RELEASE_SHIPMENTS", } Booking_AutomationRule_value = map[string]int32{ "AUTOMATION_RULE_UNSPECIFIED": 0, "NONE": 1, "CREATE_SHIPMENTS": 2, "CREATE_AND_RELEASE_SHIPMENTS": 3, } )
Enum value maps for Booking_AutomationRule.
var ( Booking_Stop_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "PICKUP", 2: "DELIVER", } Booking_Stop_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "PICKUP": 1, "DELIVER": 2, } )
Enum value maps for Booking_Stop_Type.
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.
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.
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.
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.
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.
var ( Tour_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PENDING", 2: "ACCEPTED", 3: "REJECTED", 4: "CANCELLED", } Tour_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 1, "ACCEPTED": 2, "REJECTED": 3, "CANCELLED": 4, } )
Enum value maps for Tour_State.
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.
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.
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.
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.
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.
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.
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, }, { MethodName: "CancelTour", Handler: _BookingService_CancelTour_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)
var File_einride_saga_extend_book_v1beta1_address_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_booking_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_booking_service_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_default_service_config_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_shipment_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_shipment_service_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_shipment_tracking_event_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_shipment_tracking_event_service_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_tour_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_unit_proto protoreflect.FileDescriptor
var File_einride_saga_extend_book_v1beta1_vehicle_proto protoreflect.FileDescriptor
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)
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 RegisterBookingServiceServer ¶ added in v0.20.0
func RegisterBookingServiceServer(s grpc.ServiceRegistrar, srv BookingServiceServer)
func RegisterShipmentServiceServer ¶
func RegisterShipmentServiceServer(s grpc.ServiceRegistrar, srv ShipmentServiceServer)
func RegisterShipmentTrackingEventServiceServer ¶ added in v0.12.0
func RegisterShipmentTrackingEventServiceServer(s grpc.ServiceRegistrar, srv ShipmentTrackingEventServiceServer)
Types ¶
type Address ¶ added in v0.12.0
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
added in
v0.12.0
func (*Address) GetContactInfo ¶ added in v0.12.0
func (*Address) GetDisplayName ¶ added in v0.12.0
func (*Address) GetExternalReferenceId ¶ added in v0.37.0
func (*Address) GetPostalCode ¶ added in v0.12.0
func (*Address) GetRecipient ¶ added in v0.12.0
func (*Address) GetRegionCode ¶ added in v0.12.0
func (*Address) GetStateCode ¶ added in v0.12.0
func (*Address) ProtoMessage ¶ added in v0.12.0
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶ added in v0.12.0
func (x *Address) ProtoReflect() protoreflect.Message
type Booking ¶ added in v0.20.0
type Booking struct { // The resource name of the booking. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Resource name of the space that owns the booking. Space string `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"` // Resource name of the sender of the booking. Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // The creation timestamp of the booking. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last update timestamp of the booking. // 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 booking. Set if the booking is deleted. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Booking type. Defaults to PROVISIONAL. Type Booking_BookingType `protobuf:"varint,7,opt,name=type,proto3,enum=einride.saga.extend.book.v1beta1.Booking_BookingType" json:"type,omitempty"` // The type of service to create a booking for. ServiceType Booking_ServiceType `` /* 153-byte string literal not displayed */ // External reference ID is a unique identifier that can be set by the client. ExternalReferenceId string `protobuf:"bytes,9,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"` // The rule that is applied when a confirmed booking is accepted. Defaults to NONE. AutomationRule Booking_AutomationRule `` /* 166-byte string literal not displayed */ // The units included in this booking. Units []*Unit `protobuf:"bytes,11,rep,name=units,proto3" json:"units,omitempty"` // The stops included in this booking. Stops []*Booking_Stop `protobuf:"bytes,12,rep,name=stops,proto3" json:"stops,omitempty"` // The state of the booking. Set to PENDING upon creation. // A booking is then either accepted or rejected. State Booking_State `protobuf:"varint,14,opt,name=state,proto3,enum=einride.saga.extend.book.v1beta1.Booking_State" json:"state,omitempty"` // contains filtered or unexported fields }
A booking represents an estimated demand to deliver goods. Deprecated: will be removed in next release. Use Tour instead.
func (*Booking) Descriptor
deprecated
added in
v0.20.0
func (*Booking) GetAutomationRule ¶ added in v0.22.0
func (x *Booking) GetAutomationRule() Booking_AutomationRule
func (*Booking) GetCreateTime ¶ added in v0.20.0
func (x *Booking) GetCreateTime() *timestamppb.Timestamp
func (*Booking) GetDeleteTime ¶ added in v0.20.0
func (x *Booking) GetDeleteTime() *timestamppb.Timestamp
func (*Booking) GetExternalReferenceId ¶ added in v0.20.0
func (*Booking) GetServiceType ¶ added in v0.20.0
func (x *Booking) GetServiceType() Booking_ServiceType
func (*Booking) GetState ¶ added in v0.20.0
func (x *Booking) GetState() Booking_State
func (*Booking) GetStops ¶ added in v0.20.0
func (x *Booking) GetStops() []*Booking_Stop
func (*Booking) GetType ¶ added in v0.22.0
func (x *Booking) GetType() Booking_BookingType
func (*Booking) GetUpdateTime ¶ added in v0.20.0
func (x *Booking) GetUpdateTime() *timestamppb.Timestamp
func (*Booking) ProtoMessage ¶ added in v0.20.0
func (*Booking) ProtoMessage()
func (*Booking) ProtoReflect ¶ added in v0.20.0
func (x *Booking) ProtoReflect() protoreflect.Message
type BookingResourceName ¶
func (BookingResourceName) ContainsWildcard ¶
func (n BookingResourceName) ContainsWildcard() bool
func (BookingResourceName) MarshalString ¶
func (n BookingResourceName) MarshalString() (string, error)
func (BookingResourceName) SpaceResourceName ¶
func (n BookingResourceName) SpaceResourceName() SpaceResourceName
func (BookingResourceName) String ¶
func (n BookingResourceName) String() string
func (*BookingResourceName) UnmarshalString ¶
func (n *BookingResourceName) UnmarshalString(name string) error
func (BookingResourceName) Validate ¶
func (n BookingResourceName) Validate() error
type BookingServiceAuthorization ¶ added in v0.20.0
type BookingServiceAuthorization struct {
// contains filtered or unexported fields
}
func NewBookingServiceAuthorization ¶ added in v0.20.0
func NewBookingServiceAuthorization( next BookingServiceServer, permissionTester iamcel.PermissionTester, callerResolver iamcaller.Resolver, ) (*BookingServiceAuthorization, error)
NewBookingServiceAuthorization creates a new authorization middleware for BookingService.
func (*BookingServiceAuthorization) CancelTour ¶ added in v0.46.0
func (a *BookingServiceAuthorization) CancelTour( ctx context.Context, request *CancelTourRequest, ) (*Tour, error)
func (*BookingServiceAuthorization) ConfirmTour ¶ added in v0.31.0
func (a *BookingServiceAuthorization) ConfirmTour( ctx context.Context, request *ConfirmTourRequest, ) (*Tour, error)
func (*BookingServiceAuthorization) CreateTour ¶ added in v0.31.0
func (a *BookingServiceAuthorization) CreateTour( ctx context.Context, request *CreateTourRequest, ) (*Tour, error)
func (*BookingServiceAuthorization) GetTour ¶ added in v0.31.0
func (a *BookingServiceAuthorization) GetTour( ctx context.Context, request *GetTourRequest, ) (*Tour, error)
func (*BookingServiceAuthorization) ListTours ¶ added in v0.40.0
func (a *BookingServiceAuthorization) ListTours( ctx context.Context, request *ListToursRequest, ) (*ListToursResponse, error)
func (*BookingServiceAuthorization) SearchTours ¶ added in v0.45.0
func (a *BookingServiceAuthorization) SearchTours( ctx context.Context, request *SearchToursRequest, ) (*SearchToursResponse, error)
func (*BookingServiceAuthorization) UpdateTour ¶ added in v0.31.0
func (a *BookingServiceAuthorization) UpdateTour( ctx context.Context, request *UpdateTourRequest, ) (*Tour, error)
type BookingServiceClient ¶ added in v0.20.0
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) // Cancel a tour. CancelTour(ctx context.Context, in *CancelTourRequest, 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.
func NewBookingServiceClient ¶ added in v0.20.0
func NewBookingServiceClient(cc grpc.ClientConnInterface) BookingServiceClient
type BookingServiceIAMDescriptor ¶ added in v0.20.0
type BookingServiceIAMDescriptor struct { CreateTourAuthorization *v1.MethodAuthorizationOptions GetTourAuthorization *v1.MethodAuthorizationOptions ListToursAuthorization *v1.MethodAuthorizationOptions SearchToursAuthorization *v1.MethodAuthorizationOptions ConfirmTourAuthorization *v1.MethodAuthorizationOptions UpdateTourAuthorization *v1.MethodAuthorizationOptions CancelTourAuthorization *v1.MethodAuthorizationOptions }
func NewBookingServiceIAMDescriptor ¶ added in v0.20.0
func NewBookingServiceIAMDescriptor() (*BookingServiceIAMDescriptor, error)
NewBookingServiceIAMDescriptor returns a new BookingService IAM descriptor.
type BookingServiceServer ¶ added in v0.20.0
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) // Cancel a tour. CancelTour(context.Context, *CancelTourRequest) (*Tour, error) }
BookingServiceServer is the server API for BookingService service. All implementations should embed UnimplementedBookingServiceServer for forward compatibility
type BookingServiceTestSuite ¶ added in v0.20.0
type BookingServiceTestSuite struct { T *testing.T // Server to test. Server BookingServiceServer }
func (BookingServiceTestSuite) TestTour ¶ added in v0.31.0
func (fx BookingServiceTestSuite) TestTour(ctx context.Context, options TourTestSuiteConfig)
type Booking_AutomationRule ¶ added in v0.22.0
type Booking_AutomationRule int32
The rule that is applied when a confirmed booking is accepted.
const ( // Unspecified auto rule. Booking_AUTOMATION_RULE_UNSPECIFIED Booking_AutomationRule = 0 // No automation rule Booking_NONE Booking_AutomationRule = 1 // When the confirmed booking is accepted, shipments will be created automatically from its stops and units. Booking_CREATE_SHIPMENTS Booking_AutomationRule = 2 // When the confirmed booking is accepted, shipments will be created automatically from its stops and units // and then released. Booking_CREATE_AND_RELEASE_SHIPMENTS Booking_AutomationRule = 3 )
func (Booking_AutomationRule) Descriptor ¶ added in v0.22.0
func (Booking_AutomationRule) Descriptor() protoreflect.EnumDescriptor
func (Booking_AutomationRule) Enum ¶ added in v0.22.0
func (x Booking_AutomationRule) Enum() *Booking_AutomationRule
func (Booking_AutomationRule) EnumDescriptor
deprecated
added in
v0.22.0
func (Booking_AutomationRule) EnumDescriptor() ([]byte, []int)
Deprecated: Use Booking_AutomationRule.Descriptor instead.
func (Booking_AutomationRule) Number ¶ added in v0.22.0
func (x Booking_AutomationRule) Number() protoreflect.EnumNumber
func (Booking_AutomationRule) String ¶ added in v0.22.0
func (x Booking_AutomationRule) String() string
func (Booking_AutomationRule) Type ¶ added in v0.22.0
func (Booking_AutomationRule) Type() protoreflect.EnumType
type Booking_BookingType ¶ added in v0.22.0
type Booking_BookingType int32
The booking type.
const ( // Unspecified booking type Booking_BOOKING_TYPE_UNSPECIFIED Booking_BookingType = 0 // The booking is provisional and can be updated. Booking_PROVISIONAL Booking_BookingType = 1 // The booking is confirmed and can not be updated. Booking_CONFIRMED Booking_BookingType = 2 )
func (Booking_BookingType) Descriptor ¶ added in v0.22.0
func (Booking_BookingType) Descriptor() protoreflect.EnumDescriptor
func (Booking_BookingType) Enum ¶ added in v0.22.0
func (x Booking_BookingType) Enum() *Booking_BookingType
func (Booking_BookingType) EnumDescriptor
deprecated
added in
v0.22.0
func (Booking_BookingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Booking_BookingType.Descriptor instead.
func (Booking_BookingType) Number ¶ added in v0.22.0
func (x Booking_BookingType) Number() protoreflect.EnumNumber
func (Booking_BookingType) String ¶ added in v0.22.0
func (x Booking_BookingType) String() string
func (Booking_BookingType) Type ¶ added in v0.22.0
func (Booking_BookingType) Type() protoreflect.EnumType
type Booking_ServiceType ¶ added in v0.20.0
type Booking_ServiceType int32
The service type of the booking.
const ( // Unspecified service type. Booking_SERVICE_TYPE_UNSPECIFIED Booking_ServiceType = 0 // Service type FTL. Booking_FULL_TRUCK_LOAD Booking_ServiceType = 1 // Service type distribution. Booking_DISTRIBUTION Booking_ServiceType = 2 // Service type shuttle. Booking_SHUTTLE Booking_ServiceType = 3 // Service type milk run. Booking_MILK_RUN Booking_ServiceType = 4 // Service type drayage. Booking_DRAYAGE Booking_ServiceType = 5 )
func (Booking_ServiceType) Descriptor ¶ added in v0.20.0
func (Booking_ServiceType) Descriptor() protoreflect.EnumDescriptor
func (Booking_ServiceType) Enum ¶ added in v0.20.0
func (x Booking_ServiceType) Enum() *Booking_ServiceType
func (Booking_ServiceType) EnumDescriptor
deprecated
added in
v0.20.0
func (Booking_ServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Booking_ServiceType.Descriptor instead.
func (Booking_ServiceType) Number ¶ added in v0.20.0
func (x Booking_ServiceType) Number() protoreflect.EnumNumber
func (Booking_ServiceType) String ¶ added in v0.20.0
func (x Booking_ServiceType) String() string
func (Booking_ServiceType) Type ¶ added in v0.20.0
func (Booking_ServiceType) Type() protoreflect.EnumType
type Booking_State ¶ added in v0.20.0
type Booking_State int32
The state of the booking.
const ( // Unspecified state Booking_STATE_UNSPECIFIED Booking_State = 0 // The booking is received. Awaiting accept/reject. Booking_PENDING Booking_State = 1 // The booking is accepted. Booking_ACCEPTED Booking_State = 2 // The booking is rejected. Booking_REJECTED Booking_State = 3 )
func (Booking_State) Descriptor ¶ added in v0.20.0
func (Booking_State) Descriptor() protoreflect.EnumDescriptor
func (Booking_State) Enum ¶ added in v0.20.0
func (x Booking_State) Enum() *Booking_State
func (Booking_State) EnumDescriptor
deprecated
added in
v0.20.0
func (Booking_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Booking_State.Descriptor instead.
func (Booking_State) Number ¶ added in v0.20.0
func (x Booking_State) Number() protoreflect.EnumNumber
func (Booking_State) String ¶ added in v0.20.0
func (x Booking_State) String() string
func (Booking_State) Type ¶ added in v0.20.0
func (Booking_State) Type() protoreflect.EnumType
type Booking_Stop ¶ added in v0.20.0
type Booking_Stop struct { // The address of this stop. Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The type of stop. StopType Booking_Stop_Type `` /* 142-byte string literal not displayed */ // Instructions for this stop. Instructions string `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,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 unit external reference id associated with this stop. E.g. for a pickup stop this will hold the units to pickup. UnitExternalReferenceIds []string `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
A stop is an address where an event is going to happen. The event could be to deliver goods, charge the vehicle etc.
func (*Booking_Stop) Descriptor
deprecated
added in
v0.20.0
func (*Booking_Stop) Descriptor() ([]byte, []int)
Deprecated: Use Booking_Stop.ProtoReflect.Descriptor instead.
func (*Booking_Stop) GetAddress ¶ added in v0.20.0
func (x *Booking_Stop) GetAddress() *Address
func (*Booking_Stop) GetInstructions ¶ added in v0.20.0
func (x *Booking_Stop) GetInstructions() string
func (*Booking_Stop) GetRequestedEndTime ¶ added in v0.20.0
func (x *Booking_Stop) GetRequestedEndTime() *timestamppb.Timestamp
func (*Booking_Stop) GetRequestedStartTime ¶ added in v0.20.0
func (x *Booking_Stop) GetRequestedStartTime() *timestamppb.Timestamp
func (*Booking_Stop) GetStopType ¶ added in v0.20.0
func (x *Booking_Stop) GetStopType() Booking_Stop_Type
func (*Booking_Stop) GetUnitExternalReferenceIds ¶ added in v0.20.0
func (x *Booking_Stop) GetUnitExternalReferenceIds() []string
func (*Booking_Stop) ProtoMessage ¶ added in v0.20.0
func (*Booking_Stop) ProtoMessage()
func (*Booking_Stop) ProtoReflect ¶ added in v0.20.0
func (x *Booking_Stop) ProtoReflect() protoreflect.Message
func (*Booking_Stop) Reset ¶ added in v0.20.0
func (x *Booking_Stop) Reset()
func (*Booking_Stop) String ¶ added in v0.20.0
func (x *Booking_Stop) String() string
type Booking_Stop_Type ¶ added in v0.20.0
type Booking_Stop_Type int32
Type describes the reason for the stop. E.g. a stop to deliver or pickup.
const ( // Unknown type. Booking_Stop_TYPE_UNSPECIFIED Booking_Stop_Type = 0 // Stop to pick up goods. Booking_Stop_PICKUP Booking_Stop_Type = 1 // Stop to deliver goods. Booking_Stop_DELIVER Booking_Stop_Type = 2 )
func (Booking_Stop_Type) Descriptor ¶ added in v0.20.0
func (Booking_Stop_Type) Descriptor() protoreflect.EnumDescriptor
func (Booking_Stop_Type) Enum ¶ added in v0.20.0
func (x Booking_Stop_Type) Enum() *Booking_Stop_Type
func (Booking_Stop_Type) EnumDescriptor
deprecated
added in
v0.20.0
func (Booking_Stop_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Booking_Stop_Type.Descriptor instead.
func (Booking_Stop_Type) Number ¶ added in v0.20.0
func (x Booking_Stop_Type) Number() protoreflect.EnumNumber
func (Booking_Stop_Type) String ¶ added in v0.20.0
func (x Booking_Stop_Type) String() string
func (Booking_Stop_Type) Type ¶ added in v0.20.0
func (Booking_Stop_Type) Type() protoreflect.EnumType
type CancelShipmentRequest ¶ added in v0.34.0
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
added in
v0.34.0
func (*CancelShipmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelShipmentRequest.ProtoReflect.Descriptor instead.
func (*CancelShipmentRequest) GetName ¶ added in v0.34.0
func (x *CancelShipmentRequest) GetName() string
func (*CancelShipmentRequest) ProtoMessage ¶ added in v0.34.0
func (*CancelShipmentRequest) ProtoMessage()
func (*CancelShipmentRequest) ProtoReflect ¶ added in v0.34.0
func (x *CancelShipmentRequest) ProtoReflect() protoreflect.Message
func (*CancelShipmentRequest) Reset ¶ added in v0.34.0
func (x *CancelShipmentRequest) Reset()
func (*CancelShipmentRequest) String ¶ added in v0.34.0
func (x *CancelShipmentRequest) String() string
type CancelTourRequest ¶ added in v0.46.0
type CancelTourRequest struct { // The resource name of the tour to cancel. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message to cancel a tour.
func (*CancelTourRequest) Descriptor
deprecated
added in
v0.46.0
func (*CancelTourRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTourRequest.ProtoReflect.Descriptor instead.
func (*CancelTourRequest) GetName ¶ added in v0.46.0
func (x *CancelTourRequest) GetName() string
func (*CancelTourRequest) ProtoMessage ¶ added in v0.46.0
func (*CancelTourRequest) ProtoMessage()
func (*CancelTourRequest) ProtoReflect ¶ added in v0.46.0
func (x *CancelTourRequest) ProtoReflect() protoreflect.Message
func (*CancelTourRequest) Reset ¶ added in v0.46.0
func (x *CancelTourRequest) Reset()
func (*CancelTourRequest) String ¶ added in v0.46.0
func (x *CancelTourRequest) String() string
type ConfirmTourRequest ¶ added in v0.31.0
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
added in
v0.31.0
func (*ConfirmTourRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmTourRequest.ProtoReflect.Descriptor instead.
func (*ConfirmTourRequest) GetName ¶ added in v0.31.0
func (x *ConfirmTourRequest) GetName() string
func (*ConfirmTourRequest) ProtoMessage ¶ added in v0.31.0
func (*ConfirmTourRequest) ProtoMessage()
func (*ConfirmTourRequest) ProtoReflect ¶ added in v0.31.0
func (x *ConfirmTourRequest) ProtoReflect() protoreflect.Message
func (*ConfirmTourRequest) Reset ¶ added in v0.31.0
func (x *ConfirmTourRequest) Reset()
func (*ConfirmTourRequest) String ¶ added in v0.31.0
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 ¶ added in v0.12.0
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
added in
v0.12.0
func (*CreateShipmentTrackingEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateShipmentTrackingEventRequest.ProtoReflect.Descriptor instead.
func (*CreateShipmentTrackingEventRequest) GetParent ¶ added in v0.12.0
func (x *CreateShipmentTrackingEventRequest) GetParent() string
func (*CreateShipmentTrackingEventRequest) GetShipmentTrackingEvent ¶ added in v0.12.0
func (x *CreateShipmentTrackingEventRequest) GetShipmentTrackingEvent() *ShipmentTrackingEvent
func (*CreateShipmentTrackingEventRequest) ProtoMessage ¶ added in v0.12.0
func (*CreateShipmentTrackingEventRequest) ProtoMessage()
func (*CreateShipmentTrackingEventRequest) ProtoReflect ¶ added in v0.12.0
func (x *CreateShipmentTrackingEventRequest) ProtoReflect() protoreflect.Message
func (*CreateShipmentTrackingEventRequest) Reset ¶ added in v0.12.0
func (x *CreateShipmentTrackingEventRequest) Reset()
func (*CreateShipmentTrackingEventRequest) String ¶ added in v0.12.0
func (x *CreateShipmentTrackingEventRequest) String() string
type CreateTourRequest ¶ added in v0.31.0
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
added in
v0.31.0
func (*CreateTourRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTourRequest.ProtoReflect.Descriptor instead.
func (*CreateTourRequest) GetParent ¶ added in v0.31.0
func (x *CreateTourRequest) GetParent() string
func (*CreateTourRequest) GetTour ¶ added in v0.31.0
func (x *CreateTourRequest) GetTour() *Tour
func (*CreateTourRequest) ProtoMessage ¶ added in v0.31.0
func (*CreateTourRequest) ProtoMessage()
func (*CreateTourRequest) ProtoReflect ¶ added in v0.31.0
func (x *CreateTourRequest) ProtoReflect() protoreflect.Message
func (*CreateTourRequest) Reset ¶ added in v0.31.0
func (x *CreateTourRequest) Reset()
func (*CreateTourRequest) String ¶ added in v0.31.0
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 ¶ added in v0.14.0
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
added in
v0.14.0
func (*GetShipmentTrackingEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShipmentTrackingEventRequest.ProtoReflect.Descriptor instead.
func (*GetShipmentTrackingEventRequest) GetName ¶ added in v0.14.0
func (x *GetShipmentTrackingEventRequest) GetName() string
func (*GetShipmentTrackingEventRequest) ProtoMessage ¶ added in v0.14.0
func (*GetShipmentTrackingEventRequest) ProtoMessage()
func (*GetShipmentTrackingEventRequest) ProtoReflect ¶ added in v0.14.0
func (x *GetShipmentTrackingEventRequest) ProtoReflect() protoreflect.Message
func (*GetShipmentTrackingEventRequest) Reset ¶ added in v0.14.0
func (x *GetShipmentTrackingEventRequest) Reset()
func (*GetShipmentTrackingEventRequest) String ¶ added in v0.14.0
func (x *GetShipmentTrackingEventRequest) String() string
type GetTourRequest ¶ added in v0.31.0
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
added in
v0.31.0
func (*GetTourRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTourRequest.ProtoReflect.Descriptor instead.
func (*GetTourRequest) GetName ¶ added in v0.31.0
func (x *GetTourRequest) GetName() string
func (*GetTourRequest) ProtoMessage ¶ added in v0.31.0
func (*GetTourRequest) ProtoMessage()
func (*GetTourRequest) ProtoReflect ¶ added in v0.31.0
func (x *GetTourRequest) ProtoReflect() protoreflect.Message
func (*GetTourRequest) Reset ¶ added in v0.31.0
func (x *GetTourRequest) Reset()
func (*GetTourRequest) String ¶ added in v0.31.0
func (x *GetTourRequest) String() string
type ListShipmentTrackingEventsRequest ¶ added in v0.14.0
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
added in
v0.14.0
func (*ListShipmentTrackingEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListShipmentTrackingEventsRequest.ProtoReflect.Descriptor instead.
func (*ListShipmentTrackingEventsRequest) GetPageSize ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsRequest) GetPageSize() int32
func (*ListShipmentTrackingEventsRequest) GetPageToken ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsRequest) GetPageToken() string
func (*ListShipmentTrackingEventsRequest) GetParent ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsRequest) GetParent() string
func (*ListShipmentTrackingEventsRequest) ProtoMessage ¶ added in v0.14.0
func (*ListShipmentTrackingEventsRequest) ProtoMessage()
func (*ListShipmentTrackingEventsRequest) ProtoReflect ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsRequest) ProtoReflect() protoreflect.Message
func (*ListShipmentTrackingEventsRequest) Reset ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsRequest) Reset()
func (*ListShipmentTrackingEventsRequest) String ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsRequest) String() string
type ListShipmentTrackingEventsResponse ¶ added in v0.14.0
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
added in
v0.14.0
func (*ListShipmentTrackingEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListShipmentTrackingEventsResponse.ProtoReflect.Descriptor instead.
func (*ListShipmentTrackingEventsResponse) GetNextPageToken ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsResponse) GetNextPageToken() string
func (*ListShipmentTrackingEventsResponse) GetShipmentTrackingEvents ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsResponse) GetShipmentTrackingEvents() []*ShipmentTrackingEvent
func (*ListShipmentTrackingEventsResponse) ProtoMessage ¶ added in v0.14.0
func (*ListShipmentTrackingEventsResponse) ProtoMessage()
func (*ListShipmentTrackingEventsResponse) ProtoReflect ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsResponse) ProtoReflect() protoreflect.Message
func (*ListShipmentTrackingEventsResponse) Reset ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsResponse) Reset()
func (*ListShipmentTrackingEventsResponse) String ¶ added in v0.14.0
func (x *ListShipmentTrackingEventsResponse) String() string
type ListShipmentsRequest ¶ added in v0.40.0
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
added in
v0.40.0
func (*ListShipmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListShipmentsRequest.ProtoReflect.Descriptor instead.
func (*ListShipmentsRequest) GetOrderBy ¶ added in v0.40.0
func (x *ListShipmentsRequest) GetOrderBy() string
func (*ListShipmentsRequest) GetPageSize ¶ added in v0.40.0
func (x *ListShipmentsRequest) GetPageSize() int32
func (*ListShipmentsRequest) GetPageToken ¶ added in v0.40.0
func (x *ListShipmentsRequest) GetPageToken() string
func (*ListShipmentsRequest) GetParent ¶ added in v0.40.0
func (x *ListShipmentsRequest) GetParent() string
func (*ListShipmentsRequest) GetShowDeleted ¶ added in v0.40.0
func (x *ListShipmentsRequest) GetShowDeleted() bool
func (*ListShipmentsRequest) GetSkip ¶ added in v0.40.0
func (x *ListShipmentsRequest) GetSkip() int32
func (*ListShipmentsRequest) ProtoMessage ¶ added in v0.40.0
func (*ListShipmentsRequest) ProtoMessage()
func (*ListShipmentsRequest) ProtoReflect ¶ added in v0.40.0
func (x *ListShipmentsRequest) ProtoReflect() protoreflect.Message
func (*ListShipmentsRequest) Reset ¶ added in v0.40.0
func (x *ListShipmentsRequest) Reset()
func (*ListShipmentsRequest) String ¶ added in v0.40.0
func (x *ListShipmentsRequest) String() string
type ListShipmentsResponse ¶ added in v0.40.0
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
added in
v0.40.0
func (*ListShipmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListShipmentsResponse.ProtoReflect.Descriptor instead.
func (*ListShipmentsResponse) GetNextPageToken ¶ added in v0.40.0
func (x *ListShipmentsResponse) GetNextPageToken() string
func (*ListShipmentsResponse) GetShipments ¶ added in v0.40.0
func (x *ListShipmentsResponse) GetShipments() []*Shipment
func (*ListShipmentsResponse) GetTotalSize ¶ added in v0.40.0
func (x *ListShipmentsResponse) GetTotalSize() int32
func (*ListShipmentsResponse) ProtoMessage ¶ added in v0.40.0
func (*ListShipmentsResponse) ProtoMessage()
func (*ListShipmentsResponse) ProtoReflect ¶ added in v0.40.0
func (x *ListShipmentsResponse) ProtoReflect() protoreflect.Message
func (*ListShipmentsResponse) Reset ¶ added in v0.40.0
func (x *ListShipmentsResponse) Reset()
func (*ListShipmentsResponse) String ¶ added in v0.40.0
func (x *ListShipmentsResponse) String() string
type ListToursRequest ¶ added in v0.40.0
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
added in
v0.40.0
func (*ListToursRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListToursRequest.ProtoReflect.Descriptor instead.
func (*ListToursRequest) GetOrderBy ¶ added in v0.40.0
func (x *ListToursRequest) GetOrderBy() string
func (*ListToursRequest) GetPageSize ¶ added in v0.40.0
func (x *ListToursRequest) GetPageSize() int32
func (*ListToursRequest) GetPageToken ¶ added in v0.40.0
func (x *ListToursRequest) GetPageToken() string
func (*ListToursRequest) GetParent ¶ added in v0.40.0
func (x *ListToursRequest) GetParent() string
func (*ListToursRequest) GetShowDeleted ¶ added in v0.40.0
func (x *ListToursRequest) GetShowDeleted() bool
func (*ListToursRequest) GetSkip ¶ added in v0.40.0
func (x *ListToursRequest) GetSkip() int32
func (*ListToursRequest) ProtoMessage ¶ added in v0.40.0
func (*ListToursRequest) ProtoMessage()
func (*ListToursRequest) ProtoReflect ¶ added in v0.40.0
func (x *ListToursRequest) ProtoReflect() protoreflect.Message
func (*ListToursRequest) Reset ¶ added in v0.40.0
func (x *ListToursRequest) Reset()
func (*ListToursRequest) String ¶ added in v0.40.0
func (x *ListToursRequest) String() string
type ListToursResponse ¶ added in v0.40.0
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
added in
v0.40.0
func (*ListToursResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListToursResponse.ProtoReflect.Descriptor instead.
func (*ListToursResponse) GetNextPageToken ¶ added in v0.40.0
func (x *ListToursResponse) GetNextPageToken() string
func (*ListToursResponse) GetTotalSize ¶ added in v0.40.0
func (x *ListToursResponse) GetTotalSize() int32
func (*ListToursResponse) GetTours ¶ added in v0.40.0
func (x *ListToursResponse) GetTours() []*Tour
func (*ListToursResponse) ProtoMessage ¶ added in v0.40.0
func (*ListToursResponse) ProtoMessage()
func (*ListToursResponse) ProtoReflect ¶ added in v0.40.0
func (x *ListToursResponse) ProtoReflect() protoreflect.Message
func (*ListToursResponse) Reset ¶ added in v0.40.0
func (x *ListToursResponse) Reset()
func (*ListToursResponse) String ¶ added in v0.40.0
func (x *ListToursResponse) String() string
type OrganizationResourceName ¶
type OrganizationResourceName struct {
Organization string
}
func (OrganizationResourceName) ContainsWildcard ¶
func (n OrganizationResourceName) ContainsWildcard() bool
func (OrganizationResourceName) MarshalString ¶
func (n OrganizationResourceName) MarshalString() (string, error)
func (OrganizationResourceName) String ¶
func (n OrganizationResourceName) String() string
func (*OrganizationResourceName) UnmarshalString ¶
func (n *OrganizationResourceName) UnmarshalString(name string) error
func (OrganizationResourceName) Validate ¶
func (n OrganizationResourceName) Validate() error
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 ¶ added in v0.45.0
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
added in
v0.45.0
func (*SearchToursRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchToursRequest.ProtoReflect.Descriptor instead.
func (*SearchToursRequest) GetOrderBy ¶ added in v0.45.0
func (x *SearchToursRequest) GetOrderBy() string
func (*SearchToursRequest) GetPageSize ¶ added in v0.45.0
func (x *SearchToursRequest) GetPageSize() int32
func (*SearchToursRequest) GetPageToken ¶ added in v0.45.0
func (x *SearchToursRequest) GetPageToken() string
func (*SearchToursRequest) GetParent ¶ added in v0.45.0
func (x *SearchToursRequest) GetParent() string
func (*SearchToursRequest) GetQuery ¶ added in v0.45.0
func (x *SearchToursRequest) GetQuery() string
func (*SearchToursRequest) GetShowDeleted ¶ added in v0.45.0
func (x *SearchToursRequest) GetShowDeleted() bool
func (*SearchToursRequest) GetSkip ¶ added in v0.45.0
func (x *SearchToursRequest) GetSkip() int32
func (*SearchToursRequest) ProtoMessage ¶ added in v0.45.0
func (*SearchToursRequest) ProtoMessage()
func (*SearchToursRequest) ProtoReflect ¶ added in v0.45.0
func (x *SearchToursRequest) ProtoReflect() protoreflect.Message
func (*SearchToursRequest) Reset ¶ added in v0.45.0
func (x *SearchToursRequest) Reset()
func (*SearchToursRequest) String ¶ added in v0.45.0
func (x *SearchToursRequest) String() string
type SearchToursResponse ¶ added in v0.45.0
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
added in
v0.45.0
func (*SearchToursResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchToursResponse.ProtoReflect.Descriptor instead.
func (*SearchToursResponse) GetNextPageToken ¶ added in v0.45.0
func (x *SearchToursResponse) GetNextPageToken() string
func (*SearchToursResponse) GetTotalSize ¶ added in v0.45.0
func (x *SearchToursResponse) GetTotalSize() int32
func (*SearchToursResponse) GetTours ¶ added in v0.45.0
func (x *SearchToursResponse) GetTours() []*Tour
func (*SearchToursResponse) ProtoMessage ¶ added in v0.45.0
func (*SearchToursResponse) ProtoMessage()
func (*SearchToursResponse) ProtoReflect ¶ added in v0.45.0
func (x *SearchToursResponse) ProtoReflect() protoreflect.Message
func (*SearchToursResponse) Reset ¶ added in v0.45.0
func (x *SearchToursResponse) Reset()
func (*SearchToursResponse) String ¶ added in v0.45.0
func (x *SearchToursResponse) String() string
type SenderResourceName ¶
func (SenderResourceName) ContainsWildcard ¶
func (n SenderResourceName) ContainsWildcard() bool
func (SenderResourceName) MarshalString ¶
func (n SenderResourceName) MarshalString() (string, error)
func (SenderResourceName) SpaceResourceName ¶
func (n SenderResourceName) SpaceResourceName() SpaceResourceName
func (SenderResourceName) String ¶
func (n SenderResourceName) String() string
func (*SenderResourceName) UnmarshalString ¶
func (n *SenderResourceName) UnmarshalString(name string) error
func (SenderResourceName) Validate ¶
func (n SenderResourceName) Validate() error
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) GetAnnotations ¶ added in v0.26.2
func (*Shipment) GetCreateTime ¶
func (x *Shipment) GetCreateTime() *timestamppb.Timestamp
func (*Shipment) GetDeleteTime ¶
func (x *Shipment) GetDeleteTime() *timestamppb.Timestamp
func (*Shipment) GetDeliveryAddress ¶ added in v0.13.0
func (*Shipment) GetDeliveryInstructions ¶
func (*Shipment) GetDeliveryState ¶
func (x *Shipment) GetDeliveryState() Shipment_DeliveryState
func (*Shipment) GetExternalReferenceId ¶
func (*Shipment) GetPickupAddress ¶ added in v0.13.0
func (*Shipment) GetPickupInstructions ¶
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) GetService ¶ added in v0.26.3
func (x *Shipment) GetService() Shipment_Service
func (*Shipment) GetState ¶
func (x *Shipment) GetState() Shipment_State
func (*Shipment) GetTrackingId ¶
func (*Shipment) GetUpdateTime ¶
func (x *Shipment) GetUpdateTime() *timestamppb.Timestamp
func (*Shipment) GetVehicle ¶ added in v0.26.1
func (*Shipment) ProtoMessage ¶
func (*Shipment) ProtoMessage()
func (*Shipment) ProtoReflect ¶
func (x *Shipment) ProtoReflect() protoreflect.Message
type ShipmentResourceName ¶
func (ShipmentResourceName) ContainsWildcard ¶
func (n ShipmentResourceName) ContainsWildcard() bool
func (ShipmentResourceName) MarshalString ¶
func (n ShipmentResourceName) MarshalString() (string, error)
func (ShipmentResourceName) ShipmentTrackingEventResourceName ¶ added in v0.12.0
func (n ShipmentResourceName) ShipmentTrackingEventResourceName( trackingEvent string, ) ShipmentTrackingEventResourceName
func (ShipmentResourceName) SpaceResourceName ¶
func (n ShipmentResourceName) SpaceResourceName() SpaceResourceName
func (ShipmentResourceName) String ¶
func (n ShipmentResourceName) String() string
func (*ShipmentResourceName) UnmarshalString ¶
func (n *ShipmentResourceName) UnmarshalString(name string) error
func (ShipmentResourceName) Validate ¶
func (n ShipmentResourceName) Validate() error
type ShipmentServiceAuthorization ¶
type ShipmentServiceAuthorization struct {
// contains filtered or unexported fields
}
func NewShipmentServiceAuthorization ¶
func NewShipmentServiceAuthorization( next ShipmentServiceServer, permissionTester iamcel.PermissionTester, callerResolver iamcaller.Resolver, ) (*ShipmentServiceAuthorization, error)
NewShipmentServiceAuthorization creates a new authorization middleware for ShipmentService.
func (*ShipmentServiceAuthorization) CancelShipment ¶ added in v0.34.0
func (a *ShipmentServiceAuthorization) CancelShipment( ctx context.Context, request *CancelShipmentRequest, ) (*Shipment, error)
func (*ShipmentServiceAuthorization) CreateShipment ¶
func (a *ShipmentServiceAuthorization) CreateShipment( ctx context.Context, request *CreateShipmentRequest, ) (*Shipment, error)
func (*ShipmentServiceAuthorization) GetShipment ¶
func (a *ShipmentServiceAuthorization) GetShipment( ctx context.Context, request *GetShipmentRequest, ) (*Shipment, error)
func (*ShipmentServiceAuthorization) ListShipments ¶ added in v0.40.0
func (a *ShipmentServiceAuthorization) ListShipments( ctx context.Context, request *ListShipmentsRequest, ) (*ListShipmentsResponse, error)
func (*ShipmentServiceAuthorization) ReleaseShipment ¶
func (a *ShipmentServiceAuthorization) ReleaseShipment( ctx context.Context, request *ReleaseShipmentRequest, ) (*Shipment, error)
func (*ShipmentServiceAuthorization) UpdateShipment ¶ added in v0.32.0
func (a *ShipmentServiceAuthorization) UpdateShipment( ctx context.Context, request *UpdateShipmentRequest, ) (*Shipment, error)
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.
func NewShipmentServiceClient ¶
func NewShipmentServiceClient(cc grpc.ClientConnInterface) ShipmentServiceClient
type ShipmentServiceIAMDescriptor ¶
type ShipmentServiceIAMDescriptor struct { CreateShipmentAuthorization *v1.MethodAuthorizationOptions GetShipmentAuthorization *v1.MethodAuthorizationOptions ListShipmentsAuthorization *v1.MethodAuthorizationOptions ReleaseShipmentAuthorization *v1.MethodAuthorizationOptions CancelShipmentAuthorization *v1.MethodAuthorizationOptions UpdateShipmentAuthorization *v1.MethodAuthorizationOptions }
func NewShipmentServiceIAMDescriptor ¶
func NewShipmentServiceIAMDescriptor() (*ShipmentServiceIAMDescriptor, error)
NewShipmentServiceIAMDescriptor returns a new ShipmentService IAM descriptor.
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 ShipmentServiceTestSuite ¶
type ShipmentServiceTestSuite struct { T *testing.T // Server to test. Server ShipmentServiceServer }
func (ShipmentServiceTestSuite) TestShipment ¶
func (fx ShipmentServiceTestSuite) TestShipment(ctx context.Context, options ShipmentTestSuiteConfig)
type ShipmentTestSuiteConfig ¶
type ShipmentTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *Shipment // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Shipment // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type ShipmentTrackingEvent ¶ added in v0.12.0
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
added in
v0.12.0
func (*ShipmentTrackingEvent) Descriptor() ([]byte, []int)
Deprecated: Use ShipmentTrackingEvent.ProtoReflect.Descriptor instead.
func (*ShipmentTrackingEvent) GetAddress ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetAddress() *Address
func (*ShipmentTrackingEvent) GetCode ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetCode() ShipmentTrackingEvent_EventCode
func (*ShipmentTrackingEvent) GetCreateTime ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetCreateTime() *timestamppb.Timestamp
func (*ShipmentTrackingEvent) GetDeleteTime ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetDeleteTime() *timestamppb.Timestamp
func (*ShipmentTrackingEvent) GetDescription ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetDescription() string
func (*ShipmentTrackingEvent) GetName ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetName() string
func (*ShipmentTrackingEvent) GetOccurredTime ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetOccurredTime() *timestamppb.Timestamp
func (*ShipmentTrackingEvent) GetShipment ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetShipment() string
func (*ShipmentTrackingEvent) GetUpdateTime ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) GetUpdateTime() *timestamppb.Timestamp
func (*ShipmentTrackingEvent) GetVehicle ¶ added in v0.21.0
func (x *ShipmentTrackingEvent) GetVehicle() *Vehicle
func (*ShipmentTrackingEvent) ProtoMessage ¶ added in v0.12.0
func (*ShipmentTrackingEvent) ProtoMessage()
func (*ShipmentTrackingEvent) ProtoReflect ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) ProtoReflect() protoreflect.Message
func (*ShipmentTrackingEvent) Reset ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) Reset()
func (*ShipmentTrackingEvent) String ¶ added in v0.12.0
func (x *ShipmentTrackingEvent) String() string
type ShipmentTrackingEventResourceName ¶ added in v0.12.0
func (ShipmentTrackingEventResourceName) ContainsWildcard ¶ added in v0.12.0
func (n ShipmentTrackingEventResourceName) ContainsWildcard() bool
func (ShipmentTrackingEventResourceName) MarshalString ¶ added in v0.12.0
func (n ShipmentTrackingEventResourceName) MarshalString() (string, error)
func (ShipmentTrackingEventResourceName) ShipmentResourceName ¶ added in v0.12.0
func (n ShipmentTrackingEventResourceName) ShipmentResourceName() ShipmentResourceName
func (ShipmentTrackingEventResourceName) SpaceResourceName ¶ added in v0.12.0
func (n ShipmentTrackingEventResourceName) SpaceResourceName() SpaceResourceName
func (ShipmentTrackingEventResourceName) String ¶ added in v0.12.0
func (n ShipmentTrackingEventResourceName) String() string
func (*ShipmentTrackingEventResourceName) UnmarshalString ¶ added in v0.12.0
func (n *ShipmentTrackingEventResourceName) UnmarshalString(name string) error
func (ShipmentTrackingEventResourceName) Validate ¶ added in v0.12.0
func (n ShipmentTrackingEventResourceName) Validate() error
type ShipmentTrackingEventServiceAuthorization ¶ added in v0.14.0
type ShipmentTrackingEventServiceAuthorization struct {
// contains filtered or unexported fields
}
func NewShipmentTrackingEventServiceAuthorization ¶ added in v0.14.0
func NewShipmentTrackingEventServiceAuthorization( next ShipmentTrackingEventServiceServer, permissionTester iamcel.PermissionTester, callerResolver iamcaller.Resolver, ) (*ShipmentTrackingEventServiceAuthorization, error)
NewShipmentTrackingEventServiceAuthorization creates a new authorization middleware for ShipmentTrackingEventService.
func (*ShipmentTrackingEventServiceAuthorization) CreateShipmentTrackingEvent ¶ added in v0.14.0
func (a *ShipmentTrackingEventServiceAuthorization) CreateShipmentTrackingEvent( ctx context.Context, request *CreateShipmentTrackingEventRequest, ) (*ShipmentTrackingEvent, error)
func (*ShipmentTrackingEventServiceAuthorization) GetShipmentTrackingEvent ¶ added in v0.14.0
func (a *ShipmentTrackingEventServiceAuthorization) GetShipmentTrackingEvent( ctx context.Context, request *GetShipmentTrackingEventRequest, ) (*ShipmentTrackingEvent, error)
func (*ShipmentTrackingEventServiceAuthorization) ListShipmentTrackingEvents ¶ added in v0.14.0
func (a *ShipmentTrackingEventServiceAuthorization) ListShipmentTrackingEvents( ctx context.Context, request *ListShipmentTrackingEventsRequest, ) (*ListShipmentTrackingEventsResponse, error)
type ShipmentTrackingEventServiceClient ¶ added in v0.12.0
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.
func NewShipmentTrackingEventServiceClient ¶ added in v0.12.0
func NewShipmentTrackingEventServiceClient(cc grpc.ClientConnInterface) ShipmentTrackingEventServiceClient
type ShipmentTrackingEventServiceIAMDescriptor ¶ added in v0.14.0
type ShipmentTrackingEventServiceIAMDescriptor struct { CreateShipmentTrackingEventAuthorization *v1.MethodAuthorizationOptions GetShipmentTrackingEventAuthorization *v1.MethodAuthorizationOptions ListShipmentTrackingEventsAuthorization *v1.MethodAuthorizationOptions }
func NewShipmentTrackingEventServiceIAMDescriptor ¶ added in v0.14.0
func NewShipmentTrackingEventServiceIAMDescriptor() (*ShipmentTrackingEventServiceIAMDescriptor, error)
NewShipmentTrackingEventServiceIAMDescriptor returns a new ShipmentTrackingEventService IAM descriptor.
type ShipmentTrackingEventServiceServer ¶ added in v0.12.0
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 ShipmentTrackingEventServiceTestSuite ¶ added in v0.12.0
type ShipmentTrackingEventServiceTestSuite struct { T *testing.T // Server to test. Server ShipmentTrackingEventServiceServer }
func (ShipmentTrackingEventServiceTestSuite) TestShipmentTrackingEvent ¶ added in v0.12.0
func (fx ShipmentTrackingEventServiceTestSuite) TestShipmentTrackingEvent(ctx context.Context, options ShipmentTrackingEventTestSuiteConfig)
type ShipmentTrackingEventTestSuiteConfig ¶ added in v0.12.0
type ShipmentTrackingEventTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *ShipmentTrackingEvent // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type ShipmentTrackingEvent_EventCode ¶ added in v0.12.0
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 ¶ added in v0.12.0
func (ShipmentTrackingEvent_EventCode) Descriptor() protoreflect.EnumDescriptor
func (ShipmentTrackingEvent_EventCode) Enum ¶ added in v0.12.0
func (x ShipmentTrackingEvent_EventCode) Enum() *ShipmentTrackingEvent_EventCode
func (ShipmentTrackingEvent_EventCode) EnumDescriptor
deprecated
added in
v0.12.0
func (ShipmentTrackingEvent_EventCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ShipmentTrackingEvent_EventCode.Descriptor instead.
func (ShipmentTrackingEvent_EventCode) Number ¶ added in v0.12.0
func (x ShipmentTrackingEvent_EventCode) Number() protoreflect.EnumNumber
func (ShipmentTrackingEvent_EventCode) String ¶ added in v0.12.0
func (x ShipmentTrackingEvent_EventCode) String() string
func (ShipmentTrackingEvent_EventCode) Type ¶ added in v0.12.0
func (ShipmentTrackingEvent_EventCode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Shipment_DeliveryState) Enum ¶
func (x Shipment_DeliveryState) Enum() *Shipment_DeliveryState
func (Shipment_DeliveryState) EnumDescriptor
deprecated
func (Shipment_DeliveryState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Shipment_DeliveryState.Descriptor instead.
func (Shipment_DeliveryState) Number ¶
func (x Shipment_DeliveryState) Number() protoreflect.EnumNumber
func (Shipment_DeliveryState) String ¶
func (x Shipment_DeliveryState) String() string
func (Shipment_DeliveryState) Type ¶
func (Shipment_DeliveryState) Type() protoreflect.EnumType
type Shipment_Service ¶ added in v0.26.3
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 ¶ added in v0.26.3
func (Shipment_Service) Descriptor() protoreflect.EnumDescriptor
func (Shipment_Service) Enum ¶ added in v0.26.3
func (x Shipment_Service) Enum() *Shipment_Service
func (Shipment_Service) EnumDescriptor
deprecated
added in
v0.26.3
func (Shipment_Service) EnumDescriptor() ([]byte, []int)
Deprecated: Use Shipment_Service.Descriptor instead.
func (Shipment_Service) Number ¶ added in v0.26.3
func (x Shipment_Service) Number() protoreflect.EnumNumber
func (Shipment_Service) String ¶ added in v0.26.3
func (x Shipment_Service) String() string
func (Shipment_Service) Type ¶ added in v0.26.3
func (Shipment_Service) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Shipment_State) Number() protoreflect.EnumNumber
func (Shipment_State) String ¶
func (x Shipment_State) String() string
func (Shipment_State) Type ¶
func (Shipment_State) Type() protoreflect.EnumType
type SpaceResourceName ¶
type SpaceResourceName struct {
Space string
}
func (SpaceResourceName) BookingResourceName ¶
func (n SpaceResourceName) BookingResourceName( booking string, ) BookingResourceName
func (SpaceResourceName) ContainsWildcard ¶
func (n SpaceResourceName) ContainsWildcard() bool
func (SpaceResourceName) MarshalString ¶
func (n SpaceResourceName) MarshalString() (string, error)
func (SpaceResourceName) SenderResourceName ¶
func (n SpaceResourceName) SenderResourceName( sender string, ) SenderResourceName
func (SpaceResourceName) ShipmentResourceName ¶
func (n SpaceResourceName) ShipmentResourceName( shipment string, ) ShipmentResourceName
func (SpaceResourceName) ShipmentTrackingEventResourceName ¶ added in v0.12.0
func (n SpaceResourceName) ShipmentTrackingEventResourceName( shipment string, trackingEvent string, ) ShipmentTrackingEventResourceName
func (SpaceResourceName) String ¶
func (n SpaceResourceName) String() string
func (SpaceResourceName) TourResourceName ¶ added in v0.31.0
func (n SpaceResourceName) TourResourceName( tour string, ) TourResourceName
func (*SpaceResourceName) UnmarshalString ¶
func (n *SpaceResourceName) UnmarshalString(name string) error
func (SpaceResourceName) Validate ¶
func (n SpaceResourceName) Validate() error
type Tour ¶ added in v0.31.0
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
added in
v0.31.0
func (*Tour) GetAnnotations ¶ added in v0.31.0
func (*Tour) GetAutomationRule ¶ added in v0.31.0
func (x *Tour) GetAutomationRule() Tour_AutomationRule
func (*Tour) GetCreateTime ¶ added in v0.31.0
func (x *Tour) GetCreateTime() *timestamppb.Timestamp
func (*Tour) GetCreatedShipments ¶ added in v0.35.0
func (*Tour) GetDeleteTime ¶ added in v0.31.0
func (x *Tour) GetDeleteTime() *timestamppb.Timestamp
func (*Tour) GetExternalReferenceId ¶ added in v0.31.0
func (*Tour) GetPreliminaryShipments ¶ added in v0.35.0
func (x *Tour) GetPreliminaryShipments() []*Tour_PreliminaryShipment
func (*Tour) GetServiceType ¶ added in v0.31.0
func (x *Tour) GetServiceType() Tour_ServiceType
func (*Tour) GetState ¶ added in v0.31.0
func (x *Tour) GetState() Tour_State
func (*Tour) GetType ¶ added in v0.31.0
func (x *Tour) GetType() Tour_TourType
func (*Tour) GetUpdateTime ¶ added in v0.31.0
func (x *Tour) GetUpdateTime() *timestamppb.Timestamp
func (*Tour) ProtoMessage ¶ added in v0.31.0
func (*Tour) ProtoMessage()
func (*Tour) ProtoReflect ¶ added in v0.31.0
func (x *Tour) ProtoReflect() protoreflect.Message
type TourResourceName ¶ added in v0.31.0
func (TourResourceName) ContainsWildcard ¶ added in v0.31.0
func (n TourResourceName) ContainsWildcard() bool
func (TourResourceName) MarshalString ¶ added in v0.31.0
func (n TourResourceName) MarshalString() (string, error)
func (TourResourceName) SpaceResourceName ¶ added in v0.31.0
func (n TourResourceName) SpaceResourceName() SpaceResourceName
func (TourResourceName) String ¶ added in v0.31.0
func (n TourResourceName) String() string
func (*TourResourceName) UnmarshalString ¶ added in v0.31.0
func (n *TourResourceName) UnmarshalString(name string) error
func (TourResourceName) Validate ¶ added in v0.31.0
func (n TourResourceName) Validate() error
type TourTestSuiteConfig ¶ added in v0.31.0
type TourTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *Tour // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Tour // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type Tour_AutomationRule ¶ added in v0.31.0
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 ¶ added in v0.31.0
func (Tour_AutomationRule) Descriptor() protoreflect.EnumDescriptor
func (Tour_AutomationRule) Enum ¶ added in v0.31.0
func (x Tour_AutomationRule) Enum() *Tour_AutomationRule
func (Tour_AutomationRule) EnumDescriptor
deprecated
added in
v0.31.0
func (Tour_AutomationRule) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tour_AutomationRule.Descriptor instead.
func (Tour_AutomationRule) Number ¶ added in v0.31.0
func (x Tour_AutomationRule) Number() protoreflect.EnumNumber
func (Tour_AutomationRule) String ¶ added in v0.31.0
func (x Tour_AutomationRule) String() string
func (Tour_AutomationRule) Type ¶ added in v0.31.0
func (Tour_AutomationRule) Type() protoreflect.EnumType
type Tour_PreliminaryShipment ¶ added in v0.35.0
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
added in
v0.35.0
func (*Tour_PreliminaryShipment) Descriptor() ([]byte, []int)
Deprecated: Use Tour_PreliminaryShipment.ProtoReflect.Descriptor instead.
func (*Tour_PreliminaryShipment) GetAnnotations ¶ added in v0.35.0
func (x *Tour_PreliminaryShipment) GetAnnotations() map[string]string
func (*Tour_PreliminaryShipment) GetExternalReferenceId ¶ added in v0.35.0
func (x *Tour_PreliminaryShipment) GetExternalReferenceId() string
func (*Tour_PreliminaryShipment) GetUnits ¶ added in v0.35.0
func (x *Tour_PreliminaryShipment) GetUnits() []*Unit
func (*Tour_PreliminaryShipment) ProtoMessage ¶ added in v0.35.0
func (*Tour_PreliminaryShipment) ProtoMessage()
func (*Tour_PreliminaryShipment) ProtoReflect ¶ added in v0.35.0
func (x *Tour_PreliminaryShipment) ProtoReflect() protoreflect.Message
func (*Tour_PreliminaryShipment) Reset ¶ added in v0.35.0
func (x *Tour_PreliminaryShipment) Reset()
func (*Tour_PreliminaryShipment) String ¶ added in v0.35.0
func (x *Tour_PreliminaryShipment) String() string
type Tour_ServiceType ¶ added in v0.31.0
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 ¶ added in v0.31.0
func (Tour_ServiceType) Descriptor() protoreflect.EnumDescriptor
func (Tour_ServiceType) Enum ¶ added in v0.31.0
func (x Tour_ServiceType) Enum() *Tour_ServiceType
func (Tour_ServiceType) EnumDescriptor
deprecated
added in
v0.31.0
func (Tour_ServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tour_ServiceType.Descriptor instead.
func (Tour_ServiceType) Number ¶ added in v0.31.0
func (x Tour_ServiceType) Number() protoreflect.EnumNumber
func (Tour_ServiceType) String ¶ added in v0.31.0
func (x Tour_ServiceType) String() string
func (Tour_ServiceType) Type ¶ added in v0.31.0
func (Tour_ServiceType) Type() protoreflect.EnumType
type Tour_State ¶ added in v0.31.0
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 // The tour is cancelled. Tour_CANCELLED Tour_State = 4 )
func (Tour_State) Descriptor ¶ added in v0.31.0
func (Tour_State) Descriptor() protoreflect.EnumDescriptor
func (Tour_State) Enum ¶ added in v0.31.0
func (x Tour_State) Enum() *Tour_State
func (Tour_State) EnumDescriptor
deprecated
added in
v0.31.0
func (Tour_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tour_State.Descriptor instead.
func (Tour_State) Number ¶ added in v0.31.0
func (x Tour_State) Number() protoreflect.EnumNumber
func (Tour_State) String ¶ added in v0.31.0
func (x Tour_State) String() string
func (Tour_State) Type ¶ added in v0.31.0
func (Tour_State) Type() protoreflect.EnumType
type Tour_Stop ¶ added in v0.31.0
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
added in
v0.31.0
func (*Tour_Stop) GetAddress ¶ added in v0.31.0
func (*Tour_Stop) GetContactPerson ¶ added in v0.36.0
func (*Tour_Stop) GetInstructions ¶ added in v0.31.0
func (*Tour_Stop) GetRequestedEndTime ¶ added in v0.31.0
func (x *Tour_Stop) GetRequestedEndTime() *timestamppb.Timestamp
func (*Tour_Stop) GetRequestedStartTime ¶ added in v0.31.0
func (x *Tour_Stop) GetRequestedStartTime() *timestamppb.Timestamp
func (*Tour_Stop) GetShipmentExternalReferenceIds ¶ added in v0.35.0
func (*Tour_Stop) GetStopType ¶ added in v0.31.0
func (x *Tour_Stop) GetStopType() Tour_Stop_Type
func (*Tour_Stop) ProtoMessage ¶ added in v0.31.0
func (*Tour_Stop) ProtoMessage()
func (*Tour_Stop) ProtoReflect ¶ added in v0.31.0
func (x *Tour_Stop) ProtoReflect() protoreflect.Message
type Tour_Stop_Type ¶ added in v0.31.0
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 ¶ added in v0.31.0
func (Tour_Stop_Type) Descriptor() protoreflect.EnumDescriptor
func (Tour_Stop_Type) Enum ¶ added in v0.31.0
func (x Tour_Stop_Type) Enum() *Tour_Stop_Type
func (Tour_Stop_Type) EnumDescriptor
deprecated
added in
v0.31.0
func (Tour_Stop_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tour_Stop_Type.Descriptor instead.
func (Tour_Stop_Type) Number ¶ added in v0.31.0
func (x Tour_Stop_Type) Number() protoreflect.EnumNumber
func (Tour_Stop_Type) String ¶ added in v0.31.0
func (x Tour_Stop_Type) String() string
func (Tour_Stop_Type) Type ¶ added in v0.31.0
func (Tour_Stop_Type) Type() protoreflect.EnumType
type Tour_TourType ¶ added in v0.31.0
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 ¶ added in v0.31.0
func (Tour_TourType) Descriptor() protoreflect.EnumDescriptor
func (Tour_TourType) Enum ¶ added in v0.31.0
func (x Tour_TourType) Enum() *Tour_TourType
func (Tour_TourType) EnumDescriptor
deprecated
added in
v0.31.0
func (Tour_TourType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tour_TourType.Descriptor instead.
func (Tour_TourType) Number ¶ added in v0.31.0
func (x Tour_TourType) Number() protoreflect.EnumNumber
func (Tour_TourType) String ¶ added in v0.31.0
func (x Tour_TourType) String() string
func (Tour_TourType) Type ¶ added in v0.31.0
func (Tour_TourType) Type() protoreflect.EnumType
type UnimplementedBookingServiceServer ¶ added in v0.20.0
type UnimplementedBookingServiceServer struct { }
UnimplementedBookingServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedBookingServiceServer) CancelTour ¶ added in v0.46.0
func (UnimplementedBookingServiceServer) CancelTour(context.Context, *CancelTourRequest) (*Tour, error)
func (UnimplementedBookingServiceServer) ConfirmTour ¶ added in v0.31.0
func (UnimplementedBookingServiceServer) ConfirmTour(context.Context, *ConfirmTourRequest) (*Tour, error)
func (UnimplementedBookingServiceServer) CreateTour ¶ added in v0.31.0
func (UnimplementedBookingServiceServer) CreateTour(context.Context, *CreateTourRequest) (*Tour, error)
func (UnimplementedBookingServiceServer) GetTour ¶ added in v0.31.0
func (UnimplementedBookingServiceServer) GetTour(context.Context, *GetTourRequest) (*Tour, error)
func (UnimplementedBookingServiceServer) ListTours ¶ added in v0.40.0
func (UnimplementedBookingServiceServer) ListTours(context.Context, *ListToursRequest) (*ListToursResponse, error)
func (UnimplementedBookingServiceServer) SearchTours ¶ added in v0.45.0
func (UnimplementedBookingServiceServer) SearchTours(context.Context, *SearchToursRequest) (*SearchToursResponse, error)
func (UnimplementedBookingServiceServer) UpdateTour ¶ added in v0.31.0
func (UnimplementedBookingServiceServer) UpdateTour(context.Context, *UpdateTourRequest) (*Tour, error)
type UnimplementedShipmentServiceServer ¶
type UnimplementedShipmentServiceServer struct { }
UnimplementedShipmentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedShipmentServiceServer) CancelShipment ¶ added in v0.34.0
func (UnimplementedShipmentServiceServer) CancelShipment(context.Context, *CancelShipmentRequest) (*Shipment, error)
func (UnimplementedShipmentServiceServer) CreateShipment ¶
func (UnimplementedShipmentServiceServer) CreateShipment(context.Context, *CreateShipmentRequest) (*Shipment, error)
func (UnimplementedShipmentServiceServer) GetShipment ¶
func (UnimplementedShipmentServiceServer) GetShipment(context.Context, *GetShipmentRequest) (*Shipment, error)
func (UnimplementedShipmentServiceServer) ListShipments ¶ added in v0.40.0
func (UnimplementedShipmentServiceServer) ListShipments(context.Context, *ListShipmentsRequest) (*ListShipmentsResponse, error)
func (UnimplementedShipmentServiceServer) ReleaseShipment ¶
func (UnimplementedShipmentServiceServer) ReleaseShipment(context.Context, *ReleaseShipmentRequest) (*Shipment, error)
func (UnimplementedShipmentServiceServer) UpdateShipment ¶ added in v0.32.0
func (UnimplementedShipmentServiceServer) UpdateShipment(context.Context, *UpdateShipmentRequest) (*Shipment, error)
type UnimplementedShipmentTrackingEventServiceServer ¶ added in v0.12.0
type UnimplementedShipmentTrackingEventServiceServer struct { }
UnimplementedShipmentTrackingEventServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedShipmentTrackingEventServiceServer) CreateShipmentTrackingEvent ¶ added in v0.12.0
func (UnimplementedShipmentTrackingEventServiceServer) CreateShipmentTrackingEvent(context.Context, *CreateShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
func (UnimplementedShipmentTrackingEventServiceServer) GetShipmentTrackingEvent ¶ added in v0.14.0
func (UnimplementedShipmentTrackingEventServiceServer) GetShipmentTrackingEvent(context.Context, *GetShipmentTrackingEventRequest) (*ShipmentTrackingEvent, error)
func (UnimplementedShipmentTrackingEventServiceServer) ListShipmentTrackingEvents ¶ added in v0.14.0
func (UnimplementedShipmentTrackingEventServiceServer) ListShipmentTrackingEvents(context.Context, *ListShipmentTrackingEventsRequest) (*ListShipmentTrackingEventsResponse, error)
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) GetDescription ¶
func (*Unit) GetExternalReferenceId ¶
func (*Unit) GetHeight ¶
func (x *Unit) GetHeight() *Unit_Length
func (*Unit) GetLength ¶
func (x *Unit) GetLength() *Unit_Length
func (*Unit) GetTrackingId ¶
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
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) Descriptor() protoreflect.EnumDescriptor
func (Unit_Length_Unit) Enum ¶
func (x Unit_Length_Unit) Enum() *Unit_Length_Unit
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 (x Unit_Length_Unit) Number() protoreflect.EnumNumber
func (Unit_Length_Unit) String ¶
func (x Unit_Length_Unit) String() string
func (Unit_Length_Unit) Type ¶
func (Unit_Length_Unit) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Unit_Volume_Unit) Enum ¶
func (x Unit_Volume_Unit) Enum() *Unit_Volume_Unit
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 (x Unit_Volume_Unit) Number() protoreflect.EnumNumber
func (Unit_Volume_Unit) String ¶
func (x Unit_Volume_Unit) String() string
func (Unit_Volume_Unit) Type ¶
func (Unit_Volume_Unit) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Unit_Weight_Unit) Enum ¶
func (x Unit_Weight_Unit) Enum() *Unit_Weight_Unit
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 (x Unit_Weight_Unit) Number() protoreflect.EnumNumber
func (Unit_Weight_Unit) String ¶
func (x Unit_Weight_Unit) String() string
func (Unit_Weight_Unit) Type ¶
func (Unit_Weight_Unit) Type() protoreflect.EnumType
type UnsafeBookingServiceServer ¶ added in v0.20.0
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 ¶ added in v0.12.0
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 ¶ added in v0.32.0
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
added in
v0.32.0
func (*UpdateShipmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateShipmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateShipmentRequest) GetShipment ¶ added in v0.32.0
func (x *UpdateShipmentRequest) GetShipment() *Shipment
func (*UpdateShipmentRequest) GetUpdateMask ¶ added in v0.32.0
func (x *UpdateShipmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateShipmentRequest) ProtoMessage ¶ added in v0.32.0
func (*UpdateShipmentRequest) ProtoMessage()
func (*UpdateShipmentRequest) ProtoReflect ¶ added in v0.32.0
func (x *UpdateShipmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateShipmentRequest) Reset ¶ added in v0.32.0
func (x *UpdateShipmentRequest) Reset()
func (*UpdateShipmentRequest) String ¶ added in v0.32.0
func (x *UpdateShipmentRequest) String() string
type UpdateTourRequest ¶ added in v0.31.0
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
added in
v0.31.0
func (*UpdateTourRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTourRequest.ProtoReflect.Descriptor instead.
func (*UpdateTourRequest) GetTour ¶ added in v0.31.0
func (x *UpdateTourRequest) GetTour() *Tour
func (*UpdateTourRequest) GetUpdateMask ¶ added in v0.31.0
func (x *UpdateTourRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTourRequest) ProtoMessage ¶ added in v0.31.0
func (*UpdateTourRequest) ProtoMessage()
func (*UpdateTourRequest) ProtoReflect ¶ added in v0.31.0
func (x *UpdateTourRequest) ProtoReflect() protoreflect.Message
func (*UpdateTourRequest) Reset ¶ added in v0.31.0
func (x *UpdateTourRequest) Reset()
func (*UpdateTourRequest) String ¶ added in v0.31.0
func (x *UpdateTourRequest) String() string
type UserResourceName ¶
type UserResourceName struct {
User string
}
func (UserResourceName) ContainsWildcard ¶
func (n UserResourceName) ContainsWildcard() bool
func (UserResourceName) MarshalString ¶
func (n UserResourceName) MarshalString() (string, error)
func (UserResourceName) String ¶
func (n UserResourceName) String() string
func (*UserResourceName) UnmarshalString ¶
func (n *UserResourceName) UnmarshalString(name string) error
func (UserResourceName) Validate ¶
func (n UserResourceName) Validate() error
type Vehicle ¶ added in v0.21.0
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
added in
v0.21.0
func (*Vehicle) GetCarrierReferenceId ¶ added in v0.24.0
func (*Vehicle) GetDriverReferenceId ¶ added in v0.21.0
func (*Vehicle) GetReferenceId ¶ added in v0.26.1
func (*Vehicle) ProtoMessage ¶ added in v0.21.0
func (*Vehicle) ProtoMessage()
func (*Vehicle) ProtoReflect ¶ added in v0.21.0
func (x *Vehicle) ProtoReflect() protoreflect.Message
Source Files ¶
- address.pb.go
- book_grpc_service_config.pb.go
- booking.pb.go
- booking_aip.go
- booking_service.pb.go
- booking_service_aiptest.pb.go
- booking_service_grpc.pb.go
- booking_service_iam.pb.go
- default_service_config.pb.go
- shipment.pb.go
- shipment_aip.go
- shipment_service.pb.go
- shipment_service_aip.go
- shipment_service_aiptest.pb.go
- shipment_service_grpc.pb.go
- shipment_service_iam.pb.go
- shipment_tracking_event.pb.go
- shipment_tracking_event_aip.go
- shipment_tracking_event_service.pb.go
- shipment_tracking_event_service_aiptest.pb.go
- shipment_tracking_event_service_grpc.pb.go
- shipment_tracking_event_service_iam.pb.go
- tour.pb.go
- tour_aip.go
- unit.pb.go
- vehicle.pb.go