v1

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MarketingService_CreateBatchSendEmailTask_FullMethodName    = "/api.admin.marketing.v1.MarketingService/CreateBatchSendEmailTask"
	MarketingService_GetBatchSendEmailTaskList_FullMethodName   = "/api.admin.marketing.v1.MarketingService/GetBatchSendEmailTaskList"
	MarketingService_StopBatchSendEmailTask_FullMethodName      = "/api.admin.marketing.v1.MarketingService/StopBatchSendEmailTask"
	MarketingService_GetPreSendEmailCount_FullMethodName        = "/api.admin.marketing.v1.MarketingService/GetPreSendEmailCount"
	MarketingService_GetBatchSendEmailTaskStatus_FullMethodName = "/api.admin.marketing.v1.MarketingService/GetBatchSendEmailTaskStatus"
	MarketingService_CreateQuotaTask_FullMethodName             = "/api.admin.marketing.v1.MarketingService/CreateQuotaTask"
	MarketingService_QueryQuotaTaskPreCount_FullMethodName      = "/api.admin.marketing.v1.MarketingService/QueryQuotaTaskPreCount"
	MarketingService_QueryQuotaTaskList_FullMethodName          = "/api.admin.marketing.v1.MarketingService/QueryQuotaTaskList"
)
View Source
const OperationMarketingServiceCreateBatchSendEmailTask = "/api.admin.marketing.v1.MarketingService/CreateBatchSendEmailTask"
View Source
const OperationMarketingServiceCreateQuotaTask = "/api.admin.marketing.v1.MarketingService/CreateQuotaTask"
View Source
const OperationMarketingServiceGetBatchSendEmailTaskList = "/api.admin.marketing.v1.MarketingService/GetBatchSendEmailTaskList"
View Source
const OperationMarketingServiceGetBatchSendEmailTaskStatus = "/api.admin.marketing.v1.MarketingService/GetBatchSendEmailTaskStatus"
View Source
const OperationMarketingServiceGetPreSendEmailCount = "/api.admin.marketing.v1.MarketingService/GetPreSendEmailCount"
View Source
const OperationMarketingServiceQueryQuotaTaskList = "/api.admin.marketing.v1.MarketingService/QueryQuotaTaskList"
View Source
const OperationMarketingServiceQueryQuotaTaskPreCount = "/api.admin.marketing.v1.MarketingService/QueryQuotaTaskPreCount"
View Source
const OperationMarketingServiceStopBatchSendEmailTask = "/api.admin.marketing.v1.MarketingService/StopBatchSendEmailTask"

Variables

View Source
var File_admin_marketing_v1_marketing_proto protoreflect.FileDescriptor
View Source
var MarketingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.marketing.v1.MarketingService",
	HandlerType: (*MarketingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateBatchSendEmailTask",
			Handler:    _MarketingService_CreateBatchSendEmailTask_Handler,
		},
		{
			MethodName: "GetBatchSendEmailTaskList",
			Handler:    _MarketingService_GetBatchSendEmailTaskList_Handler,
		},
		{
			MethodName: "StopBatchSendEmailTask",
			Handler:    _MarketingService_StopBatchSendEmailTask_Handler,
		},
		{
			MethodName: "GetPreSendEmailCount",
			Handler:    _MarketingService_GetPreSendEmailCount_Handler,
		},
		{
			MethodName: "GetBatchSendEmailTaskStatus",
			Handler:    _MarketingService_GetBatchSendEmailTaskStatus_Handler,
		},
		{
			MethodName: "CreateQuotaTask",
			Handler:    _MarketingService_CreateQuotaTask_Handler,
		},
		{
			MethodName: "QueryQuotaTaskPreCount",
			Handler:    _MarketingService_QueryQuotaTaskPreCount_Handler,
		},
		{
			MethodName: "QueryQuotaTaskList",
			Handler:    _MarketingService_QueryQuotaTaskList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "admin/marketing/v1/marketing.proto",
}

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

Functions

func RegisterMarketingServiceHTTPServer

func RegisterMarketingServiceHTTPServer(s *http.Server, srv MarketingServiceHTTPServer)

func RegisterMarketingServiceServer

func RegisterMarketingServiceServer(s grpc.ServiceRegistrar, srv MarketingServiceServer)

Types

type BatchSendEmailTask

type BatchSendEmailTask struct {
	Id                int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                          // 任务ID
	Subject           string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`                                                 // 邮件主题
	Content           string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`                                                 // 邮件内容
	Recipients        string `protobuf:"bytes,4,opt,name=recipients,proto3" json:"recipients,omitempty"`                                           // 收件人列表(换行分隔)
	Scope             uint32 `protobuf:"varint,5,opt,name=scope,proto3" json:"scope,omitempty"`                                                    // 范围: 1:All, 2:Active, 3:Expired, 4:None, 5:Skip
	RegisterStartTime int64  `protobuf:"varint,6,opt,name=register_start_time,json=registerStartTime,proto3" json:"register_start_time,omitempty"` // 注册开始时间(Unix时间戳)
	RegisterEndTime   int64  `protobuf:"varint,7,opt,name=register_end_time,json=registerEndTime,proto3" json:"register_end_time,omitempty"`       // 注册结束时间(Unix时间戳)
	Additional        string `protobuf:"bytes,8,opt,name=additional,proto3" json:"additional,omitempty"`                                           // 额外的邮箱地址(换行分隔)
	Scheduled         int64  `protobuf:"varint,9,opt,name=scheduled,proto3" json:"scheduled,omitempty"`                                            // 计划发送时间(Unix时间戳)
	Interval          uint32 `protobuf:"varint,10,opt,name=interval,proto3" json:"interval,omitempty"`                                             // 发送间隔(秒)
	Limit             uint64 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`                                                   // 每日发送限制
	Status            uint32 `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"`                                                 // 任务状态: 0:Pending, 1:In Progress, 2:Completed, 3:Failed
	Errors            string `protobuf:"bytes,13,opt,name=errors,proto3" json:"errors,omitempty"`                                                  // 错误信息
	Total             uint32 `protobuf:"varint,14,opt,name=total,proto3" json:"total,omitempty"`                                                   // 总数
	Current           uint32 `protobuf:"varint,15,opt,name=current,proto3" json:"current,omitempty"`                                               // 当前处理数
	CreatedAt         int64  `protobuf:"varint,16,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                          // 创建时间(Unix时间戳)
	UpdatedAt         int64  `protobuf:"varint,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`                          // 更新时间(Unix时间戳)
	// contains filtered or unexported fields
}

BatchSendEmailTask 批量发送邮件任务

func (*BatchSendEmailTask) Descriptor deprecated

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

Deprecated: Use BatchSendEmailTask.ProtoReflect.Descriptor instead.

func (*BatchSendEmailTask) GetAdditional

func (x *BatchSendEmailTask) GetAdditional() string

func (*BatchSendEmailTask) GetContent

func (x *BatchSendEmailTask) GetContent() string

func (*BatchSendEmailTask) GetCreatedAt

func (x *BatchSendEmailTask) GetCreatedAt() int64

func (*BatchSendEmailTask) GetCurrent

func (x *BatchSendEmailTask) GetCurrent() uint32

func (*BatchSendEmailTask) GetErrors

func (x *BatchSendEmailTask) GetErrors() string

func (*BatchSendEmailTask) GetId

func (x *BatchSendEmailTask) GetId() int64

func (*BatchSendEmailTask) GetInterval

func (x *BatchSendEmailTask) GetInterval() uint32

func (*BatchSendEmailTask) GetLimit

func (x *BatchSendEmailTask) GetLimit() uint64

func (*BatchSendEmailTask) GetRecipients

func (x *BatchSendEmailTask) GetRecipients() string

func (*BatchSendEmailTask) GetRegisterEndTime

func (x *BatchSendEmailTask) GetRegisterEndTime() int64

func (*BatchSendEmailTask) GetRegisterStartTime

func (x *BatchSendEmailTask) GetRegisterStartTime() int64

func (*BatchSendEmailTask) GetScheduled

func (x *BatchSendEmailTask) GetScheduled() int64

func (*BatchSendEmailTask) GetScope

func (x *BatchSendEmailTask) GetScope() uint32

func (*BatchSendEmailTask) GetStatus

func (x *BatchSendEmailTask) GetStatus() uint32

func (*BatchSendEmailTask) GetSubject

func (x *BatchSendEmailTask) GetSubject() string

func (*BatchSendEmailTask) GetTotal

func (x *BatchSendEmailTask) GetTotal() uint32

func (*BatchSendEmailTask) GetUpdatedAt

func (x *BatchSendEmailTask) GetUpdatedAt() int64

func (*BatchSendEmailTask) ProtoMessage

func (*BatchSendEmailTask) ProtoMessage()

func (*BatchSendEmailTask) ProtoReflect

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

func (*BatchSendEmailTask) Reset

func (x *BatchSendEmailTask) Reset()

func (*BatchSendEmailTask) String

func (x *BatchSendEmailTask) String() string

func (*BatchSendEmailTask) Validate

func (m *BatchSendEmailTask) Validate() error

Validate checks the field values on BatchSendEmailTask 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 (*BatchSendEmailTask) ValidateAll

func (m *BatchSendEmailTask) ValidateAll() error

ValidateAll checks the field values on BatchSendEmailTask 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 BatchSendEmailTaskMultiError, or nil if none found.

type BatchSendEmailTaskMultiError

type BatchSendEmailTaskMultiError []error

BatchSendEmailTaskMultiError is an error wrapping multiple validation errors returned by BatchSendEmailTask.ValidateAll() if the designated constraints aren't met.

func (BatchSendEmailTaskMultiError) AllErrors

