ova_journey_api

package
v0.0.0-...-eb5cc7f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package ova_journey_api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_ova_journey_api_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (CreateJourneyRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (CreateJourneyRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (CreateJourneyRequestV1ValidationError) Field

Field function returns field value.

func (CreateJourneyRequestV1ValidationError) Key

Key function returns key value.

func (CreateJourneyRequestV1ValidationError) Reason

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

Cause function returns cause value.

func (CreateJourneyResponseV1ValidationError) Error

Error satisfies the builtin error interface

func (CreateJourneyResponseV1ValidationError) ErrorName

ErrorName returns error name.

func (CreateJourneyResponseV1ValidationError) Field

Field function returns field value.

func (CreateJourneyResponseV1ValidationError) Key

Key function returns key value.

func (CreateJourneyResponseV1ValidationError) Reason

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 (*CreateJourneyTaskRequestV1) GetStartTime

func (*CreateJourneyTaskRequestV1) GetUserId

func (x *CreateJourneyTaskRequestV1) GetUserId() uint64

func (*CreateJourneyTaskRequestV1) ProtoMessage

func (*CreateJourneyTaskRequestV1) ProtoMessage()

func (*CreateJourneyTaskRequestV1) ProtoReflect

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

Cause function returns cause value.

func (CreateJourneyTaskRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (CreateJourneyTaskRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (CreateJourneyTaskRequestV1ValidationError) Field

Field function returns field value.

func (CreateJourneyTaskRequestV1ValidationError) Key

Key function returns key value.

func (CreateJourneyTaskRequestV1ValidationError) Reason

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

Cause function returns cause value.

func (DescribeJourneyRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (DescribeJourneyRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (DescribeJourneyRequestV1ValidationError) Field

Field function returns field value.

func (DescribeJourneyRequestV1ValidationError) Key

Key function returns key value.

func (DescribeJourneyRequestV1ValidationError) Reason

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 (*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

Cause function returns cause value.

func (DescribeJourneyResponseV1ValidationError) Error

Error satisfies the builtin error interface

func (DescribeJourneyResponseV1ValidationError) ErrorName

ErrorName returns error name.

func (DescribeJourneyResponseV1ValidationError) Field

Field function returns field value.

func (DescribeJourneyResponseV1ValidationError) Key

Key function returns key value.

func (DescribeJourneyResponseV1ValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Journey.ProtoReflect.Descriptor instead.

func (*Journey) GetAddress

func (x *Journey) GetAddress() string

func (*Journey) GetDescription

func (x *Journey) GetDescription() string

func (*Journey) GetEndTime

func (x *Journey) GetEndTime() *timestamppb.Timestamp

func (*Journey) GetJourneyId

func (x *Journey) GetJourneyId() uint64

func (*Journey) GetStartTime

func (x *Journey) GetStartTime() *timestamppb.Timestamp

func (*Journey) GetUserId

func (x *Journey) GetUserId() uint64

func (*Journey) ProtoMessage

func (*Journey) ProtoMessage()

func (*Journey) ProtoReflect

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

func (*Journey) Reset

func (x *Journey) Reset()

func (*Journey) String

func (x *Journey) String() string

func (*Journey) Validate

func (m *Journey) Validate() error

Validate checks the field values on Journey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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.

type JourneyApiV1Server

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

Cause function returns cause value.

func (ListJourneysRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (ListJourneysRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (ListJourneysRequestV1ValidationError) Field

Field function returns field value.

func (ListJourneysRequestV1ValidationError) Key

Key function returns key value.

func (ListJourneysRequestV1ValidationError) Reason

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

Cause function returns cause value.

func (ListJourneysResponseV1ValidationError) Error

Error satisfies the builtin error interface

func (ListJourneysResponseV1ValidationError) ErrorName

ErrorName returns error name.

func (ListJourneysResponseV1ValidationError) Field

Field function returns field value.

func (ListJourneysResponseV1ValidationError) Key

Key function returns key value.

func (ListJourneysResponseV1ValidationError) Reason

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 (*MultiCreateJourneyRequestV1) ProtoMessage

func (*MultiCreateJourneyRequestV1) ProtoMessage()

func (*MultiCreateJourneyRequestV1) ProtoReflect

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

Cause function returns cause value.

func (MultiCreateJourneyRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (MultiCreateJourneyRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (MultiCreateJourneyRequestV1ValidationError) Field

Field function returns field value.

func (MultiCreateJourneyRequestV1ValidationError) Key

Key function returns key value.

func (MultiCreateJourneyRequestV1ValidationError) Reason

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 (*MultiCreateJourneyResponseV1) Reset

func (x *MultiCreateJourneyResponseV1) Reset()

func (*MultiCreateJourneyResponseV1) 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

Cause function returns cause value.

func (MultiCreateJourneyResponseV1ValidationError) Error

Error satisfies the builtin error interface

func (MultiCreateJourneyResponseV1ValidationError) ErrorName

ErrorName returns error name.

func (MultiCreateJourneyResponseV1ValidationError) Field

Field function returns field value.

func (MultiCreateJourneyResponseV1ValidationError) Key

Key function returns key value.

func (MultiCreateJourneyResponseV1ValidationError) Reason

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 (*MultiCreateJourneyTaskRequestV1) ProtoMessage

func (*MultiCreateJourneyTaskRequestV1) ProtoMessage()

func (*MultiCreateJourneyTaskRequestV1) ProtoReflect

func (*MultiCreateJourneyTaskRequestV1) Reset

func (*MultiCreateJourneyTaskRequestV1) 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

Cause function returns cause value.

func (MultiCreateJourneyTaskRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (MultiCreateJourneyTaskRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (MultiCreateJourneyTaskRequestV1ValidationError) Field

Field function returns field value.

func (MultiCreateJourneyTaskRequestV1ValidationError) Key

Key function returns key value.

func (MultiCreateJourneyTaskRequestV1ValidationError) Reason

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

Cause function returns cause value.

func (RemoveJourneyRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (RemoveJourneyRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (RemoveJourneyRequestV1ValidationError) Field

Field function returns field value.

func (RemoveJourneyRequestV1ValidationError) Key

Key function returns key value.

func (RemoveJourneyRequestV1ValidationError) Reason

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 (*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

Cause function returns cause value.

func (RemoveJourneyTaskRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (RemoveJourneyTaskRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (RemoveJourneyTaskRequestV1ValidationError) Field

Field function returns field value.

func (RemoveJourneyTaskRequestV1ValidationError) Key

Key function returns key value.

func (RemoveJourneyTaskRequestV1ValidationError) Reason

Reason function returns reason value.

type UnimplementedJourneyApiV1Server

type UnimplementedJourneyApiV1Server struct {
}

UnimplementedJourneyApiV1Server must be embedded to have forward compatible implementations.

func (UnimplementedJourneyApiV1Server) CreateJourneyTaskV1

func (UnimplementedJourneyApiV1Server) CreateJourneyV1

func (UnimplementedJourneyApiV1Server) DescribeJourneyV1

func (UnimplementedJourneyApiV1Server) ListJourneysV1

func (UnimplementedJourneyApiV1Server) MultiCreateJourneyTaskV1

func (UnimplementedJourneyApiV1Server) RemoveJourneyTaskV1

func (UnimplementedJourneyApiV1Server) RemoveJourneyV1

func (UnimplementedJourneyApiV1Server) UpdateJourneyTaskV1

func (UnimplementedJourneyApiV1Server) UpdateJourneyV1

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

Cause function returns cause value.

func (UpdateJourneyRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (UpdateJourneyRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (UpdateJourneyRequestV1ValidationError) Field

Field function returns field value.

func (UpdateJourneyRequestV1ValidationError) Key

Key function returns key value.

func (UpdateJourneyRequestV1ValidationError) Reason

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 (*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

Cause function returns cause value.

func (UpdateJourneyTaskRequestV1ValidationError) Error

Error satisfies the builtin error interface

func (UpdateJourneyTaskRequestV1ValidationError) ErrorName

ErrorName returns error name.

func (UpdateJourneyTaskRequestV1ValidationError) Field

Field function returns field value.

func (UpdateJourneyTaskRequestV1ValidationError) Key

Key function returns key value.

func (UpdateJourneyTaskRequestV1ValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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