v1

package
v0.2.61 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_growth_api_growth_v1_growth_proto protoreflect.FileDescriptor
View Source
var GrowthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "growth.v1.GrowthService",
	HandlerType: (*GrowthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAvailableEventKinds",
			Handler:    _GrowthService_GetAvailableEventKinds_Handler,
		},
		{
			MethodName: "GetStreak",
			Handler:    _GrowthService_GetStreak_Handler,
		},
		{
			MethodName: "GetStreaks",
			Handler:    _GrowthService_GetStreaks_Handler,
		},
		{
			MethodName: "CreateStreak",
			Handler:    _GrowthService_CreateStreak_Handler,
		},
		{
			MethodName: "UpdateStreak",
			Handler:    _GrowthService_UpdateStreak_Handler,
		},
		{
			MethodName: "RemoveStreak",
			Handler:    _GrowthService_RemoveStreak_Handler,
		},
		{
			MethodName: "GetStreakEventKinds",
			Handler:    _GrowthService_GetStreakEventKinds_Handler,
		},
		{
			MethodName: "AddStreakEventKind",
			Handler:    _GrowthService_AddStreakEventKind_Handler,
		},
		{
			MethodName: "DeleteStreakEventKind",
			Handler:    _GrowthService_DeleteStreakEventKind_Handler,
		},
		{
			MethodName: "GetStreakCoins",
			Handler:    _GrowthService_GetStreakCoins_Handler,
		},
		{
			MethodName: "AddStreakCoins",
			Handler:    _GrowthService_AddStreakCoins_Handler,
		},
		{
			MethodName: "DeleteStreakCoins",
			Handler:    _GrowthService_DeleteStreakCoins_Handler,
		},
		{
			MethodName: "GetUserCoins",
			Handler:    _GrowthService_GetUserCoins_Handler,
		},
		{
			MethodName: "GetEarnedStreakCoins",
			Handler:    _GrowthService_GetEarnedStreakCoins_Handler,
		},
		{
			MethodName: "GetBestUserStreak",
			Handler:    _GrowthService_GetBestUserStreak_Handler,
		},
		{
			MethodName: "GetCurrentUserStreak",
			Handler:    _GrowthService_GetCurrentUserStreak_Handler,
		},
		{
			MethodName: "SaveAffiliateLinkClick",
			Handler:    _GrowthService_SaveAffiliateLinkClick_Handler,
		},
		{
			MethodName: "GetAffiliateLinkStats",
			Handler:    _GrowthService_GetAffiliateLinkStats_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "growth-api/growth/v1/growth.proto",
}

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

Functions

func RegisterGrowthServiceServer

func RegisterGrowthServiceServer(s grpc.ServiceRegistrar, srv GrowthServiceServer)

Types

type AddStreakCoinsRequest

type AddStreakCoinsRequest struct {
	StreakId         string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	CoinsCount       int64  `protobuf:"varint,2,opt,name=coins_count,json=coinsCount,proto3" json:"coins_count,omitempty"`
	EveryStreakCount int64  `protobuf:"varint,3,opt,name=every_streak_count,json=everyStreakCount,proto3" json:"every_streak_count,omitempty"`
	// contains filtered or unexported fields
}

func (*AddStreakCoinsRequest) Descriptor deprecated

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

Deprecated: Use AddStreakCoinsRequest.ProtoReflect.Descriptor instead.

func (*AddStreakCoinsRequest) GetCoinsCount

func (x *AddStreakCoinsRequest) GetCoinsCount() int64

func (*AddStreakCoinsRequest) GetEveryStreakCount

func (x *AddStreakCoinsRequest) GetEveryStreakCount() int64

func (*AddStreakCoinsRequest) GetStreakId

func (x *AddStreakCoinsRequest) GetStreakId() string

func (*AddStreakCoinsRequest) ProtoMessage

func (*AddStreakCoinsRequest) ProtoMessage()

func (*AddStreakCoinsRequest) ProtoReflect

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

func (*AddStreakCoinsRequest) Reset

func (x *AddStreakCoinsRequest) Reset()

func (*AddStreakCoinsRequest) String

func (x *AddStreakCoinsRequest) String() string

type AddStreakCoinsResponse

type AddStreakCoinsResponse struct {
	// contains filtered or unexported fields
}

func (*AddStreakCoinsResponse) Descriptor deprecated

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

Deprecated: Use AddStreakCoinsResponse.ProtoReflect.Descriptor instead.

func (*AddStreakCoinsResponse) ProtoMessage

func (*AddStreakCoinsResponse) ProtoMessage()

func (*AddStreakCoinsResponse) ProtoReflect

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

func (*AddStreakCoinsResponse) Reset

func (x *AddStreakCoinsResponse) Reset()

func (*AddStreakCoinsResponse) String

func (x *AddStreakCoinsResponse) String() string

type AddStreakEventKindRequest

type AddStreakEventKindRequest struct {
	StreakId  string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	EventKind string `protobuf:"bytes,2,opt,name=event_kind,json=eventKind,proto3" json:"event_kind,omitempty"`
	// contains filtered or unexported fields
}

func (*AddStreakEventKindRequest) Descriptor deprecated

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

Deprecated: Use AddStreakEventKindRequest.ProtoReflect.Descriptor instead.

func (*AddStreakEventKindRequest) GetEventKind

func (x *AddStreakEventKindRequest) GetEventKind() string

func (*AddStreakEventKindRequest) GetStreakId

func (x *AddStreakEventKindRequest) GetStreakId() string

func (*AddStreakEventKindRequest) ProtoMessage

