Documentation ¶
Overview ¶
Package ova_journey_api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterJourneyApiV1Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterJourneyApiV1HandlerClient(ctx context.Context, mux *runtime.ServeMux, client JourneyApiV1Client) error
- func RegisterJourneyApiV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterJourneyApiV1HandlerServer(ctx context.Context, mux *runtime.ServeMux, server JourneyApiV1Server) error
- func RegisterJourneyApiV1Server(s grpc.ServiceRegistrar, srv JourneyApiV1Server)
- type CreateJourneyRequestV1
- func (*CreateJourneyRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJourneyRequestV1) GetAddress() string
- func (x *CreateJourneyRequestV1) GetDescription() string
- func (x *CreateJourneyRequestV1) GetEndTime() *timestamppb.Timestamp
- func (x *CreateJourneyRequestV1) GetStartTime() *timestamppb.Timestamp
- func (x *CreateJourneyRequestV1) GetUserId() uint64
- func (*CreateJourneyRequestV1) ProtoMessage()
- func (x *CreateJourneyRequestV1) ProtoReflect() protoreflect.Message
- func (x *CreateJourneyRequestV1) Reset()
- func (x *CreateJourneyRequestV1) String() string
- func (m *CreateJourneyRequestV1) Validate() error
- type CreateJourneyRequestV1ValidationError
- func (e CreateJourneyRequestV1ValidationError) Cause() error
- func (e CreateJourneyRequestV1ValidationError) Error() string
- func (e CreateJourneyRequestV1ValidationError) ErrorName() string
- func (e CreateJourneyRequestV1ValidationError) Field() string
- func (e CreateJourneyRequestV1ValidationError) Key() bool
- func (e CreateJourneyRequestV1ValidationError) Reason() string
- type CreateJourneyResponseV1
- func (*CreateJourneyResponseV1) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJourneyResponseV1) GetJourneyId() uint64
- func (*CreateJourneyResponseV1) ProtoMessage()
- func (x *CreateJourneyResponseV1) ProtoReflect() protoreflect.Message
- func (x *CreateJourneyResponseV1) Reset()
- func (x *CreateJourneyResponseV1) String() string
- func (m *CreateJourneyResponseV1) Validate() error
- type CreateJourneyResponseV1ValidationError
- func (e CreateJourneyResponseV1ValidationError) Cause() error
- func (e CreateJourneyResponseV1ValidationError) Error() string
- func (e CreateJourneyResponseV1ValidationError) ErrorName() string
- func (e CreateJourneyResponseV1ValidationError) Field() string
- func (e CreateJourneyResponseV1ValidationError) Key() bool
- func (e CreateJourneyResponseV1ValidationError) Reason() string
- type CreateJourneyTaskRequestV1
- func (*CreateJourneyTaskRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJourneyTaskRequestV1) GetAddress() string
- func (x *CreateJourneyTaskRequestV1) GetDescription() string
- func (x *CreateJourneyTaskRequestV1) GetEndTime() *timestamppb.Timestamp
- func (x *CreateJourneyTaskRequestV1) GetStartTime() *timestamppb.Timestamp
- func (x *CreateJourneyTaskRequestV1) GetUserId() uint64
- func (*CreateJourneyTaskRequestV1) ProtoMessage()
- func (x *CreateJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
- func (x *CreateJourneyTaskRequestV1) Reset()
- func (x *CreateJourneyTaskRequestV1) String() string
- func (m *CreateJourneyTaskRequestV1) Validate() error
- type CreateJourneyTaskRequestV1ValidationError
- func (e CreateJourneyTaskRequestV1ValidationError) Cause() error
- func (e CreateJourneyTaskRequestV1ValidationError) Error() string
- func (e CreateJourneyTaskRequestV1ValidationError) ErrorName() string
- func (e CreateJourneyTaskRequestV1ValidationError) Field() string
- func (e CreateJourneyTaskRequestV1ValidationError) Key() bool
- func (e CreateJourneyTaskRequestV1ValidationError) Reason() string
- type DescribeJourneyRequestV1
- func (*DescribeJourneyRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeJourneyRequestV1) GetJourneyId() uint64
- func (*DescribeJourneyRequestV1) ProtoMessage()
- func (x *DescribeJourneyRequestV1) ProtoReflect() protoreflect.Message
- func (x *DescribeJourneyRequestV1) Reset()
- func (x *DescribeJourneyRequestV1) String() string
- func (m *DescribeJourneyRequestV1) Validate() error
- type DescribeJourneyRequestV1ValidationError
- func (e DescribeJourneyRequestV1ValidationError) Cause() error
- func (e DescribeJourneyRequestV1ValidationError) Error() string
- func (e DescribeJourneyRequestV1ValidationError) ErrorName() string
- func (e DescribeJourneyRequestV1ValidationError) Field() string
- func (e DescribeJourneyRequestV1ValidationError) Key() bool
- func (e DescribeJourneyRequestV1ValidationError) Reason() string
- type DescribeJourneyResponseV1
- func (*DescribeJourneyResponseV1) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeJourneyResponseV1) GetJourney() *Journey
- func (*DescribeJourneyResponseV1) ProtoMessage()
- func (x *DescribeJourneyResponseV1) ProtoReflect() protoreflect.Message
- func (x *DescribeJourneyResponseV1) Reset()
- func (x *DescribeJourneyResponseV1) String() string
- func (m *DescribeJourneyResponseV1) Validate() error
- type DescribeJourneyResponseV1ValidationError
- func (e DescribeJourneyResponseV1ValidationError) Cause() error
- func (e DescribeJourneyResponseV1ValidationError) Error() string
- func (e DescribeJourneyResponseV1ValidationError) ErrorName() string
- func (e DescribeJourneyResponseV1ValidationError) Field() string
- func (e DescribeJourneyResponseV1ValidationError) Key() bool
- func (e DescribeJourneyResponseV1ValidationError) Reason() string
- type Journey
- func (*Journey) Descriptor() ([]byte, []int)deprecated
- func (x *Journey) GetAddress() string
- func (x *Journey) GetDescription() string
- func (x *Journey) GetEndTime() *timestamppb.Timestamp
- func (x *Journey) GetJourneyId() uint64
- func (x *Journey) GetStartTime() *timestamppb.Timestamp
- func (x *Journey) GetUserId() uint64
- func (*Journey) ProtoMessage()
- func (x *Journey) ProtoReflect() protoreflect.Message
- func (x *Journey) Reset()
- func (x *Journey) String() string
- func (m *Journey) Validate() error
- type JourneyApiV1Client
- type JourneyApiV1Server
- type JourneyValidationError
- type ListJourneysRequestV1
- func (*ListJourneysRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *ListJourneysRequestV1) GetLimit() uint64
- func (x *ListJourneysRequestV1) GetOffset() uint64
- func (*ListJourneysRequestV1) ProtoMessage()
- func (x *ListJourneysRequestV1) ProtoReflect() protoreflect.Message
- func (x *ListJourneysRequestV1) Reset()
- func (x *ListJourneysRequestV1) String() string
- func (m *ListJourneysRequestV1) Validate() error
- type ListJourneysRequestV1ValidationError
- func (e ListJourneysRequestV1ValidationError) Cause() error
- func (e ListJourneysRequestV1ValidationError) Error() string
- func (e ListJourneysRequestV1ValidationError) ErrorName() string
- func (e ListJourneysRequestV1ValidationError) Field() string
- func (e ListJourneysRequestV1ValidationError) Key() bool
- func (e ListJourneysRequestV1ValidationError) Reason() string
- type ListJourneysResponseV1
- func (*ListJourneysResponseV1) Descriptor() ([]byte, []int)deprecated
- func (x *ListJourneysResponseV1) GetJourneys() []*Journey
- func (*ListJourneysResponseV1) ProtoMessage()
- func (x *ListJourneysResponseV1) ProtoReflect() protoreflect.Message
- func (x *ListJourneysResponseV1) Reset()
- func (x *ListJourneysResponseV1) String() string
- func (m *ListJourneysResponseV1) Validate() error
- type ListJourneysResponseV1ValidationError
- func (e ListJourneysResponseV1ValidationError) Cause() error
- func (e ListJourneysResponseV1ValidationError) Error() string
- func (e ListJourneysResponseV1ValidationError) ErrorName() string
- func (e ListJourneysResponseV1ValidationError) Field() string
- func (e ListJourneysResponseV1ValidationError) Key() bool
- func (e ListJourneysResponseV1ValidationError) Reason() string
- type MultiCreateJourneyRequestV1
- func (*MultiCreateJourneyRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCreateJourneyRequestV1) GetJourneys() []*CreateJourneyRequestV1
- func (*MultiCreateJourneyRequestV1) ProtoMessage()
- func (x *MultiCreateJourneyRequestV1) ProtoReflect() protoreflect.Message
- func (x *MultiCreateJourneyRequestV1) Reset()
- func (x *MultiCreateJourneyRequestV1) String() string
- func (m *MultiCreateJourneyRequestV1) Validate() error
- type MultiCreateJourneyRequestV1ValidationError
- func (e MultiCreateJourneyRequestV1ValidationError) Cause() error
- func (e MultiCreateJourneyRequestV1ValidationError) Error() string
- func (e MultiCreateJourneyRequestV1ValidationError) ErrorName() string
- func (e MultiCreateJourneyRequestV1ValidationError) Field() string
- func (e MultiCreateJourneyRequestV1ValidationError) Key() bool
- func (e MultiCreateJourneyRequestV1ValidationError) Reason() string
- type MultiCreateJourneyResponseV1
- func (*MultiCreateJourneyResponseV1) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCreateJourneyResponseV1) GetJourneyIds() []uint64
- func (*MultiCreateJourneyResponseV1) ProtoMessage()
- func (x *MultiCreateJourneyResponseV1) ProtoReflect() protoreflect.Message
- func (x *MultiCreateJourneyResponseV1) Reset()
- func (x *MultiCreateJourneyResponseV1) String() string
- func (m *MultiCreateJourneyResponseV1) Validate() error
- type MultiCreateJourneyResponseV1ValidationError
- func (e MultiCreateJourneyResponseV1ValidationError) Cause() error
- func (e MultiCreateJourneyResponseV1ValidationError) Error() string
- func (e MultiCreateJourneyResponseV1ValidationError) ErrorName() string
- func (e MultiCreateJourneyResponseV1ValidationError) Field() string
- func (e MultiCreateJourneyResponseV1ValidationError) Key() bool
- func (e MultiCreateJourneyResponseV1ValidationError) Reason() string
- type MultiCreateJourneyTaskRequestV1
- func (*MultiCreateJourneyTaskRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCreateJourneyTaskRequestV1) GetJourneys() []*CreateJourneyRequestV1
- func (*MultiCreateJourneyTaskRequestV1) ProtoMessage()
- func (x *MultiCreateJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
- func (x *MultiCreateJourneyTaskRequestV1) Reset()
- func (x *MultiCreateJourneyTaskRequestV1) String() string
- func (m *MultiCreateJourneyTaskRequestV1) Validate() error
- type MultiCreateJourneyTaskRequestV1ValidationError
- func (e MultiCreateJourneyTaskRequestV1ValidationError) Cause() error
- func (e MultiCreateJourneyTaskRequestV1ValidationError) Error() string
- func (e MultiCreateJourneyTaskRequestV1ValidationError) ErrorName() string
- func (e MultiCreateJourneyTaskRequestV1ValidationError) Field() string
- func (e MultiCreateJourneyTaskRequestV1ValidationError) Key() bool
- func (e MultiCreateJourneyTaskRequestV1ValidationError) Reason() string
- type RemoveJourneyRequestV1
- func (*RemoveJourneyRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveJourneyRequestV1) GetJourneyId() uint64
- func (*RemoveJourneyRequestV1) ProtoMessage()
- func (x *RemoveJourneyRequestV1) ProtoReflect() protoreflect.Message
- func (x *RemoveJourneyRequestV1) Reset()
- func (x *RemoveJourneyRequestV1) String() string
- func (m *RemoveJourneyRequestV1) Validate() error
- type RemoveJourneyRequestV1ValidationError
- func (e RemoveJourneyRequestV1ValidationError) Cause() error
- func (e RemoveJourneyRequestV1ValidationError) Error() string
- func (e RemoveJourneyRequestV1ValidationError) ErrorName() string
- func (e RemoveJourneyRequestV1ValidationError) Field() string
- func (e RemoveJourneyRequestV1ValidationError) Key() bool
- func (e RemoveJourneyRequestV1ValidationError) Reason() string
- type RemoveJourneyTaskRequestV1
- func (*RemoveJourneyTaskRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveJourneyTaskRequestV1) GetJourneyId() uint64
- func (*RemoveJourneyTaskRequestV1) ProtoMessage()
- func (x *RemoveJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
- func (x *RemoveJourneyTaskRequestV1) Reset()
- func (x *RemoveJourneyTaskRequestV1) String() string
- func (m *RemoveJourneyTaskRequestV1) Validate() error
- type RemoveJourneyTaskRequestV1ValidationError
- func (e RemoveJourneyTaskRequestV1ValidationError) Cause() error
- func (e RemoveJourneyTaskRequestV1ValidationError) Error() string
- func (e RemoveJourneyTaskRequestV1ValidationError) ErrorName() string
- func (e RemoveJourneyTaskRequestV1ValidationError) Field() string
- func (e RemoveJourneyTaskRequestV1ValidationError) Key() bool
- func (e RemoveJourneyTaskRequestV1ValidationError) Reason() string
- type UnimplementedJourneyApiV1Server
- func (UnimplementedJourneyApiV1Server) CreateJourneyTaskV1(context.Context, *CreateJourneyTaskRequestV1) (*emptypb.Empty, error)
- func (UnimplementedJourneyApiV1Server) CreateJourneyV1(context.Context, *CreateJourneyRequestV1) (*CreateJourneyResponseV1, error)
- func (UnimplementedJourneyApiV1Server) DescribeJourneyV1(context.Context, *DescribeJourneyRequestV1) (*DescribeJourneyResponseV1, error)
- func (UnimplementedJourneyApiV1Server) ListJourneysV1(context.Context, *ListJourneysRequestV1) (*ListJourneysResponseV1, error)
- func (UnimplementedJourneyApiV1Server) MultiCreateJourneyTaskV1(context.Context, *MultiCreateJourneyTaskRequestV1) (*emptypb.Empty, error)
- func (UnimplementedJourneyApiV1Server) MultiCreateJourneyV1(context.Context, *MultiCreateJourneyRequestV1) (*MultiCreateJourneyResponseV1, error)
- func (UnimplementedJourneyApiV1Server) RemoveJourneyTaskV1(context.Context, *RemoveJourneyTaskRequestV1) (*emptypb.Empty, error)
- func (UnimplementedJourneyApiV1Server) RemoveJourneyV1(context.Context, *RemoveJourneyRequestV1) (*emptypb.Empty, error)
- func (UnimplementedJourneyApiV1Server) UpdateJourneyTaskV1(context.Context, *UpdateJourneyTaskRequestV1) (*emptypb.Empty, error)
- func (UnimplementedJourneyApiV1Server) UpdateJourneyV1(context.Context, *UpdateJourneyRequestV1) (*emptypb.Empty, error)
- type UnsafeJourneyApiV1Server
- type UpdateJourneyRequestV1
- func (*UpdateJourneyRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJourneyRequestV1) GetJourney() *Journey
- func (*UpdateJourneyRequestV1) ProtoMessage()
- func (x *UpdateJourneyRequestV1) ProtoReflect() protoreflect.Message
- func (x *UpdateJourneyRequestV1) Reset()
- func (x *UpdateJourneyRequestV1) String() string
- func (m *UpdateJourneyRequestV1) Validate() error
- type UpdateJourneyRequestV1ValidationError
- func (e UpdateJourneyRequestV1ValidationError) Cause() error
- func (e UpdateJourneyRequestV1ValidationError) Error() string
- func (e UpdateJourneyRequestV1ValidationError) ErrorName() string
- func (e UpdateJourneyRequestV1ValidationError) Field() string
- func (e UpdateJourneyRequestV1ValidationError) Key() bool
- func (e UpdateJourneyRequestV1ValidationError) Reason() string
- type UpdateJourneyTaskRequestV1
- func (*UpdateJourneyTaskRequestV1) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJourneyTaskRequestV1) GetJourney() *Journey
- func (*UpdateJourneyTaskRequestV1) ProtoMessage()
- func (x *UpdateJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
- func (x *UpdateJourneyTaskRequestV1) Reset()
- func (x *UpdateJourneyTaskRequestV1) String() string
- func (m *UpdateJourneyTaskRequestV1) Validate() error
- type UpdateJourneyTaskRequestV1ValidationError
- func (e UpdateJourneyTaskRequestV1ValidationError) Cause() error
- func (e UpdateJourneyTaskRequestV1ValidationError) Error() string
- func (e UpdateJourneyTaskRequestV1ValidationError) ErrorName() string
- func (e UpdateJourneyTaskRequestV1ValidationError) Field() string
- func (e UpdateJourneyTaskRequestV1ValidationError) Key() bool
- func (e UpdateJourneyTaskRequestV1ValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_ova_journey_api_proto protoreflect.FileDescriptor
var JourneyApiV1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ova.journey.api.JourneyApiV1", HandlerType: (*JourneyApiV1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateJourneyV1", Handler: _JourneyApiV1_CreateJourneyV1_Handler, }, { MethodName: "DescribeJourneyV1", Handler: _JourneyApiV1_DescribeJourneyV1_Handler, }, { MethodName: "ListJourneysV1", Handler: _JourneyApiV1_ListJourneysV1_Handler, }, { MethodName: "RemoveJourneyV1", Handler: _JourneyApiV1_RemoveJourneyV1_Handler, }, { MethodName: "MultiCreateJourneyV1", Handler: _JourneyApiV1_MultiCreateJourneyV1_Handler, }, { MethodName: "UpdateJourneyV1", Handler: _JourneyApiV1_UpdateJourneyV1_Handler, }, { MethodName: "CreateJourneyTaskV1", Handler: _JourneyApiV1_CreateJourneyTaskV1_Handler, }, { MethodName: "RemoveJourneyTaskV1", Handler: _JourneyApiV1_RemoveJourneyTaskV1_Handler, }, { MethodName: "MultiCreateJourneyTaskV1", Handler: _JourneyApiV1_MultiCreateJourneyTaskV1_Handler, }, { MethodName: "UpdateJourneyTaskV1", Handler: _JourneyApiV1_UpdateJourneyTaskV1_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ova-journey-api.proto", }
JourneyApiV1_ServiceDesc is the grpc.ServiceDesc for JourneyApiV1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterJourneyApiV1Handler ¶
func RegisterJourneyApiV1Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterJourneyApiV1Handler registers the http handlers for service JourneyApiV1 to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterJourneyApiV1HandlerClient ¶
func RegisterJourneyApiV1HandlerClient(ctx context.Context, mux *runtime.ServeMux, client JourneyApiV1Client) error
RegisterJourneyApiV1HandlerClient registers the http handlers for service JourneyApiV1 to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "JourneyApiV1Client". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "JourneyApiV1Client" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "JourneyApiV1Client" to call the correct interceptors.
func RegisterJourneyApiV1HandlerFromEndpoint ¶
func RegisterJourneyApiV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterJourneyApiV1HandlerFromEndpoint is same as RegisterJourneyApiV1Handler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterJourneyApiV1HandlerServer ¶
func RegisterJourneyApiV1HandlerServer(ctx context.Context, mux *runtime.ServeMux, server JourneyApiV1Server) error
RegisterJourneyApiV1HandlerServer registers the http handlers for service JourneyApiV1 to "mux". UnaryRPC :call JourneyApiV1Server directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterJourneyApiV1HandlerFromEndpoint instead.
func RegisterJourneyApiV1Server ¶
func RegisterJourneyApiV1Server(s grpc.ServiceRegistrar, srv JourneyApiV1Server)
Types ¶
type CreateJourneyRequestV1 ¶
type CreateJourneyRequestV1 struct { UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*CreateJourneyRequestV1) Descriptor
deprecated
func (*CreateJourneyRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use CreateJourneyRequestV1.ProtoReflect.Descriptor instead.
func (*CreateJourneyRequestV1) GetAddress ¶
func (x *CreateJourneyRequestV1) GetAddress() string
func (*CreateJourneyRequestV1) GetDescription ¶
func (x *CreateJourneyRequestV1) GetDescription() string
func (*CreateJourneyRequestV1) GetEndTime ¶
func (x *CreateJourneyRequestV1) GetEndTime() *timestamppb.Timestamp
func (*CreateJourneyRequestV1) GetStartTime ¶
func (x *CreateJourneyRequestV1) GetStartTime() *timestamppb.Timestamp
func (*CreateJourneyRequestV1) GetUserId ¶
func (x *CreateJourneyRequestV1) GetUserId() uint64
func (*CreateJourneyRequestV1) ProtoMessage ¶
func (*CreateJourneyRequestV1) ProtoMessage()
func (*CreateJourneyRequestV1) ProtoReflect ¶
func (x *CreateJourneyRequestV1) ProtoReflect() protoreflect.Message
func (*CreateJourneyRequestV1) Reset ¶
func (x *CreateJourneyRequestV1) Reset()
func (*CreateJourneyRequestV1) String ¶
func (x *CreateJourneyRequestV1) String() string
func (*CreateJourneyRequestV1) Validate ¶
func (m *CreateJourneyRequestV1) Validate() error
Validate checks the field values on CreateJourneyRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateJourneyRequestV1ValidationError ¶
type CreateJourneyRequestV1ValidationError struct {
// contains filtered or unexported fields
}
CreateJourneyRequestV1ValidationError is the validation error returned by CreateJourneyRequestV1.Validate if the designated constraints aren't met.
func (CreateJourneyRequestV1ValidationError) Cause ¶
func (e CreateJourneyRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (CreateJourneyRequestV1ValidationError) Error ¶
func (e CreateJourneyRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (CreateJourneyRequestV1ValidationError) ErrorName ¶
func (e CreateJourneyRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (CreateJourneyRequestV1ValidationError) Field ¶
func (e CreateJourneyRequestV1ValidationError) Field() string
Field function returns field value.
func (CreateJourneyRequestV1ValidationError) Key ¶
func (e CreateJourneyRequestV1ValidationError) Key() bool
Key function returns key value.
func (CreateJourneyRequestV1ValidationError) Reason ¶
func (e CreateJourneyRequestV1ValidationError) Reason() string
Reason function returns reason value.
type CreateJourneyResponseV1 ¶
type CreateJourneyResponseV1 struct { JourneyId uint64 `protobuf:"varint,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"` // contains filtered or unexported fields }
func (*CreateJourneyResponseV1) Descriptor
deprecated
func (*CreateJourneyResponseV1) Descriptor() ([]byte, []int)
Deprecated: Use CreateJourneyResponseV1.ProtoReflect.Descriptor instead.
func (*CreateJourneyResponseV1) GetJourneyId ¶
func (x *CreateJourneyResponseV1) GetJourneyId() uint64
func (*CreateJourneyResponseV1) ProtoMessage ¶
func (*CreateJourneyResponseV1) ProtoMessage()
func (*CreateJourneyResponseV1) ProtoReflect ¶
func (x *CreateJourneyResponseV1) ProtoReflect() protoreflect.Message
func (*CreateJourneyResponseV1) Reset ¶
func (x *CreateJourneyResponseV1) Reset()
func (*CreateJourneyResponseV1) String ¶
func (x *CreateJourneyResponseV1) String() string
func (*CreateJourneyResponseV1) Validate ¶
func (m *CreateJourneyResponseV1) Validate() error
Validate checks the field values on CreateJourneyResponseV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateJourneyResponseV1ValidationError ¶
type CreateJourneyResponseV1ValidationError struct {
// contains filtered or unexported fields
}
CreateJourneyResponseV1ValidationError is the validation error returned by CreateJourneyResponseV1.Validate if the designated constraints aren't met.
func (CreateJourneyResponseV1ValidationError) Cause ¶
func (e CreateJourneyResponseV1ValidationError) Cause() error
Cause function returns cause value.
func (CreateJourneyResponseV1ValidationError) Error ¶
func (e CreateJourneyResponseV1ValidationError) Error() string
Error satisfies the builtin error interface
func (CreateJourneyResponseV1ValidationError) ErrorName ¶
func (e CreateJourneyResponseV1ValidationError) ErrorName() string
ErrorName returns error name.
func (CreateJourneyResponseV1ValidationError) Field ¶
func (e CreateJourneyResponseV1ValidationError) Field() string
Field function returns field value.
func (CreateJourneyResponseV1ValidationError) Key ¶
func (e CreateJourneyResponseV1ValidationError) Key() bool
Key function returns key value.
func (CreateJourneyResponseV1ValidationError) Reason ¶
func (e CreateJourneyResponseV1ValidationError) Reason() string
Reason function returns reason value.
type CreateJourneyTaskRequestV1 ¶
type CreateJourneyTaskRequestV1 struct { UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*CreateJourneyTaskRequestV1) Descriptor
deprecated
func (*CreateJourneyTaskRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use CreateJourneyTaskRequestV1.ProtoReflect.Descriptor instead.
func (*CreateJourneyTaskRequestV1) GetAddress ¶
func (x *CreateJourneyTaskRequestV1) GetAddress() string
func (*CreateJourneyTaskRequestV1) GetDescription ¶
func (x *CreateJourneyTaskRequestV1) GetDescription() string
func (*CreateJourneyTaskRequestV1) GetEndTime ¶
func (x *CreateJourneyTaskRequestV1) GetEndTime() *timestamppb.Timestamp
func (*CreateJourneyTaskRequestV1) GetStartTime ¶
func (x *CreateJourneyTaskRequestV1) GetStartTime() *timestamppb.Timestamp
func (*CreateJourneyTaskRequestV1) GetUserId ¶
func (x *CreateJourneyTaskRequestV1) GetUserId() uint64
func (*CreateJourneyTaskRequestV1) ProtoMessage ¶
func (*CreateJourneyTaskRequestV1) ProtoMessage()
func (*CreateJourneyTaskRequestV1) ProtoReflect ¶
func (x *CreateJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
func (*CreateJourneyTaskRequestV1) Reset ¶
func (x *CreateJourneyTaskRequestV1) Reset()
func (*CreateJourneyTaskRequestV1) String ¶
func (x *CreateJourneyTaskRequestV1) String() string
func (*CreateJourneyTaskRequestV1) Validate ¶
func (m *CreateJourneyTaskRequestV1) Validate() error
Validate checks the field values on CreateJourneyTaskRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateJourneyTaskRequestV1ValidationError ¶
type CreateJourneyTaskRequestV1ValidationError struct {
// contains filtered or unexported fields
}
CreateJourneyTaskRequestV1ValidationError is the validation error returned by CreateJourneyTaskRequestV1.Validate if the designated constraints aren't met.
func (CreateJourneyTaskRequestV1ValidationError) Cause ¶
func (e CreateJourneyTaskRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (CreateJourneyTaskRequestV1ValidationError) Error ¶
func (e CreateJourneyTaskRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (CreateJourneyTaskRequestV1ValidationError) ErrorName ¶
func (e CreateJourneyTaskRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (CreateJourneyTaskRequestV1ValidationError) Field ¶
func (e CreateJourneyTaskRequestV1ValidationError) Field() string
Field function returns field value.
func (CreateJourneyTaskRequestV1ValidationError) Key ¶
func (e CreateJourneyTaskRequestV1ValidationError) Key() bool
Key function returns key value.
func (CreateJourneyTaskRequestV1ValidationError) Reason ¶
func (e CreateJourneyTaskRequestV1ValidationError) Reason() string
Reason function returns reason value.
type DescribeJourneyRequestV1 ¶
type DescribeJourneyRequestV1 struct { JourneyId uint64 `protobuf:"varint,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeJourneyRequestV1) Descriptor
deprecated
func (*DescribeJourneyRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use DescribeJourneyRequestV1.ProtoReflect.Descriptor instead.
func (*DescribeJourneyRequestV1) GetJourneyId ¶
func (x *DescribeJourneyRequestV1) GetJourneyId() uint64
func (*DescribeJourneyRequestV1) ProtoMessage ¶
func (*DescribeJourneyRequestV1) ProtoMessage()
func (*DescribeJourneyRequestV1) ProtoReflect ¶
func (x *DescribeJourneyRequestV1) ProtoReflect() protoreflect.Message
func (*DescribeJourneyRequestV1) Reset ¶
func (x *DescribeJourneyRequestV1) Reset()
func (*DescribeJourneyRequestV1) String ¶
func (x *DescribeJourneyRequestV1) String() string
func (*DescribeJourneyRequestV1) Validate ¶
func (m *DescribeJourneyRequestV1) Validate() error
Validate checks the field values on DescribeJourneyRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DescribeJourneyRequestV1ValidationError ¶
type DescribeJourneyRequestV1ValidationError struct {
// contains filtered or unexported fields
}
DescribeJourneyRequestV1ValidationError is the validation error returned by DescribeJourneyRequestV1.Validate if the designated constraints aren't met.
func (DescribeJourneyRequestV1ValidationError) Cause ¶
func (e DescribeJourneyRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (DescribeJourneyRequestV1ValidationError) Error ¶
func (e DescribeJourneyRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeJourneyRequestV1ValidationError) ErrorName ¶
func (e DescribeJourneyRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeJourneyRequestV1ValidationError) Field ¶
func (e DescribeJourneyRequestV1ValidationError) Field() string
Field function returns field value.
func (DescribeJourneyRequestV1ValidationError) Key ¶
func (e DescribeJourneyRequestV1ValidationError) Key() bool
Key function returns key value.
func (DescribeJourneyRequestV1ValidationError) Reason ¶
func (e DescribeJourneyRequestV1ValidationError) Reason() string
Reason function returns reason value.
type DescribeJourneyResponseV1 ¶
type DescribeJourneyResponseV1 struct { Journey *Journey `protobuf:"bytes,1,opt,name=journey,proto3" json:"journey,omitempty"` // contains filtered or unexported fields }
func (*DescribeJourneyResponseV1) Descriptor
deprecated
func (*DescribeJourneyResponseV1) Descriptor() ([]byte, []int)
Deprecated: Use DescribeJourneyResponseV1.ProtoReflect.Descriptor instead.
func (*DescribeJourneyResponseV1) GetJourney ¶
func (x *DescribeJourneyResponseV1) GetJourney() *Journey
func (*DescribeJourneyResponseV1) ProtoMessage ¶
func (*DescribeJourneyResponseV1) ProtoMessage()
func (*DescribeJourneyResponseV1) ProtoReflect ¶
func (x *DescribeJourneyResponseV1) ProtoReflect() protoreflect.Message
func (*DescribeJourneyResponseV1) Reset ¶
func (x *DescribeJourneyResponseV1) Reset()
func (*DescribeJourneyResponseV1) String ¶
func (x *DescribeJourneyResponseV1) String() string
func (*DescribeJourneyResponseV1) Validate ¶
func (m *DescribeJourneyResponseV1) Validate() error
Validate checks the field values on DescribeJourneyResponseV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DescribeJourneyResponseV1ValidationError ¶
type DescribeJourneyResponseV1ValidationError struct {
// contains filtered or unexported fields
}
DescribeJourneyResponseV1ValidationError is the validation error returned by DescribeJourneyResponseV1.Validate if the designated constraints aren't met.
func (DescribeJourneyResponseV1ValidationError) Cause ¶
func (e DescribeJourneyResponseV1ValidationError) Cause() error
Cause function returns cause value.
func (DescribeJourneyResponseV1ValidationError) Error ¶
func (e DescribeJourneyResponseV1ValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeJourneyResponseV1ValidationError) ErrorName ¶
func (e DescribeJourneyResponseV1ValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeJourneyResponseV1ValidationError) Field ¶
func (e DescribeJourneyResponseV1ValidationError) Field() string
Field function returns field value.
func (DescribeJourneyResponseV1ValidationError) Key ¶
func (e DescribeJourneyResponseV1ValidationError) Key() bool
Key function returns key value.
func (DescribeJourneyResponseV1ValidationError) Reason ¶
func (e DescribeJourneyResponseV1ValidationError) Reason() string
Reason function returns reason value.
type Journey ¶
type Journey struct { JourneyId uint64 `protobuf:"varint,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"` UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*Journey) Descriptor
deprecated
func (*Journey) GetAddress ¶
func (*Journey) GetDescription ¶
func (*Journey) GetEndTime ¶
func (x *Journey) GetEndTime() *timestamppb.Timestamp
func (*Journey) GetJourneyId ¶
func (*Journey) GetStartTime ¶
func (x *Journey) GetStartTime() *timestamppb.Timestamp
func (*Journey) ProtoMessage ¶
func (*Journey) ProtoMessage()
func (*Journey) ProtoReflect ¶
func (x *Journey) ProtoReflect() protoreflect.Message
type JourneyApiV1Client ¶
type JourneyApiV1Client interface { CreateJourneyV1(ctx context.Context, in *CreateJourneyRequestV1, opts ...grpc.CallOption) (*CreateJourneyResponseV1, error) DescribeJourneyV1(ctx context.Context, in *DescribeJourneyRequestV1, opts ...grpc.CallOption) (*DescribeJourneyResponseV1, error) ListJourneysV1(ctx context.Context, in *ListJourneysRequestV1, opts ...grpc.CallOption) (*ListJourneysResponseV1, error) RemoveJourneyV1(ctx context.Context, in *RemoveJourneyRequestV1, opts ...grpc.CallOption) (*emptypb.Empty, error) MultiCreateJourneyV1(ctx context.Context, in *MultiCreateJourneyRequestV1, opts ...grpc.CallOption) (*MultiCreateJourneyResponseV1, error) UpdateJourneyV1(ctx context.Context, in *UpdateJourneyRequestV1, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateJourneyTaskV1(ctx context.Context, in *CreateJourneyTaskRequestV1, opts ...grpc.CallOption) (*emptypb.Empty, error) RemoveJourneyTaskV1(ctx context.Context, in *RemoveJourneyTaskRequestV1, opts ...grpc.CallOption) (*emptypb.Empty, error) MultiCreateJourneyTaskV1(ctx context.Context, in *MultiCreateJourneyTaskRequestV1, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateJourneyTaskV1(ctx context.Context, in *UpdateJourneyTaskRequestV1, opts ...grpc.CallOption) (*emptypb.Empty, error) }
JourneyApiV1Client is the client API for JourneyApiV1 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 NewJourneyApiV1Client ¶
func NewJourneyApiV1Client(cc grpc.ClientConnInterface) JourneyApiV1Client
type JourneyApiV1Server ¶
type JourneyApiV1Server interface { CreateJourneyV1(context.Context, *CreateJourneyRequestV1) (*CreateJourneyResponseV1, error) DescribeJourneyV1(context.Context, *DescribeJourneyRequestV1) (*DescribeJourneyResponseV1, error) ListJourneysV1(context.Context, *ListJourneysRequestV1) (*ListJourneysResponseV1, error) RemoveJourneyV1(context.Context, *RemoveJourneyRequestV1) (*emptypb.Empty, error) MultiCreateJourneyV1(context.Context, *MultiCreateJourneyRequestV1) (*MultiCreateJourneyResponseV1, error) UpdateJourneyV1(context.Context, *UpdateJourneyRequestV1) (*emptypb.Empty, error) CreateJourneyTaskV1(context.Context, *CreateJourneyTaskRequestV1) (*emptypb.Empty, error) RemoveJourneyTaskV1(context.Context, *RemoveJourneyTaskRequestV1) (*emptypb.Empty, error) MultiCreateJourneyTaskV1(context.Context, *MultiCreateJourneyTaskRequestV1) (*emptypb.Empty, error) UpdateJourneyTaskV1(context.Context, *UpdateJourneyTaskRequestV1) (*emptypb.Empty, error) // contains filtered or unexported methods }
JourneyApiV1Server is the server API for JourneyApiV1 service. All implementations must embed UnimplementedJourneyApiV1Server for forward compatibility
type JourneyValidationError ¶
type JourneyValidationError struct {
// contains filtered or unexported fields
}
JourneyValidationError is the validation error returned by Journey.Validate if the designated constraints aren't met.
func (JourneyValidationError) Cause ¶
func (e JourneyValidationError) Cause() error
Cause function returns cause value.
func (JourneyValidationError) Error ¶
func (e JourneyValidationError) Error() string
Error satisfies the builtin error interface
func (JourneyValidationError) ErrorName ¶
func (e JourneyValidationError) ErrorName() string
ErrorName returns error name.
func (JourneyValidationError) Field ¶
func (e JourneyValidationError) Field() string
Field function returns field value.
func (JourneyValidationError) Key ¶
func (e JourneyValidationError) Key() bool
Key function returns key value.
func (JourneyValidationError) Reason ¶
func (e JourneyValidationError) Reason() string
Reason function returns reason value.
type ListJourneysRequestV1 ¶
type ListJourneysRequestV1 struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListJourneysRequestV1) Descriptor
deprecated
func (*ListJourneysRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use ListJourneysRequestV1.ProtoReflect.Descriptor instead.
func (*ListJourneysRequestV1) GetLimit ¶
func (x *ListJourneysRequestV1) GetLimit() uint64
func (*ListJourneysRequestV1) GetOffset ¶
func (x *ListJourneysRequestV1) GetOffset() uint64
func (*ListJourneysRequestV1) ProtoMessage ¶
func (*ListJourneysRequestV1) ProtoMessage()
func (*ListJourneysRequestV1) ProtoReflect ¶
func (x *ListJourneysRequestV1) ProtoReflect() protoreflect.Message
func (*ListJourneysRequestV1) Reset ¶
func (x *ListJourneysRequestV1) Reset()
func (*ListJourneysRequestV1) String ¶
func (x *ListJourneysRequestV1) String() string
func (*ListJourneysRequestV1) Validate ¶
func (m *ListJourneysRequestV1) Validate() error
Validate checks the field values on ListJourneysRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListJourneysRequestV1ValidationError ¶
type ListJourneysRequestV1ValidationError struct {
// contains filtered or unexported fields
}
ListJourneysRequestV1ValidationError is the validation error returned by ListJourneysRequestV1.Validate if the designated constraints aren't met.
func (ListJourneysRequestV1ValidationError) Cause ¶
func (e ListJourneysRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (ListJourneysRequestV1ValidationError) Error ¶
func (e ListJourneysRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (ListJourneysRequestV1ValidationError) ErrorName ¶
func (e ListJourneysRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (ListJourneysRequestV1ValidationError) Field ¶
func (e ListJourneysRequestV1ValidationError) Field() string
Field function returns field value.
func (ListJourneysRequestV1ValidationError) Key ¶
func (e ListJourneysRequestV1ValidationError) Key() bool
Key function returns key value.
func (ListJourneysRequestV1ValidationError) Reason ¶
func (e ListJourneysRequestV1ValidationError) Reason() string
Reason function returns reason value.
type ListJourneysResponseV1 ¶
type ListJourneysResponseV1 struct { Journeys []*Journey `protobuf:"bytes,1,rep,name=journeys,proto3" json:"journeys,omitempty"` // contains filtered or unexported fields }
func (*ListJourneysResponseV1) Descriptor
deprecated
func (*ListJourneysResponseV1) Descriptor() ([]byte, []int)
Deprecated: Use ListJourneysResponseV1.ProtoReflect.Descriptor instead.
func (*ListJourneysResponseV1) GetJourneys ¶
func (x *ListJourneysResponseV1) GetJourneys() []*Journey
func (*ListJourneysResponseV1) ProtoMessage ¶
func (*ListJourneysResponseV1) ProtoMessage()
func (*ListJourneysResponseV1) ProtoReflect ¶
func (x *ListJourneysResponseV1) ProtoReflect() protoreflect.Message
func (*ListJourneysResponseV1) Reset ¶
func (x *ListJourneysResponseV1) Reset()
func (*ListJourneysResponseV1) String ¶
func (x *ListJourneysResponseV1) String() string
func (*ListJourneysResponseV1) Validate ¶
func (m *ListJourneysResponseV1) Validate() error
Validate checks the field values on ListJourneysResponseV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListJourneysResponseV1ValidationError ¶
type ListJourneysResponseV1ValidationError struct {
// contains filtered or unexported fields
}
ListJourneysResponseV1ValidationError is the validation error returned by ListJourneysResponseV1.Validate if the designated constraints aren't met.
func (ListJourneysResponseV1ValidationError) Cause ¶
func (e ListJourneysResponseV1ValidationError) Cause() error
Cause function returns cause value.
func (ListJourneysResponseV1ValidationError) Error ¶
func (e ListJourneysResponseV1ValidationError) Error() string
Error satisfies the builtin error interface
func (ListJourneysResponseV1ValidationError) ErrorName ¶
func (e ListJourneysResponseV1ValidationError) ErrorName() string
ErrorName returns error name.
func (ListJourneysResponseV1ValidationError) Field ¶
func (e ListJourneysResponseV1ValidationError) Field() string
Field function returns field value.
func (ListJourneysResponseV1ValidationError) Key ¶
func (e ListJourneysResponseV1ValidationError) Key() bool
Key function returns key value.
func (ListJourneysResponseV1ValidationError) Reason ¶
func (e ListJourneysResponseV1ValidationError) Reason() string
Reason function returns reason value.
type MultiCreateJourneyRequestV1 ¶
type MultiCreateJourneyRequestV1 struct { Journeys []*CreateJourneyRequestV1 `protobuf:"bytes,1,rep,name=journeys,proto3" json:"journeys,omitempty"` // contains filtered or unexported fields }
func (*MultiCreateJourneyRequestV1) Descriptor
deprecated
func (*MultiCreateJourneyRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use MultiCreateJourneyRequestV1.ProtoReflect.Descriptor instead.
func (*MultiCreateJourneyRequestV1) GetJourneys ¶
func (x *MultiCreateJourneyRequestV1) GetJourneys() []*CreateJourneyRequestV1
func (*MultiCreateJourneyRequestV1) ProtoMessage ¶
func (*MultiCreateJourneyRequestV1) ProtoMessage()
func (*MultiCreateJourneyRequestV1) ProtoReflect ¶
func (x *MultiCreateJourneyRequestV1) ProtoReflect() protoreflect.Message
func (*MultiCreateJourneyRequestV1) Reset ¶
func (x *MultiCreateJourneyRequestV1) Reset()
func (*MultiCreateJourneyRequestV1) String ¶
func (x *MultiCreateJourneyRequestV1) String() string
func (*MultiCreateJourneyRequestV1) Validate ¶
func (m *MultiCreateJourneyRequestV1) Validate() error
Validate checks the field values on MultiCreateJourneyRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MultiCreateJourneyRequestV1ValidationError ¶
type MultiCreateJourneyRequestV1ValidationError struct {
// contains filtered or unexported fields
}
MultiCreateJourneyRequestV1ValidationError is the validation error returned by MultiCreateJourneyRequestV1.Validate if the designated constraints aren't met.
func (MultiCreateJourneyRequestV1ValidationError) Cause ¶
func (e MultiCreateJourneyRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (MultiCreateJourneyRequestV1ValidationError) Error ¶
func (e MultiCreateJourneyRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (MultiCreateJourneyRequestV1ValidationError) ErrorName ¶
func (e MultiCreateJourneyRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (MultiCreateJourneyRequestV1ValidationError) Field ¶
func (e MultiCreateJourneyRequestV1ValidationError) Field() string
Field function returns field value.
func (MultiCreateJourneyRequestV1ValidationError) Key ¶
func (e MultiCreateJourneyRequestV1ValidationError) Key() bool
Key function returns key value.
func (MultiCreateJourneyRequestV1ValidationError) Reason ¶
func (e MultiCreateJourneyRequestV1ValidationError) Reason() string
Reason function returns reason value.
type MultiCreateJourneyResponseV1 ¶
type MultiCreateJourneyResponseV1 struct { JourneyIds []uint64 `protobuf:"varint,1,rep,packed,name=journey_ids,json=journeyIds,proto3" json:"journey_ids,omitempty"` // contains filtered or unexported fields }
func (*MultiCreateJourneyResponseV1) Descriptor
deprecated
func (*MultiCreateJourneyResponseV1) Descriptor() ([]byte, []int)
Deprecated: Use MultiCreateJourneyResponseV1.ProtoReflect.Descriptor instead.
func (*MultiCreateJourneyResponseV1) GetJourneyIds ¶
func (x *MultiCreateJourneyResponseV1) GetJourneyIds() []uint64
func (*MultiCreateJourneyResponseV1) ProtoMessage ¶
func (*MultiCreateJourneyResponseV1) ProtoMessage()
func (*MultiCreateJourneyResponseV1) ProtoReflect ¶
func (x *MultiCreateJourneyResponseV1) ProtoReflect() protoreflect.Message
func (*MultiCreateJourneyResponseV1) Reset ¶
func (x *MultiCreateJourneyResponseV1) Reset()
func (*MultiCreateJourneyResponseV1) String ¶
func (x *MultiCreateJourneyResponseV1) String() string
func (*MultiCreateJourneyResponseV1) Validate ¶
func (m *MultiCreateJourneyResponseV1) Validate() error
Validate checks the field values on MultiCreateJourneyResponseV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MultiCreateJourneyResponseV1ValidationError ¶
type MultiCreateJourneyResponseV1ValidationError struct {
// contains filtered or unexported fields
}
MultiCreateJourneyResponseV1ValidationError is the validation error returned by MultiCreateJourneyResponseV1.Validate if the designated constraints aren't met.
func (MultiCreateJourneyResponseV1ValidationError) Cause ¶
func (e MultiCreateJourneyResponseV1ValidationError) Cause() error
Cause function returns cause value.
func (MultiCreateJourneyResponseV1ValidationError) Error ¶
func (e MultiCreateJourneyResponseV1ValidationError) Error() string
Error satisfies the builtin error interface
func (MultiCreateJourneyResponseV1ValidationError) ErrorName ¶
func (e MultiCreateJourneyResponseV1ValidationError) ErrorName() string
ErrorName returns error name.
func (MultiCreateJourneyResponseV1ValidationError) Field ¶
func (e MultiCreateJourneyResponseV1ValidationError) Field() string
Field function returns field value.
func (MultiCreateJourneyResponseV1ValidationError) Key ¶
func (e MultiCreateJourneyResponseV1ValidationError) Key() bool
Key function returns key value.
func (MultiCreateJourneyResponseV1ValidationError) Reason ¶
func (e MultiCreateJourneyResponseV1ValidationError) Reason() string
Reason function returns reason value.
type MultiCreateJourneyTaskRequestV1 ¶
type MultiCreateJourneyTaskRequestV1 struct { Journeys []*CreateJourneyRequestV1 `protobuf:"bytes,1,rep,name=journeys,proto3" json:"journeys,omitempty"` // contains filtered or unexported fields }
func (*MultiCreateJourneyTaskRequestV1) Descriptor
deprecated
func (*MultiCreateJourneyTaskRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use MultiCreateJourneyTaskRequestV1.ProtoReflect.Descriptor instead.
func (*MultiCreateJourneyTaskRequestV1) GetJourneys ¶
func (x *MultiCreateJourneyTaskRequestV1) GetJourneys() []*CreateJourneyRequestV1
func (*MultiCreateJourneyTaskRequestV1) ProtoMessage ¶
func (*MultiCreateJourneyTaskRequestV1) ProtoMessage()
func (*MultiCreateJourneyTaskRequestV1) ProtoReflect ¶
func (x *MultiCreateJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
func (*MultiCreateJourneyTaskRequestV1) Reset ¶
func (x *MultiCreateJourneyTaskRequestV1) Reset()
func (*MultiCreateJourneyTaskRequestV1) String ¶
func (x *MultiCreateJourneyTaskRequestV1) String() string
func (*MultiCreateJourneyTaskRequestV1) Validate ¶
func (m *MultiCreateJourneyTaskRequestV1) Validate() error
Validate checks the field values on MultiCreateJourneyTaskRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MultiCreateJourneyTaskRequestV1ValidationError ¶
type MultiCreateJourneyTaskRequestV1ValidationError struct {
// contains filtered or unexported fields
}
MultiCreateJourneyTaskRequestV1ValidationError is the validation error returned by MultiCreateJourneyTaskRequestV1.Validate if the designated constraints aren't met.
func (MultiCreateJourneyTaskRequestV1ValidationError) Cause ¶
func (e MultiCreateJourneyTaskRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (MultiCreateJourneyTaskRequestV1ValidationError) Error ¶
func (e MultiCreateJourneyTaskRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (MultiCreateJourneyTaskRequestV1ValidationError) ErrorName ¶
func (e MultiCreateJourneyTaskRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (MultiCreateJourneyTaskRequestV1ValidationError) Field ¶
func (e MultiCreateJourneyTaskRequestV1ValidationError) Field() string
Field function returns field value.
func (MultiCreateJourneyTaskRequestV1ValidationError) Key ¶
func (e MultiCreateJourneyTaskRequestV1ValidationError) Key() bool
Key function returns key value.
func (MultiCreateJourneyTaskRequestV1ValidationError) Reason ¶
func (e MultiCreateJourneyTaskRequestV1ValidationError) Reason() string
Reason function returns reason value.
type RemoveJourneyRequestV1 ¶
type RemoveJourneyRequestV1 struct { JourneyId uint64 `protobuf:"varint,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveJourneyRequestV1) Descriptor
deprecated
func (*RemoveJourneyRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use RemoveJourneyRequestV1.ProtoReflect.Descriptor instead.
func (*RemoveJourneyRequestV1) GetJourneyId ¶
func (x *RemoveJourneyRequestV1) GetJourneyId() uint64
func (*RemoveJourneyRequestV1) ProtoMessage ¶
func (*RemoveJourneyRequestV1) ProtoMessage()
func (*RemoveJourneyRequestV1) ProtoReflect ¶
func (x *RemoveJourneyRequestV1) ProtoReflect() protoreflect.Message
func (*RemoveJourneyRequestV1) Reset ¶
func (x *RemoveJourneyRequestV1) Reset()
func (*RemoveJourneyRequestV1) String ¶
func (x *RemoveJourneyRequestV1) String() string
func (*RemoveJourneyRequestV1) Validate ¶
func (m *RemoveJourneyRequestV1) Validate() error
Validate checks the field values on RemoveJourneyRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveJourneyRequestV1ValidationError ¶
type RemoveJourneyRequestV1ValidationError struct {
// contains filtered or unexported fields
}
RemoveJourneyRequestV1ValidationError is the validation error returned by RemoveJourneyRequestV1.Validate if the designated constraints aren't met.
func (RemoveJourneyRequestV1ValidationError) Cause ¶
func (e RemoveJourneyRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (RemoveJourneyRequestV1ValidationError) Error ¶
func (e RemoveJourneyRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveJourneyRequestV1ValidationError) ErrorName ¶
func (e RemoveJourneyRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveJourneyRequestV1ValidationError) Field ¶
func (e RemoveJourneyRequestV1ValidationError) Field() string
Field function returns field value.
func (RemoveJourneyRequestV1ValidationError) Key ¶
func (e RemoveJourneyRequestV1ValidationError) Key() bool
Key function returns key value.
func (RemoveJourneyRequestV1ValidationError) Reason ¶
func (e RemoveJourneyRequestV1ValidationError) Reason() string
Reason function returns reason value.
type RemoveJourneyTaskRequestV1 ¶
type RemoveJourneyTaskRequestV1 struct { JourneyId uint64 `protobuf:"varint,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveJourneyTaskRequestV1) Descriptor
deprecated
func (*RemoveJourneyTaskRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use RemoveJourneyTaskRequestV1.ProtoReflect.Descriptor instead.
func (*RemoveJourneyTaskRequestV1) GetJourneyId ¶
func (x *RemoveJourneyTaskRequestV1) GetJourneyId() uint64
func (*RemoveJourneyTaskRequestV1) ProtoMessage ¶
func (*RemoveJourneyTaskRequestV1) ProtoMessage()
func (*RemoveJourneyTaskRequestV1) ProtoReflect ¶
func (x *RemoveJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
func (*RemoveJourneyTaskRequestV1) Reset ¶
func (x *RemoveJourneyTaskRequestV1) Reset()
func (*RemoveJourneyTaskRequestV1) String ¶
func (x *RemoveJourneyTaskRequestV1) String() string
func (*RemoveJourneyTaskRequestV1) Validate ¶
func (m *RemoveJourneyTaskRequestV1) Validate() error
Validate checks the field values on RemoveJourneyTaskRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveJourneyTaskRequestV1ValidationError ¶
type RemoveJourneyTaskRequestV1ValidationError struct {
// contains filtered or unexported fields
}
RemoveJourneyTaskRequestV1ValidationError is the validation error returned by RemoveJourneyTaskRequestV1.Validate if the designated constraints aren't met.
func (RemoveJourneyTaskRequestV1ValidationError) Cause ¶
func (e RemoveJourneyTaskRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (RemoveJourneyTaskRequestV1ValidationError) Error ¶
func (e RemoveJourneyTaskRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveJourneyTaskRequestV1ValidationError) ErrorName ¶
func (e RemoveJourneyTaskRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveJourneyTaskRequestV1ValidationError) Field ¶
func (e RemoveJourneyTaskRequestV1ValidationError) Field() string
Field function returns field value.
func (RemoveJourneyTaskRequestV1ValidationError) Key ¶
func (e RemoveJourneyTaskRequestV1ValidationError) Key() bool
Key function returns key value.
func (RemoveJourneyTaskRequestV1ValidationError) Reason ¶
func (e RemoveJourneyTaskRequestV1ValidationError) Reason() string
Reason function returns reason value.
type UnimplementedJourneyApiV1Server ¶
type UnimplementedJourneyApiV1Server struct { }
UnimplementedJourneyApiV1Server must be embedded to have forward compatible implementations.
func (UnimplementedJourneyApiV1Server) CreateJourneyTaskV1 ¶
func (UnimplementedJourneyApiV1Server) CreateJourneyTaskV1(context.Context, *CreateJourneyTaskRequestV1) (*emptypb.Empty, error)
func (UnimplementedJourneyApiV1Server) CreateJourneyV1 ¶
func (UnimplementedJourneyApiV1Server) CreateJourneyV1(context.Context, *CreateJourneyRequestV1) (*CreateJourneyResponseV1, error)
func (UnimplementedJourneyApiV1Server) DescribeJourneyV1 ¶
func (UnimplementedJourneyApiV1Server) DescribeJourneyV1(context.Context, *DescribeJourneyRequestV1) (*DescribeJourneyResponseV1, error)
func (UnimplementedJourneyApiV1Server) ListJourneysV1 ¶
func (UnimplementedJourneyApiV1Server) ListJourneysV1(context.Context, *ListJourneysRequestV1) (*ListJourneysResponseV1, error)
func (UnimplementedJourneyApiV1Server) MultiCreateJourneyTaskV1 ¶
func (UnimplementedJourneyApiV1Server) MultiCreateJourneyTaskV1(context.Context, *MultiCreateJourneyTaskRequestV1) (*emptypb.Empty, error)
func (UnimplementedJourneyApiV1Server) MultiCreateJourneyV1 ¶
func (UnimplementedJourneyApiV1Server) MultiCreateJourneyV1(context.Context, *MultiCreateJourneyRequestV1) (*MultiCreateJourneyResponseV1, error)
func (UnimplementedJourneyApiV1Server) RemoveJourneyTaskV1 ¶
func (UnimplementedJourneyApiV1Server) RemoveJourneyTaskV1(context.Context, *RemoveJourneyTaskRequestV1) (*emptypb.Empty, error)
func (UnimplementedJourneyApiV1Server) RemoveJourneyV1 ¶
func (UnimplementedJourneyApiV1Server) RemoveJourneyV1(context.Context, *RemoveJourneyRequestV1) (*emptypb.Empty, error)
func (UnimplementedJourneyApiV1Server) UpdateJourneyTaskV1 ¶
func (UnimplementedJourneyApiV1Server) UpdateJourneyTaskV1(context.Context, *UpdateJourneyTaskRequestV1) (*emptypb.Empty, error)
func (UnimplementedJourneyApiV1Server) UpdateJourneyV1 ¶
func (UnimplementedJourneyApiV1Server) UpdateJourneyV1(context.Context, *UpdateJourneyRequestV1) (*emptypb.Empty, error)
type UnsafeJourneyApiV1Server ¶
type UnsafeJourneyApiV1Server interface {
// contains filtered or unexported methods
}
UnsafeJourneyApiV1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JourneyApiV1Server will result in compilation errors.
type UpdateJourneyRequestV1 ¶
type UpdateJourneyRequestV1 struct { Journey *Journey `protobuf:"bytes,1,opt,name=journey,proto3" json:"journey,omitempty"` // contains filtered or unexported fields }
func (*UpdateJourneyRequestV1) Descriptor
deprecated
func (*UpdateJourneyRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJourneyRequestV1.ProtoReflect.Descriptor instead.
func (*UpdateJourneyRequestV1) GetJourney ¶
func (x *UpdateJourneyRequestV1) GetJourney() *Journey
func (*UpdateJourneyRequestV1) ProtoMessage ¶
func (*UpdateJourneyRequestV1) ProtoMessage()
func (*UpdateJourneyRequestV1) ProtoReflect ¶
func (x *UpdateJourneyRequestV1) ProtoReflect() protoreflect.Message
func (*UpdateJourneyRequestV1) Reset ¶
func (x *UpdateJourneyRequestV1) Reset()
func (*UpdateJourneyRequestV1) String ¶
func (x *UpdateJourneyRequestV1) String() string
func (*UpdateJourneyRequestV1) Validate ¶
func (m *UpdateJourneyRequestV1) Validate() error
Validate checks the field values on UpdateJourneyRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateJourneyRequestV1ValidationError ¶
type UpdateJourneyRequestV1ValidationError struct {
// contains filtered or unexported fields
}
UpdateJourneyRequestV1ValidationError is the validation error returned by UpdateJourneyRequestV1.Validate if the designated constraints aren't met.
func (UpdateJourneyRequestV1ValidationError) Cause ¶
func (e UpdateJourneyRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (UpdateJourneyRequestV1ValidationError) Error ¶
func (e UpdateJourneyRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateJourneyRequestV1ValidationError) ErrorName ¶
func (e UpdateJourneyRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateJourneyRequestV1ValidationError) Field ¶
func (e UpdateJourneyRequestV1ValidationError) Field() string
Field function returns field value.
func (UpdateJourneyRequestV1ValidationError) Key ¶
func (e UpdateJourneyRequestV1ValidationError) Key() bool
Key function returns key value.
func (UpdateJourneyRequestV1ValidationError) Reason ¶
func (e UpdateJourneyRequestV1ValidationError) Reason() string
Reason function returns reason value.
type UpdateJourneyTaskRequestV1 ¶
type UpdateJourneyTaskRequestV1 struct { Journey *Journey `protobuf:"bytes,1,opt,name=journey,proto3" json:"journey,omitempty"` // contains filtered or unexported fields }
func (*UpdateJourneyTaskRequestV1) Descriptor
deprecated
func (*UpdateJourneyTaskRequestV1) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJourneyTaskRequestV1.ProtoReflect.Descriptor instead.
func (*UpdateJourneyTaskRequestV1) GetJourney ¶
func (x *UpdateJourneyTaskRequestV1) GetJourney() *Journey
func (*UpdateJourneyTaskRequestV1) ProtoMessage ¶
func (*UpdateJourneyTaskRequestV1) ProtoMessage()
func (*UpdateJourneyTaskRequestV1) ProtoReflect ¶
func (x *UpdateJourneyTaskRequestV1) ProtoReflect() protoreflect.Message
func (*UpdateJourneyTaskRequestV1) Reset ¶
func (x *UpdateJourneyTaskRequestV1) Reset()
func (*UpdateJourneyTaskRequestV1) String ¶
func (x *UpdateJourneyTaskRequestV1) String() string
func (*UpdateJourneyTaskRequestV1) Validate ¶
func (m *UpdateJourneyTaskRequestV1) Validate() error
Validate checks the field values on UpdateJourneyTaskRequestV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateJourneyTaskRequestV1ValidationError ¶
type UpdateJourneyTaskRequestV1ValidationError struct {
// contains filtered or unexported fields
}
UpdateJourneyTaskRequestV1ValidationError is the validation error returned by UpdateJourneyTaskRequestV1.Validate if the designated constraints aren't met.
func (UpdateJourneyTaskRequestV1ValidationError) Cause ¶
func (e UpdateJourneyTaskRequestV1ValidationError) Cause() error
Cause function returns cause value.
func (UpdateJourneyTaskRequestV1ValidationError) Error ¶
func (e UpdateJourneyTaskRequestV1ValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateJourneyTaskRequestV1ValidationError) ErrorName ¶
func (e UpdateJourneyTaskRequestV1ValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateJourneyTaskRequestV1ValidationError) Field ¶
func (e UpdateJourneyTaskRequestV1ValidationError) Field() string
Field function returns field value.
func (UpdateJourneyTaskRequestV1ValidationError) Key ¶
func (e UpdateJourneyTaskRequestV1ValidationError) Key() bool
Key function returns key value.
func (UpdateJourneyTaskRequestV1ValidationError) Reason ¶
func (e UpdateJourneyTaskRequestV1ValidationError) Reason() string
Reason function returns reason value.