v1

package
v0.2.120 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JobStatus_name = map[int32]string{
		0: "JOB_STATUS_UNKNOWN_UNSPECIFIED",
		1: "JOB_STATUS_INCOMPLETE",
		2: "JOB_STATUS_COMPLETE",
		3: "JOB_STATUS_PENDING",
	}
	JobStatus_value = map[string]int32{
		"JOB_STATUS_UNKNOWN_UNSPECIFIED": 0,
		"JOB_STATUS_INCOMPLETE":          1,
		"JOB_STATUS_COMPLETE":            2,
		"JOB_STATUS_PENDING":             3,
	}
)

Enum value maps for JobStatus.

View Source
var (
	Platform_name = map[int32]string{
		0: "PLATFORM_UNSPECIFIED",
		1: "PLATFORM_ANDROID",
		2: "PLATFORM_IOS",
		3: "PLATFORM_HUAWEI",
	}
	Platform_value = map[string]int32{
		"PLATFORM_UNSPECIFIED": 0,
		"PLATFORM_ANDROID":     1,
		"PLATFORM_IOS":         2,
		"PLATFORM_HUAWEI":      3,
	}
)

Enum value maps for Platform.

View Source
var (
	Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_CIRCLE",
		2: "TYPE_USER",
		3: "TYPE_COMMENT",
		4: "TYPE_POST",
		5: "TYPE_NO_AUTH_CIRCLE",
	}
	Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":    0,
		"TYPE_CIRCLE":         1,
		"TYPE_USER":           2,
		"TYPE_COMMENT":        3,
		"TYPE_POST":           4,
		"TYPE_NO_AUTH_CIRCLE": 5,
	}
)

Enum value maps for Type.

View Source
var (
	PageDir_name = map[int32]string{
		0: "PAGE_DIR_ASC",
		1: "PAGE_DIR_DESC",
	}
	PageDir_value = map[string]int32{
		"PAGE_DIR_ASC":  0,
		"PAGE_DIR_DESC": 1,
	}
)

Enum value maps for PageDir.

View Source
var File_notification_api_notification_v1_notification_proto protoreflect.FileDescriptor
View Source
var NotificationAPIService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "notification.v1.NotificationAPIService",
	HandlerType: (*NotificationAPIServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _NotificationAPIService_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _NotificationAPIService_Delete_Handler,
		},
		{
			MethodName: "GetUnreadCount",
			Handler:    _NotificationAPIService_GetUnreadCount_Handler,
		},
		{
			MethodName: "SaveDeviceToken",
			Handler:    _NotificationAPIService_SaveDeviceToken_Handler,
		},
		{
			MethodName: "ReadAll",
			Handler:    _NotificationAPIService_ReadAll_Handler,
		},
		{
			MethodName: "SendMessage",
			Handler:    _NotificationAPIService_SendMessage_Handler,
		},
		{
			MethodName: "MigrateUser",
			Handler:    _NotificationAPIService_MigrateUser_Handler,
		},
		{
			MethodName: "GetNotificationSettings",
			Handler:    _NotificationAPIService_GetNotificationSettings_Handler,
		},
		{
			MethodName: "UpsertNotificationSettings",
			Handler:    _NotificationAPIService_UpsertNotificationSettings_Handler,
		},
		{
			MethodName: "SendPushToCircle",
			Handler:    _NotificationAPIService_SendPushToCircle_Handler,
		},
		{
			MethodName: "LocalTesting",
			Handler:    _NotificationAPIService_LocalTesting_Handler,
		},
		{
			MethodName: "SchedulePushToCircleJob",
			Handler:    _NotificationAPIService_SchedulePushToCircleJob_Handler,
		},
		{
			MethodName: "ListPushToCircleJobs",
			Handler:    _NotificationAPIService_ListPushToCircleJobs_Handler,
		},
		{
			MethodName: "CancelScheduledPushToCircleJob",
			Handler:    _NotificationAPIService_CancelScheduledPushToCircleJob_Handler,
		},
		{
			MethodName: "DeviceTokenCleaning",
			Handler:    _NotificationAPIService_DeviceTokenCleaning_Handler,
		},
		{
			MethodName: "MigrationJob",
			Handler:    _NotificationAPIService_MigrationJob_Handler,
		},
		{
			MethodName: "TrackClick",
			Handler:    _NotificationAPIService_TrackClick_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "notification-api/notification/v1/notification.proto",
}

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

Functions

func RegisterNotificationAPIServiceServer

func RegisterNotificationAPIServiceServer(s grpc.ServiceRegistrar, srv NotificationAPIServiceServer)

Types

type CancelScheduledPushToCircleJobRequest

type CancelScheduledPushToCircleJobRequest struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelScheduledPushToCircleJobRequest) Descriptor deprecated

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

Deprecated: Use CancelScheduledPushToCircleJobRequest.ProtoReflect.Descriptor instead.

func (*CancelScheduledPushToCircleJobRequest) GetJobId

func (*CancelScheduledPushToCircleJobRequest) ProtoMessage

func (*CancelScheduledPushToCircleJobRequest) ProtoMessage()

func (*CancelScheduledPushToCircleJobRequest) ProtoReflect

func (*CancelScheduledPushToCircleJobRequest) Reset

func (*CancelScheduledPushToCircleJobRequest) String

type CancelScheduledPushToCircleJobResponse

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

func (*CancelScheduledPushToCircleJobResponse) Descriptor deprecated

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

