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 DepositedUsdcNotificationMetadata
- func (*DepositedUsdcNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (*DepositedUsdcNotificationMetadata) ProtoMessage()
- func (x *DepositedUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *DepositedUsdcNotificationMetadata) Reset()
- func (x *DepositedUsdcNotificationMetadata) String() string
- func (m *DepositedUsdcNotificationMetadata) Validate() error
- func (m *DepositedUsdcNotificationMetadata) ValidateAll() error
- type DepositedUsdcNotificationMetadataMultiError
- type DepositedUsdcNotificationMetadataValidationError
- func (e DepositedUsdcNotificationMetadataValidationError) Cause() error
- func (e DepositedUsdcNotificationMetadataValidationError) Error() string
- func (e DepositedUsdcNotificationMetadataValidationError) ErrorName() string
- func (e DepositedUsdcNotificationMetadataValidationError) Field() string
- func (e DepositedUsdcNotificationMetadataValidationError) Key() bool
- func (e DepositedUsdcNotificationMetadataValidationError) Reason() string
- type GaveUsdcNotificationMetadata
- func (*GaveUsdcNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (*GaveUsdcNotificationMetadata) ProtoMessage()
- func (x *GaveUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *GaveUsdcNotificationMetadata) Reset()
- func (x *GaveUsdcNotificationMetadata) String() string
- func (m *GaveUsdcNotificationMetadata) Validate() error
- func (m *GaveUsdcNotificationMetadata) ValidateAll() error
- type GaveUsdcNotificationMetadataMultiError
- type GaveUsdcNotificationMetadataValidationError
- func (e GaveUsdcNotificationMetadataValidationError) Cause() error
- func (e GaveUsdcNotificationMetadataValidationError) Error() string
- func (e GaveUsdcNotificationMetadataValidationError) ErrorName() string
- func (e GaveUsdcNotificationMetadataValidationError) Field() string
- func (e GaveUsdcNotificationMetadataValidationError) Key() bool
- func (e GaveUsdcNotificationMetadataValidationError) Reason() string
- type GetBatchNotificationsRequest
- func (*GetBatchNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBatchNotificationsRequest) GetAuth() *v1.Auth
- func (x *GetBatchNotificationsRequest) GetIds() []*NotificationId
- func (*GetBatchNotificationsRequest) ProtoMessage()
- func (x *GetBatchNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetBatchNotificationsRequest) Reset()
- func (x *GetBatchNotificationsRequest) String() string
- func (m *GetBatchNotificationsRequest) Validate() error
- func (m *GetBatchNotificationsRequest) ValidateAll() error
- type GetBatchNotificationsRequestMultiError
- type GetBatchNotificationsRequestValidationError
- func (e GetBatchNotificationsRequestValidationError) Cause() error
- func (e GetBatchNotificationsRequestValidationError) Error() string
- func (e GetBatchNotificationsRequestValidationError) ErrorName() string
- func (e GetBatchNotificationsRequestValidationError) Field() string
- func (e GetBatchNotificationsRequestValidationError) Key() bool
- func (e GetBatchNotificationsRequestValidationError) Reason() string
- type GetBatchNotificationsResponse
- func (*GetBatchNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBatchNotificationsResponse) GetNotifications() []*Notification
- func (x *GetBatchNotificationsResponse) GetResult() GetBatchNotificationsResponse_Result
- func (*GetBatchNotificationsResponse) ProtoMessage()
- func (x *GetBatchNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetBatchNotificationsResponse) Reset()
- func (x *GetBatchNotificationsResponse) String() string
- func (m *GetBatchNotificationsResponse) Validate() error
- func (m *GetBatchNotificationsResponse) ValidateAll() error
- type GetBatchNotificationsResponseMultiError
- type GetBatchNotificationsResponseValidationError
- func (e GetBatchNotificationsResponseValidationError) Cause() error
- func (e GetBatchNotificationsResponseValidationError) Error() string
- func (e GetBatchNotificationsResponseValidationError) ErrorName() string
- func (e GetBatchNotificationsResponseValidationError) Field() string
- func (e GetBatchNotificationsResponseValidationError) Key() bool
- func (e GetBatchNotificationsResponseValidationError) Reason() string
- type GetBatchNotificationsResponse_Result
- func (GetBatchNotificationsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetBatchNotificationsResponse_Result) Enum() *GetBatchNotificationsResponse_Result
- func (GetBatchNotificationsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetBatchNotificationsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetBatchNotificationsResponse_Result) String() string
- func (GetBatchNotificationsResponse_Result) Type() protoreflect.EnumType
- 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 GetPagedNotificationsRequest
- func (*GetPagedNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPagedNotificationsRequest) GetAuth() *v1.Auth
- func (x *GetPagedNotificationsRequest) GetQueryOptions() *v1.QueryOptions
- func (x *GetPagedNotificationsRequest) GetType() ActivityFeedType
- func (*GetPagedNotificationsRequest) ProtoMessage()
- func (x *GetPagedNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetPagedNotificationsRequest) Reset()
- func (x *GetPagedNotificationsRequest) String() string
- func (m *GetPagedNotificationsRequest) Validate() error
- func (m *GetPagedNotificationsRequest) ValidateAll() error
- type GetPagedNotificationsRequestMultiError
- type GetPagedNotificationsRequestValidationError
- func (e GetPagedNotificationsRequestValidationError) Cause() error
- func (e GetPagedNotificationsRequestValidationError) Error() string
- func (e GetPagedNotificationsRequestValidationError) ErrorName() string
- func (e GetPagedNotificationsRequestValidationError) Field() string
- func (e GetPagedNotificationsRequestValidationError) Key() bool
- func (e GetPagedNotificationsRequestValidationError) Reason() string
- type GetPagedNotificationsResponse
- func (*GetPagedNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPagedNotificationsResponse) GetNotifications() []*Notification
- func (x *GetPagedNotificationsResponse) GetResult() GetPagedNotificationsResponse_Result
- func (*GetPagedNotificationsResponse) ProtoMessage()
- func (x *GetPagedNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetPagedNotificationsResponse) Reset()
- func (x *GetPagedNotificationsResponse) String() string
- func (m *GetPagedNotificationsResponse) Validate() error
- func (m *GetPagedNotificationsResponse) ValidateAll() error
- type GetPagedNotificationsResponseMultiError
- type GetPagedNotificationsResponseValidationError
- func (e GetPagedNotificationsResponseValidationError) Cause() error
- func (e GetPagedNotificationsResponseValidationError) Error() string
- func (e GetPagedNotificationsResponseValidationError) ErrorName() string
- func (e GetPagedNotificationsResponseValidationError) Field() string
- func (e GetPagedNotificationsResponseValidationError) Key() bool
- func (e GetPagedNotificationsResponseValidationError) Reason() string
- type GetPagedNotificationsResponse_Result
- func (GetPagedNotificationsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetPagedNotificationsResponse_Result) Enum() *GetPagedNotificationsResponse_Result
- func (GetPagedNotificationsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPagedNotificationsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetPagedNotificationsResponse_Result) String() string
- func (GetPagedNotificationsResponse_Result) Type() protoreflect.EnumType
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (m *Notification) GetAdditionalMetadata() isNotification_AdditionalMetadata
- func (x *Notification) GetDepositedUsdc() *DepositedUsdcNotificationMetadata
- func (x *Notification) GetGaveUsdc() *GaveUsdcNotificationMetadata
- func (x *Notification) GetId() *NotificationId
- func (x *Notification) GetLocalizedText() string
- func (x *Notification) GetPaymentAmount() *v1.UsdcPaymentAmount
- func (x *Notification) GetReceivedUsdc() *ReceivedUsdcNotificationMetadata
- func (x *Notification) GetSentUsdc() *SentUsdcNotificationMetadata
- func (x *Notification) GetState() NotificationState
- func (x *Notification) GetTs() *timestamppb.Timestamp
- func (x *Notification) GetWelcomeBonus() *WelcomeBonusNotificationMetadata
- func (x *Notification) GetWithdrewUsdc() *WithdrewUsdcNotificationMetadata
- 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 NotificationState
- func (NotificationState) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationState) Enum() *NotificationState
- func (NotificationState) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationState) Number() protoreflect.EnumNumber
- func (x NotificationState) String() string
- func (NotificationState) Type() protoreflect.EnumType
- 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_DepositedUsdc
- type Notification_GaveUsdc
- type Notification_ReceivedUsdc
- type Notification_SentUsdc
- type Notification_WelcomeBonus
- type Notification_WithdrewUsdc
- type ReceivedUsdcNotificationMetadata
- func (*ReceivedUsdcNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (*ReceivedUsdcNotificationMetadata) ProtoMessage()
- func (x *ReceivedUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *ReceivedUsdcNotificationMetadata) Reset()
- func (x *ReceivedUsdcNotificationMetadata) String() string
- func (m *ReceivedUsdcNotificationMetadata) Validate() error
- func (m *ReceivedUsdcNotificationMetadata) ValidateAll() error
- type ReceivedUsdcNotificationMetadataMultiError
- type ReceivedUsdcNotificationMetadataValidationError
- func (e ReceivedUsdcNotificationMetadataValidationError) Cause() error
- func (e ReceivedUsdcNotificationMetadataValidationError) Error() string
- func (e ReceivedUsdcNotificationMetadataValidationError) ErrorName() string
- func (e ReceivedUsdcNotificationMetadataValidationError) Field() string
- func (e ReceivedUsdcNotificationMetadataValidationError) Key() bool
- func (e ReceivedUsdcNotificationMetadataValidationError) Reason() string
- type SentUsdcNotificationMetadata
- func (*SentUsdcNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SentUsdcNotificationMetadata) GetCanInitiateCancelAction() bool
- func (x *SentUsdcNotificationMetadata) GetVault() *v1.PublicKey
- func (*SentUsdcNotificationMetadata) ProtoMessage()
- func (x *SentUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *SentUsdcNotificationMetadata) Reset()
- func (x *SentUsdcNotificationMetadata) String() string
- func (m *SentUsdcNotificationMetadata) Validate() error
- func (m *SentUsdcNotificationMetadata) ValidateAll() error
- type SentUsdcNotificationMetadataMultiError
- type SentUsdcNotificationMetadataValidationError
- func (e SentUsdcNotificationMetadataValidationError) Cause() error
- func (e SentUsdcNotificationMetadataValidationError) Error() string
- func (e SentUsdcNotificationMetadataValidationError) ErrorName() string
- func (e SentUsdcNotificationMetadataValidationError) Field() string
- func (e SentUsdcNotificationMetadataValidationError) Key() bool
- func (e SentUsdcNotificationMetadataValidationError) Reason() string
- type UnimplementedActivityFeedServer
- func (UnimplementedActivityFeedServer) GetBatchNotifications(context.Context, *GetBatchNotificationsRequest) (*GetBatchNotificationsResponse, error)
- func (UnimplementedActivityFeedServer) GetLatestNotifications(context.Context, *GetLatestNotificationsRequest) (*GetLatestNotificationsResponse, error)
- func (UnimplementedActivityFeedServer) GetPagedNotifications(context.Context, *GetPagedNotificationsRequest) (*GetPagedNotificationsResponse, error)
- type UnsafeActivityFeedServer
- type WelcomeBonusNotificationMetadata
- func (*WelcomeBonusNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- 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
- type WithdrewUsdcNotificationMetadata
- func (*WithdrewUsdcNotificationMetadata) Descriptor() ([]byte, []int)deprecated
- func (*WithdrewUsdcNotificationMetadata) ProtoMessage()
- func (x *WithdrewUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
- func (x *WithdrewUsdcNotificationMetadata) Reset()
- func (x *WithdrewUsdcNotificationMetadata) String() string
- func (m *WithdrewUsdcNotificationMetadata) Validate() error
- func (m *WithdrewUsdcNotificationMetadata) ValidateAll() error
- type WithdrewUsdcNotificationMetadataMultiError
- type WithdrewUsdcNotificationMetadataValidationError
- func (e WithdrewUsdcNotificationMetadataValidationError) Cause() error
- func (e WithdrewUsdcNotificationMetadataValidationError) Error() string
- func (e WithdrewUsdcNotificationMetadataValidationError) ErrorName() string
- func (e WithdrewUsdcNotificationMetadataValidationError) Field() string
- func (e WithdrewUsdcNotificationMetadataValidationError) Key() bool
- func (e WithdrewUsdcNotificationMetadataValidationError) Reason() string
Constants ¶
const ( ActivityFeed_GetLatestNotifications_FullMethodName = "/flipcash.activity.v1.ActivityFeed/GetLatestNotifications" ActivityFeed_GetPagedNotifications_FullMethodName = "/flipcash.activity.v1.ActivityFeed/GetPagedNotifications" ActivityFeed_GetBatchNotifications_FullMethodName = "/flipcash.activity.v1.ActivityFeed/GetBatchNotifications" )
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 ( GetPagedNotificationsResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", } GetPagedNotificationsResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, } )
Enum value maps for GetPagedNotificationsResponse_Result.
var ( GetBatchNotificationsResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "NOT_FOUND", } GetBatchNotificationsResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "NOT_FOUND": 2, } )
Enum value maps for GetBatchNotificationsResponse_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 ( NotificationState_name = map[int32]string{ 0: "NOTIFICATION_STATE_UNKNOWN", 1: "NOTIFICATION_STATE_PENDING", 2: "NOTIFICATION_STATE_COMPLETED", } NotificationState_value = map[string]int32{ "NOTIFICATION_STATE_UNKNOWN": 0, "NOTIFICATION_STATE_PENDING": 1, "NOTIFICATION_STATE_COMPLETED": 2, } )
Enum value maps for NotificationState.
var ActivityFeed_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipcash.activity.v1.ActivityFeed", HandlerType: (*ActivityFeedServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLatestNotifications", Handler: _ActivityFeed_GetLatestNotifications_Handler, }, { MethodName: "GetPagedNotifications", Handler: _ActivityFeed_GetPagedNotifications_Handler, }, { MethodName: "GetBatchNotifications", Handler: _ActivityFeed_GetBatchNotifications_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) // GetPagedNotifications gets all notifications using a paging API. GetPagedNotifications(ctx context.Context, in *GetPagedNotificationsRequest, opts ...grpc.CallOption) (*GetPagedNotificationsResponse, error) // GetBatchNotifications gets a batch of notifications by ID. GetBatchNotifications(ctx context.Context, in *GetBatchNotificationsRequest, opts ...grpc.CallOption) (*GetBatchNotificationsResponse, 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.
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) // GetPagedNotifications gets all notifications using a paging API. GetPagedNotifications(context.Context, *GetPagedNotificationsRequest) (*GetPagedNotificationsResponse, error) // GetBatchNotifications gets a batch of notifications by ID. GetBatchNotifications(context.Context, *GetBatchNotificationsRequest) (*GetBatchNotificationsResponse, error) // contains filtered or unexported methods }
ActivityFeedServer is the server API for ActivityFeed service. All implementations must embed UnimplementedActivityFeedServer for forward compatibility.
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 DepositedUsdcNotificationMetadata ¶ added in v1.3.1
type DepositedUsdcNotificationMetadata struct {
// contains filtered or unexported fields
}
func (*DepositedUsdcNotificationMetadata) Descriptor
deprecated
added in
v1.3.1
func (*DepositedUsdcNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DepositedUsdcNotificationMetadata.ProtoReflect.Descriptor instead.
func (*DepositedUsdcNotificationMetadata) ProtoMessage ¶ added in v1.3.1
func (*DepositedUsdcNotificationMetadata) ProtoMessage()
func (*DepositedUsdcNotificationMetadata) ProtoReflect ¶ added in v1.3.1
func (x *DepositedUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
func (*DepositedUsdcNotificationMetadata) Reset ¶ added in v1.3.1
func (x *DepositedUsdcNotificationMetadata) Reset()
func (*DepositedUsdcNotificationMetadata) String ¶ added in v1.3.1
func (x *DepositedUsdcNotificationMetadata) String() string
func (*DepositedUsdcNotificationMetadata) Validate ¶ added in v1.3.1
func (m *DepositedUsdcNotificationMetadata) Validate() error
Validate checks the field values on DepositedUsdcNotificationMetadata 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 (*DepositedUsdcNotificationMetadata) ValidateAll ¶ added in v1.3.1
func (m *DepositedUsdcNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on DepositedUsdcNotificationMetadata 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 DepositedUsdcNotificationMetadataMultiError, or nil if none found.
type DepositedUsdcNotificationMetadataMultiError ¶ added in v1.3.1
type DepositedUsdcNotificationMetadataMultiError []error
DepositedUsdcNotificationMetadataMultiError is an error wrapping multiple validation errors returned by DepositedUsdcNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (DepositedUsdcNotificationMetadataMultiError) AllErrors ¶ added in v1.3.1
func (m DepositedUsdcNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DepositedUsdcNotificationMetadataMultiError) Error ¶ added in v1.3.1
func (m DepositedUsdcNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DepositedUsdcNotificationMetadataValidationError ¶ added in v1.3.1
type DepositedUsdcNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
DepositedUsdcNotificationMetadataValidationError is the validation error returned by DepositedUsdcNotificationMetadata.Validate if the designated constraints aren't met.
func (DepositedUsdcNotificationMetadataValidationError) Cause ¶ added in v1.3.1
func (e DepositedUsdcNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (DepositedUsdcNotificationMetadataValidationError) Error ¶ added in v1.3.1
func (e DepositedUsdcNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (DepositedUsdcNotificationMetadataValidationError) ErrorName ¶ added in v1.3.1
func (e DepositedUsdcNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (DepositedUsdcNotificationMetadataValidationError) Field ¶ added in v1.3.1
func (e DepositedUsdcNotificationMetadataValidationError) Field() string
Field function returns field value.
func (DepositedUsdcNotificationMetadataValidationError) Key ¶ added in v1.3.1
func (e DepositedUsdcNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (DepositedUsdcNotificationMetadataValidationError) Reason ¶ added in v1.3.1
func (e DepositedUsdcNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type GaveUsdcNotificationMetadata ¶
type GaveUsdcNotificationMetadata struct {
// contains filtered or unexported fields
}
func (*GaveUsdcNotificationMetadata) Descriptor
deprecated
func (*GaveUsdcNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GaveUsdcNotificationMetadata.ProtoReflect.Descriptor instead.
func (*GaveUsdcNotificationMetadata) ProtoMessage ¶
func (*GaveUsdcNotificationMetadata) ProtoMessage()
func (*GaveUsdcNotificationMetadata) ProtoReflect ¶
func (x *GaveUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
func (*GaveUsdcNotificationMetadata) Reset ¶
func (x *GaveUsdcNotificationMetadata) Reset()
func (*GaveUsdcNotificationMetadata) String ¶
func (x *GaveUsdcNotificationMetadata) String() string
func (*GaveUsdcNotificationMetadata) Validate ¶
func (m *GaveUsdcNotificationMetadata) Validate() error
Validate checks the field values on GaveUsdcNotificationMetadata 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 (*GaveUsdcNotificationMetadata) ValidateAll ¶
func (m *GaveUsdcNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on GaveUsdcNotificationMetadata 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 GaveUsdcNotificationMetadataMultiError, or nil if none found.
type GaveUsdcNotificationMetadataMultiError ¶
type GaveUsdcNotificationMetadataMultiError []error
GaveUsdcNotificationMetadataMultiError is an error wrapping multiple validation errors returned by GaveUsdcNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (GaveUsdcNotificationMetadataMultiError) AllErrors ¶
func (m GaveUsdcNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GaveUsdcNotificationMetadataMultiError) Error ¶
func (m GaveUsdcNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GaveUsdcNotificationMetadataValidationError ¶
type GaveUsdcNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
GaveUsdcNotificationMetadataValidationError is the validation error returned by GaveUsdcNotificationMetadata.Validate if the designated constraints aren't met.
func (GaveUsdcNotificationMetadataValidationError) Cause ¶
func (e GaveUsdcNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (GaveUsdcNotificationMetadataValidationError) Error ¶
func (e GaveUsdcNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (GaveUsdcNotificationMetadataValidationError) ErrorName ¶
func (e GaveUsdcNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (GaveUsdcNotificationMetadataValidationError) Field ¶
func (e GaveUsdcNotificationMetadataValidationError) Field() string
Field function returns field value.
func (GaveUsdcNotificationMetadataValidationError) Key ¶
func (e GaveUsdcNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (GaveUsdcNotificationMetadataValidationError) Reason ¶
func (e GaveUsdcNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type GetBatchNotificationsRequest ¶ added in v1.3.0
type GetBatchNotificationsRequest struct { Ids []*NotificationId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Auth *v1.Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*GetBatchNotificationsRequest) Descriptor
deprecated
added in
v1.3.0
func (*GetBatchNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBatchNotificationsRequest.ProtoReflect.Descriptor instead.
func (*GetBatchNotificationsRequest) GetAuth ¶ added in v1.3.0
func (x *GetBatchNotificationsRequest) GetAuth() *v1.Auth
func (*GetBatchNotificationsRequest) GetIds ¶ added in v1.3.0
func (x *GetBatchNotificationsRequest) GetIds() []*NotificationId
func (*GetBatchNotificationsRequest) ProtoMessage ¶ added in v1.3.0
func (*GetBatchNotificationsRequest) ProtoMessage()
func (*GetBatchNotificationsRequest) ProtoReflect ¶ added in v1.3.0
func (x *GetBatchNotificationsRequest) ProtoReflect() protoreflect.Message
func (*GetBatchNotificationsRequest) Reset ¶ added in v1.3.0
func (x *GetBatchNotificationsRequest) Reset()
func (*GetBatchNotificationsRequest) String ¶ added in v1.3.0
func (x *GetBatchNotificationsRequest) String() string
func (*GetBatchNotificationsRequest) Validate ¶ added in v1.3.0
func (m *GetBatchNotificationsRequest) Validate() error
Validate checks the field values on GetBatchNotificationsRequest 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 (*GetBatchNotificationsRequest) ValidateAll ¶ added in v1.3.0
func (m *GetBatchNotificationsRequest) ValidateAll() error
ValidateAll checks the field values on GetBatchNotificationsRequest 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 GetBatchNotificationsRequestMultiError, or nil if none found.
type GetBatchNotificationsRequestMultiError ¶ added in v1.3.0
type GetBatchNotificationsRequestMultiError []error
GetBatchNotificationsRequestMultiError is an error wrapping multiple validation errors returned by GetBatchNotificationsRequest.ValidateAll() if the designated constraints aren't met.
func (GetBatchNotificationsRequestMultiError) AllErrors ¶ added in v1.3.0
func (m GetBatchNotificationsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBatchNotificationsRequestMultiError) Error ¶ added in v1.3.0
func (m GetBatchNotificationsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBatchNotificationsRequestValidationError ¶ added in v1.3.0
type GetBatchNotificationsRequestValidationError struct {
// contains filtered or unexported fields
}
GetBatchNotificationsRequestValidationError is the validation error returned by GetBatchNotificationsRequest.Validate if the designated constraints aren't met.
func (GetBatchNotificationsRequestValidationError) Cause ¶ added in v1.3.0
func (e GetBatchNotificationsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetBatchNotificationsRequestValidationError) Error ¶ added in v1.3.0
func (e GetBatchNotificationsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetBatchNotificationsRequestValidationError) ErrorName ¶ added in v1.3.0
func (e GetBatchNotificationsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetBatchNotificationsRequestValidationError) Field ¶ added in v1.3.0
func (e GetBatchNotificationsRequestValidationError) Field() string
Field function returns field value.
func (GetBatchNotificationsRequestValidationError) Key ¶ added in v1.3.0
func (e GetBatchNotificationsRequestValidationError) Key() bool
Key function returns key value.
func (GetBatchNotificationsRequestValidationError) Reason ¶ added in v1.3.0
func (e GetBatchNotificationsRequestValidationError) Reason() string
Reason function returns reason value.
type GetBatchNotificationsResponse ¶ added in v1.3.0
type GetBatchNotificationsResponse struct { Result GetBatchNotificationsResponse_Result `` /* 129-byte string literal not displayed */ Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*GetBatchNotificationsResponse) Descriptor
deprecated
added in
v1.3.0
func (*GetBatchNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBatchNotificationsResponse.ProtoReflect.Descriptor instead.
func (*GetBatchNotificationsResponse) GetNotifications ¶ added in v1.3.0
func (x *GetBatchNotificationsResponse) GetNotifications() []*Notification
func (*GetBatchNotificationsResponse) GetResult ¶ added in v1.3.0
func (x *GetBatchNotificationsResponse) GetResult() GetBatchNotificationsResponse_Result
func (*GetBatchNotificationsResponse) ProtoMessage ¶ added in v1.3.0
func (*GetBatchNotificationsResponse) ProtoMessage()
func (*GetBatchNotificationsResponse) ProtoReflect ¶ added in v1.3.0
func (x *GetBatchNotificationsResponse) ProtoReflect() protoreflect.Message
func (*GetBatchNotificationsResponse) Reset ¶ added in v1.3.0
func (x *GetBatchNotificationsResponse) Reset()
func (*GetBatchNotificationsResponse) String ¶ added in v1.3.0
func (x *GetBatchNotificationsResponse) String() string
func (*GetBatchNotificationsResponse) Validate ¶ added in v1.3.0
func (m *GetBatchNotificationsResponse) Validate() error
Validate checks the field values on GetBatchNotificationsResponse 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 (*GetBatchNotificationsResponse) ValidateAll ¶ added in v1.3.0
func (m *GetBatchNotificationsResponse) ValidateAll() error
ValidateAll checks the field values on GetBatchNotificationsResponse 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 GetBatchNotificationsResponseMultiError, or nil if none found.
type GetBatchNotificationsResponseMultiError ¶ added in v1.3.0
type GetBatchNotificationsResponseMultiError []error
GetBatchNotificationsResponseMultiError is an error wrapping multiple validation errors returned by GetBatchNotificationsResponse.ValidateAll() if the designated constraints aren't met.
func (GetBatchNotificationsResponseMultiError) AllErrors ¶ added in v1.3.0
func (m GetBatchNotificationsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBatchNotificationsResponseMultiError) Error ¶ added in v1.3.0
func (m GetBatchNotificationsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBatchNotificationsResponseValidationError ¶ added in v1.3.0
type GetBatchNotificationsResponseValidationError struct {
// contains filtered or unexported fields
}
GetBatchNotificationsResponseValidationError is the validation error returned by GetBatchNotificationsResponse.Validate if the designated constraints aren't met.
func (GetBatchNotificationsResponseValidationError) Cause ¶ added in v1.3.0
func (e GetBatchNotificationsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetBatchNotificationsResponseValidationError) Error ¶ added in v1.3.0
func (e GetBatchNotificationsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetBatchNotificationsResponseValidationError) ErrorName ¶ added in v1.3.0
func (e GetBatchNotificationsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetBatchNotificationsResponseValidationError) Field ¶ added in v1.3.0
func (e GetBatchNotificationsResponseValidationError) Field() string
Field function returns field value.
func (GetBatchNotificationsResponseValidationError) Key ¶ added in v1.3.0
func (e GetBatchNotificationsResponseValidationError) Key() bool
Key function returns key value.
func (GetBatchNotificationsResponseValidationError) Reason ¶ added in v1.3.0
func (e GetBatchNotificationsResponseValidationError) Reason() string
Reason function returns reason value.
type GetBatchNotificationsResponse_Result ¶ added in v1.3.0
type GetBatchNotificationsResponse_Result int32
const ( GetBatchNotificationsResponse_OK GetBatchNotificationsResponse_Result = 0 GetBatchNotificationsResponse_DENIED GetBatchNotificationsResponse_Result = 1 GetBatchNotificationsResponse_NOT_FOUND GetBatchNotificationsResponse_Result = 2 )
func (GetBatchNotificationsResponse_Result) Descriptor ¶ added in v1.3.0
func (GetBatchNotificationsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetBatchNotificationsResponse_Result) Enum ¶ added in v1.3.0
func (x GetBatchNotificationsResponse_Result) Enum() *GetBatchNotificationsResponse_Result
func (GetBatchNotificationsResponse_Result) EnumDescriptor
deprecated
added in
v1.3.0
func (GetBatchNotificationsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetBatchNotificationsResponse_Result.Descriptor instead.
func (GetBatchNotificationsResponse_Result) Number ¶ added in v1.3.0
func (x GetBatchNotificationsResponse_Result) Number() protoreflect.EnumNumber
func (GetBatchNotificationsResponse_Result) String ¶ added in v1.3.0
func (x GetBatchNotificationsResponse_Result) String() string
func (GetBatchNotificationsResponse_Result) Type ¶ added in v1.3.0
func (GetBatchNotificationsResponse_Result) Type() protoreflect.EnumType
type GetLatestNotificationsRequest ¶
type GetLatestNotificationsRequest struct { // The activity feed to fetch notifications from Type ActivityFeedType `protobuf:"varint,1,opt,name=type,proto3,enum=flipcash.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,3,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 GetPagedNotificationsRequest ¶ added in v1.2.0
type GetPagedNotificationsRequest struct { // The activity feed to fetch notifications from Type ActivityFeedType `protobuf:"varint,1,opt,name=type,proto3,enum=flipcash.activity.v1.ActivityFeedType" json:"type,omitempty"` QueryOptions *v1.QueryOptions `protobuf:"bytes,2,opt,name=query_options,json=queryOptions,proto3" json:"query_options,omitempty"` Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*GetPagedNotificationsRequest) Descriptor
deprecated
added in
v1.2.0
func (*GetPagedNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPagedNotificationsRequest.ProtoReflect.Descriptor instead.
func (*GetPagedNotificationsRequest) GetAuth ¶ added in v1.2.0
func (x *GetPagedNotificationsRequest) GetAuth() *v1.Auth
func (*GetPagedNotificationsRequest) GetQueryOptions ¶ added in v1.2.0
func (x *GetPagedNotificationsRequest) GetQueryOptions() *v1.QueryOptions
func (*GetPagedNotificationsRequest) GetType ¶ added in v1.2.0
func (x *GetPagedNotificationsRequest) GetType() ActivityFeedType
func (*GetPagedNotificationsRequest) ProtoMessage ¶ added in v1.2.0
func (*GetPagedNotificationsRequest) ProtoMessage()
func (*GetPagedNotificationsRequest) ProtoReflect ¶ added in v1.2.0
func (x *GetPagedNotificationsRequest) ProtoReflect() protoreflect.Message
func (*GetPagedNotificationsRequest) Reset ¶ added in v1.2.0
func (x *GetPagedNotificationsRequest) Reset()
func (*GetPagedNotificationsRequest) String ¶ added in v1.2.0
func (x *GetPagedNotificationsRequest) String() string
func (*GetPagedNotificationsRequest) Validate ¶ added in v1.2.0
func (m *GetPagedNotificationsRequest) Validate() error
Validate checks the field values on GetPagedNotificationsRequest 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 (*GetPagedNotificationsRequest) ValidateAll ¶ added in v1.2.0
func (m *GetPagedNotificationsRequest) ValidateAll() error
ValidateAll checks the field values on GetPagedNotificationsRequest 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 GetPagedNotificationsRequestMultiError, or nil if none found.
type GetPagedNotificationsRequestMultiError ¶ added in v1.2.0
type GetPagedNotificationsRequestMultiError []error
GetPagedNotificationsRequestMultiError is an error wrapping multiple validation errors returned by GetPagedNotificationsRequest.ValidateAll() if the designated constraints aren't met.
func (GetPagedNotificationsRequestMultiError) AllErrors ¶ added in v1.2.0
func (m GetPagedNotificationsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPagedNotificationsRequestMultiError) Error ¶ added in v1.2.0
func (m GetPagedNotificationsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPagedNotificationsRequestValidationError ¶ added in v1.2.0
type GetPagedNotificationsRequestValidationError struct {
// contains filtered or unexported fields
}
GetPagedNotificationsRequestValidationError is the validation error returned by GetPagedNotificationsRequest.Validate if the designated constraints aren't met.
func (GetPagedNotificationsRequestValidationError) Cause ¶ added in v1.2.0
func (e GetPagedNotificationsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPagedNotificationsRequestValidationError) Error ¶ added in v1.2.0
func (e GetPagedNotificationsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPagedNotificationsRequestValidationError) ErrorName ¶ added in v1.2.0
func (e GetPagedNotificationsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPagedNotificationsRequestValidationError) Field ¶ added in v1.2.0
func (e GetPagedNotificationsRequestValidationError) Field() string
Field function returns field value.
func (GetPagedNotificationsRequestValidationError) Key ¶ added in v1.2.0
func (e GetPagedNotificationsRequestValidationError) Key() bool
Key function returns key value.
func (GetPagedNotificationsRequestValidationError) Reason ¶ added in v1.2.0
func (e GetPagedNotificationsRequestValidationError) Reason() string
Reason function returns reason value.
type GetPagedNotificationsResponse ¶ added in v1.2.0
type GetPagedNotificationsResponse struct { Result GetPagedNotificationsResponse_Result `` /* 129-byte string literal not displayed */ Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*GetPagedNotificationsResponse) Descriptor
deprecated
added in
v1.2.0
func (*GetPagedNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPagedNotificationsResponse.ProtoReflect.Descriptor instead.
func (*GetPagedNotificationsResponse) GetNotifications ¶ added in v1.2.0
func (x *GetPagedNotificationsResponse) GetNotifications() []*Notification
func (*GetPagedNotificationsResponse) GetResult ¶ added in v1.2.0
func (x *GetPagedNotificationsResponse) GetResult() GetPagedNotificationsResponse_Result
func (*GetPagedNotificationsResponse) ProtoMessage ¶ added in v1.2.0
func (*GetPagedNotificationsResponse) ProtoMessage()
func (*GetPagedNotificationsResponse) ProtoReflect ¶ added in v1.2.0
func (x *GetPagedNotificationsResponse) ProtoReflect() protoreflect.Message
func (*GetPagedNotificationsResponse) Reset ¶ added in v1.2.0
func (x *GetPagedNotificationsResponse) Reset()
func (*GetPagedNotificationsResponse) String ¶ added in v1.2.0
func (x *GetPagedNotificationsResponse) String() string
func (*GetPagedNotificationsResponse) Validate ¶ added in v1.2.0
func (m *GetPagedNotificationsResponse) Validate() error
Validate checks the field values on GetPagedNotificationsResponse 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 (*GetPagedNotificationsResponse) ValidateAll ¶ added in v1.2.0
func (m *GetPagedNotificationsResponse) ValidateAll() error
ValidateAll checks the field values on GetPagedNotificationsResponse 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 GetPagedNotificationsResponseMultiError, or nil if none found.
type GetPagedNotificationsResponseMultiError ¶ added in v1.2.0
type GetPagedNotificationsResponseMultiError []error
GetPagedNotificationsResponseMultiError is an error wrapping multiple validation errors returned by GetPagedNotificationsResponse.ValidateAll() if the designated constraints aren't met.
func (GetPagedNotificationsResponseMultiError) AllErrors ¶ added in v1.2.0
func (m GetPagedNotificationsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPagedNotificationsResponseMultiError) Error ¶ added in v1.2.0
func (m GetPagedNotificationsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPagedNotificationsResponseValidationError ¶ added in v1.2.0
type GetPagedNotificationsResponseValidationError struct {
// contains filtered or unexported fields
}
GetPagedNotificationsResponseValidationError is the validation error returned by GetPagedNotificationsResponse.Validate if the designated constraints aren't met.
func (GetPagedNotificationsResponseValidationError) Cause ¶ added in v1.2.0
func (e GetPagedNotificationsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPagedNotificationsResponseValidationError) Error ¶ added in v1.2.0
func (e GetPagedNotificationsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPagedNotificationsResponseValidationError) ErrorName ¶ added in v1.2.0
func (e GetPagedNotificationsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPagedNotificationsResponseValidationError) Field ¶ added in v1.2.0
func (e GetPagedNotificationsResponseValidationError) Field() string
Field function returns field value.
func (GetPagedNotificationsResponseValidationError) Key ¶ added in v1.2.0
func (e GetPagedNotificationsResponseValidationError) Key() bool
Key function returns key value.
func (GetPagedNotificationsResponseValidationError) Reason ¶ added in v1.2.0
func (e GetPagedNotificationsResponseValidationError) Reason() string
Reason function returns reason value.
type GetPagedNotificationsResponse_Result ¶ added in v1.2.0
type GetPagedNotificationsResponse_Result int32
const ( GetPagedNotificationsResponse_OK GetPagedNotificationsResponse_Result = 0 GetPagedNotificationsResponse_DENIED GetPagedNotificationsResponse_Result = 1 )
func (GetPagedNotificationsResponse_Result) Descriptor ¶ added in v1.2.0
func (GetPagedNotificationsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetPagedNotificationsResponse_Result) Enum ¶ added in v1.2.0
func (x GetPagedNotificationsResponse_Result) Enum() *GetPagedNotificationsResponse_Result
func (GetPagedNotificationsResponse_Result) EnumDescriptor
deprecated
added in
v1.2.0
func (GetPagedNotificationsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPagedNotificationsResponse_Result.Descriptor instead.
func (GetPagedNotificationsResponse_Result) Number ¶ added in v1.2.0
func (x GetPagedNotificationsResponse_Result) Number() protoreflect.EnumNumber
func (GetPagedNotificationsResponse_Result) String ¶ added in v1.2.0
func (x GetPagedNotificationsResponse_Result) String() string
func (GetPagedNotificationsResponse_Result) Type ¶ added in v1.2.0
func (GetPagedNotificationsResponse_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"` // If a payment applies, the amount that was paid PaymentAmount *v1.UsdcPaymentAmount `protobuf:"bytes,3,opt,name=payment_amount,json=paymentAmount,proto3" json:"payment_amount,omitempty"` // The timestamp of this notification Ts *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ts,proto3" json:"ts,omitempty"` // The state of this notification State NotificationState `protobuf:"varint,10,opt,name=state,proto3,enum=flipcash.activity.v1.NotificationState" json:"state,omitempty"` // Additional metadata for this notification specific to the notification // // Types that are assignable to AdditionalMetadata: // // *Notification_WelcomeBonus // *Notification_GaveUsdc // *Notification_ReceivedUsdc // *Notification_WithdrewUsdc // *Notification_SentUsdc // *Notification_DepositedUsdc 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) GetDepositedUsdc ¶ added in v1.3.1
func (x *Notification) GetDepositedUsdc() *DepositedUsdcNotificationMetadata
func (*Notification) GetGaveUsdc ¶
func (x *Notification) GetGaveUsdc() *GaveUsdcNotificationMetadata
func (*Notification) GetId ¶
func (x *Notification) GetId() *NotificationId
func (*Notification) GetLocalizedText ¶
func (x *Notification) GetLocalizedText() string
func (*Notification) GetPaymentAmount ¶ added in v1.1.1
func (x *Notification) GetPaymentAmount() *v1.UsdcPaymentAmount
func (*Notification) GetReceivedUsdc ¶
func (x *Notification) GetReceivedUsdc() *ReceivedUsdcNotificationMetadata
func (*Notification) GetSentUsdc ¶ added in v1.2.0
func (x *Notification) GetSentUsdc() *SentUsdcNotificationMetadata
func (*Notification) GetState ¶ added in v1.3.0
func (x *Notification) GetState() NotificationState
func (*Notification) GetTs ¶
func (x *Notification) GetTs() *timestamppb.Timestamp
func (*Notification) GetWelcomeBonus ¶
func (x *Notification) GetWelcomeBonus() *WelcomeBonusNotificationMetadata
func (*Notification) GetWithdrewUsdc ¶ added in v1.1.2
func (x *Notification) GetWithdrewUsdc() *WithdrewUsdcNotificationMetadata
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
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 NotificationState ¶ added in v1.3.0
type NotificationState int32
NotificationState determines the mutability of a notification, and whether client should attempt to refetch state.
const ( NotificationState_NOTIFICATION_STATE_UNKNOWN NotificationState = 0 // Notification state will change based on some app action in the future NotificationState_NOTIFICATION_STATE_PENDING NotificationState = 1 // Notification state will not change NotificationState_NOTIFICATION_STATE_COMPLETED NotificationState = 2 )
func (NotificationState) Descriptor ¶ added in v1.3.0
func (NotificationState) Descriptor() protoreflect.EnumDescriptor
func (NotificationState) Enum ¶ added in v1.3.0
func (x NotificationState) Enum() *NotificationState
func (NotificationState) EnumDescriptor
deprecated
added in
v1.3.0
func (NotificationState) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationState.Descriptor instead.
func (NotificationState) Number ¶ added in v1.3.0
func (x NotificationState) Number() protoreflect.EnumNumber
func (NotificationState) String ¶ added in v1.3.0
func (x NotificationState) String() string
func (NotificationState) Type ¶ added in v1.3.0
func (NotificationState) Type() protoreflect.EnumType
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_DepositedUsdc ¶ added in v1.3.1
type Notification_DepositedUsdc struct {
DepositedUsdc *DepositedUsdcNotificationMetadata `protobuf:"bytes,11,opt,name=deposited_usdc,json=depositedUsdc,proto3,oneof"`
}
type Notification_GaveUsdc ¶
type Notification_GaveUsdc struct {
GaveUsdc *GaveUsdcNotificationMetadata `protobuf:"bytes,6,opt,name=gave_usdc,json=gaveUsdc,proto3,oneof"`
}
type Notification_ReceivedUsdc ¶
type Notification_ReceivedUsdc struct {
ReceivedUsdc *ReceivedUsdcNotificationMetadata `protobuf:"bytes,7,opt,name=received_usdc,json=receivedUsdc,proto3,oneof"`
}
type Notification_SentUsdc ¶ added in v1.2.0
type Notification_SentUsdc struct {
SentUsdc *SentUsdcNotificationMetadata `protobuf:"bytes,9,opt,name=sent_usdc,json=sentUsdc,proto3,oneof"`
}
type Notification_WelcomeBonus ¶
type Notification_WelcomeBonus struct {
WelcomeBonus *WelcomeBonusNotificationMetadata `protobuf:"bytes,5,opt,name=welcome_bonus,json=welcomeBonus,proto3,oneof"`
}
type Notification_WithdrewUsdc ¶ added in v1.1.2
type Notification_WithdrewUsdc struct {
WithdrewUsdc *WithdrewUsdcNotificationMetadata `protobuf:"bytes,8,opt,name=withdrew_usdc,json=withdrewUsdc,proto3,oneof"`
}
type ReceivedUsdcNotificationMetadata ¶
type ReceivedUsdcNotificationMetadata struct {
// contains filtered or unexported fields
}
func (*ReceivedUsdcNotificationMetadata) Descriptor
deprecated
func (*ReceivedUsdcNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReceivedUsdcNotificationMetadata.ProtoReflect.Descriptor instead.
func (*ReceivedUsdcNotificationMetadata) ProtoMessage ¶
func (*ReceivedUsdcNotificationMetadata) ProtoMessage()
func (*ReceivedUsdcNotificationMetadata) ProtoReflect ¶
func (x *ReceivedUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
func (*ReceivedUsdcNotificationMetadata) Reset ¶
func (x *ReceivedUsdcNotificationMetadata) Reset()
func (*ReceivedUsdcNotificationMetadata) String ¶
func (x *ReceivedUsdcNotificationMetadata) String() string
func (*ReceivedUsdcNotificationMetadata) Validate ¶
func (m *ReceivedUsdcNotificationMetadata) Validate() error
Validate checks the field values on ReceivedUsdcNotificationMetadata 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 (*ReceivedUsdcNotificationMetadata) ValidateAll ¶
func (m *ReceivedUsdcNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on ReceivedUsdcNotificationMetadata 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 ReceivedUsdcNotificationMetadataMultiError, or nil if none found.
type ReceivedUsdcNotificationMetadataMultiError ¶
type ReceivedUsdcNotificationMetadataMultiError []error
ReceivedUsdcNotificationMetadataMultiError is an error wrapping multiple validation errors returned by ReceivedUsdcNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (ReceivedUsdcNotificationMetadataMultiError) AllErrors ¶
func (m ReceivedUsdcNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceivedUsdcNotificationMetadataMultiError) Error ¶
func (m ReceivedUsdcNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceivedUsdcNotificationMetadataValidationError ¶
type ReceivedUsdcNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
ReceivedUsdcNotificationMetadataValidationError is the validation error returned by ReceivedUsdcNotificationMetadata.Validate if the designated constraints aren't met.
func (ReceivedUsdcNotificationMetadataValidationError) Cause ¶
func (e ReceivedUsdcNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (ReceivedUsdcNotificationMetadataValidationError) Error ¶
func (e ReceivedUsdcNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (ReceivedUsdcNotificationMetadataValidationError) ErrorName ¶
func (e ReceivedUsdcNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (ReceivedUsdcNotificationMetadataValidationError) Field ¶
func (e ReceivedUsdcNotificationMetadataValidationError) Field() string
Field function returns field value.
func (ReceivedUsdcNotificationMetadataValidationError) Key ¶
func (e ReceivedUsdcNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (ReceivedUsdcNotificationMetadataValidationError) Reason ¶
func (e ReceivedUsdcNotificationMetadataValidationError) Reason() string
Reason function returns reason value.
type SentUsdcNotificationMetadata ¶ added in v1.2.0
type SentUsdcNotificationMetadata struct { // The vault of the gift card account that was created for the cash link Vault *v1.PublicKey `protobuf:"bytes,1,opt,name=vault,proto3" json:"vault,omitempty"` // Whether the cancel action can be initiated by the user CanInitiateCancelAction bool `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SentUsdcNotificationMetadata) Descriptor
deprecated
added in
v1.2.0
func (*SentUsdcNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SentUsdcNotificationMetadata.ProtoReflect.Descriptor instead.
func (*SentUsdcNotificationMetadata) GetCanInitiateCancelAction ¶ added in v1.2.0
func (x *SentUsdcNotificationMetadata) GetCanInitiateCancelAction() bool
func (*SentUsdcNotificationMetadata) GetVault ¶ added in v1.2.0
func (x *SentUsdcNotificationMetadata) GetVault() *v1.PublicKey
func (*SentUsdcNotificationMetadata) ProtoMessage ¶ added in v1.2.0
func (*SentUsdcNotificationMetadata) ProtoMessage()
func (*SentUsdcNotificationMetadata) ProtoReflect ¶ added in v1.2.0
func (x *SentUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
func (*SentUsdcNotificationMetadata) Reset ¶ added in v1.2.0
func (x *SentUsdcNotificationMetadata) Reset()
func (*SentUsdcNotificationMetadata) String ¶ added in v1.2.0
func (x *SentUsdcNotificationMetadata) String() string
func (*SentUsdcNotificationMetadata) Validate ¶ added in v1.2.0
func (m *SentUsdcNotificationMetadata) Validate() error
Validate checks the field values on SentUsdcNotificationMetadata 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 (*SentUsdcNotificationMetadata) ValidateAll ¶ added in v1.2.0
func (m *SentUsdcNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on SentUsdcNotificationMetadata 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 SentUsdcNotificationMetadataMultiError, or nil if none found.
type SentUsdcNotificationMetadataMultiError ¶ added in v1.2.0
type SentUsdcNotificationMetadataMultiError []error
SentUsdcNotificationMetadataMultiError is an error wrapping multiple validation errors returned by SentUsdcNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (SentUsdcNotificationMetadataMultiError) AllErrors ¶ added in v1.2.0
func (m SentUsdcNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SentUsdcNotificationMetadataMultiError) Error ¶ added in v1.2.0
func (m SentUsdcNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SentUsdcNotificationMetadataValidationError ¶ added in v1.2.0
type SentUsdcNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
SentUsdcNotificationMetadataValidationError is the validation error returned by SentUsdcNotificationMetadata.Validate if the designated constraints aren't met.
func (SentUsdcNotificationMetadataValidationError) Cause ¶ added in v1.2.0
func (e SentUsdcNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (SentUsdcNotificationMetadataValidationError) Error ¶ added in v1.2.0
func (e SentUsdcNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SentUsdcNotificationMetadataValidationError) ErrorName ¶ added in v1.2.0
func (e SentUsdcNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SentUsdcNotificationMetadataValidationError) Field ¶ added in v1.2.0
func (e SentUsdcNotificationMetadataValidationError) Field() string
Field function returns field value.
func (SentUsdcNotificationMetadataValidationError) Key ¶ added in v1.2.0
func (e SentUsdcNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (SentUsdcNotificationMetadataValidationError) Reason ¶ added in v1.2.0
func (e SentUsdcNotificationMetadataValidationError) 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) GetBatchNotifications ¶ added in v1.3.0
func (UnimplementedActivityFeedServer) GetBatchNotifications(context.Context, *GetBatchNotificationsRequest) (*GetBatchNotificationsResponse, error)
func (UnimplementedActivityFeedServer) GetLatestNotifications ¶
func (UnimplementedActivityFeedServer) GetLatestNotifications(context.Context, *GetLatestNotificationsRequest) (*GetLatestNotificationsResponse, error)
func (UnimplementedActivityFeedServer) GetPagedNotifications ¶ added in v1.2.0
func (UnimplementedActivityFeedServer) GetPagedNotifications(context.Context, *GetPagedNotificationsRequest) (*GetPagedNotificationsResponse, 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 WelcomeBonusNotificationMetadata ¶
type WelcomeBonusNotificationMetadata struct {
// contains filtered or unexported fields
}
func (*WelcomeBonusNotificationMetadata) Descriptor
deprecated
func (*WelcomeBonusNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WelcomeBonusNotificationMetadata.ProtoReflect.Descriptor instead.
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.
type WithdrewUsdcNotificationMetadata ¶ added in v1.1.2
type WithdrewUsdcNotificationMetadata struct {
// contains filtered or unexported fields
}
func (*WithdrewUsdcNotificationMetadata) Descriptor
deprecated
added in
v1.1.2
func (*WithdrewUsdcNotificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WithdrewUsdcNotificationMetadata.ProtoReflect.Descriptor instead.
func (*WithdrewUsdcNotificationMetadata) ProtoMessage ¶ added in v1.1.2
func (*WithdrewUsdcNotificationMetadata) ProtoMessage()
func (*WithdrewUsdcNotificationMetadata) ProtoReflect ¶ added in v1.1.2
func (x *WithdrewUsdcNotificationMetadata) ProtoReflect() protoreflect.Message
func (*WithdrewUsdcNotificationMetadata) Reset ¶ added in v1.1.2
func (x *WithdrewUsdcNotificationMetadata) Reset()
func (*WithdrewUsdcNotificationMetadata) String ¶ added in v1.1.2
func (x *WithdrewUsdcNotificationMetadata) String() string
func (*WithdrewUsdcNotificationMetadata) Validate ¶ added in v1.1.2
func (m *WithdrewUsdcNotificationMetadata) Validate() error
Validate checks the field values on WithdrewUsdcNotificationMetadata 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 (*WithdrewUsdcNotificationMetadata) ValidateAll ¶ added in v1.1.2
func (m *WithdrewUsdcNotificationMetadata) ValidateAll() error
ValidateAll checks the field values on WithdrewUsdcNotificationMetadata 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 WithdrewUsdcNotificationMetadataMultiError, or nil if none found.
type WithdrewUsdcNotificationMetadataMultiError ¶ added in v1.1.2
type WithdrewUsdcNotificationMetadataMultiError []error
WithdrewUsdcNotificationMetadataMultiError is an error wrapping multiple validation errors returned by WithdrewUsdcNotificationMetadata.ValidateAll() if the designated constraints aren't met.
func (WithdrewUsdcNotificationMetadataMultiError) AllErrors ¶ added in v1.1.2
func (m WithdrewUsdcNotificationMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WithdrewUsdcNotificationMetadataMultiError) Error ¶ added in v1.1.2
func (m WithdrewUsdcNotificationMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WithdrewUsdcNotificationMetadataValidationError ¶ added in v1.1.2
type WithdrewUsdcNotificationMetadataValidationError struct {
// contains filtered or unexported fields
}
WithdrewUsdcNotificationMetadataValidationError is the validation error returned by WithdrewUsdcNotificationMetadata.Validate if the designated constraints aren't met.
func (WithdrewUsdcNotificationMetadataValidationError) Cause ¶ added in v1.1.2
func (e WithdrewUsdcNotificationMetadataValidationError) Cause() error
Cause function returns cause value.
func (WithdrewUsdcNotificationMetadataValidationError) Error ¶ added in v1.1.2
func (e WithdrewUsdcNotificationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (WithdrewUsdcNotificationMetadataValidationError) ErrorName ¶ added in v1.1.2
func (e WithdrewUsdcNotificationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (WithdrewUsdcNotificationMetadataValidationError) Field ¶ added in v1.1.2
func (e WithdrewUsdcNotificationMetadataValidationError) Field() string
Field function returns field value.
func (WithdrewUsdcNotificationMetadataValidationError) Key ¶ added in v1.1.2
func (e WithdrewUsdcNotificationMetadataValidationError) Key() bool
Key function returns key value.
func (WithdrewUsdcNotificationMetadataValidationError) Reason ¶ added in v1.1.2
func (e WithdrewUsdcNotificationMetadataValidationError) Reason() string
Reason function returns reason value.