From 99c7274a1abb9ea8754c08aeb95543a596ec2513 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 07:19:25 +0000 Subject: [PATCH] feat(deps): bump go.einride.tech/sage Bumps the go-dependencies group in /.sage with 1 update: [go.einride.tech/sage](https://github.com/einride/sage). Updates `go.einride.tech/sage` from 0.278.0 to 0.279.1 - [Release notes](https://github.com/einride/sage/releases) - [Commits](https://github.com/einride/sage/compare/v0.278.0...v0.279.1) --- updated-dependencies: - dependency-name: go.einride.tech/sage dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies ... Signed-off-by: dependabot[bot] --- .sage/go.mod | 2 +- .sage/go.sum | 4 +- .../auth/v1beta1/auth_service_grpc.pb.go | 10 +++-- .../book/v1beta1/booking_service_grpc.pb.go | 40 ++++++++++++------- .../book/v1beta1/shipment_service_grpc.pb.go | 35 ++++++++++------ ...shipment_tracking_event_service_grpc.pb.go | 20 ++++++---- .../auth/v1beta1/auth_service_grpc.pb.go | 10 +++-- .../book/v1beta1/booking_service_grpc.pb.go | 40 ++++++++++++------- .../book/v1beta1/shipment_service_grpc.pb.go | 35 ++++++++++------ ...shipment_tracking_event_service_grpc.pb.go | 20 ++++++---- 10 files changed, 137 insertions(+), 79 deletions(-) diff --git a/.sage/go.mod b/.sage/go.mod index b6864cc..4c2e916 100644 --- a/.sage/go.mod +++ b/.sage/go.mod @@ -2,4 +2,4 @@ module sage go 1.19 -require go.einride.tech/sage v0.278.0 +require go.einride.tech/sage v0.279.1 diff --git a/.sage/go.sum b/.sage/go.sum index c60919c..d3ec738 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.278.0 h1:I3J2eM/5dIo6YYuozGE2hTNEjJpIaM/jESOY7tlfwZo= -go.einride.tech/sage v0.278.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= +go.einride.tech/sage v0.279.1 h1:Xq8I4eYG1aqpU8L+kasIX129q0UEyWkH+iyagi7gQgM= +go.einride.tech/sage v0.279.1/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= diff --git a/cmd/saga/gen/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go b/cmd/saga/gen/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go index 085e6d2..2235056 100644 --- a/cmd/saga/gen/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go +++ b/cmd/saga/gen/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/auth/v1beta1/auth_service.proto @@ -18,6 +18,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + AuthenticationService_ExchangeSecret_FullMethodName = "/einride.saga.extend.auth.v1beta1.AuthenticationService/ExchangeSecret" +) + // AuthenticationServiceClient is the client API for AuthenticationService 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. @@ -36,7 +40,7 @@ func NewAuthenticationServiceClient(cc grpc.ClientConnInterface) AuthenticationS func (c *authenticationServiceClient) ExchangeSecret(ctx context.Context, in *ExchangeSecretRequest, opts ...grpc.CallOption) (*ExchangeSecretResponse, error) { out := new(ExchangeSecretResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.auth.v1beta1.AuthenticationService/ExchangeSecret", in, out, opts...) + err := c.cc.Invoke(ctx, AuthenticationService_ExchangeSecret_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +84,7 @@ func _AuthenticationService_ExchangeSecret_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.auth.v1beta1.AuthenticationService/ExchangeSecret", + FullMethod: AuthenticationService_ExchangeSecret_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AuthenticationServiceServer).ExchangeSecret(ctx, req.(*ExchangeSecretRequest)) diff --git a/cmd/saga/gen/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go b/cmd/saga/gen/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go index b1d9b6e..7130955 100644 --- a/cmd/saga/gen/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go +++ b/cmd/saga/gen/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/book/v1beta1/booking_service.proto @@ -18,6 +18,16 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -62,7 +72,7 @@ func NewBookingServiceClient(cc grpc.ClientConnInterface) BookingServiceClient { func (c *bookingServiceClient) CreateTour(ctx context.Context, in *CreateTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/CreateTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_CreateTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -71,7 +81,7 @@ func (c *bookingServiceClient) CreateTour(ctx context.Context, in *CreateTourReq func (c *bookingServiceClient) GetTour(ctx context.Context, in *GetTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/GetTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_GetTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +90,7 @@ func (c *bookingServiceClient) GetTour(ctx context.Context, in *GetTourRequest, func (c *bookingServiceClient) ListTours(ctx context.Context, in *ListToursRequest, opts ...grpc.CallOption) (*ListToursResponse, error) { out := new(ListToursResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/ListTours", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_ListTours_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -89,7 +99,7 @@ func (c *bookingServiceClient) ListTours(ctx context.Context, in *ListToursReque func (c *bookingServiceClient) SearchTours(ctx context.Context, in *SearchToursRequest, opts ...grpc.CallOption) (*SearchToursResponse, error) { out := new(SearchToursResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/SearchTours", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_SearchTours_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -98,7 +108,7 @@ func (c *bookingServiceClient) SearchTours(ctx context.Context, in *SearchToursR func (c *bookingServiceClient) ConfirmTour(ctx context.Context, in *ConfirmTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/ConfirmTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_ConfirmTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -107,7 +117,7 @@ func (c *bookingServiceClient) ConfirmTour(ctx context.Context, in *ConfirmTourR func (c *bookingServiceClient) UpdateTour(ctx context.Context, in *UpdateTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/UpdateTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_UpdateTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -116,7 +126,7 @@ func (c *bookingServiceClient) UpdateTour(ctx context.Context, in *UpdateTourReq func (c *bookingServiceClient) CancelTour(ctx context.Context, in *CancelTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/CancelTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_CancelTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -204,7 +214,7 @@ func _BookingService_CreateTour_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/CreateTour", + FullMethod: BookingService_CreateTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).CreateTour(ctx, req.(*CreateTourRequest)) @@ -222,7 +232,7 @@ func _BookingService_GetTour_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/GetTour", + FullMethod: BookingService_GetTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).GetTour(ctx, req.(*GetTourRequest)) @@ -240,7 +250,7 @@ func _BookingService_ListTours_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/ListTours", + FullMethod: BookingService_ListTours_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).ListTours(ctx, req.(*ListToursRequest)) @@ -258,7 +268,7 @@ func _BookingService_SearchTours_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/SearchTours", + FullMethod: BookingService_SearchTours_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).SearchTours(ctx, req.(*SearchToursRequest)) @@ -276,7 +286,7 @@ func _BookingService_ConfirmTour_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/ConfirmTour", + FullMethod: BookingService_ConfirmTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).ConfirmTour(ctx, req.(*ConfirmTourRequest)) @@ -294,7 +304,7 @@ func _BookingService_UpdateTour_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/UpdateTour", + FullMethod: BookingService_UpdateTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).UpdateTour(ctx, req.(*UpdateTourRequest)) @@ -312,7 +322,7 @@ func _BookingService_CancelTour_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/CancelTour", + FullMethod: BookingService_CancelTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).CancelTour(ctx, req.(*CancelTourRequest)) diff --git a/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go b/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go index 1a82213..ddc5210 100644 --- a/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go +++ b/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/book/v1beta1/shipment_service.proto @@ -18,6 +18,15 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -62,7 +71,7 @@ func NewShipmentServiceClient(cc grpc.ClientConnInterface) ShipmentServiceClient func (c *shipmentServiceClient) CreateShipment(ctx context.Context, in *CreateShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/CreateShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_CreateShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -71,7 +80,7 @@ func (c *shipmentServiceClient) CreateShipment(ctx context.Context, in *CreateSh func (c *shipmentServiceClient) GetShipment(ctx context.Context, in *GetShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/GetShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_GetShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +89,7 @@ func (c *shipmentServiceClient) GetShipment(ctx context.Context, in *GetShipment func (c *shipmentServiceClient) ListShipments(ctx context.Context, in *ListShipmentsRequest, opts ...grpc.CallOption) (*ListShipmentsResponse, error) { out := new(ListShipmentsResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/ListShipments", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_ListShipments_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -89,7 +98,7 @@ func (c *shipmentServiceClient) ListShipments(ctx context.Context, in *ListShipm func (c *shipmentServiceClient) ReleaseShipment(ctx context.Context, in *ReleaseShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/ReleaseShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_ReleaseShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -98,7 +107,7 @@ func (c *shipmentServiceClient) ReleaseShipment(ctx context.Context, in *Release func (c *shipmentServiceClient) CancelShipment(ctx context.Context, in *CancelShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/CancelShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_CancelShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -107,7 +116,7 @@ func (c *shipmentServiceClient) CancelShipment(ctx context.Context, in *CancelSh func (c *shipmentServiceClient) UpdateShipment(ctx context.Context, in *UpdateShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/UpdateShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_UpdateShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -192,7 +201,7 @@ func _ShipmentService_CreateShipment_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/CreateShipment", + FullMethod: ShipmentService_CreateShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).CreateShipment(ctx, req.(*CreateShipmentRequest)) @@ -210,7 +219,7 @@ func _ShipmentService_GetShipment_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/GetShipment", + FullMethod: ShipmentService_GetShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).GetShipment(ctx, req.(*GetShipmentRequest)) @@ -228,7 +237,7 @@ func _ShipmentService_ListShipments_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/ListShipments", + FullMethod: ShipmentService_ListShipments_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).ListShipments(ctx, req.(*ListShipmentsRequest)) @@ -246,7 +255,7 @@ func _ShipmentService_ReleaseShipment_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/ReleaseShipment", + FullMethod: ShipmentService_ReleaseShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).ReleaseShipment(ctx, req.(*ReleaseShipmentRequest)) @@ -264,7 +273,7 @@ func _ShipmentService_CancelShipment_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/CancelShipment", + FullMethod: ShipmentService_CancelShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).CancelShipment(ctx, req.(*CancelShipmentRequest)) @@ -282,7 +291,7 @@ func _ShipmentService_UpdateShipment_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/UpdateShipment", + FullMethod: ShipmentService_UpdateShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).UpdateShipment(ctx, req.(*UpdateShipmentRequest)) diff --git a/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go b/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go index 4d4c2ba..7d388a4 100644 --- a/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go +++ b/cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/book/v1beta1/shipment_tracking_event_service.proto @@ -18,6 +18,12 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -46,7 +52,7 @@ func NewShipmentTrackingEventServiceClient(cc grpc.ClientConnInterface) Shipment func (c *shipmentTrackingEventServiceClient) CreateShipmentTrackingEvent(ctx context.Context, in *CreateShipmentTrackingEventRequest, opts ...grpc.CallOption) (*ShipmentTrackingEvent, error) { out := new(ShipmentTrackingEvent) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/CreateShipmentTrackingEvent", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentTrackingEventService_CreateShipmentTrackingEvent_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -55,7 +61,7 @@ func (c *shipmentTrackingEventServiceClient) CreateShipmentTrackingEvent(ctx con func (c *shipmentTrackingEventServiceClient) GetShipmentTrackingEvent(ctx context.Context, in *GetShipmentTrackingEventRequest, opts ...grpc.CallOption) (*ShipmentTrackingEvent, error) { out := new(ShipmentTrackingEvent) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/GetShipmentTrackingEvent", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentTrackingEventService_GetShipmentTrackingEvent_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -64,7 +70,7 @@ func (c *shipmentTrackingEventServiceClient) GetShipmentTrackingEvent(ctx contex func (c *shipmentTrackingEventServiceClient) ListShipmentTrackingEvents(ctx context.Context, in *ListShipmentTrackingEventsRequest, opts ...grpc.CallOption) (*ListShipmentTrackingEventsResponse, error) { out := new(ListShipmentTrackingEventsResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/ListShipmentTrackingEvents", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentTrackingEventService_ListShipmentTrackingEvents_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -124,7 +130,7 @@ func _ShipmentTrackingEventService_CreateShipmentTrackingEvent_Handler(srv inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/CreateShipmentTrackingEvent", + FullMethod: ShipmentTrackingEventService_CreateShipmentTrackingEvent_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentTrackingEventServiceServer).CreateShipmentTrackingEvent(ctx, req.(*CreateShipmentTrackingEventRequest)) @@ -142,7 +148,7 @@ func _ShipmentTrackingEventService_GetShipmentTrackingEvent_Handler(srv interfac } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/GetShipmentTrackingEvent", + FullMethod: ShipmentTrackingEventService_GetShipmentTrackingEvent_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentTrackingEventServiceServer).GetShipmentTrackingEvent(ctx, req.(*GetShipmentTrackingEventRequest)) @@ -160,7 +166,7 @@ func _ShipmentTrackingEventService_ListShipmentTrackingEvents_Handler(srv interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/ListShipmentTrackingEvents", + FullMethod: ShipmentTrackingEventService_ListShipmentTrackingEvents_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentTrackingEventServiceServer).ListShipmentTrackingEvents(ctx, req.(*ListShipmentTrackingEventsRequest)) diff --git a/proto/gen/go/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go b/proto/gen/go/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go index 085e6d2..2235056 100644 --- a/proto/gen/go/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go +++ b/proto/gen/go/einride/saga/extend/auth/v1beta1/auth_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/auth/v1beta1/auth_service.proto @@ -18,6 +18,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + AuthenticationService_ExchangeSecret_FullMethodName = "/einride.saga.extend.auth.v1beta1.AuthenticationService/ExchangeSecret" +) + // AuthenticationServiceClient is the client API for AuthenticationService 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. @@ -36,7 +40,7 @@ func NewAuthenticationServiceClient(cc grpc.ClientConnInterface) AuthenticationS func (c *authenticationServiceClient) ExchangeSecret(ctx context.Context, in *ExchangeSecretRequest, opts ...grpc.CallOption) (*ExchangeSecretResponse, error) { out := new(ExchangeSecretResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.auth.v1beta1.AuthenticationService/ExchangeSecret", in, out, opts...) + err := c.cc.Invoke(ctx, AuthenticationService_ExchangeSecret_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +84,7 @@ func _AuthenticationService_ExchangeSecret_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.auth.v1beta1.AuthenticationService/ExchangeSecret", + FullMethod: AuthenticationService_ExchangeSecret_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AuthenticationServiceServer).ExchangeSecret(ctx, req.(*ExchangeSecretRequest)) diff --git a/proto/gen/go/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go b/proto/gen/go/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go index b1d9b6e..7130955 100644 --- a/proto/gen/go/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go +++ b/proto/gen/go/einride/saga/extend/book/v1beta1/booking_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/book/v1beta1/booking_service.proto @@ -18,6 +18,16 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -62,7 +72,7 @@ func NewBookingServiceClient(cc grpc.ClientConnInterface) BookingServiceClient { func (c *bookingServiceClient) CreateTour(ctx context.Context, in *CreateTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/CreateTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_CreateTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -71,7 +81,7 @@ func (c *bookingServiceClient) CreateTour(ctx context.Context, in *CreateTourReq func (c *bookingServiceClient) GetTour(ctx context.Context, in *GetTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/GetTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_GetTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +90,7 @@ func (c *bookingServiceClient) GetTour(ctx context.Context, in *GetTourRequest, func (c *bookingServiceClient) ListTours(ctx context.Context, in *ListToursRequest, opts ...grpc.CallOption) (*ListToursResponse, error) { out := new(ListToursResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/ListTours", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_ListTours_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -89,7 +99,7 @@ func (c *bookingServiceClient) ListTours(ctx context.Context, in *ListToursReque func (c *bookingServiceClient) SearchTours(ctx context.Context, in *SearchToursRequest, opts ...grpc.CallOption) (*SearchToursResponse, error) { out := new(SearchToursResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/SearchTours", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_SearchTours_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -98,7 +108,7 @@ func (c *bookingServiceClient) SearchTours(ctx context.Context, in *SearchToursR func (c *bookingServiceClient) ConfirmTour(ctx context.Context, in *ConfirmTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/ConfirmTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_ConfirmTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -107,7 +117,7 @@ func (c *bookingServiceClient) ConfirmTour(ctx context.Context, in *ConfirmTourR func (c *bookingServiceClient) UpdateTour(ctx context.Context, in *UpdateTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/UpdateTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_UpdateTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -116,7 +126,7 @@ func (c *bookingServiceClient) UpdateTour(ctx context.Context, in *UpdateTourReq func (c *bookingServiceClient) CancelTour(ctx context.Context, in *CancelTourRequest, opts ...grpc.CallOption) (*Tour, error) { out := new(Tour) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.BookingService/CancelTour", in, out, opts...) + err := c.cc.Invoke(ctx, BookingService_CancelTour_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -204,7 +214,7 @@ func _BookingService_CreateTour_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/CreateTour", + FullMethod: BookingService_CreateTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).CreateTour(ctx, req.(*CreateTourRequest)) @@ -222,7 +232,7 @@ func _BookingService_GetTour_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/GetTour", + FullMethod: BookingService_GetTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).GetTour(ctx, req.(*GetTourRequest)) @@ -240,7 +250,7 @@ func _BookingService_ListTours_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/ListTours", + FullMethod: BookingService_ListTours_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).ListTours(ctx, req.(*ListToursRequest)) @@ -258,7 +268,7 @@ func _BookingService_SearchTours_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/SearchTours", + FullMethod: BookingService_SearchTours_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).SearchTours(ctx, req.(*SearchToursRequest)) @@ -276,7 +286,7 @@ func _BookingService_ConfirmTour_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/ConfirmTour", + FullMethod: BookingService_ConfirmTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).ConfirmTour(ctx, req.(*ConfirmTourRequest)) @@ -294,7 +304,7 @@ func _BookingService_UpdateTour_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/UpdateTour", + FullMethod: BookingService_UpdateTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).UpdateTour(ctx, req.(*UpdateTourRequest)) @@ -312,7 +322,7 @@ func _BookingService_CancelTour_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.BookingService/CancelTour", + FullMethod: BookingService_CancelTour_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BookingServiceServer).CancelTour(ctx, req.(*CancelTourRequest)) diff --git a/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go b/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go index 1a82213..ddc5210 100644 --- a/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go +++ b/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/book/v1beta1/shipment_service.proto @@ -18,6 +18,15 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -62,7 +71,7 @@ func NewShipmentServiceClient(cc grpc.ClientConnInterface) ShipmentServiceClient func (c *shipmentServiceClient) CreateShipment(ctx context.Context, in *CreateShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/CreateShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_CreateShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -71,7 +80,7 @@ func (c *shipmentServiceClient) CreateShipment(ctx context.Context, in *CreateSh func (c *shipmentServiceClient) GetShipment(ctx context.Context, in *GetShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/GetShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_GetShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +89,7 @@ func (c *shipmentServiceClient) GetShipment(ctx context.Context, in *GetShipment func (c *shipmentServiceClient) ListShipments(ctx context.Context, in *ListShipmentsRequest, opts ...grpc.CallOption) (*ListShipmentsResponse, error) { out := new(ListShipmentsResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/ListShipments", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_ListShipments_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -89,7 +98,7 @@ func (c *shipmentServiceClient) ListShipments(ctx context.Context, in *ListShipm func (c *shipmentServiceClient) ReleaseShipment(ctx context.Context, in *ReleaseShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/ReleaseShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_ReleaseShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -98,7 +107,7 @@ func (c *shipmentServiceClient) ReleaseShipment(ctx context.Context, in *Release func (c *shipmentServiceClient) CancelShipment(ctx context.Context, in *CancelShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/CancelShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_CancelShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -107,7 +116,7 @@ func (c *shipmentServiceClient) CancelShipment(ctx context.Context, in *CancelSh func (c *shipmentServiceClient) UpdateShipment(ctx context.Context, in *UpdateShipmentRequest, opts ...grpc.CallOption) (*Shipment, error) { out := new(Shipment) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentService/UpdateShipment", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentService_UpdateShipment_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -192,7 +201,7 @@ func _ShipmentService_CreateShipment_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/CreateShipment", + FullMethod: ShipmentService_CreateShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).CreateShipment(ctx, req.(*CreateShipmentRequest)) @@ -210,7 +219,7 @@ func _ShipmentService_GetShipment_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/GetShipment", + FullMethod: ShipmentService_GetShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).GetShipment(ctx, req.(*GetShipmentRequest)) @@ -228,7 +237,7 @@ func _ShipmentService_ListShipments_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/ListShipments", + FullMethod: ShipmentService_ListShipments_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).ListShipments(ctx, req.(*ListShipmentsRequest)) @@ -246,7 +255,7 @@ func _ShipmentService_ReleaseShipment_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/ReleaseShipment", + FullMethod: ShipmentService_ReleaseShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).ReleaseShipment(ctx, req.(*ReleaseShipmentRequest)) @@ -264,7 +273,7 @@ func _ShipmentService_CancelShipment_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/CancelShipment", + FullMethod: ShipmentService_CancelShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).CancelShipment(ctx, req.(*CancelShipmentRequest)) @@ -282,7 +291,7 @@ func _ShipmentService_UpdateShipment_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentService/UpdateShipment", + FullMethod: ShipmentService_UpdateShipment_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentServiceServer).UpdateShipment(ctx, req.(*UpdateShipmentRequest)) diff --git a/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go b/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go index 4d4c2ba..7d388a4 100644 --- a/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go +++ b/proto/gen/go/einride/saga/extend/book/v1beta1/shipment_tracking_event_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: einride/saga/extend/book/v1beta1/shipment_tracking_event_service.proto @@ -18,6 +18,12 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -46,7 +52,7 @@ func NewShipmentTrackingEventServiceClient(cc grpc.ClientConnInterface) Shipment func (c *shipmentTrackingEventServiceClient) CreateShipmentTrackingEvent(ctx context.Context, in *CreateShipmentTrackingEventRequest, opts ...grpc.CallOption) (*ShipmentTrackingEvent, error) { out := new(ShipmentTrackingEvent) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/CreateShipmentTrackingEvent", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentTrackingEventService_CreateShipmentTrackingEvent_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -55,7 +61,7 @@ func (c *shipmentTrackingEventServiceClient) CreateShipmentTrackingEvent(ctx con func (c *shipmentTrackingEventServiceClient) GetShipmentTrackingEvent(ctx context.Context, in *GetShipmentTrackingEventRequest, opts ...grpc.CallOption) (*ShipmentTrackingEvent, error) { out := new(ShipmentTrackingEvent) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/GetShipmentTrackingEvent", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentTrackingEventService_GetShipmentTrackingEvent_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -64,7 +70,7 @@ func (c *shipmentTrackingEventServiceClient) GetShipmentTrackingEvent(ctx contex func (c *shipmentTrackingEventServiceClient) ListShipmentTrackingEvents(ctx context.Context, in *ListShipmentTrackingEventsRequest, opts ...grpc.CallOption) (*ListShipmentTrackingEventsResponse, error) { out := new(ListShipmentTrackingEventsResponse) - err := c.cc.Invoke(ctx, "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/ListShipmentTrackingEvents", in, out, opts...) + err := c.cc.Invoke(ctx, ShipmentTrackingEventService_ListShipmentTrackingEvents_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -124,7 +130,7 @@ func _ShipmentTrackingEventService_CreateShipmentTrackingEvent_Handler(srv inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/CreateShipmentTrackingEvent", + FullMethod: ShipmentTrackingEventService_CreateShipmentTrackingEvent_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentTrackingEventServiceServer).CreateShipmentTrackingEvent(ctx, req.(*CreateShipmentTrackingEventRequest)) @@ -142,7 +148,7 @@ func _ShipmentTrackingEventService_GetShipmentTrackingEvent_Handler(srv interfac } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/GetShipmentTrackingEvent", + FullMethod: ShipmentTrackingEventService_GetShipmentTrackingEvent_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentTrackingEventServiceServer).GetShipmentTrackingEvent(ctx, req.(*GetShipmentTrackingEventRequest)) @@ -160,7 +166,7 @@ func _ShipmentTrackingEventService_ListShipmentTrackingEvents_Handler(srv interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/einride.saga.extend.book.v1beta1.ShipmentTrackingEventService/ListShipmentTrackingEvents", + FullMethod: ShipmentTrackingEventService_ListShipmentTrackingEvents_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ShipmentTrackingEventServiceServer).ListShipmentTrackingEvents(ctx, req.(*ListShipmentTrackingEventsRequest))