Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterActivityFeedServer(s grpc.ServiceRegistrar, srv ActivityFeedServer)
- type ActivityFeedClient
- type ActivityFeedServer
- type ActivityFeedType
- func (ActivityFeedType) Descriptor() protoreflect.EnumDescriptor
- func (x ActivityFeedType) Enum() *ActivityFeedType
- func (ActivityFeedType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActivityFeedType) Number() protoreflect.EnumNumber
- func (x ActivityFeedType) String() string
- func (ActivityFeedType) Type() protoreflect.EnumType
- type CreateGroupNotificationMetadata
- func (*CreateGroupNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupNotificationMetadata) GetChatId() *v1.ChatId
- func (x *CreateGroupNotificationMetadata) GetQuarksSpent() uint64
- func (*CreateGroupNotificationMetadata) ProtoMessage()
- func (x *CreateGroupNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateGroupNotificationMetadata) Reset()
- func (x *CreateGroupNotificationMetadata) String() string
- func (m *CreateGroupNotificationMetadata) Validate() error
- func (m *CreateGroupNotificationMetadata) ValidateAll() error
- type CreateGroupNotificationMetadataMultiError
- type CreateGroupNotificationMetadataValidationError
- func (e CreateGroupNotificationMetadataValidationError) Cause() error
- func (e CreateGroupNotificationMetadataValidationError) Error() string
- func (e CreateGroupNotificationMetadataValidationError) ErrorName() string
- func (e CreateGroupNotificationMetadataValidationError) Field() string
- func (e CreateGroupNotificationMetadataValidationError) Key() bool
- func (e CreateGroupNotificationMetadataValidationError) Reason() string
- type GetLatestNotificationsRequest
- func (*GetLatestNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestNotificationsRequest) GetAuth() *v1.Auth
- func (x *GetLatestNotificationsRequest) GetMaxItems() int32
- func (x *GetLatestNotificationsRequest) GetType() ActivityFeedType
- func (*GetLatestNotificationsRequest) ProtoMessage()
- func (x *GetLatestNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLatestNotificationsRequest) Reset()
- func (x *GetLatestNotificationsRequest) String() string
- func (m *GetLatestNotificationsRequest) Validate() error
- func (m *GetLatestNotificationsRequest) ValidateAll() error
- type GetLatestNotificationsRequestMultiError
- type GetLatestNotificationsRequestValidationError
- func (e GetLatestNotificationsRequestValidationError) Cause() error
- func (e GetLatestNotificationsRequestValidationError) Error() string
- func (e GetLatestNotificationsRequestValidationError) ErrorName() string
- func (e GetLatestNotificationsRequestValidationError) Field() string
- func (e GetLatestNotificationsRequestValidationError) Key() bool
- func (e GetLatestNotificationsRequestValidationError) Reason() string
- type GetLatestNotificationsResponse
- func (*GetLatestNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestNotificationsResponse) GetNotifications() []*Notification
- func (x *GetLatestNotificationsResponse) GetResult() GetLatestNotificationsResponse_Result
- func (*GetLatestNotificationsResponse) ProtoMessage()
- func (x *GetLatestNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestNotificationsResponse) Reset()
- func (x *GetLatestNotificationsResponse) String() string
- func (m *GetLatestNotificationsResponse) Validate() error
- func (m *GetLatestNotificationsResponse) ValidateAll() error
- type GetLatestNotificationsResponseMultiError
- type GetLatestNotificationsResponseValidationError
- func (e GetLatestNotificationsResponseValidationError) Cause() error
- func (e GetLatestNotificationsResponseValidationError) Error() string
- func (e GetLatestNotificationsResponseValidationError) ErrorName() string
- func (e GetLatestNotificationsResponseValidationError) Field() string
- func (e GetLatestNotificationsResponseValidationError) Key() bool
- func (e GetLatestNotificationsResponseValidationError) Reason() string
- type GetLatestNotificationsResponse_Result
- func (GetLatestNotificationsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetLatestNotificationsResponse_Result) Enum() *GetLatestNotificationsResponse_Result
- func (GetLatestNotificationsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetLatestNotificationsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetLatestNotificationsResponse_Result) String() string
- func (GetLatestNotificationsResponse_Result) Type() protoreflect.EnumType
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (m *Notification) GetAdditionalMetadata() isNotification_AdditionalMetadata
- func (x *Notification) GetCreateGroup() *CreateGroupNotificationMetadata
- func (x *Notification) GetId() *NotificationId
- func (x *Notification) GetLocalizedText() string
- func (x *Notification) GetPromotedToSpeaker() *PromotedToSpeakerNotificationMetadata
- func (x *Notification) GetReceivedTip() *ReceivedTipNotificationMetadata
- func (x *Notification) GetSendListenerMessage() *SendListenerMessageNotificationMetadata
- func (x *Notification) GetSendTip() *SendTipNotificationMetadata
- func (x *Notification) GetTs() *timestamppb.Timestamp
- func (x *Notification) GetWeeklyBonus() *WeeklyBonusNotificationMetadata
- func (x *Notification) GetWelcomeBonus() *WelcomeBonusNotificationMetadata
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- func (m *Notification) Validate() error
- func (m *Notification) ValidateAll() error
- type NotificationId
- func (*NotificationId) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationId) GetValue() []byte
- func (*NotificationId) ProtoMessage()
- func (x *NotificationId) ProtoReflect() protoreflect.Message
- func (x *NotificationId) Reset()
- func (x *NotificationId) String() string
- func (m *NotificationId) Validate() error
- func (m *NotificationId) ValidateAll() error
- type NotificationIdMultiError
- type NotificationIdValidationError
- func (e NotificationIdValidationError) Cause() error
- func (e NotificationIdValidationError) Error() string
- func (e NotificationIdValidationError) ErrorName() string
- func (e NotificationIdValidationError) Field() string
- func (e NotificationIdValidationError) Key() bool
- func (e NotificationIdValidationError) Reason() string
- type NotificationMultiError
- type NotificationValidationError
- func (e NotificationValidationError) Cause() error
- func (e NotificationValidationError) Error() string
- func (e NotificationValidationError) ErrorName() string
- func (e NotificationValidationError) Field() string
- func (e NotificationValidationError) Key() bool
- func (e NotificationValidationError) Reason() string
- type Notification_CreateGroup
- type Notification_PromotedToSpeaker
- type Notification_ReceivedTip
- type Notification_SendListenerMessage
- type Notification_SendTip
- type Notification_WeeklyBonus
- type Notification_WelcomeBonus
- type PromotedToSpeakerNotificationMetadata
- func (*PromotedToSpeakerNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PromotedToSpeakerNotificationMetadata) GetChatId() *v1.ChatId
- func (x *PromotedToSpeakerNotificationMetadata) GetPromtedBy() *v1.UserId
- func (*PromotedToSpeakerNotificationMetadata) ProtoMessage()
- func (x *PromotedToSpeakerNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *PromotedToSpeakerNotificationMetadata) Reset()
- func (x *PromotedToSpeakerNotificationMetadata) String() string
- func (m *PromotedToSpeakerNotificationMetadata) Validate() error
- func (m *PromotedToSpeakerNotificationMetadata) ValidateAll() error
- type PromotedToSpeakerNotificationMetadataMultiError
- type PromotedToSpeakerNotificationMetadataValidationError
- func (e PromotedToSpeakerNotificationMetadataValidationError) Cause() error
- func (e PromotedToSpeakerNotificationMetadataValidationError) Error() string
- func (e PromotedToSpeakerNotificationMetadataValidationError) ErrorName() string
- func (e PromotedToSpeakerNotificationMetadataValidationError) Field() string
- func (e PromotedToSpeakerNotificationMetadataValidationError) Key() bool
- func (e PromotedToSpeakerNotificationMetadataValidationError) Reason() string
- type ReceivedTipNotificationMetadata
- func (*ReceivedTipNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ReceivedTipNotificationMetadata) GetChatId() *v1.ChatId
- func (x *ReceivedTipNotificationMetadata) GetMessageId() *v11.MessageId
- func (x *ReceivedTipNotificationMetadata) GetTotalQuarksReceived() uint64
- func (*ReceivedTipNotificationMetadata) ProtoMessage()
- func (x *ReceivedTipNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *ReceivedTipNotificationMetadata) Reset()
- func (x *ReceivedTipNotificationMetadata) String() string
- func (m *ReceivedTipNotificationMetadata) Validate() error
- func (m *ReceivedTipNotificationMetadata) ValidateAll() error
- type ReceivedTipNotificationMetadataMultiError
- type ReceivedTipNotificationMetadataValidationError
- func (e ReceivedTipNotificationMetadataValidationError) Cause() error
- func (e ReceivedTipNotificationMetadataValidationError) Error() string
- func (e ReceivedTipNotificationMetadataValidationError) ErrorName() string
- func (e ReceivedTipNotificationMetadataValidationError) Field() string
- func (e ReceivedTipNotificationMetadataValidationError) Key() bool
- func (e ReceivedTipNotificationMetadataValidationError) Reason() string
- type SendListenerMessageNotificationMetadata
- func (*SendListenerMessageNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SendListenerMessageNotificationMetadata) GetChatId() *v1.ChatId
- func (x *SendListenerMessageNotificationMetadata) GetMessageId() *v11.MessageId
- func (x *SendListenerMessageNotificationMetadata) GetQuarksSpent() uint64
- func (*SendListenerMessageNotificationMetadata) ProtoMessage()
- func (x *SendListenerMessageNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *SendListenerMessageNotificationMetadata) Reset()
- func (x *SendListenerMessageNotificationMetadata) String() string
- func (m *SendListenerMessageNotificationMetadata) Validate() error
- func (m *SendListenerMessageNotificationMetadata) ValidateAll() error
- type SendListenerMessageNotificationMetadataMultiError
- type SendListenerMessageNotificationMetadataValidationError
- func (e SendListenerMessageNotificationMetadataValidationError) Cause() error
- func (e SendListenerMessageNotificationMetadataValidationError) Error() string
- func (e SendListenerMessageNotificationMetadataValidationError) ErrorName() string
- func (e SendListenerMessageNotificationMetadataValidationError) Field() string
- func (e SendListenerMessageNotificationMetadataValidationError) Key() bool
- func (e SendListenerMessageNotificationMetadataValidationError) Reason() string
- type SendTipNotificationMetadata
- func (*SendTipNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SendTipNotificationMetadata) GetChatId() *v1.ChatId
- func (x *SendTipNotificationMetadata) GetMessageId() *v11.MessageId
- func (x *SendTipNotificationMetadata) GetTotalQuarksSent() uint64
- func (*SendTipNotificationMetadata) ProtoMessage()
- func (x *SendTipNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *SendTipNotificationMetadata) Reset()
- func (x *SendTipNotificationMetadata) String() string
- func (m *SendTipNotificationMetadata) Validate() error
- func (m *SendTipNotificationMetadata) ValidateAll() error
- type SendTipNotificationMetadataMultiError
- type SendTipNotificationMetadataValidationError
- func (e SendTipNotificationMetadataValidationError) Cause() error
- func (e SendTipNotificationMetadataValidationError) Error() string
- func (e SendTipNotificationMetadataValidationError) ErrorName() string
- func (e SendTipNotificationMetadataValidationError) Field() string
- func (e SendTipNotificationMetadataValidationError) Key() bool
- func (e SendTipNotificationMetadataValidationError) Reason() string
- type UnimplementedActivityFeedServer
- type UnsafeActivityFeedServer
- type WeeklyBonusNotificationMetadata
- func (*WeeklyBonusNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *WeeklyBonusNotificationMetadata) GetQuarksReceived() uint64
- func (*WeeklyBonusNotificationMetadata) ProtoMessage()
- func (x *WeeklyBonusNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *WeeklyBonusNotificationMetadata) Reset()
- func (x *WeeklyBonusNotificationMetadata) String() string
- func (m *WeeklyBonusNotificationMetadata) Validate() error
- func (m *WeeklyBonusNotificationMetadata) ValidateAll() error
- type WeeklyBonusNotificationMetadataMultiError
- type WeeklyBonusNotificationMetadataValidationError
- func (e WeeklyBonusNotificationMetadataValidationError) Cause() error
- func (e WeeklyBonusNotificationMetadataValidationError) Error() string
- func (e WeeklyBonusNotificationMetadataValidationError) ErrorName() string
- func (e WeeklyBonusNotificationMetadataValidationError) Field() string
- func (e WeeklyBonusNotificationMetadataValidationError) Key() bool
- func (e WeeklyBonusNotificationMetadataValidationError) Reason() string
- type WelcomeBonusNotificationMetadata
- func (*WelcomeBonusNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *WelcomeBonusNotificationMetadata) GetQuarksReceived() uint64
- func (*WelcomeBonusNotificationMetadata) ProtoMessage()
- func (x *WelcomeBonusNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *WelcomeBonusNotificationMetadata) Reset()
- func (x *WelcomeBonusNotificationMetadata) String() string
- func (m *WelcomeBonusNotificationMetadata) Validate() error
- func (m *WelcomeBonusNotificationMetadata) ValidateAll() error
- type WelcomeBonusNotificationMetadataMultiError
- type WelcomeBonusNotificationMetadataValidationError
- func (e WelcomeBonusNotificationMetadataValidationError) Cause() error
- func (e WelcomeBonusNotificationMetadataValidationError) Error() string
- func (e WelcomeBonusNotificationMetadataValidationError) ErrorName() string
- func (e WelcomeBonusNotificationMetadataValidationError) Field() string
- func (e WelcomeBonusNotificationMetadataValidationError) Key() bool
- func (e WelcomeBonusNotificationMetadataValidationError) Reason() string
Constants ¶
const (
ActivityFeed_GetLatestNotifications_FullMethodName = "/flipchat.activity.v1.ActivityFeed/GetLatestNotifications"
)
Variables ¶
var ( GetLatestNotificationsResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", } GetLatestNotificationsResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, } )
Enum value maps for GetLatestNotificationsResponse_Result.
var ( ActivityFeedType_name = map[int32]string{ 0: "UNKNOWN", 1: "TRANSACTION_HISTORY", } ActivityFeedType_value = map[string]int32{ "UNKNOWN": 0, "TRANSACTION_HISTORY": 1, } )
Enum value maps for ActivityFeedType.
var ActivityFeed_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipchat.activity.v1.ActivityFeed", HandlerType: (*ActivityFeedServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLatestNotifications", Handler: _ActivityFeed_GetLatestNotifications_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "activity/v1/activity_feed_service.proto", }
ActivityFeed_ServiceDesc is the grpc.ServiceDesc for ActivityFeed service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_activity_v1_activity_feed_service_proto protoreflect.FileDescriptor
var File_activity_v1_model_proto protoreflect.FileDescriptor
Functions ¶
func RegisterActivityFeedServer ¶
func RegisterActivityFeedServer(s grpc.ServiceRegistrar, srv ActivityFeedServer)
Types ¶
type ActivityFeedClient ¶
type ActivityFeedClient interface { // GetLatestNotifications gets the latest N notifications in a user's // activity feed. Results will be ordered by descending timestamp. GetLatestNotifications(ctx context.Context, in *GetLatestNotificationsRequest, opts ...grpc.CallOption) (*GetLatestNotificationsResponse, error) }
ActivityFeedClient is the client API for ActivityFeed 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.
todo: add real-time streaming
func NewActivityFeedClient ¶
func NewActivityFeedClient(cc grpc.ClientConnInterface) ActivityFeedClient
type ActivityFeedServer ¶
type ActivityFeedServer interface { // GetLatestNotifications gets the latest N notifications in a user's // activity feed. Results will be ordered by descending timestamp. GetLatestNotifications(context.Context, *GetLatestNotificationsRequest) (*GetLatestNotificationsResponse, error) // contains filtered or unexported methods }
ActivityFeedServer is the server API for ActivityFeed service. All implementations must embed UnimplementedActivityFeedServer for forward compatibility.
todo: add real-time streaming
type ActivityFeedType ¶
type ActivityFeedType int32
ActivityFeedType enables multiple activity feeds, where notifications may be split across different parts of the app
const ( ActivityFeedType_UNKNOWN ActivityFeedType = 0 ActivityFeedType_TRANSACTION_HISTORY ActivityFeedType = 1 // Activity feed displayed under the Balance tab )
func (ActivityFeedType) Descriptor ¶
func (ActivityFeedType) Descriptor() protoreflect.EnumDescriptor
func (ActivityFeedType) Enum ¶
func (x ActivityFeedType) Enum() *ActivityFeedType
func (ActivityFeedType) EnumDescriptor
deprecated
func (ActivityFeedType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActivityFeedType.Descriptor instead.
func (ActivityFeedType) Number ¶
func (x ActivityFeedType) Number() protoreflect.EnumNumber
func (ActivityFeedType) String ¶
func (x ActivityFeedType) String() string
func (ActivityFeedType) Type ¶
func (ActivityFeedType) Type() protoreflect.EnumType
type CreateGroupNotificationMetadata ¶
type CreateGroupNotificationMetadata struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` QuarksSpent uint64 `protobuf:"varint,2,opt,name=quarks_spent,json=quarksSpent,proto3" json:"quarks_spent,omitempty"` // contains filtered or unexported fields }
func (*CreateGroupNotificationMetadata) Descriptor
deprecated
func (*CreateGroupNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupNotificationMetadata.ProtoReflect.Descriptor instead.
func (*CreateGroupNotificationMetadata) GetChatId ¶
func (x *CreateGroupNotificationMetadata) GetChatId() *v1.ChatId
func (*CreateGroupNotificationMetadata) GetQuarksSpent ¶
func (x *CreateGroupNotificationMetadata) GetQuarksSpent() uint64
func (*CreateGroupNotificationMetadata) ProtoMessage ¶
func (*CreateGroupNotificationMetadata) ProtoMessage()
func (*CreateGroupNotificationMetadata) ProtoReflect ¶
func (x *CreateGroupNotificationMetadata) ProtoReflect() protoreflect.Message
func (*CreateGroupNotificationMetadata) Reset ¶
func (x *CreateGroupNotificationMetadata) Reset()
func (*CreateGroupNotificationMetadata) String ¶
func (x *CreateGroupNotificationMetadata) String() string
func (*CreateGroupNotificationMetadata) Validate ¶
func (m *CreateGroupNotificationMetadata) Validate() error
Validate checks the field values on CreateGroupNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateGroupNotificationMetadata) ValidateAll ¶
func (m *CreateGroupNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on CreateGroupNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateGroupNotificationMetadataMultiError, or nil if none found.
type CreateGroupNotificationMetadataMultiError ¶
type CreateGroupNotificationMetadataMultiError []error
CreateGroupNotificationMetadataMultiError is an error wrapping multiple validation errors returned by CreateGroupNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (CreateGroupNotificationMetadataMultiError) AllErrors ¶
func (m CreateGroupNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGroupNotificationMetadataMultiError) Error ¶
func (m CreateGroupNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGroupNotificationMetadataValidationError ¶
type CreateGroupNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
CreateGroupNotificationMetadataValidationError is the validation error returned by CreateGroupNotificationMetadata.Validate if the designated constraints aren't met.
func (CreateGroupNotificationMetadataValidationError) Cause ¶
func (e CreateGroupNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupNotificationMetadataValidationError) Error ¶
func (e CreateGroupNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupNotificationMetadataValidationError) ErrorName ¶
func (e CreateGroupNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupNotificationMetadataValidationError) Field ¶
func (e CreateGroupNotificationMetadataValidationError) Field() string
Field function returns field value.
func (CreateGroupNotificationMetadataValidationError) Key ¶
func (e CreateGroupNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (CreateGroupNotificationMetadataValidationError) Reason ¶
func (e CreateGroupNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type GetLatestNotificationsRequest ¶
type GetLatestNotificationsRequest struct { // The activity feed to fetch notifications from Type ActivityFeedType `protobuf:"varint,1,opt,name=type,proto3,enum=flipchat.activity.v1.ActivityFeedType" json:"type,omitempty"` // Maximum number of notifications to return. If <= 0, the server default is used MaxItems int32 `protobuf:"varint,2,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` Auth *v1.Auth `protobuf:"bytes,10,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*GetLatestNotificationsRequest) Descriptor
deprecated
func (*GetLatestNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestNotificationsRequest.ProtoReflect.Descriptor instead.
func (*GetLatestNotificationsRequest) GetAuth ¶
func (x *GetLatestNotificationsRequest) GetAuth() *v1.Auth
func (*GetLatestNotificationsRequest) GetMaxItems ¶
func (x *GetLatestNotificationsRequest) GetMaxItems() int32
func (*GetLatestNotificationsRequest) GetType ¶
func (x *GetLatestNotificationsRequest) GetType() ActivityFeedType
func (*GetLatestNotificationsRequest) ProtoMessage ¶
func (*GetLatestNotificationsRequest) ProtoMessage()
func (*GetLatestNotificationsRequest) ProtoReflect ¶
func (x *GetLatestNotificationsRequest) ProtoReflect() protoreflect.Message
func (*GetLatestNotificationsRequest) Reset ¶
func (x *GetLatestNotificationsRequest) Reset()
func (*GetLatestNotificationsRequest) String ¶
func (x *GetLatestNotificationsRequest) String() string
func (*GetLatestNotificationsRequest) Validate ¶
func (m *GetLatestNotificationsRequest) Validate() error
Validate checks the field values on GetLatestNotificationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetLatestNotificationsRequest) ValidateAll ¶
func (m *GetLatestNotificationsRequest) ValidateAll() error
ValidateAll checks the field values on GetLatestNotificationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetLatestNotificationsRequestMultiError, or nil if none found.
type GetLatestNotificationsRequestMultiError ¶
type GetLatestNotificationsRequestMultiError []error
GetLatestNotificationsRequestMultiError is an error wrapping multiple validation errors returned by GetLatestNotificationsRequest.ValidateAll() if the designated constraints aren't met.
func (GetLatestNotificationsRequestMultiError) AllErrors ¶
func (m GetLatestNotificationsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLatestNotificationsRequestMultiError) Error ¶
func (m GetLatestNotificationsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLatestNotificationsRequestValidationError ¶
type GetLatestNotificationsRequestValidationError struct {
// contains filtered or unexported fields
}
GetLatestNotificationsRequestValidationError is the validation error returned by GetLatestNotificationsRequest.Validate if the designated constraints aren't met.
func (GetLatestNotificationsRequestValidationError) Cause ¶
func (e GetLatestNotificationsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLatestNotificationsRequestValidationError) Error ¶
func (e GetLatestNotificationsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestNotificationsRequestValidationError) ErrorName ¶
func (e GetLatestNotificationsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestNotificationsRequestValidationError) Field ¶
func (e GetLatestNotificationsRequestValidationError) Field() string
Field function returns field value.
func (GetLatestNotificationsRequestValidationError) Key ¶
func (e GetLatestNotificationsRequestValidationError) Key() bool
Key function returns key value.
func (GetLatestNotificationsRequestValidationError) Reason ¶
func (e GetLatestNotificationsRequestValidationError) Reason() string
Reason function returns reason value.
type GetLatestNotificationsResponse ¶
type GetLatestNotificationsResponse struct { Result GetLatestNotificationsResponse_Result `` /* 130-byte string literal not displayed */ Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*GetLatestNotificationsResponse) Descriptor
deprecated
func (*GetLatestNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestNotificationsResponse.ProtoReflect.Descriptor instead.
func (*GetLatestNotificationsResponse) GetNotifications ¶
func (x *GetLatestNotificationsResponse) GetNotifications() []*Notification
func (*GetLatestNotificationsResponse) GetResult ¶
func (x *GetLatestNotificationsResponse) GetResult() GetLatestNotificationsResponse_Result
func (*GetLatestNotificationsResponse) ProtoMessage ¶
func (*GetLatestNotificationsResponse) ProtoMessage()
func (*GetLatestNotificationsResponse) ProtoReflect ¶
func (x *GetLatestNotificationsResponse) ProtoReflect() protoreflect.Message
func (*GetLatestNotificationsResponse) Reset ¶
func (x *GetLatestNotificationsResponse) Reset()
func (*GetLatestNotificationsResponse) String ¶
func (x *GetLatestNotificationsResponse) String() string
func (*GetLatestNotificationsResponse) Validate ¶
func (m *GetLatestNotificationsResponse) Validate() error
Validate checks the field values on GetLatestNotificationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetLatestNotificationsResponse) ValidateAll ¶
func (m *GetLatestNotificationsResponse) ValidateAll() error
ValidateAll checks the field values on GetLatestNotificationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetLatestNotificationsResponseMultiError, or nil if none found.
type GetLatestNotificationsResponseMultiError ¶
type GetLatestNotificationsResponseMultiError []error
GetLatestNotificationsResponseMultiError is an error wrapping multiple validation errors returned by GetLatestNotificationsResponse.ValidateAll() if the designated constraints aren't met.
func (GetLatestNotificationsResponseMultiError) AllErrors ¶
func (m GetLatestNotificationsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLatestNotificationsResponseMultiError) Error ¶
func (m GetLatestNotificationsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLatestNotificationsResponseValidationError ¶
type GetLatestNotificationsResponseValidationError struct {
// contains filtered or unexported fields
}
GetLatestNotificationsResponseValidationError is the validation error returned by GetLatestNotificationsResponse.Validate if the designated constraints aren't met.
func (GetLatestNotificationsResponseValidationError) Cause ¶
func (e GetLatestNotificationsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetLatestNotificationsResponseValidationError) Error ¶
func (e GetLatestNotificationsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestNotificationsResponseValidationError) ErrorName ¶
func (e GetLatestNotificationsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestNotificationsResponseValidationError) Field ¶
func (e GetLatestNotificationsResponseValidationError) Field() string
Field function returns field value.
func (GetLatestNotificationsResponseValidationError) Key ¶
func (e GetLatestNotificationsResponseValidationError) Key() bool
Key function returns key value.
func (GetLatestNotificationsResponseValidationError) Reason ¶
func (e GetLatestNotificationsResponseValidationError) Reason() string
Reason function returns reason value.
type GetLatestNotificationsResponse_Result ¶
type GetLatestNotificationsResponse_Result int32
const ( GetLatestNotificationsResponse_OK GetLatestNotificationsResponse_Result = 0 GetLatestNotificationsResponse_DENIED GetLatestNotificationsResponse_Result = 1 )
func (GetLatestNotificationsResponse_Result) Descriptor ¶
func (GetLatestNotificationsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetLatestNotificationsResponse_Result) EnumDescriptor
deprecated
func (GetLatestNotificationsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetLatestNotificationsResponse_Result.Descriptor instead.
func (GetLatestNotificationsResponse_Result) Number ¶
func (x GetLatestNotificationsResponse_Result) Number() protoreflect.EnumNumber
func (GetLatestNotificationsResponse_Result) String ¶
func (x GetLatestNotificationsResponse_Result) String() string
func (GetLatestNotificationsResponse_Result) Type ¶
func (GetLatestNotificationsResponse_Result) Type() protoreflect.EnumType
type Notification ¶
type Notification struct { // The ID of this notification Id *NotificationId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The localized title text for the notification LocalizedText string `protobuf:"bytes,2,opt,name=localized_text,json=localizedText,proto3" json:"localized_text,omitempty"` // The timestamp of this notification Ts *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3" json:"ts,omitempty"` // Additional metadata for this notification specific to the notification // // Types that are assignable to AdditionalMetadata: // // *Notification_WelcomeBonus // *Notification_WeeklyBonus // *Notification_CreateGroup // *Notification_SendListenerMessage // *Notification_SendTip // *Notification_ReceivedTip // *Notification_PromotedToSpeaker AdditionalMetadata isNotification_AdditionalMetadata `protobuf_oneof:"additional_metadata"` // contains filtered or unexported fields }
Notification is a message that is displayed in an activity feed
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetAdditionalMetadata ¶
func (m *Notification) GetAdditionalMetadata() isNotification_AdditionalMetadata
func (*Notification) GetCreateGroup ¶
func (x *Notification) GetCreateGroup() *CreateGroupNotificationMetadata
func (*Notification) GetId ¶
func (x *Notification) GetId() *NotificationId
func (*Notification) GetLocalizedText ¶
func (x *Notification) GetLocalizedText() string
func (*Notification) GetPromotedToSpeaker ¶
func (x *Notification) GetPromotedToSpeaker() *PromotedToSpeakerNotificationMetadata
func (*Notification) GetReceivedTip ¶
func (x *Notification) GetReceivedTip() *ReceivedTipNotificationMetadata
func (*Notification) GetSendListenerMessage ¶
func (x *Notification) GetSendListenerMessage() *SendListenerMessageNotificationMetadata
func (*Notification) GetSendTip ¶
func (x *Notification) GetSendTip() *SendTipNotificationMetadata
func (*Notification) GetTs ¶
func (x *Notification) GetTs() *timestamppb.Timestamp
func (*Notification) GetWeeklyBonus ¶
func (x *Notification) GetWeeklyBonus() *WeeklyBonusNotificationMetadata
func (*Notification) GetWelcomeBonus ¶
func (x *Notification) GetWelcomeBonus() *WelcomeBonusNotificationMetadata
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
func (*Notification) Validate ¶
func (m *Notification) Validate() error
Validate checks the field values on Notification with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Notification) ValidateAll ¶
func (m *Notification) ValidateAll() error
ValidateAll checks the field values on Notification with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NotificationMultiError, or nil if none found.
type NotificationId ¶
type NotificationId struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The ID of the notification, which is guaranteed to be consistent for grouped events. Updates to a notification with the same ID should result in re-ordering within the activity feed using the latest content.
func (*NotificationId) Descriptor
deprecated
func (*NotificationId) Descriptor() ([]byte, []int)
Deprecated: Use NotificationId.ProtoReflect.Descriptor instead.
func (*NotificationId) GetValue ¶
func (x *NotificationId) GetValue() []byte
func (*NotificationId) ProtoMessage ¶
func (*NotificationId) ProtoMessage()
func (*NotificationId) ProtoReflect ¶
func (x *NotificationId) ProtoReflect() protoreflect.Message
func (*NotificationId) Reset ¶
func (x *NotificationId) Reset()
func (*NotificationId) String ¶
func (x *NotificationId) String() string
func (*NotificationId) Validate ¶
func (m *NotificationId) Validate() error
Validate checks the field values on NotificationId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NotificationId) ValidateAll ¶
func (m *NotificationId) ValidateAll() error
ValidateAll checks the field values on NotificationId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NotificationIdMultiError, or nil if none found.
type NotificationIdMultiError ¶
type NotificationIdMultiError []error
NotificationIdMultiError is an error wrapping multiple validation errors returned by NotificationId.ValidateAll() if the designated constraints aren't met.
func (NotificationIdMultiError) AllErrors ¶
func (m NotificationIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotificationIdMultiError) Error ¶
func (m NotificationIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotificationIdValidationError ¶
type NotificationIdValidationError struct {
// contains filtered or unexported fields
}
NotificationIdValidationError is the validation error returned by NotificationId.Validate if the designated constraints aren't met.
func (NotificationIdValidationError) Cause ¶
func (e NotificationIdValidationError) Cause() error
Cause function returns cause value.
func (NotificationIdValidationError) Error ¶
func (e NotificationIdValidationError) Error() string
Error satisfies the builtin error interface
func (NotificationIdValidationError) ErrorName ¶
func (e NotificationIdValidationError) ErrorName() string
ErrorName returns error name.
func (NotificationIdValidationError) Field ¶
func (e NotificationIdValidationError) Field() string
Field function returns field value.
func (NotificationIdValidationError) Key ¶
func (e NotificationIdValidationError) Key() bool
Key function returns key value.
func (NotificationIdValidationError) Reason ¶
func (e NotificationIdValidationError) Reason() string
Reason function returns reason value.
type NotificationMultiError ¶
type NotificationMultiError []error
NotificationMultiError is an error wrapping multiple validation errors returned by Notification.ValidateAll() if the designated constraints aren't met.
func (NotificationMultiError) AllErrors ¶
func (m NotificationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotificationMultiError) Error ¶
func (m NotificationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotificationValidationError ¶
type NotificationValidationError struct {
// contains filtered or unexported fields
}
NotificationValidationError is the validation error returned by Notification.Validate if the designated constraints aren't met.
func (NotificationValidationError) Cause ¶
func (e NotificationValidationError) Cause() error
Cause function returns cause value.
func (NotificationValidationError) Error ¶
func (e NotificationValidationError) Error() string
Error satisfies the builtin error interface
func (NotificationValidationError) ErrorName ¶
func (e NotificationValidationError) ErrorName() string
ErrorName returns error name.
func (NotificationValidationError) Field ¶
func (e NotificationValidationError) Field() string
Field function returns field value.
func (NotificationValidationError) Key ¶
func (e NotificationValidationError) Key() bool
Key function returns key value.
func (NotificationValidationError) Reason ¶
func (e NotificationValidationError) Reason() string
Reason function returns reason value.
type Notification_CreateGroup ¶
type Notification_CreateGroup struct {
CreateGroup *CreateGroupNotificationMetadata `protobuf:"bytes,6,opt,name=create_group,json=createGroup,proto3,oneof"`
}
type Notification_PromotedToSpeaker ¶
type Notification_PromotedToSpeaker struct {
PromotedToSpeaker *PromotedToSpeakerNotificationMetadata `protobuf:"bytes,10,opt,name=promoted_to_speaker,json=promotedToSpeaker,proto3,oneof"`
}
type Notification_ReceivedTip ¶
type Notification_ReceivedTip struct {
ReceivedTip *ReceivedTipNotificationMetadata `protobuf:"bytes,9,opt,name=received_tip,json=receivedTip,proto3,oneof"`
}
type Notification_SendListenerMessage ¶
type Notification_SendListenerMessage struct {
SendListenerMessage *SendListenerMessageNotificationMetadata `protobuf:"bytes,7,opt,name=send_listener_message,json=sendListenerMessage,proto3,oneof"`
}
type Notification_SendTip ¶
type Notification_SendTip struct {
SendTip *SendTipNotificationMetadata `protobuf:"bytes,8,opt,name=send_tip,json=sendTip,proto3,oneof"`
}
type Notification_WeeklyBonus ¶
type Notification_WeeklyBonus struct {
WeeklyBonus *WeeklyBonusNotificationMetadata `protobuf:"bytes,5,opt,name=weekly_bonus,json=weeklyBonus,proto3,oneof"`
}
type Notification_WelcomeBonus ¶
type Notification_WelcomeBonus struct {
WelcomeBonus *WelcomeBonusNotificationMetadata `protobuf:"bytes,4,opt,name=welcome_bonus,json=welcomeBonus,proto3,oneof"`
}
type PromotedToSpeakerNotificationMetadata ¶
type PromotedToSpeakerNotificationMetadata struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` PromtedBy *v1.UserId `protobuf:"bytes,2,opt,name=promted_by,json=promtedBy,proto3" json:"promted_by,omitempty"` // contains filtered or unexported fields }
func (*PromotedToSpeakerNotificationMetadata) Descriptor
deprecated
func (*PromotedToSpeakerNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PromotedToSpeakerNotificationMetadata.ProtoReflect.Descriptor instead.
func (*PromotedToSpeakerNotificationMetadata) GetChatId ¶
func (x *PromotedToSpeakerNotificationMetadata) GetChatId() *v1.ChatId
func (*PromotedToSpeakerNotificationMetadata) GetPromtedBy ¶
func (x *PromotedToSpeakerNotificationMetadata) GetPromtedBy() *v1.UserId
func (*PromotedToSpeakerNotificationMetadata) ProtoMessage ¶
func (*PromotedToSpeakerNotificationMetadata) ProtoMessage()
func (*PromotedToSpeakerNotificationMetadata) ProtoReflect ¶
func (x *PromotedToSpeakerNotificationMetadata) ProtoReflect() protoreflect.Message
func (*PromotedToSpeakerNotificationMetadata) Reset ¶
func (x *PromotedToSpeakerNotificationMetadata) Reset()
func (*PromotedToSpeakerNotificationMetadata) String ¶
func (x *PromotedToSpeakerNotificationMetadata) String() string
func (*PromotedToSpeakerNotificationMetadata) Validate ¶
func (m *PromotedToSpeakerNotificationMetadata) Validate() error
Validate checks the field values on PromotedToSpeakerNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PromotedToSpeakerNotificationMetadata) ValidateAll ¶
func (m *PromotedToSpeakerNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on PromotedToSpeakerNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PromotedToSpeakerNotificationMetadataMultiError, or nil if none found.
type PromotedToSpeakerNotificationMetadataMultiError ¶
type PromotedToSpeakerNotificationMetadataMultiError []error
PromotedToSpeakerNotificationMetadataMultiError is an error wrapping multiple validation errors returned by PromotedToSpeakerNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (PromotedToSpeakerNotificationMetadataMultiError) AllErrors ¶
func (m PromotedToSpeakerNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PromotedToSpeakerNotificationMetadataMultiError) Error ¶
func (m PromotedToSpeakerNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PromotedToSpeakerNotificationMetadataValidationError ¶
type PromotedToSpeakerNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
PromotedToSpeakerNotificationMetadataValidationError is the validation error returned by PromotedToSpeakerNotificationMetadata.Validate if the designated constraints aren't met.
func (PromotedToSpeakerNotificationMetadataValidationError) Cause ¶
func (e PromotedToSpeakerNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (PromotedToSpeakerNotificationMetadataValidationError) Error ¶
func (e PromotedToSpeakerNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PromotedToSpeakerNotificationMetadataValidationError) ErrorName ¶
func (e PromotedToSpeakerNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PromotedToSpeakerNotificationMetadataValidationError) Field ¶
func (e PromotedToSpeakerNotificationMetadataValidationError) Field() string
Field function returns field value.
func (PromotedToSpeakerNotificationMetadataValidationError) Key ¶
func (e PromotedToSpeakerNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (PromotedToSpeakerNotificationMetadataValidationError) Reason ¶
func (e PromotedToSpeakerNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type ReceivedTipNotificationMetadata ¶ added in v1.4.1
type ReceivedTipNotificationMetadata struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MessageId *v11.MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` TotalQuarksReceived uint64 `protobuf:"varint,3,opt,name=total_quarks_received,json=totalQuarksReceived,proto3" json:"total_quarks_received,omitempty"` // contains filtered or unexported fields }
func (*ReceivedTipNotificationMetadata) Descriptor
deprecated
added in
v1.4.1
func (*ReceivedTipNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReceivedTipNotificationMetadata.ProtoReflect.Descriptor instead.
func (*ReceivedTipNotificationMetadata) GetChatId ¶ added in v1.4.1
func (x *ReceivedTipNotificationMetadata) GetChatId() *v1.ChatId
func (*ReceivedTipNotificationMetadata) GetMessageId ¶ added in v1.4.1
func (x *ReceivedTipNotificationMetadata) GetMessageId() *v11.MessageId
func (*ReceivedTipNotificationMetadata) GetTotalQuarksReceived ¶ added in v1.4.1
func (x *ReceivedTipNotificationMetadata) GetTotalQuarksReceived() uint64
func (*ReceivedTipNotificationMetadata) ProtoMessage ¶ added in v1.4.1
func (*ReceivedTipNotificationMetadata) ProtoMessage()
func (*ReceivedTipNotificationMetadata) ProtoReflect ¶ added in v1.4.1
func (x *ReceivedTipNotificationMetadata) ProtoReflect() protoreflect.Message
func (*ReceivedTipNotificationMetadata) Reset ¶ added in v1.4.1
func (x *ReceivedTipNotificationMetadata) Reset()
func (*ReceivedTipNotificationMetadata) String ¶ added in v1.4.1
func (x *ReceivedTipNotificationMetadata) String() string
func (*ReceivedTipNotificationMetadata) Validate ¶ added in v1.4.1
func (m *ReceivedTipNotificationMetadata) Validate() error
Validate checks the field values on ReceivedTipNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReceivedTipNotificationMetadata) ValidateAll ¶ added in v1.4.1
func (m *ReceivedTipNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on ReceivedTipNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReceivedTipNotificationMetadataMultiError, or nil if none found.
type ReceivedTipNotificationMetadataMultiError ¶ added in v1.4.1
type ReceivedTipNotificationMetadataMultiError []error
ReceivedTipNotificationMetadataMultiError is an error wrapping multiple validation errors returned by ReceivedTipNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (ReceivedTipNotificationMetadataMultiError) AllErrors ¶ added in v1.4.1
func (m ReceivedTipNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceivedTipNotificationMetadataMultiError) Error ¶ added in v1.4.1
func (m ReceivedTipNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceivedTipNotificationMetadataValidationError ¶ added in v1.4.1
type ReceivedTipNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
ReceivedTipNotificationMetadataValidationError is the validation error returned by ReceivedTipNotificationMetadata.Validate if the designated constraints aren't met.
func (ReceivedTipNotificationMetadataValidationError) Cause ¶ added in v1.4.1
func (e ReceivedTipNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (ReceivedTipNotificationMetadataValidationError) Error ¶ added in v1.4.1
func (e ReceivedTipNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (ReceivedTipNotificationMetadataValidationError) ErrorName ¶ added in v1.4.1
func (e ReceivedTipNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (ReceivedTipNotificationMetadataValidationError) Field ¶ added in v1.4.1
func (e ReceivedTipNotificationMetadataValidationError) Field() string
Field function returns field value.
func (ReceivedTipNotificationMetadataValidationError) Key ¶ added in v1.4.1
func (e ReceivedTipNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (ReceivedTipNotificationMetadataValidationError) Reason ¶ added in v1.4.1
func (e ReceivedTipNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type SendListenerMessageNotificationMetadata ¶
type SendListenerMessageNotificationMetadata struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MessageId *v11.MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` QuarksSpent uint64 `protobuf:"varint,3,opt,name=quarks_spent,json=quarksSpent,proto3" json:"quarks_spent,omitempty"` // contains filtered or unexported fields }
func (*SendListenerMessageNotificationMetadata) Descriptor
deprecated
func (*SendListenerMessageNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SendListenerMessageNotificationMetadata.ProtoReflect.Descriptor instead.
func (*SendListenerMessageNotificationMetadata) GetChatId ¶
func (x *SendListenerMessageNotificationMetadata) GetChatId() *v1.ChatId
func (*SendListenerMessageNotificationMetadata) GetMessageId ¶
func (x *SendListenerMessageNotificationMetadata) GetMessageId() *v11.MessageId
func (*SendListenerMessageNotificationMetadata) GetQuarksSpent ¶
func (x *SendListenerMessageNotificationMetadata) GetQuarksSpent() uint64
func (*SendListenerMessageNotificationMetadata) ProtoMessage ¶
func (*SendListenerMessageNotificationMetadata) ProtoMessage()
func (*SendListenerMessageNotificationMetadata) ProtoReflect ¶
func (x *SendListenerMessageNotificationMetadata) ProtoReflect() protoreflect.Message
func (*SendListenerMessageNotificationMetadata) Reset ¶
func (x *SendListenerMessageNotificationMetadata) Reset()
func (*SendListenerMessageNotificationMetadata) String ¶
func (x *SendListenerMessageNotificationMetadata) String() string
func (*SendListenerMessageNotificationMetadata) Validate ¶
func (m *SendListenerMessageNotificationMetadata) Validate() error
Validate checks the field values on SendListenerMessageNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendListenerMessageNotificationMetadata) ValidateAll ¶
func (m *SendListenerMessageNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on SendListenerMessageNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendListenerMessageNotificationMetadataMultiError, or nil if none found.
type SendListenerMessageNotificationMetadataMultiError ¶
type SendListenerMessageNotificationMetadataMultiError []error
SendListenerMessageNotificationMetadataMultiError is an error wrapping multiple validation errors returned by SendListenerMessageNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (SendListenerMessageNotificationMetadataMultiError) AllErrors ¶
func (m SendListenerMessageNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendListenerMessageNotificationMetadataMultiError) Error ¶
func (m SendListenerMessageNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendListenerMessageNotificationMetadataValidationError ¶
type SendListenerMessageNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
SendListenerMessageNotificationMetadataValidationError is the validation error returned by SendListenerMessageNotificationMetadata.Validate if the designated constraints aren't met.
func (SendListenerMessageNotificationMetadataValidationError) Cause ¶
func (e SendListenerMessageNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (SendListenerMessageNotificationMetadataValidationError) Error ¶
func (e SendListenerMessageNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SendListenerMessageNotificationMetadataValidationError) ErrorName ¶
func (e SendListenerMessageNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SendListenerMessageNotificationMetadataValidationError) Field ¶
func (e SendListenerMessageNotificationMetadataValidationError) Field() string
Field function returns field value.
func (SendListenerMessageNotificationMetadataValidationError) Key ¶
func (e SendListenerMessageNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (SendListenerMessageNotificationMetadataValidationError) Reason ¶
func (e SendListenerMessageNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type SendTipNotificationMetadata ¶
type SendTipNotificationMetadata struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MessageId *v11.MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` TotalQuarksSent uint64 `protobuf:"varint,3,opt,name=total_quarks_sent,json=totalQuarksSent,proto3" json:"total_quarks_sent,omitempty"` // contains filtered or unexported fields }
func (*SendTipNotificationMetadata) Descriptor
deprecated
func (*SendTipNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SendTipNotificationMetadata.ProtoReflect.Descriptor instead.
func (*SendTipNotificationMetadata) GetChatId ¶
func (x *SendTipNotificationMetadata) GetChatId() *v1.ChatId
func (*SendTipNotificationMetadata) GetMessageId ¶
func (x *SendTipNotificationMetadata) GetMessageId() *v11.MessageId
func (*SendTipNotificationMetadata) GetTotalQuarksSent ¶
func (x *SendTipNotificationMetadata) GetTotalQuarksSent() uint64
func (*SendTipNotificationMetadata) ProtoMessage ¶
func (*SendTipNotificationMetadata) ProtoMessage()
func (*SendTipNotificationMetadata) ProtoReflect ¶
func (x *SendTipNotificationMetadata) ProtoReflect() protoreflect.Message
func (*SendTipNotificationMetadata) Reset ¶
func (x *SendTipNotificationMetadata) Reset()
func (*SendTipNotificationMetadata) String ¶
func (x *SendTipNotificationMetadata) String() string
func (*SendTipNotificationMetadata) Validate ¶
func (m *SendTipNotificationMetadata) Validate() error
Validate checks the field values on SendTipNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendTipNotificationMetadata) ValidateAll ¶
func (m *SendTipNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on SendTipNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendTipNotificationMetadataMultiError, or nil if none found.
type SendTipNotificationMetadataMultiError ¶
type SendTipNotificationMetadataMultiError []error
SendTipNotificationMetadataMultiError is an error wrapping multiple validation errors returned by SendTipNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (SendTipNotificationMetadataMultiError) AllErrors ¶
func (m SendTipNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendTipNotificationMetadataMultiError) Error ¶
func (m SendTipNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendTipNotificationMetadataValidationError ¶
type SendTipNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
SendTipNotificationMetadataValidationError is the validation error returned by SendTipNotificationMetadata.Validate if the designated constraints aren't met.
func (SendTipNotificationMetadataValidationError) Cause ¶
func (e SendTipNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (SendTipNotificationMetadataValidationError) Error ¶
func (e SendTipNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SendTipNotificationMetadataValidationError) ErrorName ¶
func (e SendTipNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SendTipNotificationMetadataValidationError) Field ¶
func (e SendTipNotificationMetadataValidationError) Field() string
Field function returns field value.
func (SendTipNotificationMetadataValidationError) Key ¶
func (e SendTipNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (SendTipNotificationMetadataValidationError) Reason ¶
func (e SendTipNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type UnimplementedActivityFeedServer ¶
type UnimplementedActivityFeedServer struct{}
UnimplementedActivityFeedServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedActivityFeedServer) GetLatestNotifications ¶
func (UnimplementedActivityFeedServer) GetLatestNotifications(context.Context, *GetLatestNotificationsRequest) (*GetLatestNotificationsResponse, error)
type UnsafeActivityFeedServer ¶
type UnsafeActivityFeedServer interface {
// contains filtered or unexported methods
}
UnsafeActivityFeedServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityFeedServer will result in compilation errors.
type WeeklyBonusNotificationMetadata ¶
type WeeklyBonusNotificationMetadata struct { QuarksReceived uint64 `protobuf:"varint,1,opt,name=quarks_received,json=quarksReceived,proto3" json:"quarks_received,omitempty"` // contains filtered or unexported fields }
func (*WeeklyBonusNotificationMetadata) Descriptor
deprecated
func (*WeeklyBonusNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WeeklyBonusNotificationMetadata.ProtoReflect.Descriptor instead.
func (*WeeklyBonusNotificationMetadata) GetQuarksReceived ¶
func (x *WeeklyBonusNotificationMetadata) GetQuarksReceived() uint64
func (*WeeklyBonusNotificationMetadata) ProtoMessage ¶
func (*WeeklyBonusNotificationMetadata) ProtoMessage()
func (*WeeklyBonusNotificationMetadata) ProtoReflect ¶
func (x *WeeklyBonusNotificationMetadata) ProtoReflect() protoreflect.Message
func (*WeeklyBonusNotificationMetadata) Reset ¶
func (x *WeeklyBonusNotificationMetadata) Reset()
func (*WeeklyBonusNotificationMetadata) String ¶
func (x *WeeklyBonusNotificationMetadata) String() string
func (*WeeklyBonusNotificationMetadata) Validate ¶
func (m *WeeklyBonusNotificationMetadata) Validate() error
Validate checks the field values on WeeklyBonusNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WeeklyBonusNotificationMetadata) ValidateAll ¶
func (m *WeeklyBonusNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on WeeklyBonusNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WeeklyBonusNotificationMetadataMultiError, or nil if none found.
type WeeklyBonusNotificationMetadataMultiError ¶
type WeeklyBonusNotificationMetadataMultiError []error
WeeklyBonusNotificationMetadataMultiError is an error wrapping multiple validation errors returned by WeeklyBonusNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (WeeklyBonusNotificationMetadataMultiError) AllErrors ¶
func (m WeeklyBonusNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WeeklyBonusNotificationMetadataMultiError) Error ¶
func (m WeeklyBonusNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WeeklyBonusNotificationMetadataValidationError ¶
type WeeklyBonusNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
WeeklyBonusNotificationMetadataValidationError is the validation error returned by WeeklyBonusNotificationMetadata.Validate if the designated constraints aren't met.
func (WeeklyBonusNotificationMetadataValidationError) Cause ¶
func (e WeeklyBonusNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (WeeklyBonusNotificationMetadataValidationError) Error ¶
func (e WeeklyBonusNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (WeeklyBonusNotificationMetadataValidationError) ErrorName ¶
func (e WeeklyBonusNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (WeeklyBonusNotificationMetadataValidationError) Field ¶
func (e WeeklyBonusNotificationMetadataValidationError) Field() string
Field function returns field value.
func (WeeklyBonusNotificationMetadataValidationError) Key ¶
func (e WeeklyBonusNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (WeeklyBonusNotificationMetadataValidationError) Reason ¶
func (e WeeklyBonusNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type WelcomeBonusNotificationMetadata ¶
type WelcomeBonusNotificationMetadata struct { QuarksReceived uint64 `protobuf:"varint,1,opt,name=quarks_received,json=quarksReceived,proto3" json:"quarks_received,omitempty"` // contains filtered or unexported fields }
func (*WelcomeBonusNotificationMetadata) Descriptor
deprecated
func (*WelcomeBonusNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WelcomeBonusNotificationMetadata.ProtoReflect.Descriptor instead.
func (*WelcomeBonusNotificationMetadata) GetQuarksReceived ¶
func (x *WelcomeBonusNotificationMetadata) GetQuarksReceived() uint64
func (*WelcomeBonusNotificationMetadata) ProtoMessage ¶
func (*WelcomeBonusNotificationMetadata) ProtoMessage()
func (*WelcomeBonusNotificationMetadata) ProtoReflect ¶
func (x *WelcomeBonusNotificationMetadata) ProtoReflect() protoreflect.Message
func (*WelcomeBonusNotificationMetadata) Reset ¶
func (x *WelcomeBonusNotificationMetadata) Reset()
func (*WelcomeBonusNotificationMetadata) String ¶
func (x *WelcomeBonusNotificationMetadata) String() string
func (*WelcomeBonusNotificationMetadata) Validate ¶
func (m *WelcomeBonusNotificationMetadata) Validate() error
Validate checks the field values on WelcomeBonusNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WelcomeBonusNotificationMetadata) ValidateAll ¶
func (m *WelcomeBonusNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on WelcomeBonusNotificationMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WelcomeBonusNotificationMetadataMultiError, or nil if none found.
type WelcomeBonusNotificationMetadataMultiError ¶
type WelcomeBonusNotificationMetadataMultiError []error
WelcomeBonusNotificationMetadataMultiError is an error wrapping multiple validation errors returned by WelcomeBonusNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (WelcomeBonusNotificationMetadataMultiError) AllErrors ¶
func (m WelcomeBonusNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WelcomeBonusNotificationMetadataMultiError) Error ¶
func (m WelcomeBonusNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WelcomeBonusNotificationMetadataValidationError ¶
type WelcomeBonusNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
WelcomeBonusNotificationMetadataValidationError is the validation error returned by WelcomeBonusNotificationMetadata.Validate if the designated constraints aren't met.
func (WelcomeBonusNotificationMetadataValidationError) Cause ¶
func (e WelcomeBonusNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (WelcomeBonusNotificationMetadataValidationError) Error ¶
func (e WelcomeBonusNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (WelcomeBonusNotificationMetadataValidationError) ErrorName ¶
func (e WelcomeBonusNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (WelcomeBonusNotificationMetadataValidationError) Field ¶
func (e WelcomeBonusNotificationMetadataValidationError) Field() string
Field function returns field value.
func (WelcomeBonusNotificationMetadataValidationError) Key ¶
func (e WelcomeBonusNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (WelcomeBonusNotificationMetadataValidationError) Reason ¶
func (e WelcomeBonusNotificationMetadataValidationError) Reason() string
Reason function returns reason value.