Deprecated: Use CancelScheduledPushToCircleJobResponse.ProtoReflect.Descriptor instead.

func (*CancelScheduledPushToCircleJobResponse) ProtoMessage

func (*CancelScheduledPushToCircleJobResponse) ProtoReflect

func (*CancelScheduledPushToCircleJobResponse) Reset

func (*CancelScheduledPushToCircleJobResponse) String

type CirclePush

type CirclePush struct {
	CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	Title    string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Body     string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	PostId   string `protobuf:"bytes,5,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CirclePush) Descriptor deprecated

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

Deprecated: Use CirclePush.ProtoReflect.Descriptor instead.

func (*CirclePush) GetBody

func (x *CirclePush) GetBody() string

func (*CirclePush) GetCircleId

func (x *CirclePush) GetCircleId() string

func (*CirclePush) GetImageUrl

func (x *CirclePush) GetImageUrl() string

func (*CirclePush) GetPostId

func (x *CirclePush) GetPostId() string

func (*CirclePush) GetTitle

func (x *CirclePush) GetTitle() string

func (*CirclePush) ProtoMessage

func (*CirclePush) ProtoMessage()

func (*CirclePush) ProtoReflect

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

func (*CirclePush) Reset

func (x *CirclePush) Reset()

func (*CirclePush) String

func (x *CirclePush) String() string

type DeleteRequest

type DeleteRequest struct {
	NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetNotificationId

func (x *DeleteRequest) GetNotificationId() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

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

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DeviceTokenCleaningRequest

type DeviceTokenCleaningRequest struct {
	UserId       *string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	RoutineCount *string `protobuf:"bytes,2,opt,name=routine_count,json=routineCount,proto3,oneof" json:"routine_count,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceTokenCleaningRequest) Descriptor deprecated

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

Deprecated: Use DeviceTokenCleaningRequest.ProtoReflect.Descriptor instead.

func (*DeviceTokenCleaningRequest) GetRoutineCount

func (x *DeviceTokenCleaningRequest) GetRoutineCount() string

func (*DeviceTokenCleaningRequest) GetUserId

func (x *DeviceTokenCleaningRequest) GetUserId() string

func (*DeviceTokenCleaningRequest) ProtoMessage

func (*DeviceTokenCleaningRequest) ProtoMessage()

func (*DeviceTokenCleaningRequest) ProtoReflect

func (*DeviceTokenCleaningRequest) Reset

func (x *DeviceTokenCleaningRequest) Reset()

func (*DeviceTokenCleaningRequest) String

func (x *DeviceTokenCleaningRequest) String() string

type DeviceTokenCleaningResponse

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

func (*DeviceTokenCleaningResponse) Descriptor deprecated

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

Deprecated: Use DeviceTokenCleaningResponse.ProtoReflect.Descriptor instead.

func (*DeviceTokenCleaningResponse) ProtoMessage

func (*DeviceTokenCleaningResponse) ProtoMessage()

func (*DeviceTokenCleaningResponse) ProtoReflect

func (*DeviceTokenCleaningResponse) Reset

func (x *DeviceTokenCleaningResponse) Reset()

func (*DeviceTokenCleaningResponse) String

func (x *DeviceTokenCleaningResponse) String() string

type GetNotificationSettingsRequest

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

func (*GetNotificationSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetNotificationSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationSettingsRequest) ProtoMessage

func (*GetNotificationSettingsRequest) ProtoMessage()

func (*GetNotificationSettingsRequest) ProtoReflect

func (*GetNotificationSettingsRequest) Reset

func (x *GetNotificationSettingsRequest) Reset()

func (*GetNotificationSettingsRequest) String

type GetNotificationSettingsResponse

type GetNotificationSettingsResponse struct {
	NotificationSettings *NotificationSettings `protobuf:"bytes,1,opt,name=notification_settings,json=notificationSettings,proto3" json:"notification_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotificationSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetNotificationSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetNotificationSettingsResponse) GetNotificationSettings

func (x *GetNotificationSettingsResponse) GetNotificationSettings() *NotificationSettings

func (*GetNotificationSettingsResponse) ProtoMessage

func (*GetNotificationSettingsResponse) ProtoMessage()

func (*GetNotificationSettingsResponse) ProtoReflect

func (*GetNotificationSettingsResponse) Reset

func (*GetNotificationSettingsResponse) String

type GetUnreadCountRequest

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

func (*GetUnreadCountRequest) Descriptor deprecated

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

Deprecated: Use GetUnreadCountRequest.ProtoReflect.Descriptor instead.

func (*GetUnreadCountRequest) ProtoMessage

func (*GetUnreadCountRequest) ProtoMessage()

func (*GetUnreadCountRequest) ProtoReflect

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

func (*GetUnreadCountRequest) Reset

func (x *GetUnreadCountRequest) Reset()

func (*GetUnreadCountRequest) String

func (x *GetUnreadCountRequest) String() string

type GetUnreadCountResponse

type GetUnreadCountResponse struct {
	Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnreadCountResponse) Descriptor deprecated

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

Deprecated: Use GetUnreadCountResponse.ProtoReflect.Descriptor instead.

func (*GetUnreadCountResponse) GetCount

func (x *GetUnreadCountResponse) GetCount() uint32

func (*GetUnreadCountResponse) ProtoMessage

func (*GetUnreadCountResponse) ProtoMessage()

func (*GetUnreadCountResponse) ProtoReflect

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

func (*GetUnreadCountResponse) Reset

func (x *GetUnreadCountResponse) Reset()

func (*GetUnreadCountResponse) String

func (x *GetUnreadCountResponse) String() string

type JobStatus

type JobStatus int32
const (
	JobStatus_JOB_STATUS_UNKNOWN_UNSPECIFIED JobStatus = 0
	JobStatus_JOB_STATUS_INCOMPLETE          JobStatus = 1
	JobStatus_JOB_STATUS_COMPLETE            JobStatus = 2
	JobStatus_JOB_STATUS_PENDING             JobStatus = 3
)

func (JobStatus) Descriptor

func (JobStatus) Descriptor() protoreflect.EnumDescriptor

func (JobStatus) Enum

func (x JobStatus) Enum() *JobStatus

func (JobStatus) EnumDescriptor deprecated

func (JobStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobStatus.Descriptor instead.

func (JobStatus) Number

func (x JobStatus) Number() protoreflect.EnumNumber

func (JobStatus) String

func (x JobStatus) String() string

func (JobStatus) Type

type ListPushToCircleJobsRequest

type ListPushToCircleJobsRequest struct {
	Status JobStatus   `protobuf:"varint,1,opt,name=status,proto3,enum=notification.v1.JobStatus" json:"status,omitempty"`
	Cursor *PageCursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPushToCircleJobsRequest) Descriptor deprecated

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

Deprecated: Use ListPushToCircleJobsRequest.ProtoReflect.Descriptor instead.

func (*ListPushToCircleJobsRequest) GetCursor

func (x *ListPushToCircleJobsRequest) GetCursor() *PageCursor

func (*ListPushToCircleJobsRequest) GetStatus

func (x *ListPushToCircleJobsRequest) GetStatus() JobStatus

func (*ListPushToCircleJobsRequest) ProtoMessage

func (*ListPushToCircleJobsRequest) ProtoMessage()

func (*ListPushToCircleJobsRequest) ProtoReflect

func (*ListPushToCircleJobsRequest) Reset

func (x *ListPushToCircleJobsRequest) Reset()

func (*ListPushToCircleJobsRequest) String

func (x *ListPushToCircleJobsRequest) String() string

type ListPushToCircleJobsResponse

type ListPushToCircleJobsResponse struct {
	Jobs []*ListPushToCircleJobsResponse_CirclePushJobResponse `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	Info *PageInfo                                             `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPushToCircleJobsResponse) Descriptor deprecated

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

Deprecated: Use ListPushToCircleJobsResponse.ProtoReflect.Descriptor instead.

func (*ListPushToCircleJobsResponse) GetInfo

func (x *ListPushToCircleJobsResponse) GetInfo() *PageInfo

func (*ListPushToCircleJobsResponse) GetJobs

func (*ListPushToCircleJobsResponse) ProtoMessage

func (*ListPushToCircleJobsResponse) ProtoMessage()

func (*ListPushToCircleJobsResponse) ProtoReflect

func (*ListPushToCircleJobsResponse) Reset

func (x *ListPushToCircleJobsResponse) Reset()

func (*ListPushToCircleJobsResponse) String

type ListPushToCircleJobsResponse_CirclePushJobResponse

type ListPushToCircleJobsResponse_CirclePushJobResponse struct {
	Id          string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Payload     *CirclePush `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	SchedulerId string      `protobuf:"bytes,3,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"`
	ScheduledAt string      `protobuf:"bytes,4,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"`
	CreatedAt   string      `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) Descriptor deprecated

Deprecated: Use ListPushToCircleJobsResponse_CirclePushJobResponse.ProtoReflect.Descriptor instead.

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetCreatedAt

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetId

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetPayload

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetScheduledAt

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetSchedulerId

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoMessage

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoReflect

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) Reset

func (*ListPushToCircleJobsResponse_CirclePushJobResponse) String

type ListRequest

type ListRequest struct {
	Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetCursor

func (x *ListRequest) GetCursor() *PageCursor

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	Info          *PageInfo       `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetInfo

func (x *ListResponse) GetInfo() *PageInfo

func (*ListResponse) GetNotifications

func (x *ListResponse) GetNotifications() []*Notification

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type LocalTestingRequest

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

func (*LocalTestingRequest) Descriptor deprecated

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

Deprecated: Use LocalTestingRequest.ProtoReflect.Descriptor instead.

func (*LocalTestingRequest) ProtoMessage

func (*LocalTestingRequest) ProtoMessage()

func (*LocalTestingRequest) ProtoReflect

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

func (*LocalTestingRequest) Reset

func (x *LocalTestingRequest) Reset()

func (*LocalTestingRequest) String

func (x *LocalTestingRequest) String() string

type LocalTestingResponse

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

func (*LocalTestingResponse) Descriptor deprecated

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

Deprecated: Use LocalTestingResponse.ProtoReflect.Descriptor instead.

func (*LocalTestingResponse) ProtoMessage

func (*LocalTestingResponse) ProtoMessage()

func (*LocalTestingResponse) ProtoReflect

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

func (*LocalTestingResponse) Reset

func (x *LocalTestingResponse) Reset()

func (*LocalTestingResponse) String

func (x *LocalTestingResponse) String() string

type MigrateUserRequest

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

func (*MigrateUserRequest) Descriptor deprecated

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

Deprecated: Use MigrateUserRequest.ProtoReflect.Descriptor instead.

func (*MigrateUserRequest) GetDeviceToken

func (x *MigrateUserRequest) GetDeviceToken() string

func (*MigrateUserRequest) GetUserId

func (x *MigrateUserRequest) GetUserId() string

func (*MigrateUserRequest) ProtoMessage

func (*MigrateUserRequest) ProtoMessage()

func (*MigrateUserRequest) ProtoReflect

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

func (*MigrateUserRequest) Reset

func (x *MigrateUserRequest) Reset()

func (*MigrateUserRequest) String

func (x *MigrateUserRequest) String() string

type MigrateUserResponse

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

func (*MigrateUserResponse) Descriptor deprecated

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

Deprecated: Use MigrateUserResponse.ProtoReflect.Descriptor instead.

func (*MigrateUserResponse) ProtoMessage

func (*MigrateUserResponse) ProtoMessage()

func (*MigrateUserResponse) ProtoReflect

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

func (*MigrateUserResponse) Reset

func (x *MigrateUserResponse) Reset()

func (*MigrateUserResponse) String

func (x *MigrateUserResponse) String() string

type MigrationJobRequest

type MigrationJobRequest struct {
	RoutineCount int64 `protobuf:"varint,1,opt,name=routine_count,json=routineCount,proto3" json:"routine_count,omitempty"`
	// contains filtered or unexported fields
}

func (*MigrationJobRequest) Descriptor deprecated

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

Deprecated: Use MigrationJobRequest.ProtoReflect.Descriptor instead.

func (*MigrationJobRequest) GetRoutineCount

func (x *MigrationJobRequest) GetRoutineCount() int64

func (*MigrationJobRequest) ProtoMessage

func (*MigrationJobRequest) ProtoMessage()

func (*MigrationJobRequest) ProtoReflect

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

func (*MigrationJobRequest) Reset

func (x *MigrationJobRequest) Reset()

func (*MigrationJobRequest) String

func (x *MigrationJobRequest) String() string

type MigrationJobResponse

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

func (*MigrationJobResponse) Descriptor deprecated

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

Deprecated: Use MigrationJobResponse.ProtoReflect.Descriptor instead.

func (*MigrationJobResponse) ProtoMessage

func (*MigrationJobResponse) ProtoMessage()

func (*MigrationJobResponse) ProtoReflect

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

func (*MigrationJobResponse) Reset

func (x *MigrationJobResponse) Reset()

func (*MigrationJobResponse) String

func (x *MigrationJobResponse) String() string

type Notification

type Notification struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FromId        string `protobuf:"bytes,2,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"`
	FromType      Type   `protobuf:"varint,3,opt,name=from_type,json=fromType,proto3,enum=notification.v1.Type" json:"from_type,omitempty"`
	ReceiverId    string `protobuf:"bytes,4,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"`
	ReceiverType  Type   `protobuf:"varint,5,opt,name=receiver_type,json=receiverType,proto3,enum=notification.v1.Type" json:"receiver_type,omitempty"`
	Action        string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
	SourceId      string `protobuf:"bytes,7,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	SourceType    Type   `protobuf:"varint,8,opt,name=source_type,json=sourceType,proto3,enum=notification.v1.Type" json:"source_type,omitempty"`
	SubSourceId   string `protobuf:"bytes,9,opt,name=sub_source_id,json=subSourceId,proto3" json:"sub_source_id,omitempty"`
	SubSourceType Type   `` /* 130-byte string literal not displayed */
	ImageUrl      string `protobuf:"bytes,11,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	ReadAt        string `protobuf:"bytes,12,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"`
	CreatedAt     string `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetAction

func (x *Notification) GetAction() string

func (*Notification) GetCreatedAt

func (x *Notification) GetCreatedAt() string

func (*Notification) GetFromId

func (x *Notification) GetFromId() string

func (*Notification) GetFromType

func (x *Notification) GetFromType() Type

func (*Notification) GetId

func (x *Notification) GetId() string

func (*Notification) GetImageUrl

func (x *Notification) GetImageUrl() string

func (*Notification) GetReadAt

func (x *Notification) GetReadAt() string

func (*Notification) GetReceiverId

func (x *Notification) GetReceiverId() string

func (*Notification) GetReceiverType

func (x *Notification) GetReceiverType() Type

func (*Notification) GetSourceId

func (x *Notification) GetSourceId() string

func (*Notification) GetSourceType

func (x *Notification) GetSourceType() Type

func (*Notification) GetSubSourceId

func (x *Notification) GetSubSourceId() string

func (*Notification) GetSubSourceType

func (x *Notification) GetSubSourceType() Type

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

type NotificationAPIServiceClient

type NotificationAPIServiceClient interface {
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
	SaveDeviceToken(ctx context.Context, in *SaveDeviceTokenRequest, opts ...grpc.CallOption) (*SaveDeviceTokenResponse, error)
	ReadAll(ctx context.Context, in *ReadAllRequest, opts ...grpc.CallOption) (*ReadAllResponse, error)
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
	MigrateUser(ctx context.Context, in *MigrateUserRequest, opts ...grpc.CallOption) (*MigrateUserResponse, error)
	GetNotificationSettings(ctx context.Context, in *GetNotificationSettingsRequest, opts ...grpc.CallOption) (*GetNotificationSettingsResponse, error)
	UpsertNotificationSettings(ctx context.Context, in *UpsertNotificationSettingsRequest, opts ...grpc.CallOption) (*UpsertNotificationSettingsResponse, error)
	SendPushToCircle(ctx context.Context, in *SendPushToCircleRequest, opts ...grpc.CallOption) (*SendPushToCircleResponse, error)
	// Local testing used only in local development and should not be used in production
	LocalTesting(ctx context.Context, in *LocalTestingRequest, opts ...grpc.CallOption) (*LocalTestingResponse, error)
	SchedulePushToCircleJob(ctx context.Context, in *SchedulePushToCircleJobRequest, opts ...grpc.CallOption) (*SchedulePushToCircleJobResponse, error)
	ListPushToCircleJobs(ctx context.Context, in *ListPushToCircleJobsRequest, opts ...grpc.CallOption) (*ListPushToCircleJobsResponse, error)
	CancelScheduledPushToCircleJob(ctx context.Context, in *CancelScheduledPushToCircleJobRequest, opts ...grpc.CallOption) (*CancelScheduledPushToCircleJobResponse, error)
	DeviceTokenCleaning(ctx context.Context, in *DeviceTokenCleaningRequest, opts ...grpc.CallOption) (*DeviceTokenCleaningResponse, error)
	MigrationJob(ctx context.Context, in *MigrationJobRequest, opts ...grpc.CallOption) (*MigrationJobResponse, error)
	TrackClick(ctx context.Context, in *TrackClickRequest, opts ...grpc.CallOption) (*TrackClickResponse, error)
}

NotificationAPIServiceClient is the client API for NotificationAPIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NotificationAPIServiceServer

type NotificationAPIServiceServer interface {
	List(context.Context, *ListRequest) (*ListResponse, error)
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error)
	SaveDeviceToken(context.Context, *SaveDeviceTokenRequest) (*SaveDeviceTokenResponse, error)
	ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
	MigrateUser(context.Context, *MigrateUserRequest) (*MigrateUserResponse, error)
	GetNotificationSettings(context.Context, *GetNotificationSettingsRequest) (*GetNotificationSettingsResponse, error)
	UpsertNotificationSettings(context.Context, *UpsertNotificationSettingsRequest) (*UpsertNotificationSettingsResponse, error)
	SendPushToCircle(context.Context, *SendPushToCircleRequest) (*SendPushToCircleResponse, error)
	// Local testing used only in local development and should not be used in production
	LocalTesting(context.Context, *LocalTestingRequest) (*LocalTestingResponse, error)
	SchedulePushToCircleJob(context.Context, *SchedulePushToCircleJobRequest) (*SchedulePushToCircleJobResponse, error)
	ListPushToCircleJobs(context.Context, *ListPushToCircleJobsRequest) (*ListPushToCircleJobsResponse, error)
	CancelScheduledPushToCircleJob(context.Context, *CancelScheduledPushToCircleJobRequest) (*CancelScheduledPushToCircleJobResponse, error)
	DeviceTokenCleaning(context.Context, *DeviceTokenCleaningRequest) (*DeviceTokenCleaningResponse, error)
	MigrationJob(context.Context, *MigrationJobRequest) (*MigrationJobResponse, error)
	TrackClick(context.Context, *TrackClickRequest) (*TrackClickResponse, error)
	// contains filtered or unexported methods
}

NotificationAPIServiceServer is the server API for NotificationAPIService service. All implementations must embed UnimplementedNotificationAPIServiceServer for forward compatibility

type NotificationSettings

type NotificationSettings struct {
	NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	Likes          *bool  `protobuf:"varint,2,opt,name=likes,proto3,oneof" json:"likes,omitempty"`
	Comments       *bool  `protobuf:"varint,3,opt,name=comments,proto3,oneof" json:"comments,omitempty"`
	NewFollowers   *bool  `protobuf:"varint,4,opt,name=new_followers,json=newFollowers,proto3,oneof" json:"new_followers,omitempty"`
	Mentions       *bool  `protobuf:"varint,5,opt,name=mentions,proto3,oneof" json:"mentions,omitempty"`
	DirectMessages *bool  `protobuf:"varint,6,opt,name=direct_messages,json=directMessages,proto3,oneof" json:"direct_messages,omitempty"`
	Posts          *bool  `protobuf:"varint,7,opt,name=posts,proto3,oneof" json:"posts,omitempty"`
	CircleChats    *bool  `protobuf:"varint,8,opt,name=circle_chats,json=circleChats,proto3,oneof" json:"circle_chats,omitempty"`
	GroupChats     *bool  `protobuf:"varint,9,opt,name=group_chats,json=groupChats,proto3,oneof" json:"group_chats,omitempty"`
	GlitterBombs   *bool  `protobuf:"varint,10,opt,name=glitter_bombs,json=glitterBombs,proto3,oneof" json:"glitter_bombs,omitempty"`
	CommentLikes   *bool  `protobuf:"varint,11,opt,name=comment_likes,json=commentLikes,proto3,oneof" json:"comment_likes,omitempty"`
	PostSaves      *bool  `protobuf:"varint,12,opt,name=post_saves,json=postSaves,proto3,oneof" json:"post_saves,omitempty"`
	PostShares     *bool  `protobuf:"varint,13,opt,name=post_shares,json=postShares,proto3,oneof" json:"post_shares,omitempty"`
	Seeds          *bool  `protobuf:"varint,14,opt,name=seeds,proto3,oneof" json:"seeds,omitempty"`
	CircleJoins    *bool  `protobuf:"varint,15,opt,name=circle_joins,json=circleJoins,proto3,oneof" json:"circle_joins,omitempty"`
	CircleInvites  *bool  `protobuf:"varint,16,opt,name=circle_invites,json=circleInvites,proto3,oneof" json:"circle_invites,omitempty"`
	TrendingPosts  *bool  `protobuf:"varint,17,opt,name=trending_posts,json=trendingPosts,proto3,oneof" json:"trending_posts,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationSettings) Descriptor deprecated

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

Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead.

func (*NotificationSettings) GetCircleChats

func (x *NotificationSettings) GetCircleChats() bool

func (*NotificationSettings) GetCircleInvites

func (x *NotificationSettings) GetCircleInvites() bool

func (*NotificationSettings) GetCircleJoins

func (x *NotificationSettings) GetCircleJoins() bool

func (*NotificationSettings) GetCommentLikes

func (x *NotificationSettings) GetCommentLikes() bool

func (*NotificationSettings) GetComments

func (x *NotificationSettings) GetComments() bool

func (*NotificationSettings) GetDirectMessages

func (x *NotificationSettings) GetDirectMessages() bool

func (*NotificationSettings) GetGlitterBombs

func (x *NotificationSettings) GetGlitterBombs() bool

func (*NotificationSettings) GetGroupChats

func (x *NotificationSettings) GetGroupChats() bool

func (*NotificationSettings) GetLikes

func (x *NotificationSettings) GetLikes() bool

func (*NotificationSettings) GetMentions

func (x *NotificationSettings) GetMentions() bool

func (*NotificationSettings) GetNewFollowers

func (x *NotificationSettings) GetNewFollowers() bool

func (*NotificationSettings) GetNotificationId

func (x *NotificationSettings) GetNotificationId() string

func (*NotificationSettings) GetPostSaves

func (x *NotificationSettings) GetPostSaves() bool

func (*NotificationSettings) GetPostShares

func (x *NotificationSettings) GetPostShares() bool

func (*NotificationSettings) GetPosts

func (x *NotificationSettings) GetPosts() bool

func (*NotificationSettings) GetSeeds

func (x *NotificationSettings) GetSeeds() bool

func (*NotificationSettings) GetTrendingPosts added in v0.2.85

func (x *NotificationSettings) GetTrendingPosts() bool

func (*NotificationSettings) ProtoMessage

func (*NotificationSettings) ProtoMessage()

func (*NotificationSettings) ProtoReflect

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

func (*NotificationSettings) Reset

func (x *NotificationSettings) Reset()

func (*NotificationSettings) String

func (x *NotificationSettings) String() string

type PageCursor

type PageCursor struct {
	LastId string  `protobuf:"bytes,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	Limit  uint32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Dir    PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=notification.v1.PageDir" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

func (*PageCursor) Descriptor deprecated

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

Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.

func (*PageCursor) GetDir

func (x *PageCursor) GetDir() PageDir

func (*PageCursor) GetLastId

func (x *PageCursor) GetLastId() string

func (*PageCursor) GetLimit

func (x *PageCursor) GetLimit() uint32

func (*PageCursor) ProtoMessage

func (*PageCursor) ProtoMessage()

func (*PageCursor) ProtoReflect

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

func (*PageCursor) Reset

func (x *PageCursor) Reset()

func (*PageCursor) String

func (x *PageCursor) String() string

type PageDir

type PageDir int32

buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX

const (
	PageDir_PAGE_DIR_ASC  PageDir = 0
	PageDir_PAGE_DIR_DESC PageDir = 1
)

func (PageDir) Descriptor

func (PageDir) Descriptor() protoreflect.EnumDescriptor

func (PageDir) Enum

func (x PageDir) Enum() *PageDir

func (PageDir) EnumDescriptor deprecated

func (PageDir) EnumDescriptor() ([]byte, []int)

Deprecated: Use PageDir.Descriptor instead.

func (PageDir) Number

func (x PageDir) Number() protoreflect.EnumNumber

func (PageDir) String

func (x PageDir) String() string

func (PageDir) Type

func (PageDir) Type() protoreflect.EnumType

type PageInfo

type PageInfo struct {
	FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"`
	LastId  *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"`
	HasPrev bool    `protobuf:"varint,3,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"`
	HasNext bool    `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"`
	Length  uint32  `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetFirstId

func (x *PageInfo) GetFirstId() string

func (*PageInfo) GetHasNext

func (x *PageInfo) GetHasNext() bool

func (*PageInfo) GetHasPrev

func (x *PageInfo) GetHasPrev() bool

func (*PageInfo) GetLastId

func (x *PageInfo) GetLastId() string

func (*PageInfo) GetLength

func (x *PageInfo) GetLength() uint32

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type Platform

type Platform int32
const (
	Platform_PLATFORM_UNSPECIFIED Platform = 0
	Platform_PLATFORM_ANDROID     Platform = 1
	Platform_PLATFORM_IOS         Platform = 2
	Platform_PLATFORM_HUAWEI      Platform = 3
)

func (Platform) Descriptor

func (Platform) Descriptor() protoreflect.EnumDescriptor

func (Platform) Enum

func (x Platform) Enum() *Platform

func (Platform) EnumDescriptor deprecated

func (Platform) EnumDescriptor() ([]byte, []int)

Deprecated: Use Platform.Descriptor instead.

func (Platform) Number

func (x Platform) Number() protoreflect.EnumNumber

func (Platform) String

func (x Platform) String() string

func (Platform) Type

type ReadAllRequest

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

func (*ReadAllRequest) Descriptor deprecated

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

Deprecated: Use ReadAllRequest.ProtoReflect.Descriptor instead.

func (*ReadAllRequest) ProtoMessage

func (*ReadAllRequest) ProtoMessage()

func (*ReadAllRequest) ProtoReflect

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

func (*ReadAllRequest) Reset

func (x *ReadAllRequest) Reset()

func (*ReadAllRequest) String

func (x *ReadAllRequest) String() string

type ReadAllResponse

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

func (*ReadAllResponse) Descriptor deprecated

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

Deprecated: Use ReadAllResponse.ProtoReflect.Descriptor instead.

func (*ReadAllResponse) ProtoMessage

func (*ReadAllResponse) ProtoMessage()

func (*ReadAllResponse) ProtoReflect

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

func (*ReadAllResponse) Reset

func (x *ReadAllResponse) Reset()

func (*ReadAllResponse) String

func (x *ReadAllResponse) String() string

type SaveDeviceTokenRequest

type SaveDeviceTokenRequest struct {
	Token    string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Platform Platform `protobuf:"varint,2,opt,name=platform,proto3,enum=notification.v1.Platform" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveDeviceTokenRequest) Descriptor deprecated

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

Deprecated: Use SaveDeviceTokenRequest.ProtoReflect.Descriptor instead.

func (*SaveDeviceTokenRequest) GetPlatform

func (x *SaveDeviceTokenRequest) GetPlatform() Platform

func (*SaveDeviceTokenRequest) GetToken

func (x *SaveDeviceTokenRequest) GetToken() string

func (*SaveDeviceTokenRequest) ProtoMessage

func (*SaveDeviceTokenRequest) ProtoMessage()

func (*SaveDeviceTokenRequest) ProtoReflect

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

func (*SaveDeviceTokenRequest) Reset

func (x *SaveDeviceTokenRequest) Reset()

func (*SaveDeviceTokenRequest) String

func (x *SaveDeviceTokenRequest) String() string

type SaveDeviceTokenResponse

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

func (*SaveDeviceTokenResponse) Descriptor deprecated

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

Deprecated: Use SaveDeviceTokenResponse.ProtoReflect.Descriptor instead.

func (*SaveDeviceTokenResponse) ProtoMessage

func (*SaveDeviceTokenResponse) ProtoMessage()

func (*SaveDeviceTokenResponse) ProtoReflect

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

func (*SaveDeviceTokenResponse) Reset

func (x *SaveDeviceTokenResponse) Reset()

func (*SaveDeviceTokenResponse) String

func (x *SaveDeviceTokenResponse) String() string

type SchedulePushToCircleJobRequest

type SchedulePushToCircleJobRequest struct {
	Payload     *CirclePush `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	ScheduledAt string      `protobuf:"bytes,2,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SchedulePushToCircleJobRequest) Descriptor deprecated

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

Deprecated: Use SchedulePushToCircleJobRequest.ProtoReflect.Descriptor instead.

func (*SchedulePushToCircleJobRequest) GetPayload

func (x *SchedulePushToCircleJobRequest) GetPayload() *CirclePush

func (*SchedulePushToCircleJobRequest) GetScheduledAt

func (x *SchedulePushToCircleJobRequest) GetScheduledAt() string

func (*SchedulePushToCircleJobRequest) ProtoMessage

func (*SchedulePushToCircleJobRequest) ProtoMessage()

func (*SchedulePushToCircleJobRequest) ProtoReflect

func (*SchedulePushToCircleJobRequest) Reset

func (x *SchedulePushToCircleJobRequest) Reset()

func (*SchedulePushToCircleJobRequest) String

type SchedulePushToCircleJobResponse

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

func (*SchedulePushToCircleJobResponse) Descriptor deprecated

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

Deprecated: Use SchedulePushToCircleJobResponse.ProtoReflect.Descriptor instead.

func (*SchedulePushToCircleJobResponse) ProtoMessage

func (*SchedulePushToCircleJobResponse) ProtoMessage()

func (*SchedulePushToCircleJobResponse) ProtoReflect

func (*SchedulePushToCircleJobResponse) Reset

func (*SchedulePushToCircleJobResponse) String

type SendMessageRequest

type SendMessageRequest struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Body  string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetBody

func (x *SendMessageRequest) GetBody() string

func (*SendMessageRequest) GetTitle

func (x *SendMessageRequest) GetTitle() string

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

type SendMessageResponse

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

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

type SendPushToCircleRequest

type SendPushToCircleRequest struct {
	CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	Title    string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Body     string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	PostId   string `protobuf:"bytes,5,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendPushToCircleRequest) Descriptor deprecated

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

Deprecated: Use SendPushToCircleRequest.ProtoReflect.Descriptor instead.

func (*SendPushToCircleRequest) GetBody

func (x *SendPushToCircleRequest) GetBody() string

func (*SendPushToCircleRequest) GetCircleId

func (x *SendPushToCircleRequest) GetCircleId() string

func (*SendPushToCircleRequest) GetImageUrl

func (x *SendPushToCircleRequest) GetImageUrl() string

func (*SendPushToCircleRequest) GetPostId

func (x *SendPushToCircleRequest) GetPostId() string

func (*SendPushToCircleRequest) GetTitle

func (x *SendPushToCircleRequest) GetTitle() string

func (*SendPushToCircleRequest) ProtoMessage

func (*SendPushToCircleRequest) ProtoMessage()

func (*SendPushToCircleRequest) ProtoReflect

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

func (*SendPushToCircleRequest) Reset

func (x *SendPushToCircleRequest) Reset()

func (*SendPushToCircleRequest) String

func (x *SendPushToCircleRequest) String() string

type SendPushToCircleResponse

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

func (*SendPushToCircleResponse) Descriptor deprecated

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

Deprecated: Use SendPushToCircleResponse.ProtoReflect.Descriptor instead.

func (*SendPushToCircleResponse) ProtoMessage

func (*SendPushToCircleResponse) ProtoMessage()

func (*SendPushToCircleResponse) ProtoReflect

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

func (*SendPushToCircleResponse) Reset

func (x *SendPushToCircleResponse) Reset()

func (*SendPushToCircleResponse) String

func (x *SendPushToCircleResponse) String() string

type TrackClickRequest added in v0.2.85

type TrackClickRequest struct {
	EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TrackClickRequest) Descriptor deprecated added in v0.2.85

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

Deprecated: Use TrackClickRequest.ProtoReflect.Descriptor instead.

func (*TrackClickRequest) GetEventId added in v0.2.85

func (x *TrackClickRequest) GetEventId() string

func (*TrackClickRequest) ProtoMessage added in v0.2.85

func (*TrackClickRequest) ProtoMessage()

func (*TrackClickRequest) ProtoReflect added in v0.2.85

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

func (*TrackClickRequest) Reset added in v0.2.85

func (x *TrackClickRequest) Reset()

func (*TrackClickRequest) String added in v0.2.85

func (x *TrackClickRequest) String() string

type TrackClickResponse added in v0.2.85

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

func (*TrackClickResponse) Descriptor deprecated added in v0.2.85

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

Deprecated: Use TrackClickResponse.ProtoReflect.Descriptor instead.

func (*TrackClickResponse) ProtoMessage added in v0.2.85

func (*TrackClickResponse) ProtoMessage()

func (*TrackClickResponse) ProtoReflect added in v0.2.85

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

func (*TrackClickResponse) Reset added in v0.2.85

func (x *TrackClickResponse) Reset()

func (*TrackClickResponse) String added in v0.2.85

func (x *TrackClickResponse) String() string

type Type

type Type int32
const (
	Type_TYPE_UNSPECIFIED    Type = 0
	Type_TYPE_CIRCLE         Type = 1
	Type_TYPE_USER           Type = 2
	Type_TYPE_COMMENT        Type = 3
	Type_TYPE_POST           Type = 4
	Type_TYPE_NO_AUTH_CIRCLE Type = 5
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type UnimplementedNotificationAPIServiceServer

type UnimplementedNotificationAPIServiceServer struct {
}

UnimplementedNotificationAPIServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNotificationAPIServiceServer) Delete

func (UnimplementedNotificationAPIServiceServer) DeviceTokenCleaning

func (UnimplementedNotificationAPIServiceServer) GetUnreadCount

func (UnimplementedNotificationAPIServiceServer) List

func (UnimplementedNotificationAPIServiceServer) ListPushToCircleJobs

func (UnimplementedNotificationAPIServiceServer) LocalTesting

func (UnimplementedNotificationAPIServiceServer) MigrateUser

func (UnimplementedNotificationAPIServiceServer) MigrationJob

func (UnimplementedNotificationAPIServiceServer) ReadAll

func (UnimplementedNotificationAPIServiceServer) SaveDeviceToken

func (UnimplementedNotificationAPIServiceServer) SendMessage

func (UnimplementedNotificationAPIServiceServer) SendPushToCircle

func (UnimplementedNotificationAPIServiceServer) TrackClick added in v0.2.85

type UnsafeNotificationAPIServiceServer

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

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

type UpsertNotificationSettingsRequest

type UpsertNotificationSettingsRequest struct {
	NotificationSettings *NotificationSettings `protobuf:"bytes,1,opt,name=notification_settings,json=notificationSettings,proto3" json:"notification_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertNotificationSettingsRequest) Descriptor deprecated

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

Deprecated: Use UpsertNotificationSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpsertNotificationSettingsRequest) GetNotificationSettings

func (x *UpsertNotificationSettingsRequest) GetNotificationSettings() *NotificationSettings

func (*UpsertNotificationSettingsRequest) ProtoMessage

func (*UpsertNotificationSettingsRequest) ProtoMessage()

func (*UpsertNotificationSettingsRequest) ProtoReflect

func (*UpsertNotificationSettingsRequest) Reset

func (*UpsertNotificationSettingsRequest) String

type UpsertNotificationSettingsResponse

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

func (*UpsertNotificationSettingsResponse) Descriptor deprecated

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

Deprecated: Use UpsertNotificationSettingsResponse.ProtoReflect.Descriptor instead.

func (*UpsertNotificationSettingsResponse) ProtoMessage

func (*UpsertNotificationSettingsResponse) ProtoMessage()

func (*UpsertNotificationSettingsResponse) ProtoReflect

func (*UpsertNotificationSettingsResponse) Reset

func (*UpsertNotificationSettingsResponse) String

Directories

Path Synopsis
Package notification_mock is a generated GoMock package.
Package notification_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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