func (*AddStreakEventKindRequest) ProtoMessage()

func (*AddStreakEventKindRequest) ProtoReflect

func (*AddStreakEventKindRequest) Reset

func (x *AddStreakEventKindRequest) Reset()

func (*AddStreakEventKindRequest) String

func (x *AddStreakEventKindRequest) String() string

type AddStreakEventKindResponse

type AddStreakEventKindResponse struct {
	// contains filtered or unexported fields
}

func (*AddStreakEventKindResponse) Descriptor deprecated

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

Deprecated: Use AddStreakEventKindResponse.ProtoReflect.Descriptor instead.

func (*AddStreakEventKindResponse) ProtoMessage

func (*AddStreakEventKindResponse) ProtoMessage()

func (*AddStreakEventKindResponse) ProtoReflect

func (*AddStreakEventKindResponse) Reset

func (x *AddStreakEventKindResponse) Reset()

func (*AddStreakEventKindResponse) String

func (x *AddStreakEventKindResponse) String() string

type CreateStreakRequest

type CreateStreakRequest struct {
	Name            string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description     *string              `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	EventsPerPeriod int64                `protobuf:"varint,4,opt,name=events_per_period,json=eventsPerPeriod,proto3" json:"events_per_period,omitempty"`
	Period          *durationpb.Duration `protobuf:"bytes,5,opt,name=period,proto3" json:"period,omitempty"`
	EventKinds      []string             `protobuf:"bytes,6,rep,name=event_kinds,json=eventKinds,proto3" json:"event_kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStreakRequest) Descriptor deprecated

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

Deprecated: Use CreateStreakRequest.ProtoReflect.Descriptor instead.

func (*CreateStreakRequest) GetDescription

func (x *CreateStreakRequest) GetDescription() string

func (*CreateStreakRequest) GetEventKinds

func (x *CreateStreakRequest) GetEventKinds() []string

func (*CreateStreakRequest) GetEventsPerPeriod

func (x *CreateStreakRequest) GetEventsPerPeriod() int64

func (*CreateStreakRequest) GetName

func (x *CreateStreakRequest) GetName() string

func (*CreateStreakRequest) GetPeriod

func (x *CreateStreakRequest) GetPeriod() *durationpb.Duration

func (*CreateStreakRequest) ProtoMessage

func (*CreateStreakRequest) ProtoMessage()

func (*CreateStreakRequest) ProtoReflect

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

func (*CreateStreakRequest) Reset

func (x *CreateStreakRequest) Reset()

func (*CreateStreakRequest) String

func (x *CreateStreakRequest) String() string

type CreateStreakResponse

type CreateStreakResponse struct {
	Streak *Streak `protobuf:"bytes,1,opt,name=streak,proto3" json:"streak,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStreakResponse) Descriptor deprecated

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

Deprecated: Use CreateStreakResponse.ProtoReflect.Descriptor instead.

func (*CreateStreakResponse) GetStreak

func (x *CreateStreakResponse) GetStreak() *Streak

func (*CreateStreakResponse) ProtoMessage

func (*CreateStreakResponse) ProtoMessage()

func (*CreateStreakResponse) ProtoReflect

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

func (*CreateStreakResponse) Reset

func (x *CreateStreakResponse) Reset()

func (*CreateStreakResponse) String

func (x *CreateStreakResponse) String() string

type DeleteStreakCoinsRequest

type DeleteStreakCoinsRequest struct {
	StreakId         string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	EveryStreakCount int64  `protobuf:"varint,3,opt,name=every_streak_count,json=everyStreakCount,proto3" json:"every_streak_count,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteStreakCoinsRequest) Descriptor deprecated

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

Deprecated: Use DeleteStreakCoinsRequest.ProtoReflect.Descriptor instead.

func (*DeleteStreakCoinsRequest) GetEveryStreakCount

func (x *DeleteStreakCoinsRequest) GetEveryStreakCount() int64

func (*DeleteStreakCoinsRequest) GetStreakId

func (x *DeleteStreakCoinsRequest) GetStreakId() string

func (*DeleteStreakCoinsRequest) ProtoMessage

func (*DeleteStreakCoinsRequest) ProtoMessage()

func (*DeleteStreakCoinsRequest) ProtoReflect

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

func (*DeleteStreakCoinsRequest) Reset

func (x *DeleteStreakCoinsRequest) Reset()

func (*DeleteStreakCoinsRequest) String

func (x *DeleteStreakCoinsRequest) String() string

type DeleteStreakCoinsResponse

type DeleteStreakCoinsResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteStreakCoinsResponse) Descriptor deprecated

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

Deprecated: Use DeleteStreakCoinsResponse.ProtoReflect.Descriptor instead.

func (*DeleteStreakCoinsResponse) ProtoMessage

func (*DeleteStreakCoinsResponse) ProtoMessage()

func (*DeleteStreakCoinsResponse) ProtoReflect

func (*DeleteStreakCoinsResponse) Reset

func (x *DeleteStreakCoinsResponse) Reset()

func (*DeleteStreakCoinsResponse) String

func (x *DeleteStreakCoinsResponse) String() string

type DeleteStreakEventKindRequest

type DeleteStreakEventKindRequest struct {
	StreakId  string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	EventKind string `protobuf:"bytes,2,opt,name=event_kind,json=eventKind,proto3" json:"event_kind,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteStreakEventKindRequest) Descriptor deprecated

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

Deprecated: Use DeleteStreakEventKindRequest.ProtoReflect.Descriptor instead.

func (*DeleteStreakEventKindRequest) GetEventKind

func (x *DeleteStreakEventKindRequest) GetEventKind() string

func (*DeleteStreakEventKindRequest) GetStreakId

func (x *DeleteStreakEventKindRequest) GetStreakId() string

func (*DeleteStreakEventKindRequest) ProtoMessage

func (*DeleteStreakEventKindRequest) ProtoMessage()

func (*DeleteStreakEventKindRequest) ProtoReflect

func (*DeleteStreakEventKindRequest) Reset

func (x *DeleteStreakEventKindRequest) Reset()

func (*DeleteStreakEventKindRequest) String

type DeleteStreakEventKindResponse

type DeleteStreakEventKindResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteStreakEventKindResponse) Descriptor deprecated

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

Deprecated: Use DeleteStreakEventKindResponse.ProtoReflect.Descriptor instead.

func (*DeleteStreakEventKindResponse) ProtoMessage

func (*DeleteStreakEventKindResponse) ProtoMessage()

func (*DeleteStreakEventKindResponse) ProtoReflect

func (*DeleteStreakEventKindResponse) Reset

func (x *DeleteStreakEventKindResponse) Reset()

func (*DeleteStreakEventKindResponse) String

type GetAffiliateLinkStatsRequest added in v0.2.58

type GetAffiliateLinkStatsRequest struct {

	// user_id is the user's id who's stats we want to get.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAffiliateLinkStatsRequest) Descriptor deprecated added in v0.2.58

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

Deprecated: Use GetAffiliateLinkStatsRequest.ProtoReflect.Descriptor instead.

func (*GetAffiliateLinkStatsRequest) GetUserId added in v0.2.58

func (x *GetAffiliateLinkStatsRequest) GetUserId() string

func (*GetAffiliateLinkStatsRequest) ProtoMessage added in v0.2.58

func (*GetAffiliateLinkStatsRequest) ProtoMessage()

func (*GetAffiliateLinkStatsRequest) ProtoReflect added in v0.2.58

func (*GetAffiliateLinkStatsRequest) Reset added in v0.2.58

func (x *GetAffiliateLinkStatsRequest) Reset()

func (*GetAffiliateLinkStatsRequest) String added in v0.2.58

type GetAffiliateLinkStatsResponse added in v0.2.58

type GetAffiliateLinkStatsResponse struct {
	ClicksCount  int64 `protobuf:"varint,1,opt,name=clicks_count,json=clicksCount,proto3" json:"clicks_count,omitempty"`
	SignupsCount int64 `protobuf:"varint,2,opt,name=signups_count,json=signupsCount,proto3" json:"signups_count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAffiliateLinkStatsResponse) Descriptor deprecated added in v0.2.58

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

Deprecated: Use GetAffiliateLinkStatsResponse.ProtoReflect.Descriptor instead.

func (*GetAffiliateLinkStatsResponse) GetClicksCount added in v0.2.58

func (x *GetAffiliateLinkStatsResponse) GetClicksCount() int64

func (*GetAffiliateLinkStatsResponse) GetSignupsCount added in v0.2.58

func (x *GetAffiliateLinkStatsResponse) GetSignupsCount() int64

func (*GetAffiliateLinkStatsResponse) ProtoMessage added in v0.2.58

func (*GetAffiliateLinkStatsResponse) ProtoMessage()

func (*GetAffiliateLinkStatsResponse) ProtoReflect added in v0.2.58

func (*GetAffiliateLinkStatsResponse) Reset added in v0.2.58

func (x *GetAffiliateLinkStatsResponse) Reset()

func (*GetAffiliateLinkStatsResponse) String added in v0.2.58

type GetAvailableEventKindsRequest

type GetAvailableEventKindsRequest struct {
	// contains filtered or unexported fields
}

func (*GetAvailableEventKindsRequest) Descriptor deprecated

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

Deprecated: Use GetAvailableEventKindsRequest.ProtoReflect.Descriptor instead.

func (*GetAvailableEventKindsRequest) ProtoMessage

func (*GetAvailableEventKindsRequest) ProtoMessage()

func (*GetAvailableEventKindsRequest) ProtoReflect

func (*GetAvailableEventKindsRequest) Reset

func (x *GetAvailableEventKindsRequest) Reset()

func (*GetAvailableEventKindsRequest) String

type GetAvailableEventKindsResponse

type GetAvailableEventKindsResponse struct {
	EventKinds []string `protobuf:"bytes,1,rep,name=event_kinds,json=eventKinds,proto3" json:"event_kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAvailableEventKindsResponse) Descriptor deprecated

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

Deprecated: Use GetAvailableEventKindsResponse.ProtoReflect.Descriptor instead.

func (*GetAvailableEventKindsResponse) GetEventKinds

func (x *GetAvailableEventKindsResponse) GetEventKinds() []string

func (*GetAvailableEventKindsResponse) ProtoMessage

func (*GetAvailableEventKindsResponse) ProtoMessage()

func (*GetAvailableEventKindsResponse) ProtoReflect

func (*GetAvailableEventKindsResponse) Reset

func (x *GetAvailableEventKindsResponse) Reset()

func (*GetAvailableEventKindsResponse) String

type GetBestUserStreakRequest

type GetBestUserStreakRequest struct {
	StreakId string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBestUserStreakRequest) Descriptor deprecated

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

Deprecated: Use GetBestUserStreakRequest.ProtoReflect.Descriptor instead.

func (*GetBestUserStreakRequest) GetStreakId

func (x *GetBestUserStreakRequest) GetStreakId() string

func (*GetBestUserStreakRequest) ProtoMessage

func (*GetBestUserStreakRequest) ProtoMessage()

func (*GetBestUserStreakRequest) ProtoReflect

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

func (*GetBestUserStreakRequest) Reset

func (x *GetBestUserStreakRequest) Reset()

func (*GetBestUserStreakRequest) String

func (x *GetBestUserStreakRequest) String() string

type GetBestUserStreakResponse

type GetBestUserStreakResponse struct {
	UserStreak *UserStreak `protobuf:"bytes,1,opt,name=user_streak,json=userStreak,proto3,oneof" json:"user_streak,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBestUserStreakResponse) Descriptor deprecated

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

Deprecated: Use GetBestUserStreakResponse.ProtoReflect.Descriptor instead.

func (*GetBestUserStreakResponse) GetUserStreak

func (x *GetBestUserStreakResponse) GetUserStreak() *UserStreak

func (*GetBestUserStreakResponse) ProtoMessage

func (*GetBestUserStreakResponse) ProtoMessage()

func (*GetBestUserStreakResponse) ProtoReflect

func (*GetBestUserStreakResponse) Reset

func (x *GetBestUserStreakResponse) Reset()

func (*GetBestUserStreakResponse) String

func (x *GetBestUserStreakResponse) String() string

type GetCurrentUserStreakRequest

type GetCurrentUserStreakRequest struct {
	StreakId string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentUserStreakRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentUserStreakRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentUserStreakRequest) GetStreakId

func (x *GetCurrentUserStreakRequest) GetStreakId() string

func (*GetCurrentUserStreakRequest) ProtoMessage

func (*GetCurrentUserStreakRequest) ProtoMessage()

func (*GetCurrentUserStreakRequest) ProtoReflect

func (*GetCurrentUserStreakRequest) Reset

func (x *GetCurrentUserStreakRequest) Reset()

func (*GetCurrentUserStreakRequest) String

func (x *GetCurrentUserStreakRequest) String() string

type GetCurrentUserStreakResponse

type GetCurrentUserStreakResponse struct {
	UserStreak *UserStreak `protobuf:"bytes,1,opt,name=user_streak,json=userStreak,proto3,oneof" json:"user_streak,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentUserStreakResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentUserStreakResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentUserStreakResponse) GetUserStreak

func (x *GetCurrentUserStreakResponse) GetUserStreak() *UserStreak

func (*GetCurrentUserStreakResponse) ProtoMessage

func (*GetCurrentUserStreakResponse) ProtoMessage()

func (*GetCurrentUserStreakResponse) ProtoReflect

func (*GetCurrentUserStreakResponse) Reset

func (x *GetCurrentUserStreakResponse) Reset()

func (*GetCurrentUserStreakResponse) String

type GetEarnedStreakCoinsRequest

type GetEarnedStreakCoinsRequest struct {
	StreakId string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEarnedStreakCoinsRequest) Descriptor deprecated

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

Deprecated: Use GetEarnedStreakCoinsRequest.ProtoReflect.Descriptor instead.

func (*GetEarnedStreakCoinsRequest) GetStreakId

func (x *GetEarnedStreakCoinsRequest) GetStreakId() string

func (*GetEarnedStreakCoinsRequest) ProtoMessage

func (*GetEarnedStreakCoinsRequest) ProtoMessage()

func (*GetEarnedStreakCoinsRequest) ProtoReflect

func (*GetEarnedStreakCoinsRequest) Reset

func (x *GetEarnedStreakCoinsRequest) Reset()

func (*GetEarnedStreakCoinsRequest) String

func (x *GetEarnedStreakCoinsRequest) String() string

type GetEarnedStreakCoinsResponse

type GetEarnedStreakCoinsResponse struct {
	Coins int64 `protobuf:"varint,1,opt,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEarnedStreakCoinsResponse) Descriptor deprecated

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

Deprecated: Use GetEarnedStreakCoinsResponse.ProtoReflect.Descriptor instead.

func (*GetEarnedStreakCoinsResponse) GetCoins

func (x *GetEarnedStreakCoinsResponse) GetCoins() int64

func (*GetEarnedStreakCoinsResponse) ProtoMessage

func (*GetEarnedStreakCoinsResponse) ProtoMessage()

func (*GetEarnedStreakCoinsResponse) ProtoReflect

func (*GetEarnedStreakCoinsResponse) Reset

func (x *GetEarnedStreakCoinsResponse) Reset()

func (*GetEarnedStreakCoinsResponse) String

type GetStreakCoinsRequest

type GetStreakCoinsRequest struct {
	StreakId string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreakCoinsRequest) Descriptor deprecated

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

Deprecated: Use GetStreakCoinsRequest.ProtoReflect.Descriptor instead.

func (*GetStreakCoinsRequest) GetStreakId

func (x *GetStreakCoinsRequest) GetStreakId() string

func (*GetStreakCoinsRequest) ProtoMessage

func (*GetStreakCoinsRequest) ProtoMessage()

func (*GetStreakCoinsRequest) ProtoReflect

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

func (*GetStreakCoinsRequest) Reset

func (x *GetStreakCoinsRequest) Reset()

func (*GetStreakCoinsRequest) String

func (x *GetStreakCoinsRequest) String() string

type GetStreakCoinsResponse

type GetStreakCoinsResponse struct {
	StreakCoins []*StreakCoin `protobuf:"bytes,1,rep,name=streak_coins,json=streakCoins,proto3" json:"streak_coins,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreakCoinsResponse) Descriptor deprecated

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

Deprecated: Use GetStreakCoinsResponse.ProtoReflect.Descriptor instead.

func (*GetStreakCoinsResponse) GetStreakCoins

func (x *GetStreakCoinsResponse) GetStreakCoins() []*StreakCoin

func (*GetStreakCoinsResponse) ProtoMessage

func (*GetStreakCoinsResponse) ProtoMessage()

func (*GetStreakCoinsResponse) ProtoReflect

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

func (*GetStreakCoinsResponse) Reset

func (x *GetStreakCoinsResponse) Reset()

func (*GetStreakCoinsResponse) String

func (x *GetStreakCoinsResponse) String() string

type GetStreakEventKindsRequest

type GetStreakEventKindsRequest struct {
	StreakId string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreakEventKindsRequest) Descriptor deprecated

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

Deprecated: Use GetStreakEventKindsRequest.ProtoReflect.Descriptor instead.

func (*GetStreakEventKindsRequest) GetStreakId

func (x *GetStreakEventKindsRequest) GetStreakId() string

func (*GetStreakEventKindsRequest) ProtoMessage

func (*GetStreakEventKindsRequest) ProtoMessage()

func (*GetStreakEventKindsRequest) ProtoReflect

func (*GetStreakEventKindsRequest) Reset

func (x *GetStreakEventKindsRequest) Reset()

func (*GetStreakEventKindsRequest) String

func (x *GetStreakEventKindsRequest) String() string

type GetStreakEventKindsResponse

type GetStreakEventKindsResponse struct {
	EventKinds []string `protobuf:"bytes,1,rep,name=event_kinds,json=eventKinds,proto3" json:"event_kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreakEventKindsResponse) Descriptor deprecated

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

Deprecated: Use GetStreakEventKindsResponse.ProtoReflect.Descriptor instead.

func (*GetStreakEventKindsResponse) GetEventKinds

func (x *GetStreakEventKindsResponse) GetEventKinds() []string

func (*GetStreakEventKindsResponse) ProtoMessage

func (*GetStreakEventKindsResponse) ProtoMessage()

func (*GetStreakEventKindsResponse) ProtoReflect

func (*GetStreakEventKindsResponse) Reset

func (x *GetStreakEventKindsResponse) Reset()

func (*GetStreakEventKindsResponse) String

func (x *GetStreakEventKindsResponse) String() string

type GetStreakRequest

type GetStreakRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreakRequest) Descriptor deprecated

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

Deprecated: Use GetStreakRequest.ProtoReflect.Descriptor instead.

func (*GetStreakRequest) GetId

func (x *GetStreakRequest) GetId() string

func (*GetStreakRequest) ProtoMessage

func (*GetStreakRequest) ProtoMessage()

func (*GetStreakRequest) ProtoReflect

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

func (*GetStreakRequest) Reset

func (x *GetStreakRequest) Reset()

func (*GetStreakRequest) String

func (x *GetStreakRequest) String() string

type GetStreakResponse

type GetStreakResponse struct {
	Streak *Streak `protobuf:"bytes,1,opt,name=streak,proto3" json:"streak,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreakResponse) Descriptor deprecated

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

Deprecated: Use GetStreakResponse.ProtoReflect.Descriptor instead.

func (*GetStreakResponse) GetStreak

func (x *GetStreakResponse) GetStreak() *Streak

func (*GetStreakResponse) ProtoMessage

func (*GetStreakResponse) ProtoMessage()

func (*GetStreakResponse) ProtoReflect

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

func (*GetStreakResponse) Reset

func (x *GetStreakResponse) Reset()

func (*GetStreakResponse) String

func (x *GetStreakResponse) String() string

type GetStreaksRequest

type GetStreaksRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreaksRequest) Descriptor deprecated

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

Deprecated: Use GetStreaksRequest.ProtoReflect.Descriptor instead.

func (*GetStreaksRequest) GetIds

func (x *GetStreaksRequest) GetIds() []string

func (*GetStreaksRequest) ProtoMessage

func (*GetStreaksRequest) ProtoMessage()

func (*GetStreaksRequest) ProtoReflect

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

func (*GetStreaksRequest) Reset

func (x *GetStreaksRequest) Reset()

func (*GetStreaksRequest) String

func (x *GetStreaksRequest) String() string

type GetStreaksResponse

type GetStreaksResponse struct {
	Streaks []*Streak `protobuf:"bytes,1,rep,name=streaks,proto3" json:"streaks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreaksResponse) Descriptor deprecated

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

Deprecated: Use GetStreaksResponse.ProtoReflect.Descriptor instead.

func (*GetStreaksResponse) GetStreaks

func (x *GetStreaksResponse) GetStreaks() []*Streak

func (*GetStreaksResponse) ProtoMessage

func (*GetStreaksResponse) ProtoMessage()

func (*GetStreaksResponse) ProtoReflect

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

func (*GetStreaksResponse) Reset

func (x *GetStreaksResponse) Reset()

func (*GetStreaksResponse) String

func (x *GetStreaksResponse) String() string

type GetUserCoinsRequest

type GetUserCoinsRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserCoinsRequest) Descriptor deprecated

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

Deprecated: Use GetUserCoinsRequest.ProtoReflect.Descriptor instead.

func (*GetUserCoinsRequest) GetUserId

func (x *GetUserCoinsRequest) GetUserId() string

func (*GetUserCoinsRequest) ProtoMessage

func (*GetUserCoinsRequest) ProtoMessage()

func (*GetUserCoinsRequest) ProtoReflect

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

func (*GetUserCoinsRequest) Reset

func (x *GetUserCoinsRequest) Reset()

func (*GetUserCoinsRequest) String

func (x *GetUserCoinsRequest) String() string

type GetUserCoinsResponse

type GetUserCoinsResponse struct {
	Coins int64 `protobuf:"varint,1,opt,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserCoinsResponse) Descriptor deprecated

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

Deprecated: Use GetUserCoinsResponse.ProtoReflect.Descriptor instead.

func (*GetUserCoinsResponse) GetCoins

func (x *GetUserCoinsResponse) GetCoins() int64

func (*GetUserCoinsResponse) ProtoMessage

func (*GetUserCoinsResponse) ProtoMessage()

func (*GetUserCoinsResponse) ProtoReflect

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

func (*GetUserCoinsResponse) Reset

func (x *GetUserCoinsResponse) Reset()

func (*GetUserCoinsResponse) String

func (x *GetUserCoinsResponse) String() string

type GrowthServiceClient

type GrowthServiceClient interface {
	GetAvailableEventKinds(ctx context.Context, in *GetAvailableEventKindsRequest, opts ...grpc.CallOption) (*GetAvailableEventKindsResponse, error)
	GetStreak(ctx context.Context, in *GetStreakRequest, opts ...grpc.CallOption) (*GetStreakResponse, error)
	GetStreaks(ctx context.Context, in *GetStreaksRequest, opts ...grpc.CallOption) (*GetStreaksResponse, error)
	CreateStreak(ctx context.Context, in *CreateStreakRequest, opts ...grpc.CallOption) (*CreateStreakResponse, error)
	UpdateStreak(ctx context.Context, in *UpdateStreakRequest, opts ...grpc.CallOption) (*UpdateStreakResponse, error)
	RemoveStreak(ctx context.Context, in *RemoveStreakRequest, opts ...grpc.CallOption) (*RemoveStreakResponse, error)
	GetStreakEventKinds(ctx context.Context, in *GetStreakEventKindsRequest, opts ...grpc.CallOption) (*GetStreakEventKindsResponse, error)
	AddStreakEventKind(ctx context.Context, in *AddStreakEventKindRequest, opts ...grpc.CallOption) (*AddStreakEventKindResponse, error)
	DeleteStreakEventKind(ctx context.Context, in *DeleteStreakEventKindRequest, opts ...grpc.CallOption) (*DeleteStreakEventKindResponse, error)
	GetStreakCoins(ctx context.Context, in *GetStreakCoinsRequest, opts ...grpc.CallOption) (*GetStreakCoinsResponse, error)
	AddStreakCoins(ctx context.Context, in *AddStreakCoinsRequest, opts ...grpc.CallOption) (*AddStreakCoinsResponse, error)
	DeleteStreakCoins(ctx context.Context, in *DeleteStreakCoinsRequest, opts ...grpc.CallOption) (*DeleteStreakCoinsResponse, error)
	GetUserCoins(ctx context.Context, in *GetUserCoinsRequest, opts ...grpc.CallOption) (*GetUserCoinsResponse, error)
	GetEarnedStreakCoins(ctx context.Context, in *GetEarnedStreakCoinsRequest, opts ...grpc.CallOption) (*GetEarnedStreakCoinsResponse, error)
	GetBestUserStreak(ctx context.Context, in *GetBestUserStreakRequest, opts ...grpc.CallOption) (*GetBestUserStreakResponse, error)
	GetCurrentUserStreak(ctx context.Context, in *GetCurrentUserStreakRequest, opts ...grpc.CallOption) (*GetCurrentUserStreakResponse, error)
	SaveAffiliateLinkClick(ctx context.Context, in *SaveAffiliateLinkClickRequest, opts ...grpc.CallOption) (*SaveAffiliateLinkClickResponse, error)
	GetAffiliateLinkStats(ctx context.Context, in *GetAffiliateLinkStatsRequest, opts ...grpc.CallOption) (*GetAffiliateLinkStatsResponse, error)
}

GrowthServiceClient is the client API for GrowthService 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 GrowthServiceServer

type GrowthServiceServer interface {
	GetAvailableEventKinds(context.Context, *GetAvailableEventKindsRequest) (*GetAvailableEventKindsResponse, error)
	GetStreak(context.Context, *GetStreakRequest) (*GetStreakResponse, error)
	GetStreaks(context.Context, *GetStreaksRequest) (*GetStreaksResponse, error)
	CreateStreak(context.Context, *CreateStreakRequest) (*CreateStreakResponse, error)
	UpdateStreak(context.Context, *UpdateStreakRequest) (*UpdateStreakResponse, error)
	RemoveStreak(context.Context, *RemoveStreakRequest) (*RemoveStreakResponse, error)
	GetStreakEventKinds(context.Context, *GetStreakEventKindsRequest) (*GetStreakEventKindsResponse, error)
	AddStreakEventKind(context.Context, *AddStreakEventKindRequest) (*AddStreakEventKindResponse, error)
	DeleteStreakEventKind(context.Context, *DeleteStreakEventKindRequest) (*DeleteStreakEventKindResponse, error)
	GetStreakCoins(context.Context, *GetStreakCoinsRequest) (*GetStreakCoinsResponse, error)
	AddStreakCoins(context.Context, *AddStreakCoinsRequest) (*AddStreakCoinsResponse, error)
	DeleteStreakCoins(context.Context, *DeleteStreakCoinsRequest) (*DeleteStreakCoinsResponse, error)
	GetUserCoins(context.Context, *GetUserCoinsRequest) (*GetUserCoinsResponse, error)
	GetEarnedStreakCoins(context.Context, *GetEarnedStreakCoinsRequest) (*GetEarnedStreakCoinsResponse, error)
	GetBestUserStreak(context.Context, *GetBestUserStreakRequest) (*GetBestUserStreakResponse, error)
	GetCurrentUserStreak(context.Context, *GetCurrentUserStreakRequest) (*GetCurrentUserStreakResponse, error)
	SaveAffiliateLinkClick(context.Context, *SaveAffiliateLinkClickRequest) (*SaveAffiliateLinkClickResponse, error)
	GetAffiliateLinkStats(context.Context, *GetAffiliateLinkStatsRequest) (*GetAffiliateLinkStatsResponse, error)
	// contains filtered or unexported methods
}

GrowthServiceServer is the server API for GrowthService service. All implementations must embed UnimplementedGrowthServiceServer for forward compatibility

type RemoveStreakRequest

type RemoveStreakRequest struct {
	StreakId string `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveStreakRequest) Descriptor deprecated

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

Deprecated: Use RemoveStreakRequest.ProtoReflect.Descriptor instead.

func (*RemoveStreakRequest) GetStreakId

func (x *RemoveStreakRequest) GetStreakId() string

func (*RemoveStreakRequest) ProtoMessage

func (*RemoveStreakRequest) ProtoMessage()

func (*RemoveStreakRequest) ProtoReflect

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

func (*RemoveStreakRequest) Reset

func (x *RemoveStreakRequest) Reset()

func (*RemoveStreakRequest) String

func (x *RemoveStreakRequest) String() string

type RemoveStreakResponse

type RemoveStreakResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveStreakResponse) Descriptor deprecated

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

Deprecated: Use RemoveStreakResponse.ProtoReflect.Descriptor instead.

func (*RemoveStreakResponse) ProtoMessage

func (*RemoveStreakResponse) ProtoMessage()

func (*RemoveStreakResponse) ProtoReflect

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

func (*RemoveStreakResponse) Reset

func (x *RemoveStreakResponse) Reset()

func (*RemoveStreakResponse) String

func (x *RemoveStreakResponse) String() string

type SaveAffiliateLinkClickRequest added in v0.2.53

type SaveAffiliateLinkClickRequest struct {

	// The code is affiliate code of user inviting into Picnic.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// The fingerprint is string identifying the user's device.
	Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveAffiliateLinkClickRequest) Descriptor deprecated added in v0.2.53

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

Deprecated: Use SaveAffiliateLinkClickRequest.ProtoReflect.Descriptor instead.

func (*SaveAffiliateLinkClickRequest) GetCode added in v0.2.53

func (*SaveAffiliateLinkClickRequest) GetFingerprint added in v0.2.53

func (x *SaveAffiliateLinkClickRequest) GetFingerprint() string

func (*SaveAffiliateLinkClickRequest) ProtoMessage added in v0.2.53

func (*SaveAffiliateLinkClickRequest) ProtoMessage()

func (*SaveAffiliateLinkClickRequest) ProtoReflect added in v0.2.53

func (*SaveAffiliateLinkClickRequest) Reset added in v0.2.53

func (x *SaveAffiliateLinkClickRequest) Reset()

func (*SaveAffiliateLinkClickRequest) String added in v0.2.53

type SaveAffiliateLinkClickResponse added in v0.2.53

type SaveAffiliateLinkClickResponse struct {
	// contains filtered or unexported fields
}

func (*SaveAffiliateLinkClickResponse) Descriptor deprecated added in v0.2.53

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

Deprecated: Use SaveAffiliateLinkClickResponse.ProtoReflect.Descriptor instead.

func (*SaveAffiliateLinkClickResponse) ProtoMessage added in v0.2.53

func (*SaveAffiliateLinkClickResponse) ProtoMessage()

func (*SaveAffiliateLinkClickResponse) ProtoReflect added in v0.2.53

func (*SaveAffiliateLinkClickResponse) Reset added in v0.2.53

func (x *SaveAffiliateLinkClickResponse) Reset()

func (*SaveAffiliateLinkClickResponse) String added in v0.2.53

type Streak

type Streak struct {
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name            string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedBy       string                 `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Description     string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	EventsPerPeriod int64                  `protobuf:"varint,6,opt,name=events_per_period,json=eventsPerPeriod,proto3" json:"events_per_period,omitempty"`
	Period          *durationpb.Duration   `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Streak) Descriptor deprecated

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

Deprecated: Use Streak.ProtoReflect.Descriptor instead.

func (*Streak) GetCreatedAt

func (x *Streak) GetCreatedAt() *timestamppb.Timestamp

func (*Streak) GetCreatedBy

func (x *Streak) GetCreatedBy() string

func (*Streak) GetDescription

func (x *Streak) GetDescription() string

func (*Streak) GetEventsPerPeriod

func (x *Streak) GetEventsPerPeriod() int64

func (*Streak) GetId

func (x *Streak) GetId() string

func (*Streak) GetName

func (x *Streak) GetName() string

func (*Streak) GetPeriod

func (x *Streak) GetPeriod() *durationpb.Duration

func (*Streak) ProtoMessage

func (*Streak) ProtoMessage()

func (*Streak) ProtoReflect

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

func (*Streak) Reset

func (x *Streak) Reset()

func (*Streak) String

func (x *Streak) String() string

type StreakCoin

type StreakCoin struct {
	CoinsCount       int64 `protobuf:"varint,1,opt,name=coins_count,json=coinsCount,proto3" json:"coins_count,omitempty"`
	EveryStreakCount int64 `protobuf:"varint,2,opt,name=every_streak_count,json=everyStreakCount,proto3" json:"every_streak_count,omitempty"`
	// contains filtered or unexported fields
}

func (*StreakCoin) Descriptor deprecated

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

Deprecated: Use StreakCoin.ProtoReflect.Descriptor instead.

func (*StreakCoin) GetCoinsCount

func (x *StreakCoin) GetCoinsCount() int64

func (*StreakCoin) GetEveryStreakCount

func (x *StreakCoin) GetEveryStreakCount() int64

func (*StreakCoin) ProtoMessage

func (*StreakCoin) ProtoMessage()

func (*StreakCoin) ProtoReflect

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

func (*StreakCoin) Reset

func (x *StreakCoin) Reset()

func (*StreakCoin) String

func (x *StreakCoin) String() string

type UnimplementedGrowthServiceServer

type UnimplementedGrowthServiceServer struct {
}

UnimplementedGrowthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGrowthServiceServer) AddStreakCoins

func (UnimplementedGrowthServiceServer) AddStreakEventKind

func (UnimplementedGrowthServiceServer) CreateStreak

func (UnimplementedGrowthServiceServer) DeleteStreakCoins

func (UnimplementedGrowthServiceServer) GetAffiliateLinkStats added in v0.2.58

func (UnimplementedGrowthServiceServer) GetBestUserStreak

func (UnimplementedGrowthServiceServer) GetStreak

func (UnimplementedGrowthServiceServer) GetStreakCoins

func (UnimplementedGrowthServiceServer) GetStreaks

func (UnimplementedGrowthServiceServer) GetUserCoins

func (UnimplementedGrowthServiceServer) RemoveStreak

func (UnimplementedGrowthServiceServer) SaveAffiliateLinkClick added in v0.2.53

func (UnimplementedGrowthServiceServer) UpdateStreak

type UnsafeGrowthServiceServer

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

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

type UpdateStreakRequest

type UpdateStreakRequest struct {
	StreakId        string               `protobuf:"bytes,1,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	Name            *string              `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description     *string              `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	EventsPerPeriod *int64               `protobuf:"varint,4,opt,name=events_per_period,json=eventsPerPeriod,proto3,oneof" json:"events_per_period,omitempty"`
	Period          *durationpb.Duration `protobuf:"bytes,5,opt,name=period,proto3,oneof" json:"period,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStreakRequest) Descriptor deprecated

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

Deprecated: Use UpdateStreakRequest.ProtoReflect.Descriptor instead.

func (*UpdateStreakRequest) GetDescription

func (x *UpdateStreakRequest) GetDescription() string

func (*UpdateStreakRequest) GetEventsPerPeriod

func (x *UpdateStreakRequest) GetEventsPerPeriod() int64

func (*UpdateStreakRequest) GetName

func (x *UpdateStreakRequest) GetName() string

func (*UpdateStreakRequest) GetPeriod

func (x *UpdateStreakRequest) GetPeriod() *durationpb.Duration

func (*UpdateStreakRequest) GetStreakId

func (x *UpdateStreakRequest) GetStreakId() string

func (*UpdateStreakRequest) ProtoMessage

func (*UpdateStreakRequest) ProtoMessage()

func (*UpdateStreakRequest) ProtoReflect

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

func (*UpdateStreakRequest) Reset

func (x *UpdateStreakRequest) Reset()

func (*UpdateStreakRequest) String

func (x *UpdateStreakRequest) String() string

type UpdateStreakResponse

type UpdateStreakResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateStreakResponse) Descriptor deprecated

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

Deprecated: Use UpdateStreakResponse.ProtoReflect.Descriptor instead.

func (*UpdateStreakResponse) ProtoMessage

func (*UpdateStreakResponse) ProtoMessage()

func (*UpdateStreakResponse) ProtoReflect

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

func (*UpdateStreakResponse) Reset

func (x *UpdateStreakResponse) Reset()

func (*UpdateStreakResponse) String

func (x *UpdateStreakResponse) String() string

type UserStreak

type UserStreak struct {
	Id                     string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId                 string               `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	StreakId               string               `protobuf:"bytes,3,opt,name=streak_id,json=streakId,proto3" json:"streak_id,omitempty"`
	StreakCount            int64                `protobuf:"varint,4,opt,name=streak_count,json=streakCount,proto3" json:"streak_count,omitempty"`
	RequiredCountOfEvents  int64                `` /* 129-byte string literal not displayed */
	LastBlockCountOfEvents int64                `` /* 134-byte string literal not displayed */
	Period                 *durationpb.Duration `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"`
	// contains filtered or unexported fields
}

func (*UserStreak) Descriptor deprecated

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

Deprecated: Use UserStreak.ProtoReflect.Descriptor instead.

func (*UserStreak) GetId

func (x *UserStreak) GetId() string

func (*UserStreak) GetLastBlockCountOfEvents

func (x *UserStreak) GetLastBlockCountOfEvents() int64

func (*UserStreak) GetPeriod

func (x *UserStreak) GetPeriod() *durationpb.Duration

func (*UserStreak) GetRequiredCountOfEvents

func (x *UserStreak) GetRequiredCountOfEvents() int64

func (*UserStreak) GetStreakCount

func (x *UserStreak) GetStreakCount() int64

func (*UserStreak) GetStreakId

func (x *UserStreak) GetStreakId() string

func (*UserStreak) GetUserId

func (x *UserStreak) GetUserId() string

func (*UserStreak) ProtoMessage

func (*UserStreak) ProtoMessage()

func (*UserStreak) ProtoReflect

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

func (*UserStreak) Reset

func (x *UserStreak) Reset()

func (*UserStreak) String

func (x *UserStreak) String() string

Jump to

Keyboard shortcuts

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