Documentation ¶
Index ¶
- Variables
- func RegisterGrowthServiceServer(s grpc.ServiceRegistrar, srv GrowthServiceServer)
- type AddStreakCoinsRequest
- func (*AddStreakCoinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddStreakCoinsRequest) GetCoinsCount() int64
- func (x *AddStreakCoinsRequest) GetEveryStreakCount() int64
- func (x *AddStreakCoinsRequest) GetStreakId() string
- func (*AddStreakCoinsRequest) ProtoMessage()
- func (x *AddStreakCoinsRequest) ProtoReflect() protoreflect.Message
- func (x *AddStreakCoinsRequest) Reset()
- func (x *AddStreakCoinsRequest) String() string
- type AddStreakCoinsResponse
- type AddStreakEventKindRequest
- func (*AddStreakEventKindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddStreakEventKindRequest) GetEventKind() string
- func (x *AddStreakEventKindRequest) GetStreakId() string
- func (*AddStreakEventKindRequest) ProtoMessage()
- func (x *AddStreakEventKindRequest) ProtoReflect() protoreflect.Message
- func (x *AddStreakEventKindRequest) Reset()
- func (x *AddStreakEventKindRequest) String() string
- type AddStreakEventKindResponse
- type CreateStreakRequest
- func (*CreateStreakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStreakRequest) GetDescription() string
- func (x *CreateStreakRequest) GetEventKinds() []string
- func (x *CreateStreakRequest) GetEventsPerPeriod() int64
- func (x *CreateStreakRequest) GetName() string
- func (x *CreateStreakRequest) GetPeriod() *durationpb.Duration
- func (*CreateStreakRequest) ProtoMessage()
- func (x *CreateStreakRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStreakRequest) Reset()
- func (x *CreateStreakRequest) String() string
- type CreateStreakResponse
- func (*CreateStreakResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStreakResponse) GetStreak() *Streak
- func (*CreateStreakResponse) ProtoMessage()
- func (x *CreateStreakResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStreakResponse) Reset()
- func (x *CreateStreakResponse) String() string
- type DeleteStreakCoinsRequest
- func (*DeleteStreakCoinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStreakCoinsRequest) GetEveryStreakCount() int64
- func (x *DeleteStreakCoinsRequest) GetStreakId() string
- func (*DeleteStreakCoinsRequest) ProtoMessage()
- func (x *DeleteStreakCoinsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStreakCoinsRequest) Reset()
- func (x *DeleteStreakCoinsRequest) String() string
- type DeleteStreakCoinsResponse
- type DeleteStreakEventKindRequest
- func (*DeleteStreakEventKindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStreakEventKindRequest) GetEventKind() string
- func (x *DeleteStreakEventKindRequest) GetStreakId() string
- func (*DeleteStreakEventKindRequest) ProtoMessage()
- func (x *DeleteStreakEventKindRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStreakEventKindRequest) Reset()
- func (x *DeleteStreakEventKindRequest) String() string
- type DeleteStreakEventKindResponse
- func (*DeleteStreakEventKindResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteStreakEventKindResponse) ProtoMessage()
- func (x *DeleteStreakEventKindResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteStreakEventKindResponse) Reset()
- func (x *DeleteStreakEventKindResponse) String() string
- type GetAffiliateLinkStatsRequest
- func (*GetAffiliateLinkStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAffiliateLinkStatsRequest) GetUserId() string
- func (*GetAffiliateLinkStatsRequest) ProtoMessage()
- func (x *GetAffiliateLinkStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAffiliateLinkStatsRequest) Reset()
- func (x *GetAffiliateLinkStatsRequest) String() string
- type GetAffiliateLinkStatsResponse
- func (*GetAffiliateLinkStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAffiliateLinkStatsResponse) GetClicksCount() int64
- func (x *GetAffiliateLinkStatsResponse) GetSignupsCount() int64
- func (*GetAffiliateLinkStatsResponse) ProtoMessage()
- func (x *GetAffiliateLinkStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAffiliateLinkStatsResponse) Reset()
- func (x *GetAffiliateLinkStatsResponse) String() string
- type GetAvailableEventKindsRequest
- func (*GetAvailableEventKindsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAvailableEventKindsRequest) ProtoMessage()
- func (x *GetAvailableEventKindsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAvailableEventKindsRequest) Reset()
- func (x *GetAvailableEventKindsRequest) String() string
- type GetAvailableEventKindsResponse
- func (*GetAvailableEventKindsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableEventKindsResponse) GetEventKinds() []string
- func (*GetAvailableEventKindsResponse) ProtoMessage()
- func (x *GetAvailableEventKindsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAvailableEventKindsResponse) Reset()
- func (x *GetAvailableEventKindsResponse) String() string
- type GetBestUserStreakRequest
- func (*GetBestUserStreakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBestUserStreakRequest) GetStreakId() string
- func (*GetBestUserStreakRequest) ProtoMessage()
- func (x *GetBestUserStreakRequest) ProtoReflect() protoreflect.Message
- func (x *GetBestUserStreakRequest) Reset()
- func (x *GetBestUserStreakRequest) String() string
- type GetBestUserStreakResponse
- func (*GetBestUserStreakResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBestUserStreakResponse) GetUserStreak() *UserStreak
- func (*GetBestUserStreakResponse) ProtoMessage()
- func (x *GetBestUserStreakResponse) ProtoReflect() protoreflect.Message
- func (x *GetBestUserStreakResponse) Reset()
- func (x *GetBestUserStreakResponse) String() string
- type GetCurrentUserStreakRequest
- func (*GetCurrentUserStreakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserStreakRequest) GetStreakId() string
- func (*GetCurrentUserStreakRequest) ProtoMessage()
- func (x *GetCurrentUserStreakRequest) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserStreakRequest) Reset()
- func (x *GetCurrentUserStreakRequest) String() string
- type GetCurrentUserStreakResponse
- func (*GetCurrentUserStreakResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserStreakResponse) GetUserStreak() *UserStreak
- func (*GetCurrentUserStreakResponse) ProtoMessage()
- func (x *GetCurrentUserStreakResponse) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserStreakResponse) Reset()
- func (x *GetCurrentUserStreakResponse) String() string
- type GetEarnedStreakCoinsRequest
- func (*GetEarnedStreakCoinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEarnedStreakCoinsRequest) GetStreakId() string
- func (*GetEarnedStreakCoinsRequest) ProtoMessage()
- func (x *GetEarnedStreakCoinsRequest) ProtoReflect() protoreflect.Message
- func (x *GetEarnedStreakCoinsRequest) Reset()
- func (x *GetEarnedStreakCoinsRequest) String() string
- type GetEarnedStreakCoinsResponse
- func (*GetEarnedStreakCoinsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEarnedStreakCoinsResponse) GetCoins() int64
- func (*GetEarnedStreakCoinsResponse) ProtoMessage()
- func (x *GetEarnedStreakCoinsResponse) ProtoReflect() protoreflect.Message
- func (x *GetEarnedStreakCoinsResponse) Reset()
- func (x *GetEarnedStreakCoinsResponse) String() string
- type GetStreakCoinsRequest
- func (*GetStreakCoinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreakCoinsRequest) GetStreakId() string
- func (*GetStreakCoinsRequest) ProtoMessage()
- func (x *GetStreakCoinsRequest) ProtoReflect() protoreflect.Message
- func (x *GetStreakCoinsRequest) Reset()
- func (x *GetStreakCoinsRequest) String() string
- type GetStreakCoinsResponse
- func (*GetStreakCoinsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreakCoinsResponse) GetStreakCoins() []*StreakCoin
- func (*GetStreakCoinsResponse) ProtoMessage()
- func (x *GetStreakCoinsResponse) ProtoReflect() protoreflect.Message
- func (x *GetStreakCoinsResponse) Reset()
- func (x *GetStreakCoinsResponse) String() string
- type GetStreakEventKindsRequest
- func (*GetStreakEventKindsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreakEventKindsRequest) GetStreakId() string
- func (*GetStreakEventKindsRequest) ProtoMessage()
- func (x *GetStreakEventKindsRequest) ProtoReflect() protoreflect.Message
- func (x *GetStreakEventKindsRequest) Reset()
- func (x *GetStreakEventKindsRequest) String() string
- type GetStreakEventKindsResponse
- func (*GetStreakEventKindsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreakEventKindsResponse) GetEventKinds() []string
- func (*GetStreakEventKindsResponse) ProtoMessage()
- func (x *GetStreakEventKindsResponse) ProtoReflect() protoreflect.Message
- func (x *GetStreakEventKindsResponse) Reset()
- func (x *GetStreakEventKindsResponse) String() string
- type GetStreakRequest
- type GetStreakResponse
- type GetStreaksRequest
- type GetStreaksResponse
- func (*GetStreaksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreaksResponse) GetStreaks() []*Streak
- func (*GetStreaksResponse) ProtoMessage()
- func (x *GetStreaksResponse) ProtoReflect() protoreflect.Message
- func (x *GetStreaksResponse) Reset()
- func (x *GetStreaksResponse) String() string
- type GetUserCoinsRequest
- func (*GetUserCoinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCoinsRequest) GetUserId() string
- func (*GetUserCoinsRequest) ProtoMessage()
- func (x *GetUserCoinsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserCoinsRequest) Reset()
- func (x *GetUserCoinsRequest) String() string
- type GetUserCoinsResponse
- func (*GetUserCoinsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCoinsResponse) GetCoins() int64
- func (*GetUserCoinsResponse) ProtoMessage()
- func (x *GetUserCoinsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserCoinsResponse) Reset()
- func (x *GetUserCoinsResponse) String() string
- type GrowthServiceClient
- type GrowthServiceServer
- type RemoveStreakRequest
- func (*RemoveStreakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveStreakRequest) GetStreakId() string
- func (*RemoveStreakRequest) ProtoMessage()
- func (x *RemoveStreakRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveStreakRequest) Reset()
- func (x *RemoveStreakRequest) String() string
- type RemoveStreakResponse
- type SaveAffiliateLinkClickRequest
- func (*SaveAffiliateLinkClickRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveAffiliateLinkClickRequest) GetCode() string
- func (x *SaveAffiliateLinkClickRequest) GetFingerprint() string
- func (*SaveAffiliateLinkClickRequest) ProtoMessage()
- func (x *SaveAffiliateLinkClickRequest) ProtoReflect() protoreflect.Message
- func (x *SaveAffiliateLinkClickRequest) Reset()
- func (x *SaveAffiliateLinkClickRequest) String() string
- type SaveAffiliateLinkClickResponse
- func (*SaveAffiliateLinkClickResponse) Descriptor() ([]byte, []int)deprecated
- func (*SaveAffiliateLinkClickResponse) ProtoMessage()
- func (x *SaveAffiliateLinkClickResponse) ProtoReflect() protoreflect.Message
- func (x *SaveAffiliateLinkClickResponse) Reset()
- func (x *SaveAffiliateLinkClickResponse) String() string
- type Streak
- func (*Streak) Descriptor() ([]byte, []int)deprecated
- func (x *Streak) GetCreatedAt() *timestamppb.Timestamp
- func (x *Streak) GetCreatedBy() string
- func (x *Streak) GetDescription() string
- func (x *Streak) GetEventsPerPeriod() int64
- func (x *Streak) GetId() string
- func (x *Streak) GetName() string
- func (x *Streak) GetPeriod() *durationpb.Duration
- func (*Streak) ProtoMessage()
- func (x *Streak) ProtoReflect() protoreflect.Message
- func (x *Streak) Reset()
- func (x *Streak) String() string
- type StreakCoin
- func (*StreakCoin) Descriptor() ([]byte, []int)deprecated
- func (x *StreakCoin) GetCoinsCount() int64
- func (x *StreakCoin) GetEveryStreakCount() int64
- func (*StreakCoin) ProtoMessage()
- func (x *StreakCoin) ProtoReflect() protoreflect.Message
- func (x *StreakCoin) Reset()
- func (x *StreakCoin) String() string
- type UnimplementedGrowthServiceServer
- func (UnimplementedGrowthServiceServer) AddStreakCoins(context.Context, *AddStreakCoinsRequest) (*AddStreakCoinsResponse, error)
- func (UnimplementedGrowthServiceServer) AddStreakEventKind(context.Context, *AddStreakEventKindRequest) (*AddStreakEventKindResponse, error)
- func (UnimplementedGrowthServiceServer) CreateStreak(context.Context, *CreateStreakRequest) (*CreateStreakResponse, error)
- func (UnimplementedGrowthServiceServer) DeleteStreakCoins(context.Context, *DeleteStreakCoinsRequest) (*DeleteStreakCoinsResponse, error)
- func (UnimplementedGrowthServiceServer) DeleteStreakEventKind(context.Context, *DeleteStreakEventKindRequest) (*DeleteStreakEventKindResponse, error)
- func (UnimplementedGrowthServiceServer) GetAffiliateLinkStats(context.Context, *GetAffiliateLinkStatsRequest) (*GetAffiliateLinkStatsResponse, error)
- func (UnimplementedGrowthServiceServer) GetAvailableEventKinds(context.Context, *GetAvailableEventKindsRequest) (*GetAvailableEventKindsResponse, error)
- func (UnimplementedGrowthServiceServer) GetBestUserStreak(context.Context, *GetBestUserStreakRequest) (*GetBestUserStreakResponse, error)
- func (UnimplementedGrowthServiceServer) GetCurrentUserStreak(context.Context, *GetCurrentUserStreakRequest) (*GetCurrentUserStreakResponse, error)
- func (UnimplementedGrowthServiceServer) GetEarnedStreakCoins(context.Context, *GetEarnedStreakCoinsRequest) (*GetEarnedStreakCoinsResponse, error)
- func (UnimplementedGrowthServiceServer) GetStreak(context.Context, *GetStreakRequest) (*GetStreakResponse, error)
- func (UnimplementedGrowthServiceServer) GetStreakCoins(context.Context, *GetStreakCoinsRequest) (*GetStreakCoinsResponse, error)
- func (UnimplementedGrowthServiceServer) GetStreakEventKinds(context.Context, *GetStreakEventKindsRequest) (*GetStreakEventKindsResponse, error)
- func (UnimplementedGrowthServiceServer) GetStreaks(context.Context, *GetStreaksRequest) (*GetStreaksResponse, error)
- func (UnimplementedGrowthServiceServer) GetUserCoins(context.Context, *GetUserCoinsRequest) (*GetUserCoinsResponse, error)
- func (UnimplementedGrowthServiceServer) RemoveStreak(context.Context, *RemoveStreakRequest) (*RemoveStreakResponse, error)
- func (UnimplementedGrowthServiceServer) SaveAffiliateLinkClick(context.Context, *SaveAffiliateLinkClickRequest) (*SaveAffiliateLinkClickResponse, error)
- func (UnimplementedGrowthServiceServer) UpdateStreak(context.Context, *UpdateStreakRequest) (*UpdateStreakResponse, error)
- type UnsafeGrowthServiceServer
- type UpdateStreakRequest
- func (*UpdateStreakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStreakRequest) GetDescription() string
- func (x *UpdateStreakRequest) GetEventsPerPeriod() int64
- func (x *UpdateStreakRequest) GetName() string
- func (x *UpdateStreakRequest) GetPeriod() *durationpb.Duration
- func (x *UpdateStreakRequest) GetStreakId() string
- func (*UpdateStreakRequest) ProtoMessage()
- func (x *UpdateStreakRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStreakRequest) Reset()
- func (x *UpdateStreakRequest) String() string
- type UpdateStreakResponse
- type UserStreak
- func (*UserStreak) Descriptor() ([]byte, []int)deprecated
- func (x *UserStreak) GetId() string
- func (x *UserStreak) GetLastBlockCountOfEvents() int64
- func (x *UserStreak) GetPeriod() *durationpb.Duration
- func (x *UserStreak) GetRequiredCountOfEvents() int64
- func (x *UserStreak) GetStreakCount() int64
- func (x *UserStreak) GetStreakId() string
- func (x *UserStreak) GetUserId() string
- func (*UserStreak) ProtoMessage()
- func (x *UserStreak) ProtoReflect() protoreflect.Message
- func (x *UserStreak) Reset()
- func (x *UserStreak) String() string
Constants ¶
This section is empty.
Variables ¶
var File_growth_api_growth_v1_growth_proto protoreflect.FileDescriptor
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 (x *AddStreakEventKindRequest) ProtoReflect() protoreflect.Message
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 (x *AddStreakEventKindResponse) ProtoReflect() protoreflect.Message
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 (x *DeleteStreakCoinsResponse) ProtoReflect() protoreflect.Message
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 (x *DeleteStreakEventKindRequest) ProtoReflect() protoreflect.Message
func (*DeleteStreakEventKindRequest) Reset ¶
func (x *DeleteStreakEventKindRequest) Reset()
func (*DeleteStreakEventKindRequest) String ¶
func (x *DeleteStreakEventKindRequest) String() 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 (x *DeleteStreakEventKindResponse) ProtoReflect() protoreflect.Message
func (*DeleteStreakEventKindResponse) Reset ¶
func (x *DeleteStreakEventKindResponse) Reset()
func (*DeleteStreakEventKindResponse) String ¶
func (x *DeleteStreakEventKindResponse) String() 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 (x *GetAffiliateLinkStatsRequest) ProtoReflect() protoreflect.Message
func (*GetAffiliateLinkStatsRequest) Reset ¶ added in v0.2.58
func (x *GetAffiliateLinkStatsRequest) Reset()
func (*GetAffiliateLinkStatsRequest) String ¶ added in v0.2.58
func (x *GetAffiliateLinkStatsRequest) String() string
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 (x *GetAffiliateLinkStatsResponse) ProtoReflect() protoreflect.Message
func (*GetAffiliateLinkStatsResponse) Reset ¶ added in v0.2.58
func (x *GetAffiliateLinkStatsResponse) Reset()
func (*GetAffiliateLinkStatsResponse) String ¶ added in v0.2.58
func (x *GetAffiliateLinkStatsResponse) String() string
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 (x *GetAvailableEventKindsRequest) ProtoReflect() protoreflect.Message
func (*GetAvailableEventKindsRequest) Reset ¶
func (x *GetAvailableEventKindsRequest) Reset()
func (*GetAvailableEventKindsRequest) String ¶
func (x *GetAvailableEventKindsRequest) String() 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 (x *GetAvailableEventKindsResponse) ProtoReflect() protoreflect.Message
func (*GetAvailableEventKindsResponse) Reset ¶
func (x *GetAvailableEventKindsResponse) Reset()
func (*GetAvailableEventKindsResponse) String ¶
func (x *GetAvailableEventKindsResponse) String() 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 (x *GetBestUserStreakResponse) ProtoReflect() protoreflect.Message
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 (x *GetCurrentUserStreakRequest) ProtoReflect() protoreflect.Message
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 (x *GetCurrentUserStreakResponse) ProtoReflect() protoreflect.Message
func (*GetCurrentUserStreakResponse) Reset ¶
func (x *GetCurrentUserStreakResponse) Reset()
func (*GetCurrentUserStreakResponse) String ¶
func (x *GetCurrentUserStreakResponse) String() 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 (x *GetEarnedStreakCoinsRequest) ProtoReflect() protoreflect.Message
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 (x *GetEarnedStreakCoinsResponse) ProtoReflect() protoreflect.Message
func (*GetEarnedStreakCoinsResponse) Reset ¶
func (x *GetEarnedStreakCoinsResponse) Reset()
func (*GetEarnedStreakCoinsResponse) String ¶
func (x *GetEarnedStreakCoinsResponse) String() 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 (x *GetStreakEventKindsRequest) ProtoReflect() protoreflect.Message
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 (x *GetStreakEventKindsResponse) ProtoReflect() protoreflect.Message
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.
func NewGrowthServiceClient ¶
func NewGrowthServiceClient(cc grpc.ClientConnInterface) GrowthServiceClient
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 (x *SaveAffiliateLinkClickRequest) GetCode() string
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 (x *SaveAffiliateLinkClickRequest) ProtoReflect() protoreflect.Message
func (*SaveAffiliateLinkClickRequest) Reset ¶ added in v0.2.53
func (x *SaveAffiliateLinkClickRequest) Reset()
func (*SaveAffiliateLinkClickRequest) String ¶ added in v0.2.53
func (x *SaveAffiliateLinkClickRequest) String() string
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 (x *SaveAffiliateLinkClickResponse) ProtoReflect() protoreflect.Message
func (*SaveAffiliateLinkClickResponse) Reset ¶ added in v0.2.53
func (x *SaveAffiliateLinkClickResponse) Reset()
func (*SaveAffiliateLinkClickResponse) String ¶ added in v0.2.53
func (x *SaveAffiliateLinkClickResponse) String() string
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) GetCreatedAt ¶
func (x *Streak) GetCreatedAt() *timestamppb.Timestamp
func (*Streak) GetCreatedBy ¶
func (*Streak) GetDescription ¶
func (*Streak) GetEventsPerPeriod ¶
func (*Streak) GetPeriod ¶
func (x *Streak) GetPeriod() *durationpb.Duration
func (*Streak) ProtoMessage ¶
func (*Streak) ProtoMessage()
func (*Streak) ProtoReflect ¶
func (x *Streak) ProtoReflect() protoreflect.Message
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) AddStreakCoins(context.Context, *AddStreakCoinsRequest) (*AddStreakCoinsResponse, error)
func (UnimplementedGrowthServiceServer) AddStreakEventKind ¶
func (UnimplementedGrowthServiceServer) AddStreakEventKind(context.Context, *AddStreakEventKindRequest) (*AddStreakEventKindResponse, error)
func (UnimplementedGrowthServiceServer) CreateStreak ¶
func (UnimplementedGrowthServiceServer) CreateStreak(context.Context, *CreateStreakRequest) (*CreateStreakResponse, error)
func (UnimplementedGrowthServiceServer) DeleteStreakCoins ¶
func (UnimplementedGrowthServiceServer) DeleteStreakCoins(context.Context, *DeleteStreakCoinsRequest) (*DeleteStreakCoinsResponse, error)
func (UnimplementedGrowthServiceServer) DeleteStreakEventKind ¶
func (UnimplementedGrowthServiceServer) DeleteStreakEventKind(context.Context, *DeleteStreakEventKindRequest) (*DeleteStreakEventKindResponse, error)
func (UnimplementedGrowthServiceServer) GetAffiliateLinkStats ¶ added in v0.2.58
func (UnimplementedGrowthServiceServer) GetAffiliateLinkStats(context.Context, *GetAffiliateLinkStatsRequest) (*GetAffiliateLinkStatsResponse, error)
func (UnimplementedGrowthServiceServer) GetAvailableEventKinds ¶
func (UnimplementedGrowthServiceServer) GetAvailableEventKinds(context.Context, *GetAvailableEventKindsRequest) (*GetAvailableEventKindsResponse, error)
func (UnimplementedGrowthServiceServer) GetBestUserStreak ¶
func (UnimplementedGrowthServiceServer) GetBestUserStreak(context.Context, *GetBestUserStreakRequest) (*GetBestUserStreakResponse, error)
func (UnimplementedGrowthServiceServer) GetCurrentUserStreak ¶
func (UnimplementedGrowthServiceServer) GetCurrentUserStreak(context.Context, *GetCurrentUserStreakRequest) (*GetCurrentUserStreakResponse, error)
func (UnimplementedGrowthServiceServer) GetEarnedStreakCoins ¶
func (UnimplementedGrowthServiceServer) GetEarnedStreakCoins(context.Context, *GetEarnedStreakCoinsRequest) (*GetEarnedStreakCoinsResponse, error)
func (UnimplementedGrowthServiceServer) GetStreak ¶
func (UnimplementedGrowthServiceServer) GetStreak(context.Context, *GetStreakRequest) (*GetStreakResponse, error)
func (UnimplementedGrowthServiceServer) GetStreakCoins ¶
func (UnimplementedGrowthServiceServer) GetStreakCoins(context.Context, *GetStreakCoinsRequest) (*GetStreakCoinsResponse, error)
func (UnimplementedGrowthServiceServer) GetStreakEventKinds ¶
func (UnimplementedGrowthServiceServer) GetStreakEventKinds(context.Context, *GetStreakEventKindsRequest) (*GetStreakEventKindsResponse, error)
func (UnimplementedGrowthServiceServer) GetStreaks ¶
func (UnimplementedGrowthServiceServer) GetStreaks(context.Context, *GetStreaksRequest) (*GetStreaksResponse, error)
func (UnimplementedGrowthServiceServer) GetUserCoins ¶
func (UnimplementedGrowthServiceServer) GetUserCoins(context.Context, *GetUserCoinsRequest) (*GetUserCoinsResponse, error)
func (UnimplementedGrowthServiceServer) RemoveStreak ¶
func (UnimplementedGrowthServiceServer) RemoveStreak(context.Context, *RemoveStreakRequest) (*RemoveStreakResponse, error)
func (UnimplementedGrowthServiceServer) SaveAffiliateLinkClick ¶ added in v0.2.53
func (UnimplementedGrowthServiceServer) SaveAffiliateLinkClick(context.Context, *SaveAffiliateLinkClickRequest) (*SaveAffiliateLinkClickResponse, error)
func (UnimplementedGrowthServiceServer) UpdateStreak ¶
func (UnimplementedGrowthServiceServer) UpdateStreak(context.Context, *UpdateStreakRequest) (*UpdateStreakResponse, error)
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