func (m BatchSendEmailTaskMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchSendEmailTaskMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BatchSendEmailTaskValidationError

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

BatchSendEmailTaskValidationError is the validation error returned by BatchSendEmailTask.Validate if the designated constraints aren't met.

func (BatchSendEmailTaskValidationError) Cause

Cause function returns cause value.

func (BatchSendEmailTaskValidationError) Error

Error satisfies the builtin error interface

func (BatchSendEmailTaskValidationError) ErrorName

ErrorName returns error name.

func (BatchSendEmailTaskValidationError) Field

Field function returns field value.

func (BatchSendEmailTaskValidationError) Key

Key function returns key value.

func (BatchSendEmailTaskValidationError) Reason

Reason function returns reason value.

type CreateBatchSendEmailTaskData

type CreateBatchSendEmailTaskData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

CreateBatchSendEmailTaskData 创建批量发送邮件任务数据

func (*CreateBatchSendEmailTaskData) Descriptor deprecated

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

Deprecated: Use CreateBatchSendEmailTaskData.ProtoReflect.Descriptor instead.

func (*CreateBatchSendEmailTaskData) GetSuccess

func (x *CreateBatchSendEmailTaskData) GetSuccess() bool

func (*CreateBatchSendEmailTaskData) ProtoMessage

func (*CreateBatchSendEmailTaskData) ProtoMessage()

func (*CreateBatchSendEmailTaskData) ProtoReflect

func (*CreateBatchSendEmailTaskData) Reset

func (x *CreateBatchSendEmailTaskData) Reset()

func (*CreateBatchSendEmailTaskData) String

func (*CreateBatchSendEmailTaskData) Validate

func (m *CreateBatchSendEmailTaskData) Validate() error

Validate checks the field values on CreateBatchSendEmailTaskData 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 (*CreateBatchSendEmailTaskData) ValidateAll

func (m *CreateBatchSendEmailTaskData) ValidateAll() error

ValidateAll checks the field values on CreateBatchSendEmailTaskData 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 CreateBatchSendEmailTaskDataMultiError, or nil if none found.

type CreateBatchSendEmailTaskDataMultiError

type CreateBatchSendEmailTaskDataMultiError []error

CreateBatchSendEmailTaskDataMultiError is an error wrapping multiple validation errors returned by CreateBatchSendEmailTaskData.ValidateAll() if the designated constraints aren't met.

func (CreateBatchSendEmailTaskDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateBatchSendEmailTaskDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateBatchSendEmailTaskDataValidationError

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

CreateBatchSendEmailTaskDataValidationError is the validation error returned by CreateBatchSendEmailTaskData.Validate if the designated constraints aren't met.

func (CreateBatchSendEmailTaskDataValidationError) Cause

Cause function returns cause value.

func (CreateBatchSendEmailTaskDataValidationError) Error

Error satisfies the builtin error interface

func (CreateBatchSendEmailTaskDataValidationError) ErrorName

ErrorName returns error name.

func (CreateBatchSendEmailTaskDataValidationError) Field

Field function returns field value.

func (CreateBatchSendEmailTaskDataValidationError) Key

Key function returns key value.

func (CreateBatchSendEmailTaskDataValidationError) Reason

Reason function returns reason value.

type CreateBatchSendEmailTaskReply

type CreateBatchSendEmailTaskReply struct {
	Code    int32                         `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *CreateBatchSendEmailTaskData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

CreateBatchSendEmailTaskReply 创建批量发送邮件任务响应

func (*CreateBatchSendEmailTaskReply) Descriptor deprecated

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

Deprecated: Use CreateBatchSendEmailTaskReply.ProtoReflect.Descriptor instead.

func (*CreateBatchSendEmailTaskReply) GetCode

func (x *CreateBatchSendEmailTaskReply) GetCode() int32

func (*CreateBatchSendEmailTaskReply) GetData

func (*CreateBatchSendEmailTaskReply) GetMessage

func (x *CreateBatchSendEmailTaskReply) GetMessage() string

func (*CreateBatchSendEmailTaskReply) ProtoMessage

func (*CreateBatchSendEmailTaskReply) ProtoMessage()

func (*CreateBatchSendEmailTaskReply) ProtoReflect

func (*CreateBatchSendEmailTaskReply) Reset

func (x *CreateBatchSendEmailTaskReply) Reset()

func (*CreateBatchSendEmailTaskReply) String

func (*CreateBatchSendEmailTaskReply) Validate

func (m *CreateBatchSendEmailTaskReply) Validate() error

Validate checks the field values on CreateBatchSendEmailTaskReply 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 (*CreateBatchSendEmailTaskReply) ValidateAll

func (m *CreateBatchSendEmailTaskReply) ValidateAll() error

ValidateAll checks the field values on CreateBatchSendEmailTaskReply 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 CreateBatchSendEmailTaskReplyMultiError, or nil if none found.

type CreateBatchSendEmailTaskReplyMultiError

type CreateBatchSendEmailTaskReplyMultiError []error

CreateBatchSendEmailTaskReplyMultiError is an error wrapping multiple validation errors returned by CreateBatchSendEmailTaskReply.ValidateAll() if the designated constraints aren't met.

func (CreateBatchSendEmailTaskReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateBatchSendEmailTaskReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateBatchSendEmailTaskReplyValidationError

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

CreateBatchSendEmailTaskReplyValidationError is the validation error returned by CreateBatchSendEmailTaskReply.Validate if the designated constraints aren't met.

func (CreateBatchSendEmailTaskReplyValidationError) Cause

Cause function returns cause value.

func (CreateBatchSendEmailTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateBatchSendEmailTaskReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateBatchSendEmailTaskReplyValidationError) Field

Field function returns field value.

func (CreateBatchSendEmailTaskReplyValidationError) Key

Key function returns key value.

func (CreateBatchSendEmailTaskReplyValidationError) Reason

Reason function returns reason value.

type CreateBatchSendEmailTaskRequest

type CreateBatchSendEmailTaskRequest struct {
	Subject           string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`                                                 // 邮件主题
	Content           string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`                                                 // 邮件内容
	Scope             uint32 `protobuf:"varint,3,opt,name=scope,proto3" json:"scope,omitempty"`                                                    // 范围: 1:All, 2:Active, 3:Expired, 4:None, 5:Skip
	RegisterStartTime int64  `protobuf:"varint,4,opt,name=register_start_time,json=registerStartTime,proto3" json:"register_start_time,omitempty"` // 注册开始时间(Unix时间戳,可选)
	RegisterEndTime   int64  `protobuf:"varint,5,opt,name=register_end_time,json=registerEndTime,proto3" json:"register_end_time,omitempty"`       // 注册结束时间(Unix时间戳,可选)
	Additional        string `protobuf:"bytes,6,opt,name=additional,proto3" json:"additional,omitempty"`                                           // 额外的邮箱地址(换行分隔,可选)
	Scheduled         int64  `protobuf:"varint,7,opt,name=scheduled,proto3" json:"scheduled,omitempty"`                                            // 计划发送时间(Unix时间戳,可选)
	Interval          uint32 `protobuf:"varint,8,opt,name=interval,proto3" json:"interval,omitempty"`                                              // 发送间隔(秒,可选)
	Limit             uint64 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`                                                    // 每日发送限制(可选)
	// contains filtered or unexported fields
}

CreateBatchSendEmailTaskRequest 创建批量发送邮件任务请求

func (*CreateBatchSendEmailTaskRequest) Descriptor deprecated

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

Deprecated: Use CreateBatchSendEmailTaskRequest.ProtoReflect.Descriptor instead.

func (*CreateBatchSendEmailTaskRequest) GetAdditional

func (x *CreateBatchSendEmailTaskRequest) GetAdditional() string

func (*CreateBatchSendEmailTaskRequest) GetContent

func (x *CreateBatchSendEmailTaskRequest) GetContent() string

func (*CreateBatchSendEmailTaskRequest) GetInterval

func (x *CreateBatchSendEmailTaskRequest) GetInterval() uint32

func (*CreateBatchSendEmailTaskRequest) GetLimit

func (*CreateBatchSendEmailTaskRequest) GetRegisterEndTime

func (x *CreateBatchSendEmailTaskRequest) GetRegisterEndTime() int64

func (*CreateBatchSendEmailTaskRequest) GetRegisterStartTime

func (x *CreateBatchSendEmailTaskRequest) GetRegisterStartTime() int64

func (*CreateBatchSendEmailTaskRequest) GetScheduled

func (x *CreateBatchSendEmailTaskRequest) GetScheduled() int64

func (*CreateBatchSendEmailTaskRequest) GetScope

func (*CreateBatchSendEmailTaskRequest) GetSubject

func (x *CreateBatchSendEmailTaskRequest) GetSubject() string

func (*CreateBatchSendEmailTaskRequest) ProtoMessage

func (*CreateBatchSendEmailTaskRequest) ProtoMessage()

func (*CreateBatchSendEmailTaskRequest) ProtoReflect

func (*CreateBatchSendEmailTaskRequest) Reset

func (*CreateBatchSendEmailTaskRequest) String

func (*CreateBatchSendEmailTaskRequest) Validate

func (m *CreateBatchSendEmailTaskRequest) Validate() error

Validate checks the field values on CreateBatchSendEmailTaskRequest 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 (*CreateBatchSendEmailTaskRequest) ValidateAll

func (m *CreateBatchSendEmailTaskRequest) ValidateAll() error

ValidateAll checks the field values on CreateBatchSendEmailTaskRequest 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 CreateBatchSendEmailTaskRequestMultiError, or nil if none found.

type CreateBatchSendEmailTaskRequestMultiError

type CreateBatchSendEmailTaskRequestMultiError []error

CreateBatchSendEmailTaskRequestMultiError is an error wrapping multiple validation errors returned by CreateBatchSendEmailTaskRequest.ValidateAll() if the designated constraints aren't met.

func (CreateBatchSendEmailTaskRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateBatchSendEmailTaskRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateBatchSendEmailTaskRequestValidationError

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

CreateBatchSendEmailTaskRequestValidationError is the validation error returned by CreateBatchSendEmailTaskRequest.Validate if the designated constraints aren't met.

func (CreateBatchSendEmailTaskRequestValidationError) Cause

Cause function returns cause value.

func (CreateBatchSendEmailTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateBatchSendEmailTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateBatchSendEmailTaskRequestValidationError) Field

Field function returns field value.

func (CreateBatchSendEmailTaskRequestValidationError) Key

Key function returns key value.

func (CreateBatchSendEmailTaskRequestValidationError) Reason

Reason function returns reason value.

type CreateQuotaTaskData

type CreateQuotaTaskData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

CreateQuotaTaskData 创建配额任务数据

func (*CreateQuotaTaskData) Descriptor deprecated

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

Deprecated: Use CreateQuotaTaskData.ProtoReflect.Descriptor instead.

func (*CreateQuotaTaskData) GetSuccess

func (x *CreateQuotaTaskData) GetSuccess() bool

func (*CreateQuotaTaskData) ProtoMessage

func (*CreateQuotaTaskData) ProtoMessage()

func (*CreateQuotaTaskData) ProtoReflect

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

func (*CreateQuotaTaskData) Reset

func (x *CreateQuotaTaskData) Reset()

func (*CreateQuotaTaskData) String

func (x *CreateQuotaTaskData) String() string

func (*CreateQuotaTaskData) Validate

func (m *CreateQuotaTaskData) Validate() error

Validate checks the field values on CreateQuotaTaskData 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 (*CreateQuotaTaskData) ValidateAll

func (m *CreateQuotaTaskData) ValidateAll() error

ValidateAll checks the field values on CreateQuotaTaskData 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 CreateQuotaTaskDataMultiError, or nil if none found.

type CreateQuotaTaskDataMultiError

type CreateQuotaTaskDataMultiError []error

CreateQuotaTaskDataMultiError is an error wrapping multiple validation errors returned by CreateQuotaTaskData.ValidateAll() if the designated constraints aren't met.

func (CreateQuotaTaskDataMultiError) AllErrors

func (m CreateQuotaTaskDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateQuotaTaskDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateQuotaTaskDataValidationError

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

CreateQuotaTaskDataValidationError is the validation error returned by CreateQuotaTaskData.Validate if the designated constraints aren't met.

func (CreateQuotaTaskDataValidationError) Cause

Cause function returns cause value.

func (CreateQuotaTaskDataValidationError) Error

Error satisfies the builtin error interface

func (CreateQuotaTaskDataValidationError) ErrorName

ErrorName returns error name.

func (CreateQuotaTaskDataValidationError) Field

Field function returns field value.

func (CreateQuotaTaskDataValidationError) Key

Key function returns key value.

func (CreateQuotaTaskDataValidationError) Reason

Reason function returns reason value.

type CreateQuotaTaskReply

type CreateQuotaTaskReply struct {
	Code    int32                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *CreateQuotaTaskData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

CreateQuotaTaskReply 创建配额任务响应

func (*CreateQuotaTaskReply) Descriptor deprecated

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

Deprecated: Use CreateQuotaTaskReply.ProtoReflect.Descriptor instead.

func (*CreateQuotaTaskReply) GetCode

func (x *CreateQuotaTaskReply) GetCode() int32

func (*CreateQuotaTaskReply) GetData

func (*CreateQuotaTaskReply) GetMessage

func (x *CreateQuotaTaskReply) GetMessage() string

func (*CreateQuotaTaskReply) ProtoMessage

func (*CreateQuotaTaskReply) ProtoMessage()

func (*CreateQuotaTaskReply) ProtoReflect

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

func (*CreateQuotaTaskReply) Reset

func (x *CreateQuotaTaskReply) Reset()

func (*CreateQuotaTaskReply) String

func (x *CreateQuotaTaskReply) String() string

func (*CreateQuotaTaskReply) Validate

func (m *CreateQuotaTaskReply) Validate() error

Validate checks the field values on CreateQuotaTaskReply 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 (*CreateQuotaTaskReply) ValidateAll

func (m *CreateQuotaTaskReply) ValidateAll() error

ValidateAll checks the field values on CreateQuotaTaskReply 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 CreateQuotaTaskReplyMultiError, or nil if none found.

type CreateQuotaTaskReplyMultiError

type CreateQuotaTaskReplyMultiError []error

CreateQuotaTaskReplyMultiError is an error wrapping multiple validation errors returned by CreateQuotaTaskReply.ValidateAll() if the designated constraints aren't met.

func (CreateQuotaTaskReplyMultiError) AllErrors

func (m CreateQuotaTaskReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateQuotaTaskReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateQuotaTaskReplyValidationError

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

CreateQuotaTaskReplyValidationError is the validation error returned by CreateQuotaTaskReply.Validate if the designated constraints aren't met.

func (CreateQuotaTaskReplyValidationError) Cause

Cause function returns cause value.

func (CreateQuotaTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateQuotaTaskReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateQuotaTaskReplyValidationError) Field

Field function returns field value.

func (CreateQuotaTaskReplyValidationError) Key

Key function returns key value.

func (CreateQuotaTaskReplyValidationError) Reason

Reason function returns reason value.

type CreateQuotaTaskRequest

type CreateQuotaTaskRequest struct {
	Subscribers  []int64 `protobuf:"varint,1,rep,packed,name=subscribers,proto3" json:"subscribers,omitempty"`                // 订阅ID列表
	IsActive     *bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`       // 是否仅活跃订阅
	StartTime    int64   `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`          // 开始时间过滤(Unix时间戳)
	EndTime      int64   `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`                // 结束时间过滤(Unix时间戳)
	ResetTraffic bool    `protobuf:"varint,5,opt,name=reset_traffic,json=resetTraffic,proto3" json:"reset_traffic,omitempty"` // 是否重置流量
	Days         uint64  `protobuf:"varint,6,opt,name=days,proto3" json:"days,omitempty"`                                     // 增加天数
	GiftType     uint32  `protobuf:"varint,7,opt,name=gift_type,json=giftType,proto3" json:"gift_type,omitempty"`             // 赠送类型: 1:Fixed, 2:Ratio
	GiftValue    uint64  `protobuf:"varint,8,opt,name=gift_value,json=giftValue,proto3" json:"gift_value,omitempty"`          // 赠送值
	// contains filtered or unexported fields
}

CreateQuotaTaskRequest 创建配额任务请求

func (*CreateQuotaTaskRequest) Descriptor deprecated

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

Deprecated: Use CreateQuotaTaskRequest.ProtoReflect.Descriptor instead.

func (*CreateQuotaTaskRequest) GetDays

func (x *CreateQuotaTaskRequest) GetDays() uint64

func (*CreateQuotaTaskRequest) GetEndTime

func (x *CreateQuotaTaskRequest) GetEndTime() int64

func (*CreateQuotaTaskRequest) GetGiftType

func (x *CreateQuotaTaskRequest) GetGiftType() uint32

func (*CreateQuotaTaskRequest) GetGiftValue

func (x *CreateQuotaTaskRequest) GetGiftValue() uint64

func (*CreateQuotaTaskRequest) GetIsActive

func (x *CreateQuotaTaskRequest) GetIsActive() bool

func (*CreateQuotaTaskRequest) GetResetTraffic

func (x *CreateQuotaTaskRequest) GetResetTraffic() bool

func (*CreateQuotaTaskRequest) GetStartTime

func (x *CreateQuotaTaskRequest) GetStartTime() int64

func (*CreateQuotaTaskRequest) GetSubscribers

func (x *CreateQuotaTaskRequest) GetSubscribers() []int64

func (*CreateQuotaTaskRequest) ProtoMessage

func (*CreateQuotaTaskRequest) ProtoMessage()

func (*CreateQuotaTaskRequest) ProtoReflect

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

func (*CreateQuotaTaskRequest) Reset

func (x *CreateQuotaTaskRequest) Reset()

func (*CreateQuotaTaskRequest) String

func (x *CreateQuotaTaskRequest) String() string

func (*CreateQuotaTaskRequest) Validate

func (m *CreateQuotaTaskRequest) Validate() error

Validate checks the field values on CreateQuotaTaskRequest 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 (*CreateQuotaTaskRequest) ValidateAll

func (m *CreateQuotaTaskRequest) ValidateAll() error

ValidateAll checks the field values on CreateQuotaTaskRequest 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 CreateQuotaTaskRequestMultiError, or nil if none found.

type CreateQuotaTaskRequestMultiError

type CreateQuotaTaskRequestMultiError []error

CreateQuotaTaskRequestMultiError is an error wrapping multiple validation errors returned by CreateQuotaTaskRequest.ValidateAll() if the designated constraints aren't met.

func (CreateQuotaTaskRequestMultiError) AllErrors

func (m CreateQuotaTaskRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateQuotaTaskRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateQuotaTaskRequestValidationError

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

CreateQuotaTaskRequestValidationError is the validation error returned by CreateQuotaTaskRequest.Validate if the designated constraints aren't met.

func (CreateQuotaTaskRequestValidationError) Cause

Cause function returns cause value.

func (CreateQuotaTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateQuotaTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateQuotaTaskRequestValidationError) Field

Field function returns field value.

func (CreateQuotaTaskRequestValidationError) Key

Key function returns key value.

func (CreateQuotaTaskRequestValidationError) Reason

Reason function returns reason value.

type GetBatchSendEmailTaskListData

type GetBatchSendEmailTaskListData struct {
	Total int32                 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
	List  []*BatchSendEmailTask `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`    // 任务列表
	// contains filtered or unexported fields
}

GetBatchSendEmailTaskListData 获取批量发送邮件任务列表数据

func (*GetBatchSendEmailTaskListData) Descriptor deprecated

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

Deprecated: Use GetBatchSendEmailTaskListData.ProtoReflect.Descriptor instead.

func (*GetBatchSendEmailTaskListData) GetList

func (*GetBatchSendEmailTaskListData) GetTotal

func (x *GetBatchSendEmailTaskListData) GetTotal() int32

func (*GetBatchSendEmailTaskListData) ProtoMessage

func (*GetBatchSendEmailTaskListData) ProtoMessage()

func (*GetBatchSendEmailTaskListData) ProtoReflect

func (*GetBatchSendEmailTaskListData) Reset

func (x *GetBatchSendEmailTaskListData) Reset()

func (*GetBatchSendEmailTaskListData) String

func (*GetBatchSendEmailTaskListData) Validate

func (m *GetBatchSendEmailTaskListData) Validate() error

Validate checks the field values on GetBatchSendEmailTaskListData 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 (*GetBatchSendEmailTaskListData) ValidateAll

func (m *GetBatchSendEmailTaskListData) ValidateAll() error

ValidateAll checks the field values on GetBatchSendEmailTaskListData 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 GetBatchSendEmailTaskListDataMultiError, or nil if none found.

type GetBatchSendEmailTaskListDataMultiError

type GetBatchSendEmailTaskListDataMultiError []error

GetBatchSendEmailTaskListDataMultiError is an error wrapping multiple validation errors returned by GetBatchSendEmailTaskListData.ValidateAll() if the designated constraints aren't met.

func (GetBatchSendEmailTaskListDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetBatchSendEmailTaskListDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBatchSendEmailTaskListDataValidationError

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

GetBatchSendEmailTaskListDataValidationError is the validation error returned by GetBatchSendEmailTaskListData.Validate if the designated constraints aren't met.

func (GetBatchSendEmailTaskListDataValidationError) Cause

Cause function returns cause value.

func (GetBatchSendEmailTaskListDataValidationError) Error

Error satisfies the builtin error interface

func (GetBatchSendEmailTaskListDataValidationError) ErrorName

ErrorName returns error name.

func (GetBatchSendEmailTaskListDataValidationError) Field

Field function returns field value.

func (GetBatchSendEmailTaskListDataValidationError) Key

Key function returns key value.

func (GetBatchSendEmailTaskListDataValidationError) Reason

Reason function returns reason value.

type GetBatchSendEmailTaskListReply

type GetBatchSendEmailTaskListReply struct {
	Code    int32                          `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                         `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetBatchSendEmailTaskListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetBatchSendEmailTaskListReply 获取批量发送邮件任务列表响应

func (*GetBatchSendEmailTaskListReply) Descriptor deprecated

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

Deprecated: Use GetBatchSendEmailTaskListReply.ProtoReflect.Descriptor instead.

func (*GetBatchSendEmailTaskListReply) GetCode

func (*GetBatchSendEmailTaskListReply) GetData

func (*GetBatchSendEmailTaskListReply) GetMessage

func (x *GetBatchSendEmailTaskListReply) GetMessage() string

func (*GetBatchSendEmailTaskListReply) ProtoMessage

func (*GetBatchSendEmailTaskListReply) ProtoMessage()

func (*GetBatchSendEmailTaskListReply) ProtoReflect

func (*GetBatchSendEmailTaskListReply) Reset

func (x *GetBatchSendEmailTaskListReply) Reset()

func (*GetBatchSendEmailTaskListReply) String

func (*GetBatchSendEmailTaskListReply) Validate

func (m *GetBatchSendEmailTaskListReply) Validate() error

Validate checks the field values on GetBatchSendEmailTaskListReply 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 (*GetBatchSendEmailTaskListReply) ValidateAll

func (m *GetBatchSendEmailTaskListReply) ValidateAll() error

ValidateAll checks the field values on GetBatchSendEmailTaskListReply 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 GetBatchSendEmailTaskListReplyMultiError, or nil if none found.

type GetBatchSendEmailTaskListReplyMultiError

type GetBatchSendEmailTaskListReplyMultiError []error

GetBatchSendEmailTaskListReplyMultiError is an error wrapping multiple validation errors returned by GetBatchSendEmailTaskListReply.ValidateAll() if the designated constraints aren't met.

func (GetBatchSendEmailTaskListReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetBatchSendEmailTaskListReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBatchSendEmailTaskListReplyValidationError

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

GetBatchSendEmailTaskListReplyValidationError is the validation error returned by GetBatchSendEmailTaskListReply.Validate if the designated constraints aren't met.

func (GetBatchSendEmailTaskListReplyValidationError) Cause

Cause function returns cause value.

func (GetBatchSendEmailTaskListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetBatchSendEmailTaskListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetBatchSendEmailTaskListReplyValidationError) Field

Field function returns field value.

func (GetBatchSendEmailTaskListReplyValidationError) Key

Key function returns key value.

func (GetBatchSendEmailTaskListReplyValidationError) Reason

Reason function returns reason value.

type GetBatchSendEmailTaskListRequest

type GetBatchSendEmailTaskListRequest struct {
	Page   int32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`           // 页码
	Size   int32   `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`           // 每页数量
	Scope  *uint32 `protobuf:"varint,3,opt,name=scope,proto3,oneof" json:"scope,omitempty"`   // 范围过滤(可选)
	Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` // 状态过滤: 0:Pending, 1:In Progress, 2:Completed, 3:Failed(可选)
	// contains filtered or unexported fields
}

GetBatchSendEmailTaskListRequest 获取批量发送邮件任务列表请求

func (*GetBatchSendEmailTaskListRequest) Descriptor deprecated

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

Deprecated: Use GetBatchSendEmailTaskListRequest.ProtoReflect.Descriptor instead.

func (*GetBatchSendEmailTaskListRequest) GetPage

func (*GetBatchSendEmailTaskListRequest) GetScope

func (*GetBatchSendEmailTaskListRequest) GetSize

func (*GetBatchSendEmailTaskListRequest) GetStatus

func (*GetBatchSendEmailTaskListRequest) ProtoMessage

func (*GetBatchSendEmailTaskListRequest) ProtoMessage()

func (*GetBatchSendEmailTaskListRequest) ProtoReflect

func (*GetBatchSendEmailTaskListRequest) Reset

func (*GetBatchSendEmailTaskListRequest) String

func (*GetBatchSendEmailTaskListRequest) Validate

Validate checks the field values on GetBatchSendEmailTaskListRequest 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 (*GetBatchSendEmailTaskListRequest) ValidateAll

func (m *GetBatchSendEmailTaskListRequest) ValidateAll() error

ValidateAll checks the field values on GetBatchSendEmailTaskListRequest 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 GetBatchSendEmailTaskListRequestMultiError, or nil if none found.

type GetBatchSendEmailTaskListRequestMultiError

type GetBatchSendEmailTaskListRequestMultiError []error

GetBatchSendEmailTaskListRequestMultiError is an error wrapping multiple validation errors returned by GetBatchSendEmailTaskListRequest.ValidateAll() if the designated constraints aren't met.

func (GetBatchSendEmailTaskListRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetBatchSendEmailTaskListRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBatchSendEmailTaskListRequestValidationError

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

GetBatchSendEmailTaskListRequestValidationError is the validation error returned by GetBatchSendEmailTaskListRequest.Validate if the designated constraints aren't met.

func (GetBatchSendEmailTaskListRequestValidationError) Cause

Cause function returns cause value.

func (GetBatchSendEmailTaskListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBatchSendEmailTaskListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetBatchSendEmailTaskListRequestValidationError) Field

Field function returns field value.

func (GetBatchSendEmailTaskListRequestValidationError) Key

Key function returns key value.

func (GetBatchSendEmailTaskListRequestValidationError) Reason

Reason function returns reason value.

type GetBatchSendEmailTaskStatusData

type GetBatchSendEmailTaskStatusData struct {
	Status  uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`   // 任务状态: 0:Pending, 1:In Progress, 2:Completed, 3:Failed
	Current uint32 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` // 当前处理数
	Total   uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`     // 总数
	Errors  string `protobuf:"bytes,4,opt,name=errors,proto3" json:"errors,omitempty"`    // 错误信息
	// contains filtered or unexported fields
}

GetBatchSendEmailTaskStatusData 获取批量发送邮件任务状态数据

func (*GetBatchSendEmailTaskStatusData) Descriptor deprecated

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

Deprecated: Use GetBatchSendEmailTaskStatusData.ProtoReflect.Descriptor instead.

func (*GetBatchSendEmailTaskStatusData) GetCurrent

func (x *GetBatchSendEmailTaskStatusData) GetCurrent() uint32

func (*GetBatchSendEmailTaskStatusData) GetErrors

func (x *GetBatchSendEmailTaskStatusData) GetErrors() string

func (*GetBatchSendEmailTaskStatusData) GetStatus

func (x *GetBatchSendEmailTaskStatusData) GetStatus() uint32

func (*GetBatchSendEmailTaskStatusData) GetTotal

func (*GetBatchSendEmailTaskStatusData) ProtoMessage

func (*GetBatchSendEmailTaskStatusData) ProtoMessage()

func (*GetBatchSendEmailTaskStatusData) ProtoReflect

func (*GetBatchSendEmailTaskStatusData) Reset

func (*GetBatchSendEmailTaskStatusData) String

func (*GetBatchSendEmailTaskStatusData) Validate

func (m *GetBatchSendEmailTaskStatusData) Validate() error

Validate checks the field values on GetBatchSendEmailTaskStatusData 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 (*GetBatchSendEmailTaskStatusData) ValidateAll

func (m *GetBatchSendEmailTaskStatusData) ValidateAll() error

ValidateAll checks the field values on GetBatchSendEmailTaskStatusData 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 GetBatchSendEmailTaskStatusDataMultiError, or nil if none found.

type GetBatchSendEmailTaskStatusDataMultiError

type GetBatchSendEmailTaskStatusDataMultiError []error

GetBatchSendEmailTaskStatusDataMultiError is an error wrapping multiple validation errors returned by GetBatchSendEmailTaskStatusData.ValidateAll() if the designated constraints aren't met.

func (GetBatchSendEmailTaskStatusDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetBatchSendEmailTaskStatusDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBatchSendEmailTaskStatusDataValidationError

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

GetBatchSendEmailTaskStatusDataValidationError is the validation error returned by GetBatchSendEmailTaskStatusData.Validate if the designated constraints aren't met.

func (GetBatchSendEmailTaskStatusDataValidationError) Cause

Cause function returns cause value.

func (GetBatchSendEmailTaskStatusDataValidationError) Error

Error satisfies the builtin error interface

func (GetBatchSendEmailTaskStatusDataValidationError) ErrorName

ErrorName returns error name.

func (GetBatchSendEmailTaskStatusDataValidationError) Field

Field function returns field value.

func (GetBatchSendEmailTaskStatusDataValidationError) Key

Key function returns key value.

func (GetBatchSendEmailTaskStatusDataValidationError) Reason

Reason function returns reason value.

type GetBatchSendEmailTaskStatusReply

type GetBatchSendEmailTaskStatusReply struct {
	Code    int32                            `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetBatchSendEmailTaskStatusData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetBatchSendEmailTaskStatusReply 获取批量发送邮件任务状态响应

func (*GetBatchSendEmailTaskStatusReply) Descriptor deprecated

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

Deprecated: Use GetBatchSendEmailTaskStatusReply.ProtoReflect.Descriptor instead.

func (*GetBatchSendEmailTaskStatusReply) GetCode

func (*GetBatchSendEmailTaskStatusReply) GetData

func (*GetBatchSendEmailTaskStatusReply) GetMessage

func (x *GetBatchSendEmailTaskStatusReply) GetMessage() string

func (*GetBatchSendEmailTaskStatusReply) ProtoMessage

func (*GetBatchSendEmailTaskStatusReply) ProtoMessage()

func (*GetBatchSendEmailTaskStatusReply) ProtoReflect

func (*GetBatchSendEmailTaskStatusReply) Reset

func (*GetBatchSendEmailTaskStatusReply) String

func (*GetBatchSendEmailTaskStatusReply) Validate

Validate checks the field values on GetBatchSendEmailTaskStatusReply 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 (*GetBatchSendEmailTaskStatusReply) ValidateAll

func (m *GetBatchSendEmailTaskStatusReply) ValidateAll() error

ValidateAll checks the field values on GetBatchSendEmailTaskStatusReply 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 GetBatchSendEmailTaskStatusReplyMultiError, or nil if none found.

type GetBatchSendEmailTaskStatusReplyMultiError

type GetBatchSendEmailTaskStatusReplyMultiError []error

GetBatchSendEmailTaskStatusReplyMultiError is an error wrapping multiple validation errors returned by GetBatchSendEmailTaskStatusReply.ValidateAll() if the designated constraints aren't met.

func (GetBatchSendEmailTaskStatusReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetBatchSendEmailTaskStatusReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBatchSendEmailTaskStatusReplyValidationError

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

GetBatchSendEmailTaskStatusReplyValidationError is the validation error returned by GetBatchSendEmailTaskStatusReply.Validate if the designated constraints aren't met.

func (GetBatchSendEmailTaskStatusReplyValidationError) Cause

Cause function returns cause value.

func (GetBatchSendEmailTaskStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (GetBatchSendEmailTaskStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (GetBatchSendEmailTaskStatusReplyValidationError) Field

Field function returns field value.

func (GetBatchSendEmailTaskStatusReplyValidationError) Key

Key function returns key value.

func (GetBatchSendEmailTaskStatusReplyValidationError) Reason

Reason function returns reason value.

type GetBatchSendEmailTaskStatusRequest

type GetBatchSendEmailTaskStatusRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 任务ID
	// contains filtered or unexported fields
}

GetBatchSendEmailTaskStatusRequest 获取批量发送邮件任务状态请求

func (*GetBatchSendEmailTaskStatusRequest) Descriptor deprecated

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

Deprecated: Use GetBatchSendEmailTaskStatusRequest.ProtoReflect.Descriptor instead.

func (*GetBatchSendEmailTaskStatusRequest) GetId

func (*GetBatchSendEmailTaskStatusRequest) ProtoMessage

func (*GetBatchSendEmailTaskStatusRequest) ProtoMessage()

func (*GetBatchSendEmailTaskStatusRequest) ProtoReflect

func (*GetBatchSendEmailTaskStatusRequest) Reset

func (*GetBatchSendEmailTaskStatusRequest) String

func (*GetBatchSendEmailTaskStatusRequest) Validate

Validate checks the field values on GetBatchSendEmailTaskStatusRequest 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 (*GetBatchSendEmailTaskStatusRequest) ValidateAll

func (m *GetBatchSendEmailTaskStatusRequest) ValidateAll() error

ValidateAll checks the field values on GetBatchSendEmailTaskStatusRequest 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 GetBatchSendEmailTaskStatusRequestMultiError, or nil if none found.

type GetBatchSendEmailTaskStatusRequestMultiError

type GetBatchSendEmailTaskStatusRequestMultiError []error

GetBatchSendEmailTaskStatusRequestMultiError is an error wrapping multiple validation errors returned by GetBatchSendEmailTaskStatusRequest.ValidateAll() if the designated constraints aren't met.

func (GetBatchSendEmailTaskStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetBatchSendEmailTaskStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBatchSendEmailTaskStatusRequestValidationError

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

GetBatchSendEmailTaskStatusRequestValidationError is the validation error returned by GetBatchSendEmailTaskStatusRequest.Validate if the designated constraints aren't met.

func (GetBatchSendEmailTaskStatusRequestValidationError) Cause

Cause function returns cause value.

func (GetBatchSendEmailTaskStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBatchSendEmailTaskStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (GetBatchSendEmailTaskStatusRequestValidationError) Field

Field function returns field value.

func (GetBatchSendEmailTaskStatusRequestValidationError) Key

Key function returns key value.

func (GetBatchSendEmailTaskStatusRequestValidationError) Reason

Reason function returns reason value.

type GetPreSendEmailCountData

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

GetPreSendEmailCountData 获取预发送邮件数量数据

func (*GetPreSendEmailCountData) Descriptor deprecated

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

Deprecated: Use GetPreSendEmailCountData.ProtoReflect.Descriptor instead.

func (*GetPreSendEmailCountData) GetCount

func (x *GetPreSendEmailCountData) GetCount() int64

func (*GetPreSendEmailCountData) ProtoMessage

func (*GetPreSendEmailCountData) ProtoMessage()

func (*GetPreSendEmailCountData) ProtoReflect

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

func (*GetPreSendEmailCountData) Reset

func (x *GetPreSendEmailCountData) Reset()

func (*GetPreSendEmailCountData) String

func (x *GetPreSendEmailCountData) String() string

func (*GetPreSendEmailCountData) Validate

func (m *GetPreSendEmailCountData) Validate() error

Validate checks the field values on GetPreSendEmailCountData 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 (*GetPreSendEmailCountData) ValidateAll

func (m *GetPreSendEmailCountData) ValidateAll() error

ValidateAll checks the field values on GetPreSendEmailCountData 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 GetPreSendEmailCountDataMultiError, or nil if none found.

type GetPreSendEmailCountDataMultiError

type GetPreSendEmailCountDataMultiError []error

GetPreSendEmailCountDataMultiError is an error wrapping multiple validation errors returned by GetPreSendEmailCountData.ValidateAll() if the designated constraints aren't met.

func (GetPreSendEmailCountDataMultiError) AllErrors

func (m GetPreSendEmailCountDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPreSendEmailCountDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPreSendEmailCountDataValidationError

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

GetPreSendEmailCountDataValidationError is the validation error returned by GetPreSendEmailCountData.Validate if the designated constraints aren't met.

func (GetPreSendEmailCountDataValidationError) Cause

Cause function returns cause value.

func (GetPreSendEmailCountDataValidationError) Error

Error satisfies the builtin error interface

func (GetPreSendEmailCountDataValidationError) ErrorName

ErrorName returns error name.

func (GetPreSendEmailCountDataValidationError) Field

Field function returns field value.

func (GetPreSendEmailCountDataValidationError) Key

Key function returns key value.

func (GetPreSendEmailCountDataValidationError) Reason

Reason function returns reason value.

type GetPreSendEmailCountReply

type GetPreSendEmailCountReply struct {
	Code    int32                     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetPreSendEmailCountData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetPreSendEmailCountReply 获取预发送邮件数量响应

func (*GetPreSendEmailCountReply) Descriptor deprecated

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

Deprecated: Use GetPreSendEmailCountReply.ProtoReflect.Descriptor instead.

func (*GetPreSendEmailCountReply) GetCode

func (x *GetPreSendEmailCountReply) GetCode() int32

func (*GetPreSendEmailCountReply) GetData

func (*GetPreSendEmailCountReply) GetMessage

func (x *GetPreSendEmailCountReply) GetMessage() string

func (*GetPreSendEmailCountReply) ProtoMessage

func (*GetPreSendEmailCountReply) ProtoMessage()

func (*GetPreSendEmailCountReply) ProtoReflect

func (*GetPreSendEmailCountReply) Reset

func (x *GetPreSendEmailCountReply) Reset()

func (*GetPreSendEmailCountReply) String

func (x *GetPreSendEmailCountReply) String() string

func (*GetPreSendEmailCountReply) Validate

func (m *GetPreSendEmailCountReply) Validate() error

Validate checks the field values on GetPreSendEmailCountReply 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 (*GetPreSendEmailCountReply) ValidateAll

func (m *GetPreSendEmailCountReply) ValidateAll() error

ValidateAll checks the field values on GetPreSendEmailCountReply 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 GetPreSendEmailCountReplyMultiError, or nil if none found.

type GetPreSendEmailCountReplyMultiError

type GetPreSendEmailCountReplyMultiError []error

GetPreSendEmailCountReplyMultiError is an error wrapping multiple validation errors returned by GetPreSendEmailCountReply.ValidateAll() if the designated constraints aren't met.

func (GetPreSendEmailCountReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetPreSendEmailCountReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPreSendEmailCountReplyValidationError

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

GetPreSendEmailCountReplyValidationError is the validation error returned by GetPreSendEmailCountReply.Validate if the designated constraints aren't met.

func (GetPreSendEmailCountReplyValidationError) Cause

Cause function returns cause value.

func (GetPreSendEmailCountReplyValidationError) Error

Error satisfies the builtin error interface

func (GetPreSendEmailCountReplyValidationError) ErrorName

ErrorName returns error name.

func (GetPreSendEmailCountReplyValidationError) Field

Field function returns field value.

func (GetPreSendEmailCountReplyValidationError) Key

Key function returns key value.

func (GetPreSendEmailCountReplyValidationError) Reason

Reason function returns reason value.

type GetPreSendEmailCountRequest

type GetPreSendEmailCountRequest struct {
	Scope             uint32 `protobuf:"varint,1,opt,name=scope,proto3" json:"scope,omitempty"`                                                    // 范围: 1:All, 2:Active, 3:Expired, 4:None
	RegisterStartTime int64  `protobuf:"varint,2,opt,name=register_start_time,json=registerStartTime,proto3" json:"register_start_time,omitempty"` // 注册开始时间(Unix时间戳,可选)
	RegisterEndTime   int64  `protobuf:"varint,3,opt,name=register_end_time,json=registerEndTime,proto3" json:"register_end_time,omitempty"`       // 注册结束时间(Unix时间戳,可选)
	// contains filtered or unexported fields
}

GetPreSendEmailCountRequest 获取预发送邮件数量请求

func (*GetPreSendEmailCountRequest) Descriptor deprecated

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

Deprecated: Use GetPreSendEmailCountRequest.ProtoReflect.Descriptor instead.

func (*GetPreSendEmailCountRequest) GetRegisterEndTime

func (x *GetPreSendEmailCountRequest) GetRegisterEndTime() int64

func (*GetPreSendEmailCountRequest) GetRegisterStartTime

func (x *GetPreSendEmailCountRequest) GetRegisterStartTime() int64

func (*GetPreSendEmailCountRequest) GetScope

func (x *GetPreSendEmailCountRequest) GetScope() uint32

func (*GetPreSendEmailCountRequest) ProtoMessage

func (*GetPreSendEmailCountRequest) ProtoMessage()

func (*GetPreSendEmailCountRequest) ProtoReflect

func (*GetPreSendEmailCountRequest) Reset

func (x *GetPreSendEmailCountRequest) Reset()

func (*GetPreSendEmailCountRequest) String

func (x *GetPreSendEmailCountRequest) String() string

func (*GetPreSendEmailCountRequest) Validate

func (m *GetPreSendEmailCountRequest) Validate() error

Validate checks the field values on GetPreSendEmailCountRequest 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 (*GetPreSendEmailCountRequest) ValidateAll

func (m *GetPreSendEmailCountRequest) ValidateAll() error

ValidateAll checks the field values on GetPreSendEmailCountRequest 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 GetPreSendEmailCountRequestMultiError, or nil if none found.

type GetPreSendEmailCountRequestMultiError

type GetPreSendEmailCountRequestMultiError []error

GetPreSendEmailCountRequestMultiError is an error wrapping multiple validation errors returned by GetPreSendEmailCountRequest.ValidateAll() if the designated constraints aren't met.

func (GetPreSendEmailCountRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetPreSendEmailCountRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPreSendEmailCountRequestValidationError

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

GetPreSendEmailCountRequestValidationError is the validation error returned by GetPreSendEmailCountRequest.Validate if the designated constraints aren't met.

func (GetPreSendEmailCountRequestValidationError) Cause

Cause function returns cause value.

func (GetPreSendEmailCountRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPreSendEmailCountRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPreSendEmailCountRequestValidationError) Field

Field function returns field value.

func (GetPreSendEmailCountRequestValidationError) Key

Key function returns key value.

func (GetPreSendEmailCountRequestValidationError) Reason

Reason function returns reason value.

type MarketingServiceClient

type MarketingServiceClient interface {
	// CreateBatchSendEmailTask 创建批量发送邮件任务
	CreateBatchSendEmailTask(ctx context.Context, in *CreateBatchSendEmailTaskRequest, opts ...grpc.CallOption) (*CreateBatchSendEmailTaskReply, error)
	// GetBatchSendEmailTaskList 获取批量发送邮件任务列表
	GetBatchSendEmailTaskList(ctx context.Context, in *GetBatchSendEmailTaskListRequest, opts ...grpc.CallOption) (*GetBatchSendEmailTaskListReply, error)
	// StopBatchSendEmailTask 停止批量发送邮件任务
	StopBatchSendEmailTask(ctx context.Context, in *StopBatchSendEmailTaskRequest, opts ...grpc.CallOption) (*StopBatchSendEmailTaskReply, error)
	// GetPreSendEmailCount 获取预发送邮件数量
	GetPreSendEmailCount(ctx context.Context, in *GetPreSendEmailCountRequest, opts ...grpc.CallOption) (*GetPreSendEmailCountReply, error)
	// GetBatchSendEmailTaskStatus 获取批量发送邮件任务状态
	GetBatchSendEmailTaskStatus(ctx context.Context, in *GetBatchSendEmailTaskStatusRequest, opts ...grpc.CallOption) (*GetBatchSendEmailTaskStatusReply, error)
	// CreateQuotaTask 创建配额任务
	CreateQuotaTask(ctx context.Context, in *CreateQuotaTaskRequest, opts ...grpc.CallOption) (*CreateQuotaTaskReply, error)
	// QueryQuotaTaskPreCount 查询配额任务预计数量
	QueryQuotaTaskPreCount(ctx context.Context, in *QueryQuotaTaskPreCountRequest, opts ...grpc.CallOption) (*QueryQuotaTaskPreCountReply, error)
	// QueryQuotaTaskList 查询配额任务列表
	QueryQuotaTaskList(ctx context.Context, in *QueryQuotaTaskListRequest, opts ...grpc.CallOption) (*QueryQuotaTaskListReply, error)
}

MarketingServiceClient is the client API for MarketingService 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.

MarketingService 营销服务

type MarketingServiceHTTPClient

type MarketingServiceHTTPClient interface {
	// CreateBatchSendEmailTask CreateBatchSendEmailTask 创建批量发送邮件任务
	CreateBatchSendEmailTask(ctx context.Context, req *CreateBatchSendEmailTaskRequest, opts ...http.CallOption) (rsp *CreateBatchSendEmailTaskReply, err error)
	// CreateQuotaTask CreateQuotaTask 创建配额任务
	CreateQuotaTask(ctx context.Context, req *CreateQuotaTaskRequest, opts ...http.CallOption) (rsp *CreateQuotaTaskReply, err error)
	// GetBatchSendEmailTaskList GetBatchSendEmailTaskList 获取批量发送邮件任务列表
	GetBatchSendEmailTaskList(ctx context.Context, req *GetBatchSendEmailTaskListRequest, opts ...http.CallOption) (rsp *GetBatchSendEmailTaskListReply, err error)
	// GetBatchSendEmailTaskStatus GetBatchSendEmailTaskStatus 获取批量发送邮件任务状态
	GetBatchSendEmailTaskStatus(ctx context.Context, req *GetBatchSendEmailTaskStatusRequest, opts ...http.CallOption) (rsp *GetBatchSendEmailTaskStatusReply, err error)
	// GetPreSendEmailCount GetPreSendEmailCount 获取预发送邮件数量
	GetPreSendEmailCount(ctx context.Context, req *GetPreSendEmailCountRequest, opts ...http.CallOption) (rsp *GetPreSendEmailCountReply, err error)
	// QueryQuotaTaskList QueryQuotaTaskList 查询配额任务列表
	QueryQuotaTaskList(ctx context.Context, req *QueryQuotaTaskListRequest, opts ...http.CallOption) (rsp *QueryQuotaTaskListReply, err error)
	// QueryQuotaTaskPreCount QueryQuotaTaskPreCount 查询配额任务预计数量
	QueryQuotaTaskPreCount(ctx context.Context, req *QueryQuotaTaskPreCountRequest, opts ...http.CallOption) (rsp *QueryQuotaTaskPreCountReply, err error)
	// StopBatchSendEmailTask StopBatchSendEmailTask 停止批量发送邮件任务
	StopBatchSendEmailTask(ctx context.Context, req *StopBatchSendEmailTaskRequest, opts ...http.CallOption) (rsp *StopBatchSendEmailTaskReply, err error)
}

func NewMarketingServiceHTTPClient

func NewMarketingServiceHTTPClient(client *http.Client) MarketingServiceHTTPClient

type MarketingServiceHTTPClientImpl

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

func (*MarketingServiceHTTPClientImpl) CreateBatchSendEmailTask

CreateBatchSendEmailTask CreateBatchSendEmailTask 创建批量发送邮件任务

func (*MarketingServiceHTTPClientImpl) CreateQuotaTask

CreateQuotaTask CreateQuotaTask 创建配额任务

func (*MarketingServiceHTTPClientImpl) GetBatchSendEmailTaskList

GetBatchSendEmailTaskList GetBatchSendEmailTaskList 获取批量发送邮件任务列表

func (*MarketingServiceHTTPClientImpl) GetBatchSendEmailTaskStatus

GetBatchSendEmailTaskStatus GetBatchSendEmailTaskStatus 获取批量发送邮件任务状态

func (*MarketingServiceHTTPClientImpl) GetPreSendEmailCount

GetPreSendEmailCount GetPreSendEmailCount 获取预发送邮件数量

func (*MarketingServiceHTTPClientImpl) QueryQuotaTaskList

QueryQuotaTaskList QueryQuotaTaskList 查询配额任务列表

func (*MarketingServiceHTTPClientImpl) QueryQuotaTaskPreCount

QueryQuotaTaskPreCount QueryQuotaTaskPreCount 查询配额任务预计数量

func (*MarketingServiceHTTPClientImpl) StopBatchSendEmailTask

StopBatchSendEmailTask StopBatchSendEmailTask 停止批量发送邮件任务

type MarketingServiceHTTPServer

type MarketingServiceHTTPServer interface {
	// CreateBatchSendEmailTask CreateBatchSendEmailTask 创建批量发送邮件任务
	CreateBatchSendEmailTask(context.Context, *CreateBatchSendEmailTaskRequest) (*CreateBatchSendEmailTaskReply, error)
	// CreateQuotaTask CreateQuotaTask 创建配额任务
	CreateQuotaTask(context.Context, *CreateQuotaTaskRequest) (*CreateQuotaTaskReply, error)
	// GetBatchSendEmailTaskList GetBatchSendEmailTaskList 获取批量发送邮件任务列表
	GetBatchSendEmailTaskList(context.Context, *GetBatchSendEmailTaskListRequest) (*GetBatchSendEmailTaskListReply, error)
	// GetBatchSendEmailTaskStatus GetBatchSendEmailTaskStatus 获取批量发送邮件任务状态
	GetBatchSendEmailTaskStatus(context.Context, *GetBatchSendEmailTaskStatusRequest) (*GetBatchSendEmailTaskStatusReply, error)
	// GetPreSendEmailCount GetPreSendEmailCount 获取预发送邮件数量
	GetPreSendEmailCount(context.Context, *GetPreSendEmailCountRequest) (*GetPreSendEmailCountReply, error)
	// QueryQuotaTaskList QueryQuotaTaskList 查询配额任务列表
	QueryQuotaTaskList(context.Context, *QueryQuotaTaskListRequest) (*QueryQuotaTaskListReply, error)
	// QueryQuotaTaskPreCount QueryQuotaTaskPreCount 查询配额任务预计数量
	QueryQuotaTaskPreCount(context.Context, *QueryQuotaTaskPreCountRequest) (*QueryQuotaTaskPreCountReply, error)
	// StopBatchSendEmailTask StopBatchSendEmailTask 停止批量发送邮件任务
	StopBatchSendEmailTask(context.Context, *StopBatchSendEmailTaskRequest) (*StopBatchSendEmailTaskReply, error)
}

type MarketingServiceServer

type MarketingServiceServer interface {
	// CreateBatchSendEmailTask 创建批量发送邮件任务
	CreateBatchSendEmailTask(context.Context, *CreateBatchSendEmailTaskRequest) (*CreateBatchSendEmailTaskReply, error)
	// GetBatchSendEmailTaskList 获取批量发送邮件任务列表
	GetBatchSendEmailTaskList(context.Context, *GetBatchSendEmailTaskListRequest) (*GetBatchSendEmailTaskListReply, error)
	// StopBatchSendEmailTask 停止批量发送邮件任务
	StopBatchSendEmailTask(context.Context, *StopBatchSendEmailTaskRequest) (*StopBatchSendEmailTaskReply, error)
	// GetPreSendEmailCount 获取预发送邮件数量
	GetPreSendEmailCount(context.Context, *GetPreSendEmailCountRequest) (*GetPreSendEmailCountReply, error)
	// GetBatchSendEmailTaskStatus 获取批量发送邮件任务状态
	GetBatchSendEmailTaskStatus(context.Context, *GetBatchSendEmailTaskStatusRequest) (*GetBatchSendEmailTaskStatusReply, error)
	// CreateQuotaTask 创建配额任务
	CreateQuotaTask(context.Context, *CreateQuotaTaskRequest) (*CreateQuotaTaskReply, error)
	// QueryQuotaTaskPreCount 查询配额任务预计数量
	QueryQuotaTaskPreCount(context.Context, *QueryQuotaTaskPreCountRequest) (*QueryQuotaTaskPreCountReply, error)
	// QueryQuotaTaskList 查询配额任务列表
	QueryQuotaTaskList(context.Context, *QueryQuotaTaskListRequest) (*QueryQuotaTaskListReply, error)
	// contains filtered or unexported methods
}

MarketingServiceServer is the server API for MarketingService service. All implementations must embed UnimplementedMarketingServiceServer for forward compatibility.

MarketingService 营销服务

type QueryQuotaTaskListData

type QueryQuotaTaskListData struct {
	Total int32        `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
	List  []*QuotaTask `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`    // 任务列表
	// contains filtered or unexported fields
}

QueryQuotaTaskListData 查询配额任务列表数据

func (*QueryQuotaTaskListData) Descriptor deprecated

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

Deprecated: Use QueryQuotaTaskListData.ProtoReflect.Descriptor instead.

func (*QueryQuotaTaskListData) GetList

func (x *QueryQuotaTaskListData) GetList() []*QuotaTask

func (*QueryQuotaTaskListData) GetTotal

func (x *QueryQuotaTaskListData) GetTotal() int32

func (*QueryQuotaTaskListData) ProtoMessage

func (*QueryQuotaTaskListData) ProtoMessage()

func (*QueryQuotaTaskListData) ProtoReflect

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

func (*QueryQuotaTaskListData) Reset

func (x *QueryQuotaTaskListData) Reset()

func (*QueryQuotaTaskListData) String

func (x *QueryQuotaTaskListData) String() string

func (*QueryQuotaTaskListData) Validate

func (m *QueryQuotaTaskListData) Validate() error

Validate checks the field values on QueryQuotaTaskListData 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 (*QueryQuotaTaskListData) ValidateAll

func (m *QueryQuotaTaskListData) ValidateAll() error

ValidateAll checks the field values on QueryQuotaTaskListData 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 QueryQuotaTaskListDataMultiError, or nil if none found.

type QueryQuotaTaskListDataMultiError

type QueryQuotaTaskListDataMultiError []error

QueryQuotaTaskListDataMultiError is an error wrapping multiple validation errors returned by QueryQuotaTaskListData.ValidateAll() if the designated constraints aren't met.

func (QueryQuotaTaskListDataMultiError) AllErrors

func (m QueryQuotaTaskListDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryQuotaTaskListDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryQuotaTaskListDataValidationError

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

QueryQuotaTaskListDataValidationError is the validation error returned by QueryQuotaTaskListData.Validate if the designated constraints aren't met.

func (QueryQuotaTaskListDataValidationError) Cause

Cause function returns cause value.

func (QueryQuotaTaskListDataValidationError) Error

Error satisfies the builtin error interface

func (QueryQuotaTaskListDataValidationError) ErrorName

ErrorName returns error name.

func (QueryQuotaTaskListDataValidationError) Field

Field function returns field value.

func (QueryQuotaTaskListDataValidationError) Key

Key function returns key value.

func (QueryQuotaTaskListDataValidationError) Reason

Reason function returns reason value.

type QueryQuotaTaskListReply

type QueryQuotaTaskListReply struct {
	Code    int32                   `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                  `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *QueryQuotaTaskListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

QueryQuotaTaskListReply 查询配额任务列表响应

func (*QueryQuotaTaskListReply) Descriptor deprecated

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

Deprecated: Use QueryQuotaTaskListReply.ProtoReflect.Descriptor instead.

func (*QueryQuotaTaskListReply) GetCode

func (x *QueryQuotaTaskListReply) GetCode() int32

func (*QueryQuotaTaskListReply) GetData

func (*QueryQuotaTaskListReply) GetMessage

func (x *QueryQuotaTaskListReply) GetMessage() string

func (*QueryQuotaTaskListReply) ProtoMessage

func (*QueryQuotaTaskListReply) ProtoMessage()

func (*QueryQuotaTaskListReply) ProtoReflect

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

func (*QueryQuotaTaskListReply) Reset

func (x *QueryQuotaTaskListReply) Reset()

func (*QueryQuotaTaskListReply) String

func (x *QueryQuotaTaskListReply) String() string

func (*QueryQuotaTaskListReply) Validate

func (m *QueryQuotaTaskListReply) Validate() error

Validate checks the field values on QueryQuotaTaskListReply 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 (*QueryQuotaTaskListReply) ValidateAll

func (m *QueryQuotaTaskListReply) ValidateAll() error

ValidateAll checks the field values on QueryQuotaTaskListReply 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 QueryQuotaTaskListReplyMultiError, or nil if none found.

type QueryQuotaTaskListReplyMultiError

type QueryQuotaTaskListReplyMultiError []error

QueryQuotaTaskListReplyMultiError is an error wrapping multiple validation errors returned by QueryQuotaTaskListReply.ValidateAll() if the designated constraints aren't met.

func (QueryQuotaTaskListReplyMultiError) AllErrors

func (m QueryQuotaTaskListReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryQuotaTaskListReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryQuotaTaskListReplyValidationError

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

QueryQuotaTaskListReplyValidationError is the validation error returned by QueryQuotaTaskListReply.Validate if the designated constraints aren't met.

func (QueryQuotaTaskListReplyValidationError) Cause

Cause function returns cause value.

func (QueryQuotaTaskListReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryQuotaTaskListReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryQuotaTaskListReplyValidationError) Field

Field function returns field value.

func (QueryQuotaTaskListReplyValidationError) Key

Key function returns key value.

func (QueryQuotaTaskListReplyValidationError) Reason

Reason function returns reason value.

type QueryQuotaTaskListRequest

type QueryQuotaTaskListRequest struct {
	Page   int32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`           // 页码
	Size   int32   `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`           // 每页数量
	Status *uint32 `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // 状态过滤: 0:Pending, 1:In Progress, 2:Completed, 3:Failed(可选)
	// contains filtered or unexported fields
}

QueryQuotaTaskListRequest 查询配额任务列表请求

func (*QueryQuotaTaskListRequest) Descriptor deprecated

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

Deprecated: Use QueryQuotaTaskListRequest.ProtoReflect.Descriptor instead.

func (*QueryQuotaTaskListRequest) GetPage

func (x *QueryQuotaTaskListRequest) GetPage() int32

func (*QueryQuotaTaskListRequest) GetSize

func (x *QueryQuotaTaskListRequest) GetSize() int32

func (*QueryQuotaTaskListRequest) GetStatus

func (x *QueryQuotaTaskListRequest) GetStatus() uint32

func (*QueryQuotaTaskListRequest) ProtoMessage

func (*QueryQuotaTaskListRequest) ProtoMessage()

func (*QueryQuotaTaskListRequest) ProtoReflect

func (*QueryQuotaTaskListRequest) Reset

func (x *QueryQuotaTaskListRequest) Reset()

func (*QueryQuotaTaskListRequest) String

func (x *QueryQuotaTaskListRequest) String() string

func (*QueryQuotaTaskListRequest) Validate

func (m *QueryQuotaTaskListRequest) Validate() error

Validate checks the field values on QueryQuotaTaskListRequest 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 (*QueryQuotaTaskListRequest) ValidateAll

func (m *QueryQuotaTaskListRequest) ValidateAll() error

ValidateAll checks the field values on QueryQuotaTaskListRequest 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 QueryQuotaTaskListRequestMultiError, or nil if none found.

type QueryQuotaTaskListRequestMultiError

type QueryQuotaTaskListRequestMultiError []error

QueryQuotaTaskListRequestMultiError is an error wrapping multiple validation errors returned by QueryQuotaTaskListRequest.ValidateAll() if the designated constraints aren't met.

func (QueryQuotaTaskListRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryQuotaTaskListRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryQuotaTaskListRequestValidationError

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

QueryQuotaTaskListRequestValidationError is the validation error returned by QueryQuotaTaskListRequest.Validate if the designated constraints aren't met.

func (QueryQuotaTaskListRequestValidationError) Cause

Cause function returns cause value.

func (QueryQuotaTaskListRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryQuotaTaskListRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryQuotaTaskListRequestValidationError) Field

Field function returns field value.

func (QueryQuotaTaskListRequestValidationError) Key

Key function returns key value.

func (QueryQuotaTaskListRequestValidationError) Reason

Reason function returns reason value.

type QueryQuotaTaskPreCountData

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

QueryQuotaTaskPreCountData 查询配额任务预计数量数据

func (*QueryQuotaTaskPreCountData) Descriptor deprecated

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

Deprecated: Use QueryQuotaTaskPreCountData.ProtoReflect.Descriptor instead.

func (*QueryQuotaTaskPreCountData) GetCount

func (x *QueryQuotaTaskPreCountData) GetCount() int64

func (*QueryQuotaTaskPreCountData) ProtoMessage

func (*QueryQuotaTaskPreCountData) ProtoMessage()

func (*QueryQuotaTaskPreCountData) ProtoReflect

func (*QueryQuotaTaskPreCountData) Reset

func (x *QueryQuotaTaskPreCountData) Reset()

func (*QueryQuotaTaskPreCountData) String

func (x *QueryQuotaTaskPreCountData) String() string

func (*QueryQuotaTaskPreCountData) Validate

func (m *QueryQuotaTaskPreCountData) Validate() error

Validate checks the field values on QueryQuotaTaskPreCountData 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 (*QueryQuotaTaskPreCountData) ValidateAll

func (m *QueryQuotaTaskPreCountData) ValidateAll() error

ValidateAll checks the field values on QueryQuotaTaskPreCountData 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 QueryQuotaTaskPreCountDataMultiError, or nil if none found.

type QueryQuotaTaskPreCountDataMultiError

type QueryQuotaTaskPreCountDataMultiError []error

QueryQuotaTaskPreCountDataMultiError is an error wrapping multiple validation errors returned by QueryQuotaTaskPreCountData.ValidateAll() if the designated constraints aren't met.

func (QueryQuotaTaskPreCountDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryQuotaTaskPreCountDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryQuotaTaskPreCountDataValidationError

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

QueryQuotaTaskPreCountDataValidationError is the validation error returned by QueryQuotaTaskPreCountData.Validate if the designated constraints aren't met.

func (QueryQuotaTaskPreCountDataValidationError) Cause

Cause function returns cause value.

func (QueryQuotaTaskPreCountDataValidationError) Error

Error satisfies the builtin error interface

func (QueryQuotaTaskPreCountDataValidationError) ErrorName

ErrorName returns error name.

func (QueryQuotaTaskPreCountDataValidationError) Field

Field function returns field value.

func (QueryQuotaTaskPreCountDataValidationError) Key

Key function returns key value.

func (QueryQuotaTaskPreCountDataValidationError) Reason

Reason function returns reason value.

type QueryQuotaTaskPreCountReply

type QueryQuotaTaskPreCountReply struct {
	Code    int32                       `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *QueryQuotaTaskPreCountData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

QueryQuotaTaskPreCountReply 查询配额任务预计数量响应

func (*QueryQuotaTaskPreCountReply) Descriptor deprecated

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

Deprecated: Use QueryQuotaTaskPreCountReply.ProtoReflect.Descriptor instead.

func (*QueryQuotaTaskPreCountReply) GetCode

func (x *QueryQuotaTaskPreCountReply) GetCode() int32

func (*QueryQuotaTaskPreCountReply) GetData

func (*QueryQuotaTaskPreCountReply) GetMessage

func (x *QueryQuotaTaskPreCountReply) GetMessage() string

func (*QueryQuotaTaskPreCountReply) ProtoMessage

func (*QueryQuotaTaskPreCountReply) ProtoMessage()

func (*QueryQuotaTaskPreCountReply) ProtoReflect

func (*QueryQuotaTaskPreCountReply) Reset

func (x *QueryQuotaTaskPreCountReply) Reset()

func (*QueryQuotaTaskPreCountReply) String

func (x *QueryQuotaTaskPreCountReply) String() string

func (*QueryQuotaTaskPreCountReply) Validate

func (m *QueryQuotaTaskPreCountReply) Validate() error

Validate checks the field values on QueryQuotaTaskPreCountReply 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 (*QueryQuotaTaskPreCountReply) ValidateAll

func (m *QueryQuotaTaskPreCountReply) ValidateAll() error

ValidateAll checks the field values on QueryQuotaTaskPreCountReply 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 QueryQuotaTaskPreCountReplyMultiError, or nil if none found.

type QueryQuotaTaskPreCountReplyMultiError

type QueryQuotaTaskPreCountReplyMultiError []error

QueryQuotaTaskPreCountReplyMultiError is an error wrapping multiple validation errors returned by QueryQuotaTaskPreCountReply.ValidateAll() if the designated constraints aren't met.

func (QueryQuotaTaskPreCountReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryQuotaTaskPreCountReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryQuotaTaskPreCountReplyValidationError

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

QueryQuotaTaskPreCountReplyValidationError is the validation error returned by QueryQuotaTaskPreCountReply.Validate if the designated constraints aren't met.

func (QueryQuotaTaskPreCountReplyValidationError) Cause

Cause function returns cause value.

func (QueryQuotaTaskPreCountReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryQuotaTaskPreCountReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryQuotaTaskPreCountReplyValidationError) Field

Field function returns field value.

func (QueryQuotaTaskPreCountReplyValidationError) Key

Key function returns key value.

func (QueryQuotaTaskPreCountReplyValidationError) Reason

Reason function returns reason value.

type QueryQuotaTaskPreCountRequest

type QueryQuotaTaskPreCountRequest struct {
	Subscribers []int64 `protobuf:"varint,1,rep,packed,name=subscribers,proto3" json:"subscribers,omitempty"`          // 订阅ID列表
	IsActive    *bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"` // 是否仅活跃订阅
	StartTime   int64   `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`    // 开始时间过滤(Unix时间戳)
	EndTime     int64   `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`          // 结束时间过滤(Unix时间戳)
	// contains filtered or unexported fields
}

QueryQuotaTaskPreCountRequest 查询配额任务预计数量请求

func (*QueryQuotaTaskPreCountRequest) Descriptor deprecated

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

Deprecated: Use QueryQuotaTaskPreCountRequest.ProtoReflect.Descriptor instead.

func (*QueryQuotaTaskPreCountRequest) GetEndTime

func (x *QueryQuotaTaskPreCountRequest) GetEndTime() int64

func (*QueryQuotaTaskPreCountRequest) GetIsActive

func (x *QueryQuotaTaskPreCountRequest) GetIsActive() bool

func (*QueryQuotaTaskPreCountRequest) GetStartTime

func (x *QueryQuotaTaskPreCountRequest) GetStartTime() int64

func (*QueryQuotaTaskPreCountRequest) GetSubscribers

func (x *QueryQuotaTaskPreCountRequest) GetSubscribers() []int64

func (*QueryQuotaTaskPreCountRequest) ProtoMessage

func (*QueryQuotaTaskPreCountRequest) ProtoMessage()

func (*QueryQuotaTaskPreCountRequest) ProtoReflect

func (*QueryQuotaTaskPreCountRequest) Reset

func (x *QueryQuotaTaskPreCountRequest) Reset()

func (*QueryQuotaTaskPreCountRequest) String

func (*QueryQuotaTaskPreCountRequest) Validate

func (m *QueryQuotaTaskPreCountRequest) Validate() error

Validate checks the field values on QueryQuotaTaskPreCountRequest 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 (*QueryQuotaTaskPreCountRequest) ValidateAll

func (m *QueryQuotaTaskPreCountRequest) ValidateAll() error

ValidateAll checks the field values on QueryQuotaTaskPreCountRequest 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 QueryQuotaTaskPreCountRequestMultiError, or nil if none found.

type QueryQuotaTaskPreCountRequestMultiError

type QueryQuotaTaskPreCountRequestMultiError []error

QueryQuotaTaskPreCountRequestMultiError is an error wrapping multiple validation errors returned by QueryQuotaTaskPreCountRequest.ValidateAll() if the designated constraints aren't met.

func (QueryQuotaTaskPreCountRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryQuotaTaskPreCountRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryQuotaTaskPreCountRequestValidationError

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

QueryQuotaTaskPreCountRequestValidationError is the validation error returned by QueryQuotaTaskPreCountRequest.Validate if the designated constraints aren't met.

func (QueryQuotaTaskPreCountRequestValidationError) Cause

Cause function returns cause value.

func (QueryQuotaTaskPreCountRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryQuotaTaskPreCountRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryQuotaTaskPreCountRequestValidationError) Field

Field function returns field value.

func (QueryQuotaTaskPreCountRequestValidationError) Key

Key function returns key value.

func (QueryQuotaTaskPreCountRequestValidationError) Reason

Reason function returns reason value.

type QuotaTask

type QuotaTask struct {
	Id           int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                         // 任务ID
	Subscribers  []int64 `protobuf:"varint,2,rep,packed,name=subscribers,proto3" json:"subscribers,omitempty"`                // 订阅ID列表
	IsActive     *bool   `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`       // 是否仅活跃订阅
	StartTime    int64   `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`          // 开始时间过滤(Unix时间戳)
	EndTime      int64   `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`                // 结束时间过滤(Unix时间戳)
	ResetTraffic bool    `protobuf:"varint,6,opt,name=reset_traffic,json=resetTraffic,proto3" json:"reset_traffic,omitempty"` // 是否重置流量
	Days         int64   `protobuf:"varint,7,opt,name=days,proto3" json:"days,omitempty"`                                     // 增加天数
	GiftType     int32   `protobuf:"varint,8,opt,name=gift_type,json=giftType,proto3" json:"gift_type,omitempty"`             // 赠送类型: 1:Fixed, 2:Ratio
	GiftValue    int64   `protobuf:"varint,9,opt,name=gift_value,json=giftValue,proto3" json:"gift_value,omitempty"`          // 赠送值
	Objects      []int64 `protobuf:"varint,10,rep,packed,name=objects,proto3" json:"objects,omitempty"`                       // 用户订阅ID列表(实际影响的对象)
	Status       uint32  `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"`                                // 任务状态: 0:Pending, 1:In Progress, 2:Completed, 3:Failed
	Total        uint32  `protobuf:"varint,12,opt,name=total,proto3" json:"total,omitempty"`                                  // 总数
	Current      uint32  `protobuf:"varint,13,opt,name=current,proto3" json:"current,omitempty"`                              // 当前处理数
	Errors       string  `protobuf:"bytes,14,opt,name=errors,proto3" json:"errors,omitempty"`                                 // 错误信息
	CreatedAt    int64   `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`         // 创建时间(Unix时间戳)
	UpdatedAt    int64   `protobuf:"varint,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`         // 更新时间(Unix时间戳)
	// contains filtered or unexported fields
}

QuotaTask 配额任务

func (*QuotaTask) Descriptor deprecated

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

Deprecated: Use QuotaTask.ProtoReflect.Descriptor instead.

func (*QuotaTask) GetCreatedAt

func (x *QuotaTask) GetCreatedAt() int64

func (*QuotaTask) GetCurrent

func (x *QuotaTask) GetCurrent() uint32

func (*QuotaTask) GetDays

func (x *QuotaTask) GetDays() int64

func (*QuotaTask) GetEndTime

func (x *QuotaTask) GetEndTime() int64

func (*QuotaTask) GetErrors

func (x *QuotaTask) GetErrors() string

func (*QuotaTask) GetGiftType

func (x *QuotaTask) GetGiftType() int32

func (*QuotaTask) GetGiftValue

func (x *QuotaTask) GetGiftValue() int64

func (*QuotaTask) GetId

func (x *QuotaTask) GetId() int64

func (*QuotaTask) GetIsActive

func (x *QuotaTask) GetIsActive() bool

func (*QuotaTask) GetObjects

func (x *QuotaTask) GetObjects() []int64

func (*QuotaTask) GetResetTraffic

func (x *QuotaTask) GetResetTraffic() bool

func (*QuotaTask) GetStartTime

func (x *QuotaTask) GetStartTime() int64

func (*QuotaTask) GetStatus

func (x *QuotaTask) GetStatus() uint32

func (*QuotaTask) GetSubscribers

func (x *QuotaTask) GetSubscribers() []int64

func (*QuotaTask) GetTotal

func (x *QuotaTask) GetTotal() uint32

func (*QuotaTask) GetUpdatedAt

func (x *QuotaTask) GetUpdatedAt() int64

func (*QuotaTask) ProtoMessage

func (*QuotaTask) ProtoMessage()

func (*QuotaTask) ProtoReflect

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

func (*QuotaTask) Reset

func (x *QuotaTask) Reset()

func (*QuotaTask) String

func (x *QuotaTask) String() string

func (*QuotaTask) Validate

func (m *QuotaTask) Validate() error

Validate checks the field values on QuotaTask 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 (*QuotaTask) ValidateAll

func (m *QuotaTask) ValidateAll() error

ValidateAll checks the field values on QuotaTask 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 QuotaTaskMultiError, or nil if none found.

type QuotaTaskMultiError

type QuotaTaskMultiError []error

QuotaTaskMultiError is an error wrapping multiple validation errors returned by QuotaTask.ValidateAll() if the designated constraints aren't met.

func (QuotaTaskMultiError) AllErrors

func (m QuotaTaskMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuotaTaskMultiError) Error

func (m QuotaTaskMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type QuotaTaskValidationError

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

QuotaTaskValidationError is the validation error returned by QuotaTask.Validate if the designated constraints aren't met.

func (QuotaTaskValidationError) Cause

func (e QuotaTaskValidationError) Cause() error

Cause function returns cause value.

func (QuotaTaskValidationError) Error

func (e QuotaTaskValidationError) Error() string

Error satisfies the builtin error interface

func (QuotaTaskValidationError) ErrorName

func (e QuotaTaskValidationError) ErrorName() string

ErrorName returns error name.

func (QuotaTaskValidationError) Field

func (e QuotaTaskValidationError) Field() string

Field function returns field value.

func (QuotaTaskValidationError) Key

Key function returns key value.

func (QuotaTaskValidationError) Reason

func (e QuotaTaskValidationError) Reason() string

Reason function returns reason value.

type StopBatchSendEmailTaskData

type StopBatchSendEmailTaskData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

StopBatchSendEmailTaskData 停止批量发送邮件任务数据

func (*StopBatchSendEmailTaskData) Descriptor deprecated

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

Deprecated: Use StopBatchSendEmailTaskData.ProtoReflect.Descriptor instead.

func (*StopBatchSendEmailTaskData) GetSuccess

func (x *StopBatchSendEmailTaskData) GetSuccess() bool

func (*StopBatchSendEmailTaskData) ProtoMessage

func (*StopBatchSendEmailTaskData) ProtoMessage()

func (*StopBatchSendEmailTaskData) ProtoReflect

func (*StopBatchSendEmailTaskData) Reset

func (x *StopBatchSendEmailTaskData) Reset()

func (*StopBatchSendEmailTaskData) String

func (x *StopBatchSendEmailTaskData) String() string

func (*StopBatchSendEmailTaskData) Validate

func (m *StopBatchSendEmailTaskData) Validate() error

Validate checks the field values on StopBatchSendEmailTaskData 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 (*StopBatchSendEmailTaskData) ValidateAll

func (m *StopBatchSendEmailTaskData) ValidateAll() error

ValidateAll checks the field values on StopBatchSendEmailTaskData 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 StopBatchSendEmailTaskDataMultiError, or nil if none found.

type StopBatchSendEmailTaskDataMultiError

type StopBatchSendEmailTaskDataMultiError []error

StopBatchSendEmailTaskDataMultiError is an error wrapping multiple validation errors returned by StopBatchSendEmailTaskData.ValidateAll() if the designated constraints aren't met.

func (StopBatchSendEmailTaskDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StopBatchSendEmailTaskDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StopBatchSendEmailTaskDataValidationError

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

StopBatchSendEmailTaskDataValidationError is the validation error returned by StopBatchSendEmailTaskData.Validate if the designated constraints aren't met.

func (StopBatchSendEmailTaskDataValidationError) Cause

Cause function returns cause value.

func (StopBatchSendEmailTaskDataValidationError) Error

Error satisfies the builtin error interface

func (StopBatchSendEmailTaskDataValidationError) ErrorName

ErrorName returns error name.

func (StopBatchSendEmailTaskDataValidationError) Field

Field function returns field value.

func (StopBatchSendEmailTaskDataValidationError) Key

Key function returns key value.

func (StopBatchSendEmailTaskDataValidationError) Reason

Reason function returns reason value.

type StopBatchSendEmailTaskReply

type StopBatchSendEmailTaskReply struct {
	Code    int32                       `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *StopBatchSendEmailTaskData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

StopBatchSendEmailTaskReply 停止批量发送邮件任务响应

func (*StopBatchSendEmailTaskReply) Descriptor deprecated

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

Deprecated: Use StopBatchSendEmailTaskReply.ProtoReflect.Descriptor instead.

func (*StopBatchSendEmailTaskReply) GetCode

func (x *StopBatchSendEmailTaskReply) GetCode() int32

func (*StopBatchSendEmailTaskReply) GetData

func (*StopBatchSendEmailTaskReply) GetMessage

func (x *StopBatchSendEmailTaskReply) GetMessage() string

func (*StopBatchSendEmailTaskReply) ProtoMessage

func (*StopBatchSendEmailTaskReply) ProtoMessage()

func (*StopBatchSendEmailTaskReply) ProtoReflect

func (*StopBatchSendEmailTaskReply) Reset

func (x *StopBatchSendEmailTaskReply) Reset()

func (*StopBatchSendEmailTaskReply) String

func (x *StopBatchSendEmailTaskReply) String() string

func (*StopBatchSendEmailTaskReply) Validate

func (m *StopBatchSendEmailTaskReply) Validate() error

Validate checks the field values on StopBatchSendEmailTaskReply 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 (*StopBatchSendEmailTaskReply) ValidateAll

func (m *StopBatchSendEmailTaskReply) ValidateAll() error

ValidateAll checks the field values on StopBatchSendEmailTaskReply 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 StopBatchSendEmailTaskReplyMultiError, or nil if none found.

type StopBatchSendEmailTaskReplyMultiError

type StopBatchSendEmailTaskReplyMultiError []error

StopBatchSendEmailTaskReplyMultiError is an error wrapping multiple validation errors returned by StopBatchSendEmailTaskReply.ValidateAll() if the designated constraints aren't met.

func (StopBatchSendEmailTaskReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StopBatchSendEmailTaskReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StopBatchSendEmailTaskReplyValidationError

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

StopBatchSendEmailTaskReplyValidationError is the validation error returned by StopBatchSendEmailTaskReply.Validate if the designated constraints aren't met.

func (StopBatchSendEmailTaskReplyValidationError) Cause

Cause function returns cause value.

func (StopBatchSendEmailTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (StopBatchSendEmailTaskReplyValidationError) ErrorName

ErrorName returns error name.

func (StopBatchSendEmailTaskReplyValidationError) Field

Field function returns field value.

func (StopBatchSendEmailTaskReplyValidationError) Key

Key function returns key value.

func (StopBatchSendEmailTaskReplyValidationError) Reason

Reason function returns reason value.

type StopBatchSendEmailTaskRequest

type StopBatchSendEmailTaskRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 任务ID
	// contains filtered or unexported fields
}

StopBatchSendEmailTaskRequest 停止批量发送邮件任务请求

func (*StopBatchSendEmailTaskRequest) Descriptor deprecated

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

Deprecated: Use StopBatchSendEmailTaskRequest.ProtoReflect.Descriptor instead.

func (*StopBatchSendEmailTaskRequest) GetId

func (*StopBatchSendEmailTaskRequest) ProtoMessage

func (*StopBatchSendEmailTaskRequest) ProtoMessage()

func (*StopBatchSendEmailTaskRequest) ProtoReflect

func (*StopBatchSendEmailTaskRequest) Reset

func (x *StopBatchSendEmailTaskRequest) Reset()

func (*StopBatchSendEmailTaskRequest) String

func (*StopBatchSendEmailTaskRequest) Validate

func (m *StopBatchSendEmailTaskRequest) Validate() error

Validate checks the field values on StopBatchSendEmailTaskRequest 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 (*StopBatchSendEmailTaskRequest) ValidateAll

func (m *StopBatchSendEmailTaskRequest) ValidateAll() error

ValidateAll checks the field values on StopBatchSendEmailTaskRequest 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 StopBatchSendEmailTaskRequestMultiError, or nil if none found.

type StopBatchSendEmailTaskRequestMultiError

type StopBatchSendEmailTaskRequestMultiError []error

StopBatchSendEmailTaskRequestMultiError is an error wrapping multiple validation errors returned by StopBatchSendEmailTaskRequest.ValidateAll() if the designated constraints aren't met.

func (StopBatchSendEmailTaskRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StopBatchSendEmailTaskRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StopBatchSendEmailTaskRequestValidationError

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

StopBatchSendEmailTaskRequestValidationError is the validation error returned by StopBatchSendEmailTaskRequest.Validate if the designated constraints aren't met.

func (StopBatchSendEmailTaskRequestValidationError) Cause

Cause function returns cause value.

func (StopBatchSendEmailTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (StopBatchSendEmailTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (StopBatchSendEmailTaskRequestValidationError) Field

Field function returns field value.

func (StopBatchSendEmailTaskRequestValidationError) Key

Key function returns key value.

func (StopBatchSendEmailTaskRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedMarketingServiceServer

type UnimplementedMarketingServiceServer struct{}

UnimplementedMarketingServiceServer 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 (UnimplementedMarketingServiceServer) CreateQuotaTask

func (UnimplementedMarketingServiceServer) GetPreSendEmailCount

func (UnimplementedMarketingServiceServer) QueryQuotaTaskList

type UnsafeMarketingServiceServer

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

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

Jump to

Keyboard shortcuts

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