v1

package
v1.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Subscribe_CreateSubscribe_FullMethodName              = "/api.admin.subscribe.v1.Subscribe/CreateSubscribe"
	Subscribe_UpdateSubscribe_FullMethodName              = "/api.admin.subscribe.v1.Subscribe/UpdateSubscribe"
	Subscribe_DeleteSubscribe_FullMethodName              = "/api.admin.subscribe.v1.Subscribe/DeleteSubscribe"
	Subscribe_BatchDeleteSubscribe_FullMethodName         = "/api.admin.subscribe.v1.Subscribe/BatchDeleteSubscribe"
	Subscribe_GetSubscribeDetails_FullMethodName          = "/api.admin.subscribe.v1.Subscribe/GetSubscribeDetails"
	Subscribe_GetSubscribeList_FullMethodName             = "/api.admin.subscribe.v1.Subscribe/GetSubscribeList"
	Subscribe_SubscribeSort_FullMethodName                = "/api.admin.subscribe.v1.Subscribe/SubscribeSort"
	Subscribe_CreateSubscribeCategory_FullMethodName      = "/api.admin.subscribe.v1.Subscribe/CreateSubscribeCategory"
	Subscribe_UpdateSubscribeCategory_FullMethodName      = "/api.admin.subscribe.v1.Subscribe/UpdateSubscribeCategory"
	Subscribe_DeleteSubscribeCategory_FullMethodName      = "/api.admin.subscribe.v1.Subscribe/DeleteSubscribeCategory"
	Subscribe_BatchDeleteSubscribeCategory_FullMethodName = "/api.admin.subscribe.v1.Subscribe/BatchDeleteSubscribeCategory"
	Subscribe_GetSubscribeCategoryList_FullMethodName     = "/api.admin.subscribe.v1.Subscribe/GetSubscribeCategoryList"
	Subscribe_CreateSubscribeGroup_FullMethodName         = "/api.admin.subscribe.v1.Subscribe/CreateSubscribeGroup"
	Subscribe_UpdateSubscribeGroup_FullMethodName         = "/api.admin.subscribe.v1.Subscribe/UpdateSubscribeGroup"
	Subscribe_DeleteSubscribeGroup_FullMethodName         = "/api.admin.subscribe.v1.Subscribe/DeleteSubscribeGroup"
	Subscribe_BatchDeleteSubscribeGroup_FullMethodName    = "/api.admin.subscribe.v1.Subscribe/BatchDeleteSubscribeGroup"
	Subscribe_GetSubscribeGroupList_FullMethodName        = "/api.admin.subscribe.v1.Subscribe/GetSubscribeGroupList"
	Subscribe_ResetAllSubscribeToken_FullMethodName       = "/api.admin.subscribe.v1.Subscribe/ResetAllSubscribeToken"
)
View Source
const OperationSubscribeBatchDeleteSubscribe = "/api.admin.subscribe.v1.Subscribe/BatchDeleteSubscribe"
View Source
const OperationSubscribeBatchDeleteSubscribeCategory = "/api.admin.subscribe.v1.Subscribe/BatchDeleteSubscribeCategory"
View Source
const OperationSubscribeBatchDeleteSubscribeGroup = "/api.admin.subscribe.v1.Subscribe/BatchDeleteSubscribeGroup"
View Source
const OperationSubscribeCreateSubscribe = "/api.admin.subscribe.v1.Subscribe/CreateSubscribe"
View Source
const OperationSubscribeCreateSubscribeCategory = "/api.admin.subscribe.v1.Subscribe/CreateSubscribeCategory"
View Source
const OperationSubscribeCreateSubscribeGroup = "/api.admin.subscribe.v1.Subscribe/CreateSubscribeGroup"
View Source
const OperationSubscribeDeleteSubscribe = "/api.admin.subscribe.v1.Subscribe/DeleteSubscribe"
View Source
const OperationSubscribeDeleteSubscribeCategory = "/api.admin.subscribe.v1.Subscribe/DeleteSubscribeCategory"
View Source
const OperationSubscribeDeleteSubscribeGroup = "/api.admin.subscribe.v1.Subscribe/DeleteSubscribeGroup"
View Source
const OperationSubscribeGetSubscribeCategoryList = "/api.admin.subscribe.v1.Subscribe/GetSubscribeCategoryList"
View Source
const OperationSubscribeGetSubscribeDetails = "/api.admin.subscribe.v1.Subscribe/GetSubscribeDetails"
View Source
const OperationSubscribeGetSubscribeGroupList = "/api.admin.subscribe.v1.Subscribe/GetSubscribeGroupList"
View Source
const OperationSubscribeGetSubscribeList = "/api.admin.subscribe.v1.Subscribe/GetSubscribeList"
View Source
const OperationSubscribeResetAllSubscribeToken = "/api.admin.subscribe.v1.Subscribe/ResetAllSubscribeToken"
View Source
const OperationSubscribeSubscribeSort = "/api.admin.subscribe.v1.Subscribe/SubscribeSort"
View Source
const OperationSubscribeUpdateSubscribe = "/api.admin.subscribe.v1.Subscribe/UpdateSubscribe"
View Source
const OperationSubscribeUpdateSubscribeCategory = "/api.admin.subscribe.v1.Subscribe/UpdateSubscribeCategory"
View Source
const OperationSubscribeUpdateSubscribeGroup = "/api.admin.subscribe.v1.Subscribe/UpdateSubscribeGroup"

Variables

View Source
var File_admin_subscribe_v1_subscribe_proto protoreflect.FileDescriptor
View Source
var Subscribe_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.subscribe.v1.Subscribe",
	HandlerType: (*SubscribeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSubscribe",
			Handler:    _Subscribe_CreateSubscribe_Handler,
		},
		{
			MethodName: "UpdateSubscribe",
			Handler:    _Subscribe_UpdateSubscribe_Handler,
		},
		{
			MethodName: "DeleteSubscribe",
			Handler:    _Subscribe_DeleteSubscribe_Handler,
		},
		{
			MethodName: "BatchDeleteSubscribe",
			Handler:    _Subscribe_BatchDeleteSubscribe_Handler,
		},
		{
			MethodName: "GetSubscribeDetails",
			Handler:    _Subscribe_GetSubscribeDetails_Handler,
		},
		{
			MethodName: "GetSubscribeList",
			Handler:    _Subscribe_GetSubscribeList_Handler,
		},
		{
			MethodName: "SubscribeSort",
			Handler:    _Subscribe_SubscribeSort_Handler,
		},
		{
			MethodName: "CreateSubscribeCategory",
			Handler:    _Subscribe_CreateSubscribeCategory_Handler,
		},
		{
			MethodName: "UpdateSubscribeCategory",
			Handler:    _Subscribe_UpdateSubscribeCategory_Handler,
		},
		{
			MethodName: "DeleteSubscribeCategory",
			Handler:    _Subscribe_DeleteSubscribeCategory_Handler,
		},
		{
			MethodName: "BatchDeleteSubscribeCategory",
			Handler:    _Subscribe_BatchDeleteSubscribeCategory_Handler,
		},
		{
			MethodName: "GetSubscribeCategoryList",
			Handler:    _Subscribe_GetSubscribeCategoryList_Handler,
		},
		{
			MethodName: "CreateSubscribeGroup",
			Handler:    _Subscribe_CreateSubscribeGroup_Handler,
		},
		{
			MethodName: "UpdateSubscribeGroup",
			Handler:    _Subscribe_UpdateSubscribeGroup_Handler,
		},
		{
			MethodName: "DeleteSubscribeGroup",
			Handler:    _Subscribe_DeleteSubscribeGroup_Handler,
		},
		{
			MethodName: "BatchDeleteSubscribeGroup",
			Handler:    _Subscribe_BatchDeleteSubscribeGroup_Handler,
		},
		{
			MethodName: "GetSubscribeGroupList",
			Handler:    _Subscribe_GetSubscribeGroupList_Handler,
		},
		{
			MethodName: "ResetAllSubscribeToken",
			Handler:    _Subscribe_ResetAllSubscribeToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "admin/subscribe/v1/subscribe.proto",
}

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

Functions

func RegisterSubscribeHTTPServer

func RegisterSubscribeHTTPServer(s *http.Server, srv SubscribeHTTPServer)

func RegisterSubscribeServer

func RegisterSubscribeServer(s grpc.ServiceRegistrar, srv SubscribeServer)

Types

type BatchDeleteSubscribeCategoryData added in v1.0.9

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

func (*BatchDeleteSubscribeCategoryData) Descriptor deprecated added in v1.0.9

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

Deprecated: Use BatchDeleteSubscribeCategoryData.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeCategoryData) GetSuccess added in v1.0.9

func (x *BatchDeleteSubscribeCategoryData) GetSuccess() bool

func (*BatchDeleteSubscribeCategoryData) ProtoMessage added in v1.0.9

func (*BatchDeleteSubscribeCategoryData) ProtoMessage()

func (*BatchDeleteSubscribeCategoryData) ProtoReflect added in v1.0.9

func (*BatchDeleteSubscribeCategoryData) Reset added in v1.0.9

func (*BatchDeleteSubscribeCategoryData) String added in v1.0.9

func (*BatchDeleteSubscribeCategoryData) Validate added in v1.0.9

Validate checks the field values on BatchDeleteSubscribeCategoryData 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 (*BatchDeleteSubscribeCategoryData) ValidateAll added in v1.0.9

func (m *BatchDeleteSubscribeCategoryData) ValidateAll() error

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

type BatchDeleteSubscribeCategoryDataMultiError added in v1.0.9

type BatchDeleteSubscribeCategoryDataMultiError []error

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

func (BatchDeleteSubscribeCategoryDataMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeCategoryDataMultiError) Error added in v1.0.9

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

type BatchDeleteSubscribeCategoryDataValidationError added in v1.0.9

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

BatchDeleteSubscribeCategoryDataValidationError is the validation error returned by BatchDeleteSubscribeCategoryData.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeCategoryDataValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (BatchDeleteSubscribeCategoryDataValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (BatchDeleteSubscribeCategoryDataValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (BatchDeleteSubscribeCategoryDataValidationError) Field added in v1.0.9

Field function returns field value.

func (BatchDeleteSubscribeCategoryDataValidationError) Key added in v1.0.9

Key function returns key value.

func (BatchDeleteSubscribeCategoryDataValidationError) Reason added in v1.0.9

Reason function returns reason value.

type BatchDeleteSubscribeCategoryReply added in v1.0.9

type BatchDeleteSubscribeCategoryReply 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    *BatchDeleteSubscribeCategoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchDeleteSubscribeCategoryReply) Descriptor deprecated added in v1.0.9

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

Deprecated: Use BatchDeleteSubscribeCategoryReply.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeCategoryReply) GetCode added in v1.0.9

func (*BatchDeleteSubscribeCategoryReply) GetData added in v1.0.9

func (*BatchDeleteSubscribeCategoryReply) GetMessage added in v1.0.9

func (x *BatchDeleteSubscribeCategoryReply) GetMessage() string

func (*BatchDeleteSubscribeCategoryReply) ProtoMessage added in v1.0.9

func (*BatchDeleteSubscribeCategoryReply) ProtoMessage()

func (*BatchDeleteSubscribeCategoryReply) ProtoReflect added in v1.0.9

func (*BatchDeleteSubscribeCategoryReply) Reset added in v1.0.9

func (*BatchDeleteSubscribeCategoryReply) String added in v1.0.9

func (*BatchDeleteSubscribeCategoryReply) Validate added in v1.0.9

Validate checks the field values on BatchDeleteSubscribeCategoryReply 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 (*BatchDeleteSubscribeCategoryReply) ValidateAll added in v1.0.9

func (m *BatchDeleteSubscribeCategoryReply) ValidateAll() error

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

type BatchDeleteSubscribeCategoryReplyMultiError added in v1.0.9

type BatchDeleteSubscribeCategoryReplyMultiError []error

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

func (BatchDeleteSubscribeCategoryReplyMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeCategoryReplyMultiError) Error added in v1.0.9

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

type BatchDeleteSubscribeCategoryReplyValidationError added in v1.0.9

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

BatchDeleteSubscribeCategoryReplyValidationError is the validation error returned by BatchDeleteSubscribeCategoryReply.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeCategoryReplyValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (BatchDeleteSubscribeCategoryReplyValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (BatchDeleteSubscribeCategoryReplyValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (BatchDeleteSubscribeCategoryReplyValidationError) Field added in v1.0.9

Field function returns field value.

func (BatchDeleteSubscribeCategoryReplyValidationError) Key added in v1.0.9

Key function returns key value.

func (BatchDeleteSubscribeCategoryReplyValidationError) Reason added in v1.0.9

Reason function returns reason value.

type BatchDeleteSubscribeCategoryRequest added in v1.0.9

type BatchDeleteSubscribeCategoryRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 商品分类ID列表
	// contains filtered or unexported fields
}

func (*BatchDeleteSubscribeCategoryRequest) Descriptor deprecated added in v1.0.9

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

Deprecated: Use BatchDeleteSubscribeCategoryRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeCategoryRequest) GetIds added in v1.0.9

func (*BatchDeleteSubscribeCategoryRequest) ProtoMessage added in v1.0.9

func (*BatchDeleteSubscribeCategoryRequest) ProtoMessage()

func (*BatchDeleteSubscribeCategoryRequest) ProtoReflect added in v1.0.9

func (*BatchDeleteSubscribeCategoryRequest) Reset added in v1.0.9

func (*BatchDeleteSubscribeCategoryRequest) String added in v1.0.9

func (*BatchDeleteSubscribeCategoryRequest) Validate added in v1.0.9

Validate checks the field values on BatchDeleteSubscribeCategoryRequest 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 (*BatchDeleteSubscribeCategoryRequest) ValidateAll added in v1.0.9

func (m *BatchDeleteSubscribeCategoryRequest) ValidateAll() error

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

type BatchDeleteSubscribeCategoryRequestMultiError added in v1.0.9

type BatchDeleteSubscribeCategoryRequestMultiError []error

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

func (BatchDeleteSubscribeCategoryRequestMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeCategoryRequestMultiError) Error added in v1.0.9

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

type BatchDeleteSubscribeCategoryRequestValidationError added in v1.0.9

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

BatchDeleteSubscribeCategoryRequestValidationError is the validation error returned by BatchDeleteSubscribeCategoryRequest.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeCategoryRequestValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (BatchDeleteSubscribeCategoryRequestValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (BatchDeleteSubscribeCategoryRequestValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (BatchDeleteSubscribeCategoryRequestValidationError) Field added in v1.0.9

Field function returns field value.

func (BatchDeleteSubscribeCategoryRequestValidationError) Key added in v1.0.9

Key function returns key value.

func (BatchDeleteSubscribeCategoryRequestValidationError) Reason added in v1.0.9

Reason function returns reason value.

type BatchDeleteSubscribeData

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

BatchDeleteSubscribeData 批量删除订阅套餐数据

func (*BatchDeleteSubscribeData) Descriptor deprecated

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

Deprecated: Use BatchDeleteSubscribeData.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeData) GetSuccess

func (x *BatchDeleteSubscribeData) GetSuccess() bool

func (*BatchDeleteSubscribeData) ProtoMessage

func (*BatchDeleteSubscribeData) ProtoMessage()

func (*BatchDeleteSubscribeData) ProtoReflect

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

func (*BatchDeleteSubscribeData) Reset

func (x *BatchDeleteSubscribeData) Reset()

func (*BatchDeleteSubscribeData) String

func (x *BatchDeleteSubscribeData) String() string

func (*BatchDeleteSubscribeData) Validate

func (m *BatchDeleteSubscribeData) Validate() error

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

func (m *BatchDeleteSubscribeData) ValidateAll() error

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

type BatchDeleteSubscribeDataMultiError

type BatchDeleteSubscribeDataMultiError []error

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

func (BatchDeleteSubscribeDataMultiError) AllErrors

func (m BatchDeleteSubscribeDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeDataMultiError) Error

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

type BatchDeleteSubscribeDataValidationError

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

BatchDeleteSubscribeDataValidationError is the validation error returned by BatchDeleteSubscribeData.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeDataValidationError) Cause

Cause function returns cause value.

func (BatchDeleteSubscribeDataValidationError) Error

Error satisfies the builtin error interface

func (BatchDeleteSubscribeDataValidationError) ErrorName

ErrorName returns error name.

func (BatchDeleteSubscribeDataValidationError) Field

Field function returns field value.

func (BatchDeleteSubscribeDataValidationError) Key

Key function returns key value.

func (BatchDeleteSubscribeDataValidationError) Reason

Reason function returns reason value.

type BatchDeleteSubscribeGroupData

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

BatchDeleteSubscribeGroupData 批量删除订阅组数据

func (*BatchDeleteSubscribeGroupData) Descriptor deprecated

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

Deprecated: Use BatchDeleteSubscribeGroupData.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeGroupData) GetSuccess

func (x *BatchDeleteSubscribeGroupData) GetSuccess() bool

func (*BatchDeleteSubscribeGroupData) ProtoMessage

func (*BatchDeleteSubscribeGroupData) ProtoMessage()

func (*BatchDeleteSubscribeGroupData) ProtoReflect

func (*BatchDeleteSubscribeGroupData) Reset

func (x *BatchDeleteSubscribeGroupData) Reset()

func (*BatchDeleteSubscribeGroupData) String

func (*BatchDeleteSubscribeGroupData) Validate

func (m *BatchDeleteSubscribeGroupData) Validate() error

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

func (m *BatchDeleteSubscribeGroupData) ValidateAll() error

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

type BatchDeleteSubscribeGroupDataMultiError

type BatchDeleteSubscribeGroupDataMultiError []error

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

func (BatchDeleteSubscribeGroupDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeGroupDataMultiError) Error

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

type BatchDeleteSubscribeGroupDataValidationError

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

BatchDeleteSubscribeGroupDataValidationError is the validation error returned by BatchDeleteSubscribeGroupData.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeGroupDataValidationError) Cause

Cause function returns cause value.

func (BatchDeleteSubscribeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (BatchDeleteSubscribeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (BatchDeleteSubscribeGroupDataValidationError) Field

Field function returns field value.

func (BatchDeleteSubscribeGroupDataValidationError) Key

Key function returns key value.

func (BatchDeleteSubscribeGroupDataValidationError) Reason

Reason function returns reason value.

type BatchDeleteSubscribeGroupReply

type BatchDeleteSubscribeGroupReply 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    *BatchDeleteSubscribeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

BatchDeleteSubscribeGroupReply 批量删除订阅组响应

func (*BatchDeleteSubscribeGroupReply) Descriptor deprecated

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

Deprecated: Use BatchDeleteSubscribeGroupReply.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeGroupReply) GetCode

func (*BatchDeleteSubscribeGroupReply) GetData

func (*BatchDeleteSubscribeGroupReply) GetMessage

func (x *BatchDeleteSubscribeGroupReply) GetMessage() string

func (*BatchDeleteSubscribeGroupReply) ProtoMessage

func (*BatchDeleteSubscribeGroupReply) ProtoMessage()

func (*BatchDeleteSubscribeGroupReply) ProtoReflect

func (*BatchDeleteSubscribeGroupReply) Reset

func (x *BatchDeleteSubscribeGroupReply) Reset()

func (*BatchDeleteSubscribeGroupReply) String

func (*BatchDeleteSubscribeGroupReply) Validate

func (m *BatchDeleteSubscribeGroupReply) Validate() error

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

func (m *BatchDeleteSubscribeGroupReply) ValidateAll() error

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

type BatchDeleteSubscribeGroupReplyMultiError

type BatchDeleteSubscribeGroupReplyMultiError []error

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

func (BatchDeleteSubscribeGroupReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeGroupReplyMultiError) Error

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

type BatchDeleteSubscribeGroupReplyValidationError

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

BatchDeleteSubscribeGroupReplyValidationError is the validation error returned by BatchDeleteSubscribeGroupReply.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeGroupReplyValidationError) Cause

Cause function returns cause value.

func (BatchDeleteSubscribeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (BatchDeleteSubscribeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (BatchDeleteSubscribeGroupReplyValidationError) Field

Field function returns field value.

func (BatchDeleteSubscribeGroupReplyValidationError) Key

Key function returns key value.

func (BatchDeleteSubscribeGroupReplyValidationError) Reason

Reason function returns reason value.

type BatchDeleteSubscribeGroupRequest

type BatchDeleteSubscribeGroupRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 订阅组ID列表
	// contains filtered or unexported fields
}

BatchDeleteSubscribeGroupRequest 批量删除订阅组请求

func (*BatchDeleteSubscribeGroupRequest) Descriptor deprecated

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

Deprecated: Use BatchDeleteSubscribeGroupRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeGroupRequest) GetIds

func (*BatchDeleteSubscribeGroupRequest) ProtoMessage

func (*BatchDeleteSubscribeGroupRequest) ProtoMessage()

func (*BatchDeleteSubscribeGroupRequest) ProtoReflect

func (*BatchDeleteSubscribeGroupRequest) Reset

func (*BatchDeleteSubscribeGroupRequest) String

func (*BatchDeleteSubscribeGroupRequest) Validate

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

func (m *BatchDeleteSubscribeGroupRequest) ValidateAll() error

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

type BatchDeleteSubscribeGroupRequestMultiError

type BatchDeleteSubscribeGroupRequestMultiError []error

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

func (BatchDeleteSubscribeGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeGroupRequestMultiError) Error

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

type BatchDeleteSubscribeGroupRequestValidationError

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

BatchDeleteSubscribeGroupRequestValidationError is the validation error returned by BatchDeleteSubscribeGroupRequest.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeGroupRequestValidationError) Cause

Cause function returns cause value.

func (BatchDeleteSubscribeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (BatchDeleteSubscribeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (BatchDeleteSubscribeGroupRequestValidationError) Field

Field function returns field value.

func (BatchDeleteSubscribeGroupRequestValidationError) Key

Key function returns key value.

func (BatchDeleteSubscribeGroupRequestValidationError) Reason

Reason function returns reason value.

type BatchDeleteSubscribeReply

type BatchDeleteSubscribeReply 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    *BatchDeleteSubscribeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

BatchDeleteSubscribeReply 批量删除订阅套餐响应

func (*BatchDeleteSubscribeReply) Descriptor deprecated

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

Deprecated: Use BatchDeleteSubscribeReply.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeReply) GetCode

func (x *BatchDeleteSubscribeReply) GetCode() int32

func (*BatchDeleteSubscribeReply) GetData

func (*BatchDeleteSubscribeReply) GetMessage

func (x *BatchDeleteSubscribeReply) GetMessage() string

func (*BatchDeleteSubscribeReply) ProtoMessage

func (*BatchDeleteSubscribeReply) ProtoMessage()

func (*BatchDeleteSubscribeReply) ProtoReflect

func (*BatchDeleteSubscribeReply) Reset

func (x *BatchDeleteSubscribeReply) Reset()

func (*BatchDeleteSubscribeReply) String

func (x *BatchDeleteSubscribeReply) String() string

func (*BatchDeleteSubscribeReply) Validate

func (m *BatchDeleteSubscribeReply) Validate() error

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

func (m *BatchDeleteSubscribeReply) ValidateAll() error

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

type BatchDeleteSubscribeReplyMultiError

type BatchDeleteSubscribeReplyMultiError []error

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

func (BatchDeleteSubscribeReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeReplyMultiError) Error

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

type BatchDeleteSubscribeReplyValidationError

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

BatchDeleteSubscribeReplyValidationError is the validation error returned by BatchDeleteSubscribeReply.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeReplyValidationError) Cause

Cause function returns cause value.

func (BatchDeleteSubscribeReplyValidationError) Error

Error satisfies the builtin error interface

func (BatchDeleteSubscribeReplyValidationError) ErrorName

ErrorName returns error name.

func (BatchDeleteSubscribeReplyValidationError) Field

Field function returns field value.

func (BatchDeleteSubscribeReplyValidationError) Key

Key function returns key value.

func (BatchDeleteSubscribeReplyValidationError) Reason

Reason function returns reason value.

type BatchDeleteSubscribeRequest

type BatchDeleteSubscribeRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 订阅套餐ID列表
	// contains filtered or unexported fields
}

BatchDeleteSubscribeRequest 批量删除订阅套餐请求

func (*BatchDeleteSubscribeRequest) Descriptor deprecated

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

Deprecated: Use BatchDeleteSubscribeRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteSubscribeRequest) GetIds

func (x *BatchDeleteSubscribeRequest) GetIds() []int64

func (*BatchDeleteSubscribeRequest) ProtoMessage

func (*BatchDeleteSubscribeRequest) ProtoMessage()

func (*BatchDeleteSubscribeRequest) ProtoReflect

func (*BatchDeleteSubscribeRequest) Reset

func (x *BatchDeleteSubscribeRequest) Reset()

func (*BatchDeleteSubscribeRequest) String

func (x *BatchDeleteSubscribeRequest) String() string

func (*BatchDeleteSubscribeRequest) Validate

func (m *BatchDeleteSubscribeRequest) Validate() error

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

func (m *BatchDeleteSubscribeRequest) ValidateAll() error

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

type BatchDeleteSubscribeRequestMultiError

type BatchDeleteSubscribeRequestMultiError []error

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

func (BatchDeleteSubscribeRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchDeleteSubscribeRequestMultiError) Error

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

type BatchDeleteSubscribeRequestValidationError

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

BatchDeleteSubscribeRequestValidationError is the validation error returned by BatchDeleteSubscribeRequest.Validate if the designated constraints aren't met.

func (BatchDeleteSubscribeRequestValidationError) Cause

Cause function returns cause value.

func (BatchDeleteSubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (BatchDeleteSubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (BatchDeleteSubscribeRequestValidationError) Field

Field function returns field value.

func (BatchDeleteSubscribeRequestValidationError) Key

Key function returns key value.

func (BatchDeleteSubscribeRequestValidationError) Reason

Reason function returns reason value.

type CreateSubscribeCategoryData added in v1.0.9

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

func (*CreateSubscribeCategoryData) Descriptor deprecated added in v1.0.9

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

Deprecated: Use CreateSubscribeCategoryData.ProtoReflect.Descriptor instead.

func (*CreateSubscribeCategoryData) GetSuccess added in v1.0.9

func (x *CreateSubscribeCategoryData) GetSuccess() bool

func (*CreateSubscribeCategoryData) ProtoMessage added in v1.0.9

func (*CreateSubscribeCategoryData) ProtoMessage()

func (*CreateSubscribeCategoryData) ProtoReflect added in v1.0.9

func (*CreateSubscribeCategoryData) Reset added in v1.0.9

func (x *CreateSubscribeCategoryData) Reset()

func (*CreateSubscribeCategoryData) String added in v1.0.9

func (x *CreateSubscribeCategoryData) String() string

func (*CreateSubscribeCategoryData) Validate added in v1.0.9

func (m *CreateSubscribeCategoryData) Validate() error

Validate checks the field values on CreateSubscribeCategoryData 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 (*CreateSubscribeCategoryData) ValidateAll added in v1.0.9

func (m *CreateSubscribeCategoryData) ValidateAll() error

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

type CreateSubscribeCategoryDataMultiError added in v1.0.9

type CreateSubscribeCategoryDataMultiError []error

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

func (CreateSubscribeCategoryDataMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (CreateSubscribeCategoryDataMultiError) Error added in v1.0.9

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

type CreateSubscribeCategoryDataValidationError added in v1.0.9

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

CreateSubscribeCategoryDataValidationError is the validation error returned by CreateSubscribeCategoryData.Validate if the designated constraints aren't met.

func (CreateSubscribeCategoryDataValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (CreateSubscribeCategoryDataValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (CreateSubscribeCategoryDataValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (CreateSubscribeCategoryDataValidationError) Field added in v1.0.9

Field function returns field value.

func (CreateSubscribeCategoryDataValidationError) Key added in v1.0.9

Key function returns key value.

func (CreateSubscribeCategoryDataValidationError) Reason added in v1.0.9

Reason function returns reason value.

type CreateSubscribeCategoryReply added in v1.0.9

type CreateSubscribeCategoryReply 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    *CreateSubscribeCategoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSubscribeCategoryReply) Descriptor deprecated added in v1.0.9

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

Deprecated: Use CreateSubscribeCategoryReply.ProtoReflect.Descriptor instead.

func (*CreateSubscribeCategoryReply) GetCode added in v1.0.9

func (x *CreateSubscribeCategoryReply) GetCode() int32

func (*CreateSubscribeCategoryReply) GetData added in v1.0.9

func (*CreateSubscribeCategoryReply) GetMessage added in v1.0.9

func (x *CreateSubscribeCategoryReply) GetMessage() string

func (*CreateSubscribeCategoryReply) ProtoMessage added in v1.0.9

func (*CreateSubscribeCategoryReply) ProtoMessage()

func (*CreateSubscribeCategoryReply) ProtoReflect added in v1.0.9

func (*CreateSubscribeCategoryReply) Reset added in v1.0.9

func (x *CreateSubscribeCategoryReply) Reset()

func (*CreateSubscribeCategoryReply) String added in v1.0.9

func (*CreateSubscribeCategoryReply) Validate added in v1.0.9

func (m *CreateSubscribeCategoryReply) Validate() error

Validate checks the field values on CreateSubscribeCategoryReply 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 (*CreateSubscribeCategoryReply) ValidateAll added in v1.0.9

func (m *CreateSubscribeCategoryReply) ValidateAll() error

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

type CreateSubscribeCategoryReplyMultiError added in v1.0.9

type CreateSubscribeCategoryReplyMultiError []error

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

func (CreateSubscribeCategoryReplyMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (CreateSubscribeCategoryReplyMultiError) Error added in v1.0.9

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

type CreateSubscribeCategoryReplyValidationError added in v1.0.9

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

CreateSubscribeCategoryReplyValidationError is the validation error returned by CreateSubscribeCategoryReply.Validate if the designated constraints aren't met.

func (CreateSubscribeCategoryReplyValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (CreateSubscribeCategoryReplyValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (CreateSubscribeCategoryReplyValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (CreateSubscribeCategoryReplyValidationError) Field added in v1.0.9

Field function returns field value.

func (CreateSubscribeCategoryReplyValidationError) Key added in v1.0.9

Key function returns key value.

func (CreateSubscribeCategoryReplyValidationError) Reason added in v1.0.9

Reason function returns reason value.

type CreateSubscribeCategoryRequest added in v1.0.9

type CreateSubscribeCategoryRequest struct {
	ParentId    int64  `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父分类ID
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                          // 分类名称
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`            // 分类描述
	Language    string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`                  // 语言
	Show        *bool  `protobuf:"varint,5,opt,name=show,proto3,oneof" json:"show,omitempty"`                   // 是否显示
	Sort        int32  `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`                         // 排序
	// contains filtered or unexported fields
}

CreateSubscribeCategoryRequest 创建商品分类请求

func (*CreateSubscribeCategoryRequest) Descriptor deprecated added in v1.0.9

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

Deprecated: Use CreateSubscribeCategoryRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscribeCategoryRequest) GetDescription added in v1.0.9

func (x *CreateSubscribeCategoryRequest) GetDescription() string

func (*CreateSubscribeCategoryRequest) GetLanguage added in v1.0.9

func (x *CreateSubscribeCategoryRequest) GetLanguage() string

func (*CreateSubscribeCategoryRequest) GetName added in v1.0.9

func (*CreateSubscribeCategoryRequest) GetParentId added in v1.0.9

func (x *CreateSubscribeCategoryRequest) GetParentId() int64

func (*CreateSubscribeCategoryRequest) GetShow added in v1.0.9

func (x *CreateSubscribeCategoryRequest) GetShow() bool

func (*CreateSubscribeCategoryRequest) GetSort added in v1.0.9

func (*CreateSubscribeCategoryRequest) ProtoMessage added in v1.0.9

func (*CreateSubscribeCategoryRequest) ProtoMessage()

func (*CreateSubscribeCategoryRequest) ProtoReflect added in v1.0.9

func (*CreateSubscribeCategoryRequest) Reset added in v1.0.9

func (x *CreateSubscribeCategoryRequest) Reset()

func (*CreateSubscribeCategoryRequest) String added in v1.0.9

func (*CreateSubscribeCategoryRequest) Validate added in v1.0.9

func (m *CreateSubscribeCategoryRequest) Validate() error

Validate checks the field values on CreateSubscribeCategoryRequest 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 (*CreateSubscribeCategoryRequest) ValidateAll added in v1.0.9

func (m *CreateSubscribeCategoryRequest) ValidateAll() error

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

type CreateSubscribeCategoryRequestMultiError added in v1.0.9

type CreateSubscribeCategoryRequestMultiError []error

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

func (CreateSubscribeCategoryRequestMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (CreateSubscribeCategoryRequestMultiError) Error added in v1.0.9

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

type CreateSubscribeCategoryRequestValidationError added in v1.0.9

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

CreateSubscribeCategoryRequestValidationError is the validation error returned by CreateSubscribeCategoryRequest.Validate if the designated constraints aren't met.

func (CreateSubscribeCategoryRequestValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (CreateSubscribeCategoryRequestValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (CreateSubscribeCategoryRequestValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (CreateSubscribeCategoryRequestValidationError) Field added in v1.0.9

Field function returns field value.

func (CreateSubscribeCategoryRequestValidationError) Key added in v1.0.9

Key function returns key value.

func (CreateSubscribeCategoryRequestValidationError) Reason added in v1.0.9

Reason function returns reason value.

type CreateSubscribeData

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

CreateSubscribeData 创建订阅套餐数据

func (*CreateSubscribeData) Descriptor deprecated

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

Deprecated: Use CreateSubscribeData.ProtoReflect.Descriptor instead.

func (*CreateSubscribeData) GetSuccess

func (x *CreateSubscribeData) GetSuccess() bool

func (*CreateSubscribeData) ProtoMessage

func (*CreateSubscribeData) ProtoMessage()

func (*CreateSubscribeData) ProtoReflect

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

func (*CreateSubscribeData) Reset

func (x *CreateSubscribeData) Reset()

func (*CreateSubscribeData) String

func (x *CreateSubscribeData) String() string

func (*CreateSubscribeData) Validate

func (m *CreateSubscribeData) Validate() error

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

func (m *CreateSubscribeData) ValidateAll() error

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

type CreateSubscribeDataMultiError

type CreateSubscribeDataMultiError []error

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

func (CreateSubscribeDataMultiError) AllErrors

func (m CreateSubscribeDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSubscribeDataMultiError) Error

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

type CreateSubscribeDataValidationError

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

CreateSubscribeDataValidationError is the validation error returned by CreateSubscribeData.Validate if the designated constraints aren't met.

func (CreateSubscribeDataValidationError) Cause

Cause function returns cause value.

func (CreateSubscribeDataValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscribeDataValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscribeDataValidationError) Field

Field function returns field value.

func (CreateSubscribeDataValidationError) Key

Key function returns key value.

func (CreateSubscribeDataValidationError) Reason

Reason function returns reason value.

type CreateSubscribeGroupData

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

CreateSubscribeGroupData 创建订阅组数据

func (*CreateSubscribeGroupData) Descriptor deprecated

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

Deprecated: Use CreateSubscribeGroupData.ProtoReflect.Descriptor instead.

func (*CreateSubscribeGroupData) GetSuccess

func (x *CreateSubscribeGroupData) GetSuccess() bool

func (*CreateSubscribeGroupData) ProtoMessage

func (*CreateSubscribeGroupData) ProtoMessage()

func (*CreateSubscribeGroupData) ProtoReflect

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

func (*CreateSubscribeGroupData) Reset

func (x *CreateSubscribeGroupData) Reset()

func (*CreateSubscribeGroupData) String

func (x *CreateSubscribeGroupData) String() string

func (*CreateSubscribeGroupData) Validate

func (m *CreateSubscribeGroupData) Validate() error

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

func (m *CreateSubscribeGroupData) ValidateAll() error

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

type CreateSubscribeGroupDataMultiError

type CreateSubscribeGroupDataMultiError []error

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

func (CreateSubscribeGroupDataMultiError) AllErrors

func (m CreateSubscribeGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSubscribeGroupDataMultiError) Error

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

type CreateSubscribeGroupDataValidationError

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

CreateSubscribeGroupDataValidationError is the validation error returned by CreateSubscribeGroupData.Validate if the designated constraints aren't met.

func (CreateSubscribeGroupDataValidationError) Cause

Cause function returns cause value.

func (CreateSubscribeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscribeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscribeGroupDataValidationError) Field

Field function returns field value.

func (CreateSubscribeGroupDataValidationError) Key

Key function returns key value.

func (CreateSubscribeGroupDataValidationError) Reason

Reason function returns reason value.

type CreateSubscribeGroupReply

type CreateSubscribeGroupReply 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    *CreateSubscribeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

CreateSubscribeGroupReply 创建订阅组响应

func (*CreateSubscribeGroupReply) Descriptor deprecated

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

Deprecated: Use CreateSubscribeGroupReply.ProtoReflect.Descriptor instead.

func (*CreateSubscribeGroupReply) GetCode

func (x *CreateSubscribeGroupReply) GetCode() int32

func (*CreateSubscribeGroupReply) GetData

func (*CreateSubscribeGroupReply) GetMessage

func (x *CreateSubscribeGroupReply) GetMessage() string

func (*CreateSubscribeGroupReply) ProtoMessage

func (*CreateSubscribeGroupReply) ProtoMessage()

func (*CreateSubscribeGroupReply) ProtoReflect

func (*CreateSubscribeGroupReply) Reset

func (x *CreateSubscribeGroupReply) Reset()

func (*CreateSubscribeGroupReply) String

func (x *CreateSubscribeGroupReply) String() string

func (*CreateSubscribeGroupReply) Validate

func (m *CreateSubscribeGroupReply) Validate() error

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

func (m *CreateSubscribeGroupReply) ValidateAll() error

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

type CreateSubscribeGroupReplyMultiError

type CreateSubscribeGroupReplyMultiError []error

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

func (CreateSubscribeGroupReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateSubscribeGroupReplyMultiError) Error

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

type CreateSubscribeGroupReplyValidationError

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

CreateSubscribeGroupReplyValidationError is the validation error returned by CreateSubscribeGroupReply.Validate if the designated constraints aren't met.

func (CreateSubscribeGroupReplyValidationError) Cause

Cause function returns cause value.

func (CreateSubscribeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscribeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscribeGroupReplyValidationError) Field

Field function returns field value.

func (CreateSubscribeGroupReplyValidationError) Key

Key function returns key value.

func (CreateSubscribeGroupReplyValidationError) Reason

Reason function returns reason value.

type CreateSubscribeGroupRequest

type CreateSubscribeGroupRequest struct {
	Name                string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                               // 订阅组名称
	Description         string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`                                                 // 订阅组描述
	IsExpiredGroup      bool   `protobuf:"varint,3,opt,name=is_expired_group,json=isExpiredGroup,proto3" json:"is_expired_group,omitempty"`                  // 是否为过期组
	ExpiredDaysLimit    int64  `protobuf:"varint,4,opt,name=expired_days_limit,json=expiredDaysLimit,proto3" json:"expired_days_limit,omitempty"`            // 过期天数限制
	MaxTrafficGbExpired int64  `protobuf:"varint,5,opt,name=max_traffic_gb_expired,json=maxTrafficGbExpired,proto3" json:"max_traffic_gb_expired,omitempty"` // 过期后最大流量GB
	SpeedLimit          int32  `protobuf:"varint,6,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                                // 速度限制
	// contains filtered or unexported fields
}

CreateSubscribeGroupRequest 创建订阅组请求

func (*CreateSubscribeGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateSubscribeGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscribeGroupRequest) GetDescription

func (x *CreateSubscribeGroupRequest) GetDescription() string

func (*CreateSubscribeGroupRequest) GetExpiredDaysLimit

func (x *CreateSubscribeGroupRequest) GetExpiredDaysLimit() int64

func (*CreateSubscribeGroupRequest) GetIsExpiredGroup

func (x *CreateSubscribeGroupRequest) GetIsExpiredGroup() bool

func (*CreateSubscribeGroupRequest) GetMaxTrafficGbExpired

func (x *CreateSubscribeGroupRequest) GetMaxTrafficGbExpired() int64

func (*CreateSubscribeGroupRequest) GetName

func (x *CreateSubscribeGroupRequest) GetName() string

func (*CreateSubscribeGroupRequest) GetSpeedLimit

func (x *CreateSubscribeGroupRequest) GetSpeedLimit() int32

func (*CreateSubscribeGroupRequest) ProtoMessage

func (*CreateSubscribeGroupRequest) ProtoMessage()

func (*CreateSubscribeGroupRequest) ProtoReflect

func (*CreateSubscribeGroupRequest) Reset

func (x *CreateSubscribeGroupRequest) Reset()

func (*CreateSubscribeGroupRequest) String

func (x *CreateSubscribeGroupRequest) String() string

func (*CreateSubscribeGroupRequest) Validate

func (m *CreateSubscribeGroupRequest) Validate() error

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

func (m *CreateSubscribeGroupRequest) ValidateAll() error

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

type CreateSubscribeGroupRequestMultiError

type CreateSubscribeGroupRequestMultiError []error

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

func (CreateSubscribeGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateSubscribeGroupRequestMultiError) Error

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

type CreateSubscribeGroupRequestValidationError

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

CreateSubscribeGroupRequestValidationError is the validation error returned by CreateSubscribeGroupRequest.Validate if the designated constraints aren't met.

func (CreateSubscribeGroupRequestValidationError) Cause

Cause function returns cause value.

func (CreateSubscribeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscribeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscribeGroupRequestValidationError) Field

Field function returns field value.

func (CreateSubscribeGroupRequestValidationError) Key

Key function returns key value.

func (CreateSubscribeGroupRequestValidationError) Reason

Reason function returns reason value.

type CreateSubscribeReply

type CreateSubscribeReply 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    *CreateSubscribeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

CreateSubscribeReply 创建订阅套餐响应

func (*CreateSubscribeReply) Descriptor deprecated

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

Deprecated: Use CreateSubscribeReply.ProtoReflect.Descriptor instead.

func (*CreateSubscribeReply) GetCode

func (x *CreateSubscribeReply) GetCode() int32

func (*CreateSubscribeReply) GetData

func (*CreateSubscribeReply) GetMessage

func (x *CreateSubscribeReply) GetMessage() string

func (*CreateSubscribeReply) ProtoMessage

func (*CreateSubscribeReply) ProtoMessage()

func (*CreateSubscribeReply) ProtoReflect

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

func (*CreateSubscribeReply) Reset

func (x *CreateSubscribeReply) Reset()

func (*CreateSubscribeReply) String

func (x *CreateSubscribeReply) String() string

func (*CreateSubscribeReply) Validate

func (m *CreateSubscribeReply) Validate() error

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

func (m *CreateSubscribeReply) ValidateAll() error

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

type CreateSubscribeReplyMultiError

type CreateSubscribeReplyMultiError []error

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

func (CreateSubscribeReplyMultiError) AllErrors

func (m CreateSubscribeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSubscribeReplyMultiError) Error

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

type CreateSubscribeReplyValidationError

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

CreateSubscribeReplyValidationError is the validation error returned by CreateSubscribeReply.Validate if the designated constraints aren't met.

func (CreateSubscribeReplyValidationError) Cause

Cause function returns cause value.

func (CreateSubscribeReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscribeReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscribeReplyValidationError) Field

Field function returns field value.

func (CreateSubscribeReplyValidationError) Key

Key function returns key value.

func (CreateSubscribeReplyValidationError) Reason

Reason function returns reason value.

type CreateSubscribeRequest

type CreateSubscribeRequest struct {
	Name              string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                        // 订阅套餐名称
	Language          string                  `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`                                                // 语言
	Description       string                  `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                                          // 订阅套餐描述
	UnitPrice         int64                   `protobuf:"varint,4,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`                            // 单位价格(单位:分)
	UnitTime          string                  `protobuf:"bytes,5,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`                                // 单位时间
	Discount          []*SubscribeDiscount    `protobuf:"bytes,6,rep,name=discount,proto3" json:"discount,omitempty"`                                                // 折扣配置
	Replacement       int64                   `protobuf:"varint,7,opt,name=replacement,proto3" json:"replacement,omitempty"`                                         // 替换
	Inventory         int32                   `protobuf:"varint,8,opt,name=inventory,proto3" json:"inventory,omitempty"`                                             // 库存
	Traffic           int64                   `protobuf:"varint,9,opt,name=traffic,proto3" json:"traffic,omitempty"`                                                 // 流量(字节)
	SpeedLimit        int32                   `protobuf:"varint,10,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                        // 速度限制
	DeviceLimit       int32                   `protobuf:"varint,11,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`                     // 设备数限制
	Quota             int32                   `protobuf:"varint,12,opt,name=quota,proto3" json:"quota,omitempty"`                                                    // 配额
	CategoryId        int64                   `protobuf:"varint,27,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`                        // 商品分类ID
	Nodes             []int64                 `protobuf:"varint,13,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`                                             // 节点IDs
	NodeTags          []string                `protobuf:"bytes,14,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`                               // 节点标签
	NodeGroupIds      []int64                 `protobuf:"varint,15,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`         // 节点组IDs
	NodeGroupId       int64                   `protobuf:"varint,16,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`                   // 节点组ID
	TrafficLimit      []*TrafficLimit         `protobuf:"bytes,17,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`                   // 流量限制配置
	Show              *bool                   `protobuf:"varint,18,opt,name=show,proto3,oneof" json:"show,omitempty"`                                                // 是否在门户页面显示
	Sell              *bool                   `protobuf:"varint,19,opt,name=sell,proto3,oneof" json:"sell,omitempty"`                                                // 是否售卖
	Sort              int32                   `protobuf:"varint,20,opt,name=sort,proto3" json:"sort,omitempty"`                                                      // 排序
	DeductionRatio    int32                   `protobuf:"varint,21,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`            // 扣除比例
	AllowDeduction    *bool                   `protobuf:"varint,22,opt,name=allow_deduction,json=allowDeduction,proto3,oneof" json:"allow_deduction,omitempty"`      // 允许扣除
	ResetCycle        int32                   `protobuf:"varint,23,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`                        // 重置周期
	RenewalReset      *bool                   `protobuf:"varint,24,opt,name=renewal_reset,json=renewalReset,proto3,oneof" json:"renewal_reset,omitempty"`            // 续费重置
	ShowOriginalPrice bool                    `protobuf:"varint,25,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"` // 显示原价
	AutoCreateGroup   bool                    `protobuf:"varint,26,opt,name=auto_create_group,json=autoCreateGroup,proto3" json:"auto_create_group,omitempty"`       // 自动创建分组
	PriceOptions      []*SubscribePriceOption `protobuf:"bytes,28,rep,name=price_options,json=priceOptions,proto3" json:"price_options,omitempty"`                   // 商品价格档位
	// contains filtered or unexported fields
}

CreateSubscribeRequest 创建订阅套餐请求

func (*CreateSubscribeRequest) Descriptor deprecated

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

Deprecated: Use CreateSubscribeRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscribeRequest) GetAllowDeduction

func (x *CreateSubscribeRequest) GetAllowDeduction() bool

func (*CreateSubscribeRequest) GetAutoCreateGroup

func (x *CreateSubscribeRequest) GetAutoCreateGroup() bool

func (*CreateSubscribeRequest) GetCategoryId added in v1.0.9

func (x *CreateSubscribeRequest) GetCategoryId() int64

func (*CreateSubscribeRequest) GetDeductionRatio

func (x *CreateSubscribeRequest) GetDeductionRatio() int32

func (*CreateSubscribeRequest) GetDescription

func (x *CreateSubscribeRequest) GetDescription() string

func (*CreateSubscribeRequest) GetDeviceLimit

func (x *CreateSubscribeRequest) GetDeviceLimit() int32

func (*CreateSubscribeRequest) GetDiscount

func (x *CreateSubscribeRequest) GetDiscount() []*SubscribeDiscount

func (*CreateSubscribeRequest) GetInventory

func (x *CreateSubscribeRequest) GetInventory() int32

func (*CreateSubscribeRequest) GetLanguage

func (x *CreateSubscribeRequest) GetLanguage() string

func (*CreateSubscribeRequest) GetName

func (x *CreateSubscribeRequest) GetName() string

func (*CreateSubscribeRequest) GetNodeGroupId

func (x *CreateSubscribeRequest) GetNodeGroupId() int64

func (*CreateSubscribeRequest) GetNodeGroupIds

func (x *CreateSubscribeRequest) GetNodeGroupIds() []int64

func (*CreateSubscribeRequest) GetNodeTags

func (x *CreateSubscribeRequest) GetNodeTags() []string

func (*CreateSubscribeRequest) GetNodes

func (x *CreateSubscribeRequest) GetNodes() []int64

func (*CreateSubscribeRequest) GetPriceOptions added in v1.0.10

func (x *CreateSubscribeRequest) GetPriceOptions() []*SubscribePriceOption

func (*CreateSubscribeRequest) GetQuota

func (x *CreateSubscribeRequest) GetQuota() int32

func (*CreateSubscribeRequest) GetRenewalReset

func (x *CreateSubscribeRequest) GetRenewalReset() bool

func (*CreateSubscribeRequest) GetReplacement

func (x *CreateSubscribeRequest) GetReplacement() int64

func (*CreateSubscribeRequest) GetResetCycle

func (x *CreateSubscribeRequest) GetResetCycle() int32

func (*CreateSubscribeRequest) GetSell

func (x *CreateSubscribeRequest) GetSell() bool

func (*CreateSubscribeRequest) GetShow

func (x *CreateSubscribeRequest) GetShow() bool

func (*CreateSubscribeRequest) GetShowOriginalPrice

func (x *CreateSubscribeRequest) GetShowOriginalPrice() bool

func (*CreateSubscribeRequest) GetSort

func (x *CreateSubscribeRequest) GetSort() int32

func (*CreateSubscribeRequest) GetSpeedLimit

func (x *CreateSubscribeRequest) GetSpeedLimit() int32

func (*CreateSubscribeRequest) GetTraffic

func (x *CreateSubscribeRequest) GetTraffic() int64

func (*CreateSubscribeRequest) GetTrafficLimit

func (x *CreateSubscribeRequest) GetTrafficLimit() []*TrafficLimit

func (*CreateSubscribeRequest) GetUnitPrice

func (x *CreateSubscribeRequest) GetUnitPrice() int64

func (*CreateSubscribeRequest) GetUnitTime

func (x *CreateSubscribeRequest) GetUnitTime() string

func (*CreateSubscribeRequest) ProtoMessage

func (*CreateSubscribeRequest) ProtoMessage()

func (*CreateSubscribeRequest) ProtoReflect

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

func (*CreateSubscribeRequest) Reset

func (x *CreateSubscribeRequest) Reset()

func (*CreateSubscribeRequest) String

func (x *CreateSubscribeRequest) String() string

func (*CreateSubscribeRequest) Validate

func (m *CreateSubscribeRequest) Validate() error

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

func (m *CreateSubscribeRequest) ValidateAll() error

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

type CreateSubscribeRequestMultiError

type CreateSubscribeRequestMultiError []error

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

func (CreateSubscribeRequestMultiError) AllErrors

func (m CreateSubscribeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSubscribeRequestMultiError) Error

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

type CreateSubscribeRequestValidationError

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

CreateSubscribeRequestValidationError is the validation error returned by CreateSubscribeRequest.Validate if the designated constraints aren't met.

func (CreateSubscribeRequestValidationError) Cause

Cause function returns cause value.

func (CreateSubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscribeRequestValidationError) Field

Field function returns field value.

func (CreateSubscribeRequestValidationError) Key

Key function returns key value.

func (CreateSubscribeRequestValidationError) Reason

Reason function returns reason value.

type DeleteSubscribeCategoryData added in v1.0.9

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

func (*DeleteSubscribeCategoryData) Descriptor deprecated added in v1.0.9

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

Deprecated: Use DeleteSubscribeCategoryData.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeCategoryData) GetSuccess added in v1.0.9

func (x *DeleteSubscribeCategoryData) GetSuccess() bool

func (*DeleteSubscribeCategoryData) ProtoMessage added in v1.0.9

func (*DeleteSubscribeCategoryData) ProtoMessage()

func (*DeleteSubscribeCategoryData) ProtoReflect added in v1.0.9

func (*DeleteSubscribeCategoryData) Reset added in v1.0.9

func (x *DeleteSubscribeCategoryData) Reset()

func (*DeleteSubscribeCategoryData) String added in v1.0.9

func (x *DeleteSubscribeCategoryData) String() string

func (*DeleteSubscribeCategoryData) Validate added in v1.0.9

func (m *DeleteSubscribeCategoryData) Validate() error

Validate checks the field values on DeleteSubscribeCategoryData 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 (*DeleteSubscribeCategoryData) ValidateAll added in v1.0.9

func (m *DeleteSubscribeCategoryData) ValidateAll() error

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

type DeleteSubscribeCategoryDataMultiError added in v1.0.9

type DeleteSubscribeCategoryDataMultiError []error

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

func (DeleteSubscribeCategoryDataMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeCategoryDataMultiError) Error added in v1.0.9

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

type DeleteSubscribeCategoryDataValidationError added in v1.0.9

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

DeleteSubscribeCategoryDataValidationError is the validation error returned by DeleteSubscribeCategoryData.Validate if the designated constraints aren't met.

func (DeleteSubscribeCategoryDataValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (DeleteSubscribeCategoryDataValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (DeleteSubscribeCategoryDataValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (DeleteSubscribeCategoryDataValidationError) Field added in v1.0.9

Field function returns field value.

func (DeleteSubscribeCategoryDataValidationError) Key added in v1.0.9

Key function returns key value.

func (DeleteSubscribeCategoryDataValidationError) Reason added in v1.0.9

Reason function returns reason value.

type DeleteSubscribeCategoryReply added in v1.0.9

type DeleteSubscribeCategoryReply 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    *DeleteSubscribeCategoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSubscribeCategoryReply) Descriptor deprecated added in v1.0.9

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

Deprecated: Use DeleteSubscribeCategoryReply.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeCategoryReply) GetCode added in v1.0.9

func (x *DeleteSubscribeCategoryReply) GetCode() int32

func (*DeleteSubscribeCategoryReply) GetData added in v1.0.9

func (*DeleteSubscribeCategoryReply) GetMessage added in v1.0.9

func (x *DeleteSubscribeCategoryReply) GetMessage() string

func (*DeleteSubscribeCategoryReply) ProtoMessage added in v1.0.9

func (*DeleteSubscribeCategoryReply) ProtoMessage()

func (*DeleteSubscribeCategoryReply) ProtoReflect added in v1.0.9

func (*DeleteSubscribeCategoryReply) Reset added in v1.0.9

func (x *DeleteSubscribeCategoryReply) Reset()

func (*DeleteSubscribeCategoryReply) String added in v1.0.9

func (*DeleteSubscribeCategoryReply) Validate added in v1.0.9

func (m *DeleteSubscribeCategoryReply) Validate() error

Validate checks the field values on DeleteSubscribeCategoryReply 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 (*DeleteSubscribeCategoryReply) ValidateAll added in v1.0.9

func (m *DeleteSubscribeCategoryReply) ValidateAll() error

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

type DeleteSubscribeCategoryReplyMultiError added in v1.0.9

type DeleteSubscribeCategoryReplyMultiError []error

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

func (DeleteSubscribeCategoryReplyMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeCategoryReplyMultiError) Error added in v1.0.9

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

type DeleteSubscribeCategoryReplyValidationError added in v1.0.9

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

DeleteSubscribeCategoryReplyValidationError is the validation error returned by DeleteSubscribeCategoryReply.Validate if the designated constraints aren't met.

func (DeleteSubscribeCategoryReplyValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (DeleteSubscribeCategoryReplyValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (DeleteSubscribeCategoryReplyValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (DeleteSubscribeCategoryReplyValidationError) Field added in v1.0.9

Field function returns field value.

func (DeleteSubscribeCategoryReplyValidationError) Key added in v1.0.9

Key function returns key value.

func (DeleteSubscribeCategoryReplyValidationError) Reason added in v1.0.9

Reason function returns reason value.

type DeleteSubscribeCategoryRequest added in v1.0.9

type DeleteSubscribeCategoryRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 商品分类ID
	// contains filtered or unexported fields
}

func (*DeleteSubscribeCategoryRequest) Descriptor deprecated added in v1.0.9

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

Deprecated: Use DeleteSubscribeCategoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeCategoryRequest) GetId added in v1.0.9

func (*DeleteSubscribeCategoryRequest) ProtoMessage added in v1.0.9

func (*DeleteSubscribeCategoryRequest) ProtoMessage()

func (*DeleteSubscribeCategoryRequest) ProtoReflect added in v1.0.9

func (*DeleteSubscribeCategoryRequest) Reset added in v1.0.9

func (x *DeleteSubscribeCategoryRequest) Reset()

func (*DeleteSubscribeCategoryRequest) String added in v1.0.9

func (*DeleteSubscribeCategoryRequest) Validate added in v1.0.9

func (m *DeleteSubscribeCategoryRequest) Validate() error

Validate checks the field values on DeleteSubscribeCategoryRequest 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 (*DeleteSubscribeCategoryRequest) ValidateAll added in v1.0.9

func (m *DeleteSubscribeCategoryRequest) ValidateAll() error

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

type DeleteSubscribeCategoryRequestMultiError added in v1.0.9

type DeleteSubscribeCategoryRequestMultiError []error

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

func (DeleteSubscribeCategoryRequestMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeCategoryRequestMultiError) Error added in v1.0.9

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

type DeleteSubscribeCategoryRequestValidationError added in v1.0.9

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

DeleteSubscribeCategoryRequestValidationError is the validation error returned by DeleteSubscribeCategoryRequest.Validate if the designated constraints aren't met.

func (DeleteSubscribeCategoryRequestValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (DeleteSubscribeCategoryRequestValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (DeleteSubscribeCategoryRequestValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (DeleteSubscribeCategoryRequestValidationError) Field added in v1.0.9

Field function returns field value.

func (DeleteSubscribeCategoryRequestValidationError) Key added in v1.0.9

Key function returns key value.

func (DeleteSubscribeCategoryRequestValidationError) Reason added in v1.0.9

Reason function returns reason value.

type DeleteSubscribeData

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

DeleteSubscribeData 删除订阅套餐数据

func (*DeleteSubscribeData) Descriptor deprecated

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

Deprecated: Use DeleteSubscribeData.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeData) GetSuccess

func (x *DeleteSubscribeData) GetSuccess() bool

func (*DeleteSubscribeData) ProtoMessage

func (*DeleteSubscribeData) ProtoMessage()

func (*DeleteSubscribeData) ProtoReflect

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

func (*DeleteSubscribeData) Reset

func (x *DeleteSubscribeData) Reset()

func (*DeleteSubscribeData) String

func (x *DeleteSubscribeData) String() string

func (*DeleteSubscribeData) Validate

func (m *DeleteSubscribeData) Validate() error

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

func (m *DeleteSubscribeData) ValidateAll() error

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

type DeleteSubscribeDataMultiError

type DeleteSubscribeDataMultiError []error

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

func (DeleteSubscribeDataMultiError) AllErrors

func (m DeleteSubscribeDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeDataMultiError) Error

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

type DeleteSubscribeDataValidationError

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

DeleteSubscribeDataValidationError is the validation error returned by DeleteSubscribeData.Validate if the designated constraints aren't met.

func (DeleteSubscribeDataValidationError) Cause

Cause function returns cause value.

func (DeleteSubscribeDataValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscribeDataValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscribeDataValidationError) Field

Field function returns field value.

func (DeleteSubscribeDataValidationError) Key

Key function returns key value.

func (DeleteSubscribeDataValidationError) Reason

Reason function returns reason value.

type DeleteSubscribeGroupData

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

DeleteSubscribeGroupData 删除订阅组数据

func (*DeleteSubscribeGroupData) Descriptor deprecated

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

Deprecated: Use DeleteSubscribeGroupData.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeGroupData) GetSuccess

func (x *DeleteSubscribeGroupData) GetSuccess() bool

func (*DeleteSubscribeGroupData) ProtoMessage

func (*DeleteSubscribeGroupData) ProtoMessage()

func (*DeleteSubscribeGroupData) ProtoReflect

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

func (*DeleteSubscribeGroupData) Reset

func (x *DeleteSubscribeGroupData) Reset()

func (*DeleteSubscribeGroupData) String

func (x *DeleteSubscribeGroupData) String() string

func (*DeleteSubscribeGroupData) Validate

func (m *DeleteSubscribeGroupData) Validate() error

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

func (m *DeleteSubscribeGroupData) ValidateAll() error

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

type DeleteSubscribeGroupDataMultiError

type DeleteSubscribeGroupDataMultiError []error

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

func (DeleteSubscribeGroupDataMultiError) AllErrors

func (m DeleteSubscribeGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeGroupDataMultiError) Error

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

type DeleteSubscribeGroupDataValidationError

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

DeleteSubscribeGroupDataValidationError is the validation error returned by DeleteSubscribeGroupData.Validate if the designated constraints aren't met.

func (DeleteSubscribeGroupDataValidationError) Cause

Cause function returns cause value.

func (DeleteSubscribeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscribeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscribeGroupDataValidationError) Field

Field function returns field value.

func (DeleteSubscribeGroupDataValidationError) Key

Key function returns key value.

func (DeleteSubscribeGroupDataValidationError) Reason

Reason function returns reason value.

type DeleteSubscribeGroupReply

type DeleteSubscribeGroupReply 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    *DeleteSubscribeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

DeleteSubscribeGroupReply 删除订阅组响应

func (*DeleteSubscribeGroupReply) Descriptor deprecated

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

Deprecated: Use DeleteSubscribeGroupReply.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeGroupReply) GetCode

func (x *DeleteSubscribeGroupReply) GetCode() int32

func (*DeleteSubscribeGroupReply) GetData

func (*DeleteSubscribeGroupReply) GetMessage

func (x *DeleteSubscribeGroupReply) GetMessage() string

func (*DeleteSubscribeGroupReply) ProtoMessage

func (*DeleteSubscribeGroupReply) ProtoMessage()

func (*DeleteSubscribeGroupReply) ProtoReflect

func (*DeleteSubscribeGroupReply) Reset

func (x *DeleteSubscribeGroupReply) Reset()

func (*DeleteSubscribeGroupReply) String

func (x *DeleteSubscribeGroupReply) String() string

func (*DeleteSubscribeGroupReply) Validate

func (m *DeleteSubscribeGroupReply) Validate() error

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

func (m *DeleteSubscribeGroupReply) ValidateAll() error

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

type DeleteSubscribeGroupReplyMultiError

type DeleteSubscribeGroupReplyMultiError []error

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

func (DeleteSubscribeGroupReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeGroupReplyMultiError) Error

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

type DeleteSubscribeGroupReplyValidationError

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

DeleteSubscribeGroupReplyValidationError is the validation error returned by DeleteSubscribeGroupReply.Validate if the designated constraints aren't met.

func (DeleteSubscribeGroupReplyValidationError) Cause

Cause function returns cause value.

func (DeleteSubscribeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscribeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscribeGroupReplyValidationError) Field

Field function returns field value.

func (DeleteSubscribeGroupReplyValidationError) Key

Key function returns key value.

func (DeleteSubscribeGroupReplyValidationError) Reason

Reason function returns reason value.

type DeleteSubscribeGroupRequest

type DeleteSubscribeGroupRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 订阅组ID
	// contains filtered or unexported fields
}

DeleteSubscribeGroupRequest 删除订阅组请求

func (*DeleteSubscribeGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteSubscribeGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeGroupRequest) GetId

func (*DeleteSubscribeGroupRequest) ProtoMessage

func (*DeleteSubscribeGroupRequest) ProtoMessage()

func (*DeleteSubscribeGroupRequest) ProtoReflect

func (*DeleteSubscribeGroupRequest) Reset

func (x *DeleteSubscribeGroupRequest) Reset()

func (*DeleteSubscribeGroupRequest) String

func (x *DeleteSubscribeGroupRequest) String() string

func (*DeleteSubscribeGroupRequest) Validate

func (m *DeleteSubscribeGroupRequest) Validate() error

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

func (m *DeleteSubscribeGroupRequest) ValidateAll() error

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

type DeleteSubscribeGroupRequestMultiError

type DeleteSubscribeGroupRequestMultiError []error

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

func (DeleteSubscribeGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeGroupRequestMultiError) Error

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

type DeleteSubscribeGroupRequestValidationError

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

DeleteSubscribeGroupRequestValidationError is the validation error returned by DeleteSubscribeGroupRequest.Validate if the designated constraints aren't met.

func (DeleteSubscribeGroupRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSubscribeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscribeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscribeGroupRequestValidationError) Field

Field function returns field value.

func (DeleteSubscribeGroupRequestValidationError) Key

Key function returns key value.

func (DeleteSubscribeGroupRequestValidationError) Reason

Reason function returns reason value.

type DeleteSubscribeReply

type DeleteSubscribeReply 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    *DeleteSubscribeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

DeleteSubscribeReply 删除订阅套餐响应

func (*DeleteSubscribeReply) Descriptor deprecated

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

Deprecated: Use DeleteSubscribeReply.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeReply) GetCode

func (x *DeleteSubscribeReply) GetCode() int32

func (*DeleteSubscribeReply) GetData

func (*DeleteSubscribeReply) GetMessage

func (x *DeleteSubscribeReply) GetMessage() string

func (*DeleteSubscribeReply) ProtoMessage

func (*DeleteSubscribeReply) ProtoMessage()

func (*DeleteSubscribeReply) ProtoReflect

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

func (*DeleteSubscribeReply) Reset

func (x *DeleteSubscribeReply) Reset()

func (*DeleteSubscribeReply) String

func (x *DeleteSubscribeReply) String() string

func (*DeleteSubscribeReply) Validate

func (m *DeleteSubscribeReply) Validate() error

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

func (m *DeleteSubscribeReply) ValidateAll() error

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

type DeleteSubscribeReplyMultiError

type DeleteSubscribeReplyMultiError []error

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

func (DeleteSubscribeReplyMultiError) AllErrors

func (m DeleteSubscribeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeReplyMultiError) Error

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

type DeleteSubscribeReplyValidationError

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

DeleteSubscribeReplyValidationError is the validation error returned by DeleteSubscribeReply.Validate if the designated constraints aren't met.

func (DeleteSubscribeReplyValidationError) Cause

Cause function returns cause value.

func (DeleteSubscribeReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscribeReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscribeReplyValidationError) Field

Field function returns field value.

func (DeleteSubscribeReplyValidationError) Key

Key function returns key value.

func (DeleteSubscribeReplyValidationError) Reason

Reason function returns reason value.

type DeleteSubscribeRequest

type DeleteSubscribeRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 订阅套餐ID
	// contains filtered or unexported fields
}

DeleteSubscribeRequest 删除订阅套餐请求

func (*DeleteSubscribeRequest) Descriptor deprecated

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

Deprecated: Use DeleteSubscribeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscribeRequest) GetId

func (x *DeleteSubscribeRequest) GetId() int64

func (*DeleteSubscribeRequest) ProtoMessage

func (*DeleteSubscribeRequest) ProtoMessage()

func (*DeleteSubscribeRequest) ProtoReflect

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

func (*DeleteSubscribeRequest) Reset

func (x *DeleteSubscribeRequest) Reset()

func (*DeleteSubscribeRequest) String

func (x *DeleteSubscribeRequest) String() string

func (*DeleteSubscribeRequest) Validate

func (m *DeleteSubscribeRequest) Validate() error

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

func (m *DeleteSubscribeRequest) ValidateAll() error

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

type DeleteSubscribeRequestMultiError

type DeleteSubscribeRequestMultiError []error

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

func (DeleteSubscribeRequestMultiError) AllErrors

func (m DeleteSubscribeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSubscribeRequestMultiError) Error

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

type DeleteSubscribeRequestValidationError

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

DeleteSubscribeRequestValidationError is the validation error returned by DeleteSubscribeRequest.Validate if the designated constraints aren't met.

func (DeleteSubscribeRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscribeRequestValidationError) Field

Field function returns field value.

func (DeleteSubscribeRequestValidationError) Key

Key function returns key value.

func (DeleteSubscribeRequestValidationError) Reason

Reason function returns reason value.

type GetSubscribeCategoryListData added in v1.0.9

type GetSubscribeCategoryListData struct {
	List  []*SubscribeCategoryInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    // 商品分类列表
	Total int32                    `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总数
	// contains filtered or unexported fields
}

func (*GetSubscribeCategoryListData) Descriptor deprecated added in v1.0.9

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

Deprecated: Use GetSubscribeCategoryListData.ProtoReflect.Descriptor instead.

func (*GetSubscribeCategoryListData) GetList added in v1.0.9

func (*GetSubscribeCategoryListData) GetTotal added in v1.0.9

func (x *GetSubscribeCategoryListData) GetTotal() int32

func (*GetSubscribeCategoryListData) ProtoMessage added in v1.0.9

func (*GetSubscribeCategoryListData) ProtoMessage()

func (*GetSubscribeCategoryListData) ProtoReflect added in v1.0.9

func (*GetSubscribeCategoryListData) Reset added in v1.0.9

func (x *GetSubscribeCategoryListData) Reset()

func (*GetSubscribeCategoryListData) String added in v1.0.9

func (*GetSubscribeCategoryListData) Validate added in v1.0.9

func (m *GetSubscribeCategoryListData) Validate() error

Validate checks the field values on GetSubscribeCategoryListData 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 (*GetSubscribeCategoryListData) ValidateAll added in v1.0.9

func (m *GetSubscribeCategoryListData) ValidateAll() error

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

type GetSubscribeCategoryListDataMultiError added in v1.0.9

type GetSubscribeCategoryListDataMultiError []error

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

func (GetSubscribeCategoryListDataMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (GetSubscribeCategoryListDataMultiError) Error added in v1.0.9

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

type GetSubscribeCategoryListDataValidationError added in v1.0.9

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

GetSubscribeCategoryListDataValidationError is the validation error returned by GetSubscribeCategoryListData.Validate if the designated constraints aren't met.

func (GetSubscribeCategoryListDataValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (GetSubscribeCategoryListDataValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (GetSubscribeCategoryListDataValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (GetSubscribeCategoryListDataValidationError) Field added in v1.0.9

Field function returns field value.

func (GetSubscribeCategoryListDataValidationError) Key added in v1.0.9

Key function returns key value.

func (GetSubscribeCategoryListDataValidationError) Reason added in v1.0.9

Reason function returns reason value.

type GetSubscribeCategoryListReply added in v1.0.9

type GetSubscribeCategoryListReply 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    *GetSubscribeCategoryListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscribeCategoryListReply) Descriptor deprecated added in v1.0.9

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

Deprecated: Use GetSubscribeCategoryListReply.ProtoReflect.Descriptor instead.

func (*GetSubscribeCategoryListReply) GetCode added in v1.0.9

func (x *GetSubscribeCategoryListReply) GetCode() int32

func (*GetSubscribeCategoryListReply) GetData added in v1.0.9

func (*GetSubscribeCategoryListReply) GetMessage added in v1.0.9

func (x *GetSubscribeCategoryListReply) GetMessage() string

func (*GetSubscribeCategoryListReply) ProtoMessage added in v1.0.9

func (*GetSubscribeCategoryListReply) ProtoMessage()

func (*GetSubscribeCategoryListReply) ProtoReflect added in v1.0.9

func (*GetSubscribeCategoryListReply) Reset added in v1.0.9

func (x *GetSubscribeCategoryListReply) Reset()

func (*GetSubscribeCategoryListReply) String added in v1.0.9

func (*GetSubscribeCategoryListReply) Validate added in v1.0.9

func (m *GetSubscribeCategoryListReply) Validate() error

Validate checks the field values on GetSubscribeCategoryListReply 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 (*GetSubscribeCategoryListReply) ValidateAll added in v1.0.9

func (m *GetSubscribeCategoryListReply) ValidateAll() error

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

type GetSubscribeCategoryListReplyMultiError added in v1.0.9

type GetSubscribeCategoryListReplyMultiError []error

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

func (GetSubscribeCategoryListReplyMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (GetSubscribeCategoryListReplyMultiError) Error added in v1.0.9

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

type GetSubscribeCategoryListReplyValidationError added in v1.0.9

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

GetSubscribeCategoryListReplyValidationError is the validation error returned by GetSubscribeCategoryListReply.Validate if the designated constraints aren't met.

func (GetSubscribeCategoryListReplyValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (GetSubscribeCategoryListReplyValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (GetSubscribeCategoryListReplyValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (GetSubscribeCategoryListReplyValidationError) Field added in v1.0.9

Field function returns field value.

func (GetSubscribeCategoryListReplyValidationError) Key added in v1.0.9

Key function returns key value.

func (GetSubscribeCategoryListReplyValidationError) Reason added in v1.0.9

Reason function returns reason value.

type GetSubscribeCategoryListRequest added in v1.0.9

type GetSubscribeCategoryListRequest struct {
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`                        // 语言筛选
	ParentId *int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // 父分类筛选,传0可筛选根分类
	Show     *bool  `protobuf:"varint,3,opt,name=show,proto3,oneof" json:"show,omitempty"`                         // 显示状态筛选
	// contains filtered or unexported fields
}

func (*GetSubscribeCategoryListRequest) Descriptor deprecated added in v1.0.9

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

Deprecated: Use GetSubscribeCategoryListRequest.ProtoReflect.Descriptor instead.

func (*GetSubscribeCategoryListRequest) GetLanguage added in v1.0.9

func (x *GetSubscribeCategoryListRequest) GetLanguage() string

func (*GetSubscribeCategoryListRequest) GetParentId added in v1.0.9

func (x *GetSubscribeCategoryListRequest) GetParentId() int64

func (*GetSubscribeCategoryListRequest) GetShow added in v1.0.9

func (*GetSubscribeCategoryListRequest) ProtoMessage added in v1.0.9

func (*GetSubscribeCategoryListRequest) ProtoMessage()

func (*GetSubscribeCategoryListRequest) ProtoReflect added in v1.0.9

func (*GetSubscribeCategoryListRequest) Reset added in v1.0.9

func (*GetSubscribeCategoryListRequest) String added in v1.0.9

func (*GetSubscribeCategoryListRequest) Validate added in v1.0.9

func (m *GetSubscribeCategoryListRequest) Validate() error

Validate checks the field values on GetSubscribeCategoryListRequest 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 (*GetSubscribeCategoryListRequest) ValidateAll added in v1.0.9

func (m *GetSubscribeCategoryListRequest) ValidateAll() error

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

type GetSubscribeCategoryListRequestMultiError added in v1.0.9

type GetSubscribeCategoryListRequestMultiError []error

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

func (GetSubscribeCategoryListRequestMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (GetSubscribeCategoryListRequestMultiError) Error added in v1.0.9

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

type GetSubscribeCategoryListRequestValidationError added in v1.0.9

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

GetSubscribeCategoryListRequestValidationError is the validation error returned by GetSubscribeCategoryListRequest.Validate if the designated constraints aren't met.

func (GetSubscribeCategoryListRequestValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (GetSubscribeCategoryListRequestValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (GetSubscribeCategoryListRequestValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (GetSubscribeCategoryListRequestValidationError) Field added in v1.0.9

Field function returns field value.

func (GetSubscribeCategoryListRequestValidationError) Key added in v1.0.9

Key function returns key value.

func (GetSubscribeCategoryListRequestValidationError) Reason added in v1.0.9

Reason function returns reason value.

type GetSubscribeDetailsData

type GetSubscribeDetailsData struct {
	Subscribe *SubscribeInfo `protobuf:"bytes,1,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // 订阅套餐信息
	// contains filtered or unexported fields
}

GetSubscribeDetailsData 获取订阅套餐详情数据

func (*GetSubscribeDetailsData) Descriptor deprecated

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

Deprecated: Use GetSubscribeDetailsData.ProtoReflect.Descriptor instead.

func (*GetSubscribeDetailsData) GetSubscribe

func (x *GetSubscribeDetailsData) GetSubscribe() *SubscribeInfo

func (*GetSubscribeDetailsData) ProtoMessage

func (*GetSubscribeDetailsData) ProtoMessage()

func (*GetSubscribeDetailsData) ProtoReflect

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

func (*GetSubscribeDetailsData) Reset

func (x *GetSubscribeDetailsData) Reset()

func (*GetSubscribeDetailsData) String

func (x *GetSubscribeDetailsData) String() string

func (*GetSubscribeDetailsData) Validate

func (m *GetSubscribeDetailsData) Validate() error

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

func (m *GetSubscribeDetailsData) ValidateAll() error

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

type GetSubscribeDetailsDataMultiError

type GetSubscribeDetailsDataMultiError []error

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

func (GetSubscribeDetailsDataMultiError) AllErrors

func (m GetSubscribeDetailsDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSubscribeDetailsDataMultiError) Error

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

type GetSubscribeDetailsDataValidationError

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

GetSubscribeDetailsDataValidationError is the validation error returned by GetSubscribeDetailsData.Validate if the designated constraints aren't met.

func (GetSubscribeDetailsDataValidationError) Cause

Cause function returns cause value.

func (GetSubscribeDetailsDataValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeDetailsDataValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeDetailsDataValidationError) Field

Field function returns field value.

func (GetSubscribeDetailsDataValidationError) Key

Key function returns key value.

func (GetSubscribeDetailsDataValidationError) Reason

Reason function returns reason value.

type GetSubscribeDetailsReply

type GetSubscribeDetailsReply 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    *GetSubscribeDetailsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetSubscribeDetailsReply 获取订阅套餐详情响应

func (*GetSubscribeDetailsReply) Descriptor deprecated

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

Deprecated: Use GetSubscribeDetailsReply.ProtoReflect.Descriptor instead.

func (*GetSubscribeDetailsReply) GetCode

func (x *GetSubscribeDetailsReply) GetCode() int32

func (*GetSubscribeDetailsReply) GetData

func (*GetSubscribeDetailsReply) GetMessage

func (x *GetSubscribeDetailsReply) GetMessage() string

func (*GetSubscribeDetailsReply) ProtoMessage

func (*GetSubscribeDetailsReply) ProtoMessage()

func (*GetSubscribeDetailsReply) ProtoReflect

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

func (*GetSubscribeDetailsReply) Reset

func (x *GetSubscribeDetailsReply) Reset()

func (*GetSubscribeDetailsReply) String

func (x *GetSubscribeDetailsReply) String() string

func (*GetSubscribeDetailsReply) Validate

func (m *GetSubscribeDetailsReply) Validate() error

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

func (m *GetSubscribeDetailsReply) ValidateAll() error

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

type GetSubscribeDetailsReplyMultiError

type GetSubscribeDetailsReplyMultiError []error

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

func (GetSubscribeDetailsReplyMultiError) AllErrors

func (m GetSubscribeDetailsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSubscribeDetailsReplyMultiError) Error

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

type GetSubscribeDetailsReplyValidationError

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

GetSubscribeDetailsReplyValidationError is the validation error returned by GetSubscribeDetailsReply.Validate if the designated constraints aren't met.

func (GetSubscribeDetailsReplyValidationError) Cause

Cause function returns cause value.

func (GetSubscribeDetailsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeDetailsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeDetailsReplyValidationError) Field

Field function returns field value.

func (GetSubscribeDetailsReplyValidationError) Key

Key function returns key value.

func (GetSubscribeDetailsReplyValidationError) Reason

Reason function returns reason value.

type GetSubscribeDetailsRequest

type GetSubscribeDetailsRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 订阅套餐ID
	// contains filtered or unexported fields
}

GetSubscribeDetailsRequest 获取订阅套餐详情请求

func (*GetSubscribeDetailsRequest) Descriptor deprecated

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

Deprecated: Use GetSubscribeDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetSubscribeDetailsRequest) GetId

func (x *GetSubscribeDetailsRequest) GetId() int64

func (*GetSubscribeDetailsRequest) ProtoMessage

func (*GetSubscribeDetailsRequest) ProtoMessage()

func (*GetSubscribeDetailsRequest) ProtoReflect

func (*GetSubscribeDetailsRequest) Reset

func (x *GetSubscribeDetailsRequest) Reset()

func (*GetSubscribeDetailsRequest) String

func (x *GetSubscribeDetailsRequest) String() string

func (*GetSubscribeDetailsRequest) Validate

func (m *GetSubscribeDetailsRequest) Validate() error

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

func (m *GetSubscribeDetailsRequest) ValidateAll() error

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

type GetSubscribeDetailsRequestMultiError

type GetSubscribeDetailsRequestMultiError []error

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

func (GetSubscribeDetailsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeDetailsRequestMultiError) Error

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

type GetSubscribeDetailsRequestValidationError

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

GetSubscribeDetailsRequestValidationError is the validation error returned by GetSubscribeDetailsRequest.Validate if the designated constraints aren't met.

func (GetSubscribeDetailsRequestValidationError) Cause

Cause function returns cause value.

func (GetSubscribeDetailsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeDetailsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeDetailsRequestValidationError) Field

Field function returns field value.

func (GetSubscribeDetailsRequestValidationError) Key

Key function returns key value.

func (GetSubscribeDetailsRequestValidationError) Reason

Reason function returns reason value.

type GetSubscribeGroupListData

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

GetSubscribeGroupListData 获取订阅组列表数据

func (*GetSubscribeGroupListData) Descriptor deprecated

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

Deprecated: Use GetSubscribeGroupListData.ProtoReflect.Descriptor instead.

func (*GetSubscribeGroupListData) GetList

func (*GetSubscribeGroupListData) GetTotal

func (x *GetSubscribeGroupListData) GetTotal() int32

func (*GetSubscribeGroupListData) ProtoMessage

func (*GetSubscribeGroupListData) ProtoMessage()

func (*GetSubscribeGroupListData) ProtoReflect

func (*GetSubscribeGroupListData) Reset

func (x *GetSubscribeGroupListData) Reset()

func (*GetSubscribeGroupListData) String

func (x *GetSubscribeGroupListData) String() string

func (*GetSubscribeGroupListData) Validate

func (m *GetSubscribeGroupListData) Validate() error

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

func (m *GetSubscribeGroupListData) ValidateAll() error

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

type GetSubscribeGroupListDataMultiError

type GetSubscribeGroupListDataMultiError []error

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

func (GetSubscribeGroupListDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeGroupListDataMultiError) Error

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

type GetSubscribeGroupListDataValidationError

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

GetSubscribeGroupListDataValidationError is the validation error returned by GetSubscribeGroupListData.Validate if the designated constraints aren't met.

func (GetSubscribeGroupListDataValidationError) Cause

Cause function returns cause value.

func (GetSubscribeGroupListDataValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeGroupListDataValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeGroupListDataValidationError) Field

Field function returns field value.

func (GetSubscribeGroupListDataValidationError) Key

Key function returns key value.

func (GetSubscribeGroupListDataValidationError) Reason

Reason function returns reason value.

type GetSubscribeGroupListReply

type GetSubscribeGroupListReply 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    *GetSubscribeGroupListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetSubscribeGroupListReply 获取订阅组列表响应

func (*GetSubscribeGroupListReply) Descriptor deprecated

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

Deprecated: Use GetSubscribeGroupListReply.ProtoReflect.Descriptor instead.

func (*GetSubscribeGroupListReply) GetCode

func (x *GetSubscribeGroupListReply) GetCode() int32

func (*GetSubscribeGroupListReply) GetData

func (*GetSubscribeGroupListReply) GetMessage

func (x *GetSubscribeGroupListReply) GetMessage() string

func (*GetSubscribeGroupListReply) ProtoMessage

func (*GetSubscribeGroupListReply) ProtoMessage()

func (*GetSubscribeGroupListReply) ProtoReflect

func (*GetSubscribeGroupListReply) Reset

func (x *GetSubscribeGroupListReply) Reset()

func (*GetSubscribeGroupListReply) String

func (x *GetSubscribeGroupListReply) String() string

func (*GetSubscribeGroupListReply) Validate

func (m *GetSubscribeGroupListReply) Validate() error

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

func (m *GetSubscribeGroupListReply) ValidateAll() error

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

type GetSubscribeGroupListReplyMultiError

type GetSubscribeGroupListReplyMultiError []error

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

func (GetSubscribeGroupListReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeGroupListReplyMultiError) Error

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

type GetSubscribeGroupListReplyValidationError

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

GetSubscribeGroupListReplyValidationError is the validation error returned by GetSubscribeGroupListReply.Validate if the designated constraints aren't met.

func (GetSubscribeGroupListReplyValidationError) Cause

Cause function returns cause value.

func (GetSubscribeGroupListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeGroupListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeGroupListReplyValidationError) Field

Field function returns field value.

func (GetSubscribeGroupListReplyValidationError) Key

Key function returns key value.

func (GetSubscribeGroupListReplyValidationError) Reason

Reason function returns reason value.

type GetSubscribeGroupListRequest

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

GetSubscribeGroupListRequest 获取订阅组列表请求

func (*GetSubscribeGroupListRequest) Descriptor deprecated

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

Deprecated: Use GetSubscribeGroupListRequest.ProtoReflect.Descriptor instead.

func (*GetSubscribeGroupListRequest) ProtoMessage

func (*GetSubscribeGroupListRequest) ProtoMessage()

func (*GetSubscribeGroupListRequest) ProtoReflect

func (*GetSubscribeGroupListRequest) Reset

func (x *GetSubscribeGroupListRequest) Reset()

func (*GetSubscribeGroupListRequest) String

func (*GetSubscribeGroupListRequest) Validate

func (m *GetSubscribeGroupListRequest) Validate() error

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

func (m *GetSubscribeGroupListRequest) ValidateAll() error

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

type GetSubscribeGroupListRequestMultiError

type GetSubscribeGroupListRequestMultiError []error

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

func (GetSubscribeGroupListRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeGroupListRequestMultiError) Error

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

type GetSubscribeGroupListRequestValidationError

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

GetSubscribeGroupListRequestValidationError is the validation error returned by GetSubscribeGroupListRequest.Validate if the designated constraints aren't met.

func (GetSubscribeGroupListRequestValidationError) Cause

Cause function returns cause value.

func (GetSubscribeGroupListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeGroupListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeGroupListRequestValidationError) Field

Field function returns field value.

func (GetSubscribeGroupListRequestValidationError) Key

Key function returns key value.

func (GetSubscribeGroupListRequestValidationError) Reason

Reason function returns reason value.

type GetSubscribeListData

type GetSubscribeListData struct {
	List  []*SubscribeItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    // 订阅套餐列表
	Total int32            `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总数
	// contains filtered or unexported fields
}

GetSubscribeListData 获取订阅套餐列表数据

func (*GetSubscribeListData) Descriptor deprecated

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

Deprecated: Use GetSubscribeListData.ProtoReflect.Descriptor instead.

func (*GetSubscribeListData) GetList

func (x *GetSubscribeListData) GetList() []*SubscribeItem

func (*GetSubscribeListData) GetTotal

func (x *GetSubscribeListData) GetTotal() int32

func (*GetSubscribeListData) ProtoMessage

func (*GetSubscribeListData) ProtoMessage()

func (*GetSubscribeListData) ProtoReflect

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

func (*GetSubscribeListData) Reset

func (x *GetSubscribeListData) Reset()

func (*GetSubscribeListData) String

func (x *GetSubscribeListData) String() string

func (*GetSubscribeListData) Validate

func (m *GetSubscribeListData) Validate() error

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

func (m *GetSubscribeListData) ValidateAll() error

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

type GetSubscribeListDataMultiError

type GetSubscribeListDataMultiError []error

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

func (GetSubscribeListDataMultiError) AllErrors

func (m GetSubscribeListDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSubscribeListDataMultiError) Error

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

type GetSubscribeListDataValidationError

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

GetSubscribeListDataValidationError is the validation error returned by GetSubscribeListData.Validate if the designated constraints aren't met.

func (GetSubscribeListDataValidationError) Cause

Cause function returns cause value.

func (GetSubscribeListDataValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeListDataValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeListDataValidationError) Field

Field function returns field value.

func (GetSubscribeListDataValidationError) Key

Key function returns key value.

func (GetSubscribeListDataValidationError) Reason

Reason function returns reason value.

type GetSubscribeListReply

type GetSubscribeListReply 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    *GetSubscribeListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetSubscribeListReply 获取订阅套餐列表响应

func (*GetSubscribeListReply) Descriptor deprecated

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

Deprecated: Use GetSubscribeListReply.ProtoReflect.Descriptor instead.

func (*GetSubscribeListReply) GetCode

func (x *GetSubscribeListReply) GetCode() int32

func (*GetSubscribeListReply) GetData

func (*GetSubscribeListReply) GetMessage

func (x *GetSubscribeListReply) GetMessage() string

func (*GetSubscribeListReply) ProtoMessage

func (*GetSubscribeListReply) ProtoMessage()

func (*GetSubscribeListReply) ProtoReflect

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

func (*GetSubscribeListReply) Reset

func (x *GetSubscribeListReply) Reset()

func (*GetSubscribeListReply) String

func (x *GetSubscribeListReply) String() string

func (*GetSubscribeListReply) Validate

func (m *GetSubscribeListReply) Validate() error

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

func (m *GetSubscribeListReply) ValidateAll() error

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

type GetSubscribeListReplyMultiError

type GetSubscribeListReplyMultiError []error

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

func (GetSubscribeListReplyMultiError) AllErrors

func (m GetSubscribeListReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSubscribeListReplyMultiError) Error

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

type GetSubscribeListReplyValidationError

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

GetSubscribeListReplyValidationError is the validation error returned by GetSubscribeListReply.Validate if the designated constraints aren't met.

func (GetSubscribeListReplyValidationError) Cause

Cause function returns cause value.

func (GetSubscribeListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeListReplyValidationError) Field

Field function returns field value.

func (GetSubscribeListReplyValidationError) Key

Key function returns key value.

func (GetSubscribeListReplyValidationError) Reason

Reason function returns reason value.

type GetSubscribeListRequest

type GetSubscribeListRequest struct {
	Page        int64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`                                    // 页码
	Size        int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`                                    // 每页数量
	Language    string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`                             // 语言筛选
	Search      string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`                                 // 搜索关键词
	NodeGroupId int64  `protobuf:"varint,5,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"` // 节点组ID筛选
	CategoryId  int64  `protobuf:"varint,6,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`      // 商品分类ID筛选
	// contains filtered or unexported fields
}

GetSubscribeListRequest 获取订阅套餐列表请求

func (*GetSubscribeListRequest) Descriptor deprecated

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

Deprecated: Use GetSubscribeListRequest.ProtoReflect.Descriptor instead.

func (*GetSubscribeListRequest) GetCategoryId added in v1.0.9

func (x *GetSubscribeListRequest) GetCategoryId() int64

func (*GetSubscribeListRequest) GetLanguage

func (x *GetSubscribeListRequest) GetLanguage() string

func (*GetSubscribeListRequest) GetNodeGroupId

func (x *GetSubscribeListRequest) GetNodeGroupId() int64

func (*GetSubscribeListRequest) GetPage

func (x *GetSubscribeListRequest) GetPage() int64

func (*GetSubscribeListRequest) GetSearch

func (x *GetSubscribeListRequest) GetSearch() string

func (*GetSubscribeListRequest) GetSize

func (x *GetSubscribeListRequest) GetSize() int64

func (*GetSubscribeListRequest) ProtoMessage

func (*GetSubscribeListRequest) ProtoMessage()

func (*GetSubscribeListRequest) ProtoReflect

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

func (*GetSubscribeListRequest) Reset

func (x *GetSubscribeListRequest) Reset()

func (*GetSubscribeListRequest) String

func (x *GetSubscribeListRequest) String() string

func (*GetSubscribeListRequest) Validate

func (m *GetSubscribeListRequest) Validate() error

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

func (m *GetSubscribeListRequest) ValidateAll() error

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

type GetSubscribeListRequestMultiError

type GetSubscribeListRequestMultiError []error

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

func (GetSubscribeListRequestMultiError) AllErrors

func (m GetSubscribeListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSubscribeListRequestMultiError) Error

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

type GetSubscribeListRequestValidationError

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

GetSubscribeListRequestValidationError is the validation error returned by GetSubscribeListRequest.Validate if the designated constraints aren't met.

func (GetSubscribeListRequestValidationError) Cause

Cause function returns cause value.

func (GetSubscribeListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeListRequestValidationError) Field

Field function returns field value.

func (GetSubscribeListRequestValidationError) Key

Key function returns key value.

func (GetSubscribeListRequestValidationError) Reason

Reason function returns reason value.

type ResetAllSubscribeTokenData

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

ResetAllSubscribeTokenData 重置所有订阅Token数据

func (*ResetAllSubscribeTokenData) Descriptor deprecated

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

Deprecated: Use ResetAllSubscribeTokenData.ProtoReflect.Descriptor instead.

func (*ResetAllSubscribeTokenData) GetSuccess

func (x *ResetAllSubscribeTokenData) GetSuccess() bool

func (*ResetAllSubscribeTokenData) ProtoMessage

func (*ResetAllSubscribeTokenData) ProtoMessage()

func (*ResetAllSubscribeTokenData) ProtoReflect

func (*ResetAllSubscribeTokenData) Reset

func (x *ResetAllSubscribeTokenData) Reset()

func (*ResetAllSubscribeTokenData) String

func (x *ResetAllSubscribeTokenData) String() string

func (*ResetAllSubscribeTokenData) Validate

func (m *ResetAllSubscribeTokenData) Validate() error

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

func (m *ResetAllSubscribeTokenData) ValidateAll() error

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

type ResetAllSubscribeTokenDataMultiError

type ResetAllSubscribeTokenDataMultiError []error

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

func (ResetAllSubscribeTokenDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResetAllSubscribeTokenDataMultiError) Error

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

type ResetAllSubscribeTokenDataValidationError

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

ResetAllSubscribeTokenDataValidationError is the validation error returned by ResetAllSubscribeTokenData.Validate if the designated constraints aren't met.

func (ResetAllSubscribeTokenDataValidationError) Cause

Cause function returns cause value.

func (ResetAllSubscribeTokenDataValidationError) Error

Error satisfies the builtin error interface

func (ResetAllSubscribeTokenDataValidationError) ErrorName

ErrorName returns error name.

func (ResetAllSubscribeTokenDataValidationError) Field

Field function returns field value.

func (ResetAllSubscribeTokenDataValidationError) Key

Key function returns key value.

func (ResetAllSubscribeTokenDataValidationError) Reason

Reason function returns reason value.

type ResetAllSubscribeTokenReply

type ResetAllSubscribeTokenReply 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    *ResetAllSubscribeTokenData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

ResetAllSubscribeTokenReply 重置所有订阅Token响应

func (*ResetAllSubscribeTokenReply) Descriptor deprecated

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

Deprecated: Use ResetAllSubscribeTokenReply.ProtoReflect.Descriptor instead.

func (*ResetAllSubscribeTokenReply) GetCode

func (x *ResetAllSubscribeTokenReply) GetCode() int32

func (*ResetAllSubscribeTokenReply) GetData

func (*ResetAllSubscribeTokenReply) GetMessage

func (x *ResetAllSubscribeTokenReply) GetMessage() string

func (*ResetAllSubscribeTokenReply) ProtoMessage

func (*ResetAllSubscribeTokenReply) ProtoMessage()

func (*ResetAllSubscribeTokenReply) ProtoReflect

func (*ResetAllSubscribeTokenReply) Reset

func (x *ResetAllSubscribeTokenReply) Reset()

func (*ResetAllSubscribeTokenReply) String

func (x *ResetAllSubscribeTokenReply) String() string

func (*ResetAllSubscribeTokenReply) Validate

func (m *ResetAllSubscribeTokenReply) Validate() error

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

func (m *ResetAllSubscribeTokenReply) ValidateAll() error

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

type ResetAllSubscribeTokenReplyMultiError

type ResetAllSubscribeTokenReplyMultiError []error

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

func (ResetAllSubscribeTokenReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResetAllSubscribeTokenReplyMultiError) Error

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

type ResetAllSubscribeTokenReplyValidationError

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

ResetAllSubscribeTokenReplyValidationError is the validation error returned by ResetAllSubscribeTokenReply.Validate if the designated constraints aren't met.

func (ResetAllSubscribeTokenReplyValidationError) Cause

Cause function returns cause value.

func (ResetAllSubscribeTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (ResetAllSubscribeTokenReplyValidationError) ErrorName

ErrorName returns error name.

func (ResetAllSubscribeTokenReplyValidationError) Field

Field function returns field value.

func (ResetAllSubscribeTokenReplyValidationError) Key

Key function returns key value.

func (ResetAllSubscribeTokenReplyValidationError) Reason

Reason function returns reason value.

type ResetAllSubscribeTokenRequest

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

ResetAllSubscribeTokenRequest 重置所有订阅Token请求

func (*ResetAllSubscribeTokenRequest) Descriptor deprecated

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

Deprecated: Use ResetAllSubscribeTokenRequest.ProtoReflect.Descriptor instead.

func (*ResetAllSubscribeTokenRequest) ProtoMessage

func (*ResetAllSubscribeTokenRequest) ProtoMessage()

func (*ResetAllSubscribeTokenRequest) ProtoReflect

func (*ResetAllSubscribeTokenRequest) Reset

func (x *ResetAllSubscribeTokenRequest) Reset()

func (*ResetAllSubscribeTokenRequest) String

func (*ResetAllSubscribeTokenRequest) Validate

func (m *ResetAllSubscribeTokenRequest) Validate() error

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

func (m *ResetAllSubscribeTokenRequest) ValidateAll() error

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

type ResetAllSubscribeTokenRequestMultiError

type ResetAllSubscribeTokenRequestMultiError []error

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

func (ResetAllSubscribeTokenRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResetAllSubscribeTokenRequestMultiError) Error

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

type ResetAllSubscribeTokenRequestValidationError

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

ResetAllSubscribeTokenRequestValidationError is the validation error returned by ResetAllSubscribeTokenRequest.Validate if the designated constraints aren't met.

func (ResetAllSubscribeTokenRequestValidationError) Cause

Cause function returns cause value.

func (ResetAllSubscribeTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetAllSubscribeTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetAllSubscribeTokenRequestValidationError) Field

Field function returns field value.

func (ResetAllSubscribeTokenRequestValidationError) Key

Key function returns key value.

func (ResetAllSubscribeTokenRequestValidationError) Reason

Reason function returns reason value.

type SortItem

type SortItem struct {
	Id   int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`     // 订阅套餐ID
	Sort int32 `protobuf:"varint,2,opt,name=sort,proto3" json:"sort,omitempty"` // 排序值
	// contains filtered or unexported fields
}

SortItem 排序项

func (*SortItem) Descriptor deprecated

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

Deprecated: Use SortItem.ProtoReflect.Descriptor instead.

func (*SortItem) GetId

func (x *SortItem) GetId() int64

func (*SortItem) GetSort

func (x *SortItem) GetSort() int32

func (*SortItem) ProtoMessage

func (*SortItem) ProtoMessage()

func (*SortItem) ProtoReflect

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

func (*SortItem) Reset

func (x *SortItem) Reset()

func (*SortItem) String

func (x *SortItem) String() string

func (*SortItem) Validate

func (m *SortItem) Validate() error

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

func (m *SortItem) ValidateAll() error

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

type SortItemMultiError

type SortItemMultiError []error

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

func (SortItemMultiError) AllErrors

func (m SortItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SortItemMultiError) Error

func (m SortItemMultiError) Error() string

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

type SortItemValidationError

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

SortItemValidationError is the validation error returned by SortItem.Validate if the designated constraints aren't met.

func (SortItemValidationError) Cause

func (e SortItemValidationError) Cause() error

Cause function returns cause value.

func (SortItemValidationError) Error

func (e SortItemValidationError) Error() string

Error satisfies the builtin error interface

func (SortItemValidationError) ErrorName

func (e SortItemValidationError) ErrorName() string

ErrorName returns error name.

func (SortItemValidationError) Field

func (e SortItemValidationError) Field() string

Field function returns field value.

func (SortItemValidationError) Key

func (e SortItemValidationError) Key() bool

Key function returns key value.

func (SortItemValidationError) Reason

func (e SortItemValidationError) Reason() string

Reason function returns reason value.

type SubscribeCategoryInfo added in v1.0.9

type SubscribeCategoryInfo struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                // 商品分类ID
	ParentId    int64  `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`    // 父分类ID
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                             // 分类名称
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`               // 分类描述
	Language    string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`                     // 语言
	Show        bool   `protobuf:"varint,6,opt,name=show,proto3" json:"show,omitempty"`                            // 是否显示
	Sort        int32  `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`                            // 排序
	CreatedAt   int64  `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
	UpdatedAt   int64  `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间
	// contains filtered or unexported fields
}

SubscribeCategoryInfo 商品分类信息

func (*SubscribeCategoryInfo) Descriptor deprecated added in v1.0.9

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

Deprecated: Use SubscribeCategoryInfo.ProtoReflect.Descriptor instead.

func (*SubscribeCategoryInfo) GetCreatedAt added in v1.0.9

func (x *SubscribeCategoryInfo) GetCreatedAt() int64

func (*SubscribeCategoryInfo) GetDescription added in v1.0.9

func (x *SubscribeCategoryInfo) GetDescription() string

func (*SubscribeCategoryInfo) GetId added in v1.0.9

func (x *SubscribeCategoryInfo) GetId() int64

func (*SubscribeCategoryInfo) GetLanguage added in v1.0.9

func (x *SubscribeCategoryInfo) GetLanguage() string

func (*SubscribeCategoryInfo) GetName added in v1.0.9

func (x *SubscribeCategoryInfo) GetName() string

func (*SubscribeCategoryInfo) GetParentId added in v1.0.9

func (x *SubscribeCategoryInfo) GetParentId() int64

func (*SubscribeCategoryInfo) GetShow added in v1.0.9

func (x *SubscribeCategoryInfo) GetShow() bool

func (*SubscribeCategoryInfo) GetSort added in v1.0.9

func (x *SubscribeCategoryInfo) GetSort() int32

func (*SubscribeCategoryInfo) GetUpdatedAt added in v1.0.9

func (x *SubscribeCategoryInfo) GetUpdatedAt() int64

func (*SubscribeCategoryInfo) ProtoMessage added in v1.0.9

func (*SubscribeCategoryInfo) ProtoMessage()

func (*SubscribeCategoryInfo) ProtoReflect added in v1.0.9

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

func (*SubscribeCategoryInfo) Reset added in v1.0.9

func (x *SubscribeCategoryInfo) Reset()

func (*SubscribeCategoryInfo) String added in v1.0.9

func (x *SubscribeCategoryInfo) String() string

func (*SubscribeCategoryInfo) Validate added in v1.0.9

func (m *SubscribeCategoryInfo) Validate() error

Validate checks the field values on SubscribeCategoryInfo 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 (*SubscribeCategoryInfo) ValidateAll added in v1.0.9

func (m *SubscribeCategoryInfo) ValidateAll() error

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

type SubscribeCategoryInfoMultiError added in v1.0.9

type SubscribeCategoryInfoMultiError []error

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

func (SubscribeCategoryInfoMultiError) AllErrors added in v1.0.9

func (m SubscribeCategoryInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeCategoryInfoMultiError) Error added in v1.0.9

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

type SubscribeCategoryInfoValidationError added in v1.0.9

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

SubscribeCategoryInfoValidationError is the validation error returned by SubscribeCategoryInfo.Validate if the designated constraints aren't met.

func (SubscribeCategoryInfoValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (SubscribeCategoryInfoValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (SubscribeCategoryInfoValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (SubscribeCategoryInfoValidationError) Field added in v1.0.9

Field function returns field value.

func (SubscribeCategoryInfoValidationError) Key added in v1.0.9

Key function returns key value.

func (SubscribeCategoryInfoValidationError) Reason added in v1.0.9

Reason function returns reason value.

type SubscribeClient

type SubscribeClient interface {
	// CreateSubscribe 创建订阅套餐
	CreateSubscribe(ctx context.Context, in *CreateSubscribeRequest, opts ...grpc.CallOption) (*CreateSubscribeReply, error)
	// UpdateSubscribe 更新订阅套餐
	UpdateSubscribe(ctx context.Context, in *UpdateSubscribeRequest, opts ...grpc.CallOption) (*UpdateSubscribeReply, error)
	// DeleteSubscribe 删除订阅套餐
	DeleteSubscribe(ctx context.Context, in *DeleteSubscribeRequest, opts ...grpc.CallOption) (*DeleteSubscribeReply, error)
	// BatchDeleteSubscribe 批量删除订阅套餐
	BatchDeleteSubscribe(ctx context.Context, in *BatchDeleteSubscribeRequest, opts ...grpc.CallOption) (*BatchDeleteSubscribeReply, error)
	// GetSubscribeDetails 获取订阅套餐详情
	GetSubscribeDetails(ctx context.Context, in *GetSubscribeDetailsRequest, opts ...grpc.CallOption) (*GetSubscribeDetailsReply, error)
	// GetSubscribeList 获取订阅套餐列表
	GetSubscribeList(ctx context.Context, in *GetSubscribeListRequest, opts ...grpc.CallOption) (*GetSubscribeListReply, error)
	// SubscribeSort 订阅套餐排序
	SubscribeSort(ctx context.Context, in *SubscribeSortRequest, opts ...grpc.CallOption) (*SubscribeSortReply, error)
	// CreateSubscribeCategory 创建商品分类
	CreateSubscribeCategory(ctx context.Context, in *CreateSubscribeCategoryRequest, opts ...grpc.CallOption) (*CreateSubscribeCategoryReply, error)
	// UpdateSubscribeCategory 更新商品分类
	UpdateSubscribeCategory(ctx context.Context, in *UpdateSubscribeCategoryRequest, opts ...grpc.CallOption) (*UpdateSubscribeCategoryReply, error)
	// DeleteSubscribeCategory 删除商品分类
	DeleteSubscribeCategory(ctx context.Context, in *DeleteSubscribeCategoryRequest, opts ...grpc.CallOption) (*DeleteSubscribeCategoryReply, error)
	// BatchDeleteSubscribeCategory 批量删除商品分类
	BatchDeleteSubscribeCategory(ctx context.Context, in *BatchDeleteSubscribeCategoryRequest, opts ...grpc.CallOption) (*BatchDeleteSubscribeCategoryReply, error)
	// GetSubscribeCategoryList 获取商品分类列表
	GetSubscribeCategoryList(ctx context.Context, in *GetSubscribeCategoryListRequest, opts ...grpc.CallOption) (*GetSubscribeCategoryListReply, error)
	// CreateSubscribeGroup 创建订阅组
	CreateSubscribeGroup(ctx context.Context, in *CreateSubscribeGroupRequest, opts ...grpc.CallOption) (*CreateSubscribeGroupReply, error)
	// UpdateSubscribeGroup 更新订阅组
	UpdateSubscribeGroup(ctx context.Context, in *UpdateSubscribeGroupRequest, opts ...grpc.CallOption) (*UpdateSubscribeGroupReply, error)
	// DeleteSubscribeGroup 删除订阅组
	DeleteSubscribeGroup(ctx context.Context, in *DeleteSubscribeGroupRequest, opts ...grpc.CallOption) (*DeleteSubscribeGroupReply, error)
	// BatchDeleteSubscribeGroup 批量删除订阅组
	BatchDeleteSubscribeGroup(ctx context.Context, in *BatchDeleteSubscribeGroupRequest, opts ...grpc.CallOption) (*BatchDeleteSubscribeGroupReply, error)
	// GetSubscribeGroupList 获取订阅组列表
	GetSubscribeGroupList(ctx context.Context, in *GetSubscribeGroupListRequest, opts ...grpc.CallOption) (*GetSubscribeGroupListReply, error)
	// ResetAllSubscribeToken 重置所有订阅Token
	ResetAllSubscribeToken(ctx context.Context, in *ResetAllSubscribeTokenRequest, opts ...grpc.CallOption) (*ResetAllSubscribeTokenReply, error)
}

SubscribeClient is the client API for Subscribe service.

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

func NewSubscribeClient

func NewSubscribeClient(cc grpc.ClientConnInterface) SubscribeClient

type SubscribeDiscount

type SubscribeDiscount struct {
	Quantity int64 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"` // 数量(月数)
	Discount int64 `protobuf:"varint,2,opt,name=discount,proto3" json:"discount,omitempty"` // 折扣
	// contains filtered or unexported fields
}

SubscribeDiscount 折扣配置

func (*SubscribeDiscount) Descriptor deprecated

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

Deprecated: Use SubscribeDiscount.ProtoReflect.Descriptor instead.

func (*SubscribeDiscount) GetDiscount

func (x *SubscribeDiscount) GetDiscount() int64

func (*SubscribeDiscount) GetQuantity

func (x *SubscribeDiscount) GetQuantity() int64

func (*SubscribeDiscount) ProtoMessage

func (*SubscribeDiscount) ProtoMessage()

func (*SubscribeDiscount) ProtoReflect

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

func (*SubscribeDiscount) Reset

func (x *SubscribeDiscount) Reset()

func (*SubscribeDiscount) String

func (x *SubscribeDiscount) String() string

func (*SubscribeDiscount) Validate

func (m *SubscribeDiscount) Validate() error

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

func (m *SubscribeDiscount) ValidateAll() error

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

type SubscribeDiscountMultiError

type SubscribeDiscountMultiError []error

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

func (SubscribeDiscountMultiError) AllErrors

func (m SubscribeDiscountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeDiscountMultiError) Error

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

type SubscribeDiscountValidationError

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

SubscribeDiscountValidationError is the validation error returned by SubscribeDiscount.Validate if the designated constraints aren't met.

func (SubscribeDiscountValidationError) Cause

Cause function returns cause value.

func (SubscribeDiscountValidationError) Error

Error satisfies the builtin error interface

func (SubscribeDiscountValidationError) ErrorName

ErrorName returns error name.

func (SubscribeDiscountValidationError) Field

Field function returns field value.

func (SubscribeDiscountValidationError) Key

Key function returns key value.

func (SubscribeDiscountValidationError) Reason

Reason function returns reason value.

type SubscribeGroupInfo

type SubscribeGroupInfo struct {
	Id                  int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                                  // 订阅组ID
	Name                string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                               // 订阅组名称
	Description         string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                                                 // 订阅组描述
	IsExpiredGroup      bool   `protobuf:"varint,4,opt,name=is_expired_group,json=isExpiredGroup,proto3" json:"is_expired_group,omitempty"`                  // 是否为过期组
	ExpiredDaysLimit    int32  `protobuf:"varint,5,opt,name=expired_days_limit,json=expiredDaysLimit,proto3" json:"expired_days_limit,omitempty"`            // 过期天数限制
	MaxTrafficGbExpired int32  `protobuf:"varint,6,opt,name=max_traffic_gb_expired,json=maxTrafficGbExpired,proto3" json:"max_traffic_gb_expired,omitempty"` // 过期后最大流量GB
	SpeedLimit          int32  `protobuf:"varint,7,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                                // 速度限制
	CreatedAt           int64  `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                                   // 创建时间
	UpdatedAt           int64  `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`                                   // 更新时间
	// contains filtered or unexported fields
}

SubscribeGroupInfo 订阅组信息

func (*SubscribeGroupInfo) Descriptor deprecated

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

Deprecated: Use SubscribeGroupInfo.ProtoReflect.Descriptor instead.

func (*SubscribeGroupInfo) GetCreatedAt

func (x *SubscribeGroupInfo) GetCreatedAt() int64

func (*SubscribeGroupInfo) GetDescription

func (x *SubscribeGroupInfo) GetDescription() string

func (*SubscribeGroupInfo) GetExpiredDaysLimit

func (x *SubscribeGroupInfo) GetExpiredDaysLimit() int32

func (*SubscribeGroupInfo) GetId

func (x *SubscribeGroupInfo) GetId() int64

func (*SubscribeGroupInfo) GetIsExpiredGroup

func (x *SubscribeGroupInfo) GetIsExpiredGroup() bool

func (*SubscribeGroupInfo) GetMaxTrafficGbExpired

func (x *SubscribeGroupInfo) GetMaxTrafficGbExpired() int32

func (*SubscribeGroupInfo) GetName

func (x *SubscribeGroupInfo) GetName() string

func (*SubscribeGroupInfo) GetSpeedLimit

func (x *SubscribeGroupInfo) GetSpeedLimit() int32

func (*SubscribeGroupInfo) GetUpdatedAt

func (x *SubscribeGroupInfo) GetUpdatedAt() int64

func (*SubscribeGroupInfo) ProtoMessage

func (*SubscribeGroupInfo) ProtoMessage()

func (*SubscribeGroupInfo) ProtoReflect

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

func (*SubscribeGroupInfo) Reset

func (x *SubscribeGroupInfo) Reset()

func (*SubscribeGroupInfo) String

func (x *SubscribeGroupInfo) String() string

func (*SubscribeGroupInfo) Validate

func (m *SubscribeGroupInfo) Validate() error

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

func (m *SubscribeGroupInfo) ValidateAll() error

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

type SubscribeGroupInfoMultiError

type SubscribeGroupInfoMultiError []error

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

func (SubscribeGroupInfoMultiError) AllErrors

func (m SubscribeGroupInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeGroupInfoMultiError) Error

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

type SubscribeGroupInfoValidationError

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

SubscribeGroupInfoValidationError is the validation error returned by SubscribeGroupInfo.Validate if the designated constraints aren't met.

func (SubscribeGroupInfoValidationError) Cause

Cause function returns cause value.

func (SubscribeGroupInfoValidationError) Error

Error satisfies the builtin error interface

func (SubscribeGroupInfoValidationError) ErrorName

ErrorName returns error name.

func (SubscribeGroupInfoValidationError) Field

Field function returns field value.

func (SubscribeGroupInfoValidationError) Key

Key function returns key value.

func (SubscribeGroupInfoValidationError) Reason

Reason function returns reason value.

type SubscribeHTTPClient

type SubscribeHTTPClient interface {
	// BatchDeleteSubscribe BatchDeleteSubscribe 批量删除订阅套餐
	BatchDeleteSubscribe(ctx context.Context, req *BatchDeleteSubscribeRequest, opts ...http.CallOption) (rsp *BatchDeleteSubscribeReply, err error)
	// BatchDeleteSubscribeCategory BatchDeleteSubscribeCategory 批量删除商品分类
	BatchDeleteSubscribeCategory(ctx context.Context, req *BatchDeleteSubscribeCategoryRequest, opts ...http.CallOption) (rsp *BatchDeleteSubscribeCategoryReply, err error)
	// BatchDeleteSubscribeGroup BatchDeleteSubscribeGroup 批量删除订阅组
	BatchDeleteSubscribeGroup(ctx context.Context, req *BatchDeleteSubscribeGroupRequest, opts ...http.CallOption) (rsp *BatchDeleteSubscribeGroupReply, err error)
	// CreateSubscribe CreateSubscribe 创建订阅套餐
	CreateSubscribe(ctx context.Context, req *CreateSubscribeRequest, opts ...http.CallOption) (rsp *CreateSubscribeReply, err error)
	// CreateSubscribeCategory CreateSubscribeCategory 创建商品分类
	CreateSubscribeCategory(ctx context.Context, req *CreateSubscribeCategoryRequest, opts ...http.CallOption) (rsp *CreateSubscribeCategoryReply, err error)
	// CreateSubscribeGroup CreateSubscribeGroup 创建订阅组
	CreateSubscribeGroup(ctx context.Context, req *CreateSubscribeGroupRequest, opts ...http.CallOption) (rsp *CreateSubscribeGroupReply, err error)
	// DeleteSubscribe DeleteSubscribe 删除订阅套餐
	DeleteSubscribe(ctx context.Context, req *DeleteSubscribeRequest, opts ...http.CallOption) (rsp *DeleteSubscribeReply, err error)
	// DeleteSubscribeCategory DeleteSubscribeCategory 删除商品分类
	DeleteSubscribeCategory(ctx context.Context, req *DeleteSubscribeCategoryRequest, opts ...http.CallOption) (rsp *DeleteSubscribeCategoryReply, err error)
	// DeleteSubscribeGroup DeleteSubscribeGroup 删除订阅组
	DeleteSubscribeGroup(ctx context.Context, req *DeleteSubscribeGroupRequest, opts ...http.CallOption) (rsp *DeleteSubscribeGroupReply, err error)
	// GetSubscribeCategoryList GetSubscribeCategoryList 获取商品分类列表
	GetSubscribeCategoryList(ctx context.Context, req *GetSubscribeCategoryListRequest, opts ...http.CallOption) (rsp *GetSubscribeCategoryListReply, err error)
	// GetSubscribeDetails GetSubscribeDetails 获取订阅套餐详情
	GetSubscribeDetails(ctx context.Context, req *GetSubscribeDetailsRequest, opts ...http.CallOption) (rsp *GetSubscribeDetailsReply, err error)
	// GetSubscribeGroupList GetSubscribeGroupList 获取订阅组列表
	GetSubscribeGroupList(ctx context.Context, req *GetSubscribeGroupListRequest, opts ...http.CallOption) (rsp *GetSubscribeGroupListReply, err error)
	// GetSubscribeList GetSubscribeList 获取订阅套餐列表
	GetSubscribeList(ctx context.Context, req *GetSubscribeListRequest, opts ...http.CallOption) (rsp *GetSubscribeListReply, err error)
	// ResetAllSubscribeToken ResetAllSubscribeToken 重置所有订阅Token
	ResetAllSubscribeToken(ctx context.Context, req *ResetAllSubscribeTokenRequest, opts ...http.CallOption) (rsp *ResetAllSubscribeTokenReply, err error)
	// SubscribeSort SubscribeSort 订阅套餐排序
	SubscribeSort(ctx context.Context, req *SubscribeSortRequest, opts ...http.CallOption) (rsp *SubscribeSortReply, err error)
	// UpdateSubscribe UpdateSubscribe 更新订阅套餐
	UpdateSubscribe(ctx context.Context, req *UpdateSubscribeRequest, opts ...http.CallOption) (rsp *UpdateSubscribeReply, err error)
	// UpdateSubscribeCategory UpdateSubscribeCategory 更新商品分类
	UpdateSubscribeCategory(ctx context.Context, req *UpdateSubscribeCategoryRequest, opts ...http.CallOption) (rsp *UpdateSubscribeCategoryReply, err error)
	// UpdateSubscribeGroup UpdateSubscribeGroup 更新订阅组
	UpdateSubscribeGroup(ctx context.Context, req *UpdateSubscribeGroupRequest, opts ...http.CallOption) (rsp *UpdateSubscribeGroupReply, err error)
}

func NewSubscribeHTTPClient

func NewSubscribeHTTPClient(client *http.Client) SubscribeHTTPClient

type SubscribeHTTPClientImpl

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

func (*SubscribeHTTPClientImpl) BatchDeleteSubscribe

BatchDeleteSubscribe BatchDeleteSubscribe 批量删除订阅套餐

func (*SubscribeHTTPClientImpl) BatchDeleteSubscribeCategory added in v1.0.9

BatchDeleteSubscribeCategory BatchDeleteSubscribeCategory 批量删除商品分类

func (*SubscribeHTTPClientImpl) BatchDeleteSubscribeGroup

BatchDeleteSubscribeGroup BatchDeleteSubscribeGroup 批量删除订阅组

func (*SubscribeHTTPClientImpl) CreateSubscribe

CreateSubscribe CreateSubscribe 创建订阅套餐

func (*SubscribeHTTPClientImpl) CreateSubscribeCategory added in v1.0.9

CreateSubscribeCategory CreateSubscribeCategory 创建商品分类

func (*SubscribeHTTPClientImpl) CreateSubscribeGroup

CreateSubscribeGroup CreateSubscribeGroup 创建订阅组

func (*SubscribeHTTPClientImpl) DeleteSubscribe

DeleteSubscribe DeleteSubscribe 删除订阅套餐

func (*SubscribeHTTPClientImpl) DeleteSubscribeCategory added in v1.0.9

DeleteSubscribeCategory DeleteSubscribeCategory 删除商品分类

func (*SubscribeHTTPClientImpl) DeleteSubscribeGroup

DeleteSubscribeGroup DeleteSubscribeGroup 删除订阅组

func (*SubscribeHTTPClientImpl) GetSubscribeCategoryList added in v1.0.9

GetSubscribeCategoryList GetSubscribeCategoryList 获取商品分类列表

func (*SubscribeHTTPClientImpl) GetSubscribeDetails

GetSubscribeDetails GetSubscribeDetails 获取订阅套餐详情

func (*SubscribeHTTPClientImpl) GetSubscribeGroupList

GetSubscribeGroupList GetSubscribeGroupList 获取订阅组列表

func (*SubscribeHTTPClientImpl) GetSubscribeList

GetSubscribeList GetSubscribeList 获取订阅套餐列表

func (*SubscribeHTTPClientImpl) ResetAllSubscribeToken

ResetAllSubscribeToken ResetAllSubscribeToken 重置所有订阅Token

func (*SubscribeHTTPClientImpl) SubscribeSort

SubscribeSort SubscribeSort 订阅套餐排序

func (*SubscribeHTTPClientImpl) UpdateSubscribe

UpdateSubscribe UpdateSubscribe 更新订阅套餐

func (*SubscribeHTTPClientImpl) UpdateSubscribeCategory added in v1.0.9

UpdateSubscribeCategory UpdateSubscribeCategory 更新商品分类

func (*SubscribeHTTPClientImpl) UpdateSubscribeGroup

UpdateSubscribeGroup UpdateSubscribeGroup 更新订阅组

type SubscribeHTTPServer

type SubscribeHTTPServer interface {
	// BatchDeleteSubscribe BatchDeleteSubscribe 批量删除订阅套餐
	BatchDeleteSubscribe(context.Context, *BatchDeleteSubscribeRequest) (*BatchDeleteSubscribeReply, error)
	// BatchDeleteSubscribeCategory BatchDeleteSubscribeCategory 批量删除商品分类
	BatchDeleteSubscribeCategory(context.Context, *BatchDeleteSubscribeCategoryRequest) (*BatchDeleteSubscribeCategoryReply, error)
	// BatchDeleteSubscribeGroup BatchDeleteSubscribeGroup 批量删除订阅组
	BatchDeleteSubscribeGroup(context.Context, *BatchDeleteSubscribeGroupRequest) (*BatchDeleteSubscribeGroupReply, error)
	// CreateSubscribe CreateSubscribe 创建订阅套餐
	CreateSubscribe(context.Context, *CreateSubscribeRequest) (*CreateSubscribeReply, error)
	// CreateSubscribeCategory CreateSubscribeCategory 创建商品分类
	CreateSubscribeCategory(context.Context, *CreateSubscribeCategoryRequest) (*CreateSubscribeCategoryReply, error)
	// CreateSubscribeGroup CreateSubscribeGroup 创建订阅组
	CreateSubscribeGroup(context.Context, *CreateSubscribeGroupRequest) (*CreateSubscribeGroupReply, error)
	// DeleteSubscribe DeleteSubscribe 删除订阅套餐
	DeleteSubscribe(context.Context, *DeleteSubscribeRequest) (*DeleteSubscribeReply, error)
	// DeleteSubscribeCategory DeleteSubscribeCategory 删除商品分类
	DeleteSubscribeCategory(context.Context, *DeleteSubscribeCategoryRequest) (*DeleteSubscribeCategoryReply, error)
	// DeleteSubscribeGroup DeleteSubscribeGroup 删除订阅组
	DeleteSubscribeGroup(context.Context, *DeleteSubscribeGroupRequest) (*DeleteSubscribeGroupReply, error)
	// GetSubscribeCategoryList GetSubscribeCategoryList 获取商品分类列表
	GetSubscribeCategoryList(context.Context, *GetSubscribeCategoryListRequest) (*GetSubscribeCategoryListReply, error)
	// GetSubscribeDetails GetSubscribeDetails 获取订阅套餐详情
	GetSubscribeDetails(context.Context, *GetSubscribeDetailsRequest) (*GetSubscribeDetailsReply, error)
	// GetSubscribeGroupList GetSubscribeGroupList 获取订阅组列表
	GetSubscribeGroupList(context.Context, *GetSubscribeGroupListRequest) (*GetSubscribeGroupListReply, error)
	// GetSubscribeList GetSubscribeList 获取订阅套餐列表
	GetSubscribeList(context.Context, *GetSubscribeListRequest) (*GetSubscribeListReply, error)
	// ResetAllSubscribeToken ResetAllSubscribeToken 重置所有订阅Token
	ResetAllSubscribeToken(context.Context, *ResetAllSubscribeTokenRequest) (*ResetAllSubscribeTokenReply, error)
	// SubscribeSort SubscribeSort 订阅套餐排序
	SubscribeSort(context.Context, *SubscribeSortRequest) (*SubscribeSortReply, error)
	// UpdateSubscribe UpdateSubscribe 更新订阅套餐
	UpdateSubscribe(context.Context, *UpdateSubscribeRequest) (*UpdateSubscribeReply, error)
	// UpdateSubscribeCategory UpdateSubscribeCategory 更新商品分类
	UpdateSubscribeCategory(context.Context, *UpdateSubscribeCategoryRequest) (*UpdateSubscribeCategoryReply, error)
	// UpdateSubscribeGroup UpdateSubscribeGroup 更新订阅组
	UpdateSubscribeGroup(context.Context, *UpdateSubscribeGroupRequest) (*UpdateSubscribeGroupReply, error)
}

type SubscribeInfo

type SubscribeInfo struct {
	Id                int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                           // 订阅套餐ID
	Name              string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                        // 订阅套餐名称
	Language          string                  `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`                                                // 语言
	Description       string                  `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`                                          // 订阅套餐描述
	UnitPrice         int64                   `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`                            // 单位价格(单位:分)
	UnitTime          string                  `protobuf:"bytes,6,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`                                // 单位时间
	Discount          []*SubscribeDiscount    `protobuf:"bytes,7,rep,name=discount,proto3" json:"discount,omitempty"`                                                // 折扣配置
	Replacement       int64                   `protobuf:"varint,8,opt,name=replacement,proto3" json:"replacement,omitempty"`                                         // 替换
	Inventory         int32                   `protobuf:"varint,9,opt,name=inventory,proto3" json:"inventory,omitempty"`                                             // 库存
	Traffic           int64                   `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`                                                // 流量(字节)
	SpeedLimit        int32                   `protobuf:"varint,11,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                        // 速度限制
	DeviceLimit       int32                   `protobuf:"varint,12,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`                     // 设备数限制
	Quota             int32                   `protobuf:"varint,13,opt,name=quota,proto3" json:"quota,omitempty"`                                                    // 配额
	CategoryId        int64                   `protobuf:"varint,29,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`                        // 商品分类ID
	CategoryName      string                  `protobuf:"bytes,30,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`                   // 商品分类名称
	Nodes             []int64                 `protobuf:"varint,14,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`                                             // 节点IDs
	NodeTags          []string                `protobuf:"bytes,15,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`                               // 节点标签
	NodeGroupIds      []int64                 `protobuf:"varint,16,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`         // 节点组IDs
	NodeGroupId       int64                   `protobuf:"varint,17,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`                   // 节点组ID
	TrafficLimit      []*TrafficLimit         `protobuf:"bytes,18,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`                   // 流量限制配置
	Show              bool                    `protobuf:"varint,19,opt,name=show,proto3" json:"show,omitempty"`                                                      // 是否在门户页面显示
	Sell              bool                    `protobuf:"varint,20,opt,name=sell,proto3" json:"sell,omitempty"`                                                      // 是否售卖
	Sort              int32                   `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`                                                      // 排序
	DeductionRatio    int32                   `protobuf:"varint,22,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`            // 扣除比例
	AllowDeduction    bool                    `protobuf:"varint,23,opt,name=allow_deduction,json=allowDeduction,proto3" json:"allow_deduction,omitempty"`            // 允许扣除
	ResetCycle        int32                   `protobuf:"varint,24,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`                        // 重置周期: 0-不重置 1-1号 2-每月 3-每年
	RenewalReset      bool                    `protobuf:"varint,25,opt,name=renewal_reset,json=renewalReset,proto3" json:"renewal_reset,omitempty"`                  // 续费重置
	ShowOriginalPrice bool                    `protobuf:"varint,26,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"` // 显示原价
	CreatedAt         int64                   `protobuf:"varint,27,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                           // 创建时间
	UpdatedAt         int64                   `protobuf:"varint,28,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`                           // 更新时间
	PriceOptions      []*SubscribePriceOption `protobuf:"bytes,31,rep,name=price_options,json=priceOptions,proto3" json:"price_options,omitempty"`                   // 商品价格档位
	// contains filtered or unexported fields
}

SubscribeInfo 订阅套餐信息

func (*SubscribeInfo) Descriptor deprecated

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

Deprecated: Use SubscribeInfo.ProtoReflect.Descriptor instead.

func (*SubscribeInfo) GetAllowDeduction

func (x *SubscribeInfo) GetAllowDeduction() bool

func (*SubscribeInfo) GetCategoryId added in v1.0.9

func (x *SubscribeInfo) GetCategoryId() int64

func (*SubscribeInfo) GetCategoryName added in v1.0.9

func (x *SubscribeInfo) GetCategoryName() string

func (*SubscribeInfo) GetCreatedAt

func (x *SubscribeInfo) GetCreatedAt() int64

func (*SubscribeInfo) GetDeductionRatio

func (x *SubscribeInfo) GetDeductionRatio() int32

func (*SubscribeInfo) GetDescription

func (x *SubscribeInfo) GetDescription() string

func (*SubscribeInfo) GetDeviceLimit

func (x *SubscribeInfo) GetDeviceLimit() int32

func (*SubscribeInfo) GetDiscount

func (x *SubscribeInfo) GetDiscount() []*SubscribeDiscount

func (*SubscribeInfo) GetId

func (x *SubscribeInfo) GetId() int64

func (*SubscribeInfo) GetInventory

func (x *SubscribeInfo) GetInventory() int32

func (*SubscribeInfo) GetLanguage

func (x *SubscribeInfo) GetLanguage() string

func (*SubscribeInfo) GetName

func (x *SubscribeInfo) GetName() string

func (*SubscribeInfo) GetNodeGroupId

func (x *SubscribeInfo) GetNodeGroupId() int64

func (*SubscribeInfo) GetNodeGroupIds

func (x *SubscribeInfo) GetNodeGroupIds() []int64

func (*SubscribeInfo) GetNodeTags

func (x *SubscribeInfo) GetNodeTags() []string

func (*SubscribeInfo) GetNodes

func (x *SubscribeInfo) GetNodes() []int64

func (*SubscribeInfo) GetPriceOptions added in v1.0.10

func (x *SubscribeInfo) GetPriceOptions() []*SubscribePriceOption

func (*SubscribeInfo) GetQuota

func (x *SubscribeInfo) GetQuota() int32

func (*SubscribeInfo) GetRenewalReset

func (x *SubscribeInfo) GetRenewalReset() bool

func (*SubscribeInfo) GetReplacement

func (x *SubscribeInfo) GetReplacement() int64

func (*SubscribeInfo) GetResetCycle

func (x *SubscribeInfo) GetResetCycle() int32

func (*SubscribeInfo) GetSell

func (x *SubscribeInfo) GetSell() bool

func (*SubscribeInfo) GetShow

func (x *SubscribeInfo) GetShow() bool

func (*SubscribeInfo) GetShowOriginalPrice

func (x *SubscribeInfo) GetShowOriginalPrice() bool

func (*SubscribeInfo) GetSort

func (x *SubscribeInfo) GetSort() int32

func (*SubscribeInfo) GetSpeedLimit

func (x *SubscribeInfo) GetSpeedLimit() int32

func (*SubscribeInfo) GetTraffic

func (x *SubscribeInfo) GetTraffic() int64

func (*SubscribeInfo) GetTrafficLimit

func (x *SubscribeInfo) GetTrafficLimit() []*TrafficLimit

func (*SubscribeInfo) GetUnitPrice

func (x *SubscribeInfo) GetUnitPrice() int64

func (*SubscribeInfo) GetUnitTime

func (x *SubscribeInfo) GetUnitTime() string

func (*SubscribeInfo) GetUpdatedAt

func (x *SubscribeInfo) GetUpdatedAt() int64

func (*SubscribeInfo) ProtoMessage

func (*SubscribeInfo) ProtoMessage()

func (*SubscribeInfo) ProtoReflect

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

func (*SubscribeInfo) Reset

func (x *SubscribeInfo) Reset()

func (*SubscribeInfo) String

func (x *SubscribeInfo) String() string

func (*SubscribeInfo) Validate

func (m *SubscribeInfo) Validate() error

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

func (m *SubscribeInfo) ValidateAll() error

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

type SubscribeInfoMultiError

type SubscribeInfoMultiError []error

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

func (SubscribeInfoMultiError) AllErrors

func (m SubscribeInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeInfoMultiError) Error

func (m SubscribeInfoMultiError) Error() string

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

type SubscribeInfoValidationError

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

SubscribeInfoValidationError is the validation error returned by SubscribeInfo.Validate if the designated constraints aren't met.

func (SubscribeInfoValidationError) Cause

Cause function returns cause value.

func (SubscribeInfoValidationError) Error

Error satisfies the builtin error interface

func (SubscribeInfoValidationError) ErrorName

func (e SubscribeInfoValidationError) ErrorName() string

ErrorName returns error name.

func (SubscribeInfoValidationError) Field

Field function returns field value.

func (SubscribeInfoValidationError) Key

Key function returns key value.

func (SubscribeInfoValidationError) Reason

Reason function returns reason value.

type SubscribeItem

type SubscribeItem struct {
	Id                int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Language          string                  `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
	Description       string                  `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	UnitPrice         int64                   `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
	UnitTime          string                  `protobuf:"bytes,6,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`
	Discount          []*SubscribeDiscount    `protobuf:"bytes,7,rep,name=discount,proto3" json:"discount,omitempty"`
	Replacement       int64                   `protobuf:"varint,8,opt,name=replacement,proto3" json:"replacement,omitempty"`
	Inventory         int32                   `protobuf:"varint,9,opt,name=inventory,proto3" json:"inventory,omitempty"`
	Traffic           int64                   `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`
	SpeedLimit        int32                   `protobuf:"varint,11,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
	DeviceLimit       int32                   `protobuf:"varint,12,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`
	Quota             int32                   `protobuf:"varint,13,opt,name=quota,proto3" json:"quota,omitempty"`
	CategoryId        int64                   `protobuf:"varint,30,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	CategoryName      string                  `protobuf:"bytes,31,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	Nodes             []int64                 `protobuf:"varint,14,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`
	NodeTags          []string                `protobuf:"bytes,15,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`
	NodeGroupIds      []int64                 `protobuf:"varint,16,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
	NodeGroupId       int64                   `protobuf:"varint,17,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`
	TrafficLimit      []*TrafficLimit         `protobuf:"bytes,18,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`
	Show              bool                    `protobuf:"varint,19,opt,name=show,proto3" json:"show,omitempty"`
	Sell              bool                    `protobuf:"varint,20,opt,name=sell,proto3" json:"sell,omitempty"`
	Sort              int32                   `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`
	DeductionRatio    int32                   `protobuf:"varint,22,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`
	AllowDeduction    bool                    `protobuf:"varint,23,opt,name=allow_deduction,json=allowDeduction,proto3" json:"allow_deduction,omitempty"`
	ResetCycle        int32                   `protobuf:"varint,24,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`
	RenewalReset      bool                    `protobuf:"varint,25,opt,name=renewal_reset,json=renewalReset,proto3" json:"renewal_reset,omitempty"`
	ShowOriginalPrice bool                    `protobuf:"varint,26,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"`
	CreatedAt         int64                   `protobuf:"varint,27,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt         int64                   `protobuf:"varint,28,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Sold              int64                   `protobuf:"varint,29,opt,name=sold,proto3" json:"sold,omitempty"`                                    // 销量
	PriceOptions      []*SubscribePriceOption `protobuf:"bytes,32,rep,name=price_options,json=priceOptions,proto3" json:"price_options,omitempty"` // 商品价格档位
	// contains filtered or unexported fields
}

SubscribeItem 订阅套餐列表项(包含销量)

func (*SubscribeItem) Descriptor deprecated

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

Deprecated: Use SubscribeItem.ProtoReflect.Descriptor instead.

func (*SubscribeItem) GetAllowDeduction

func (x *SubscribeItem) GetAllowDeduction() bool

func (*SubscribeItem) GetCategoryId added in v1.0.9

func (x *SubscribeItem) GetCategoryId() int64

func (*SubscribeItem) GetCategoryName added in v1.0.9

func (x *SubscribeItem) GetCategoryName() string

func (*SubscribeItem) GetCreatedAt

func (x *SubscribeItem) GetCreatedAt() int64

func (*SubscribeItem) GetDeductionRatio

func (x *SubscribeItem) GetDeductionRatio() int32

func (*SubscribeItem) GetDescription

func (x *SubscribeItem) GetDescription() string

func (*SubscribeItem) GetDeviceLimit

func (x *SubscribeItem) GetDeviceLimit() int32

func (*SubscribeItem) GetDiscount

func (x *SubscribeItem) GetDiscount() []*SubscribeDiscount

func (*SubscribeItem) GetId

func (x *SubscribeItem) GetId() int64

func (*SubscribeItem) GetInventory

func (x *SubscribeItem) GetInventory() int32

func (*SubscribeItem) GetLanguage

func (x *SubscribeItem) GetLanguage() string

func (*SubscribeItem) GetName

func (x *SubscribeItem) GetName() string

func (*SubscribeItem) GetNodeGroupId

func (x *SubscribeItem) GetNodeGroupId() int64

func (*SubscribeItem) GetNodeGroupIds

func (x *SubscribeItem) GetNodeGroupIds() []int64

func (*SubscribeItem) GetNodeTags

func (x *SubscribeItem) GetNodeTags() []string

func (*SubscribeItem) GetNodes

func (x *SubscribeItem) GetNodes() []int64

func (*SubscribeItem) GetPriceOptions added in v1.0.10

func (x *SubscribeItem) GetPriceOptions() []*SubscribePriceOption

func (*SubscribeItem) GetQuota

func (x *SubscribeItem) GetQuota() int32

func (*SubscribeItem) GetRenewalReset

func (x *SubscribeItem) GetRenewalReset() bool

func (*SubscribeItem) GetReplacement

func (x *SubscribeItem) GetReplacement() int64

func (*SubscribeItem) GetResetCycle

func (x *SubscribeItem) GetResetCycle() int32

func (*SubscribeItem) GetSell

func (x *SubscribeItem) GetSell() bool

func (*SubscribeItem) GetShow

func (x *SubscribeItem) GetShow() bool

func (*SubscribeItem) GetShowOriginalPrice

func (x *SubscribeItem) GetShowOriginalPrice() bool

func (*SubscribeItem) GetSold

func (x *SubscribeItem) GetSold() int64

func (*SubscribeItem) GetSort

func (x *SubscribeItem) GetSort() int32

func (*SubscribeItem) GetSpeedLimit

func (x *SubscribeItem) GetSpeedLimit() int32

func (*SubscribeItem) GetTraffic

func (x *SubscribeItem) GetTraffic() int64

func (*SubscribeItem) GetTrafficLimit

func (x *SubscribeItem) GetTrafficLimit() []*TrafficLimit

func (*SubscribeItem) GetUnitPrice

func (x *SubscribeItem) GetUnitPrice() int64

func (*SubscribeItem) GetUnitTime

func (x *SubscribeItem) GetUnitTime() string

func (*SubscribeItem) GetUpdatedAt

func (x *SubscribeItem) GetUpdatedAt() int64

func (*SubscribeItem) ProtoMessage

func (*SubscribeItem) ProtoMessage()

func (*SubscribeItem) ProtoReflect

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

func (*SubscribeItem) Reset

func (x *SubscribeItem) Reset()

func (*SubscribeItem) String

func (x *SubscribeItem) String() string

func (*SubscribeItem) Validate

func (m *SubscribeItem) Validate() error

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

func (m *SubscribeItem) ValidateAll() error

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

type SubscribeItemMultiError

type SubscribeItemMultiError []error

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

func (SubscribeItemMultiError) AllErrors

func (m SubscribeItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeItemMultiError) Error

func (m SubscribeItemMultiError) Error() string

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

type SubscribeItemValidationError

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

SubscribeItemValidationError is the validation error returned by SubscribeItem.Validate if the designated constraints aren't met.

func (SubscribeItemValidationError) Cause

Cause function returns cause value.

func (SubscribeItemValidationError) Error

Error satisfies the builtin error interface

func (SubscribeItemValidationError) ErrorName

func (e SubscribeItemValidationError) ErrorName() string

ErrorName returns error name.

func (SubscribeItemValidationError) Field

Field function returns field value.

func (SubscribeItemValidationError) Key

Key function returns key value.

func (SubscribeItemValidationError) Reason

Reason function returns reason value.

type SubscribePriceOption added in v1.0.10

type SubscribePriceOption struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                            // 价格档位ID
	SubscribeId   int64  `protobuf:"varint,2,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`       // 订阅套餐ID
	Name          string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                         // 档位名称
	DurationUnit  string `protobuf:"bytes,4,opt,name=duration_unit,json=durationUnit,proto3" json:"duration_unit,omitempty"`     // 时长单位: Minute/Hour/Day/Week/Month/Year/NoLimit
	DurationValue int64  `protobuf:"varint,5,opt,name=duration_value,json=durationValue,proto3" json:"duration_value,omitempty"` // 时长数值
	Price         int64  `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"`                                      // 售价(单位:分)
	OriginalPrice int64  `protobuf:"varint,7,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"` // 原价(单位:分)
	Inventory     int32  `protobuf:"varint,8,opt,name=inventory,proto3" json:"inventory,omitempty"`                              // 库存,-1为不限
	Show          bool   `protobuf:"varint,9,opt,name=show,proto3" json:"show,omitempty"`                                        // 是否显示
	Sell          bool   `protobuf:"varint,10,opt,name=sell,proto3" json:"sell,omitempty"`                                       // 是否售卖
	IsDefault     bool   `protobuf:"varint,11,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`            // 是否默认档位
	Sort          int32  `protobuf:"varint,12,opt,name=sort,proto3" json:"sort,omitempty"`                                       // 排序
	CreatedAt     int64  `protobuf:"varint,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`            // 创建时间
	UpdatedAt     int64  `protobuf:"varint,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`            // 更新时间
	// contains filtered or unexported fields
}

SubscribePriceOption 商品价格档位

func (*SubscribePriceOption) Descriptor deprecated added in v1.0.10

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

Deprecated: Use SubscribePriceOption.ProtoReflect.Descriptor instead.

func (*SubscribePriceOption) GetCreatedAt added in v1.0.10

func (x *SubscribePriceOption) GetCreatedAt() int64

func (*SubscribePriceOption) GetDurationUnit added in v1.0.10

func (x *SubscribePriceOption) GetDurationUnit() string

func (*SubscribePriceOption) GetDurationValue added in v1.0.10

func (x *SubscribePriceOption) GetDurationValue() int64

func (*SubscribePriceOption) GetId added in v1.0.10

func (x *SubscribePriceOption) GetId() int64

func (*SubscribePriceOption) GetInventory added in v1.0.10

func (x *SubscribePriceOption) GetInventory() int32

func (*SubscribePriceOption) GetIsDefault added in v1.0.10

func (x *SubscribePriceOption) GetIsDefault() bool

func (*SubscribePriceOption) GetName added in v1.0.10

func (x *SubscribePriceOption) GetName() string

func (*SubscribePriceOption) GetOriginalPrice added in v1.0.10

func (x *SubscribePriceOption) GetOriginalPrice() int64

func (*SubscribePriceOption) GetPrice added in v1.0.10

func (x *SubscribePriceOption) GetPrice() int64

func (*SubscribePriceOption) GetSell added in v1.0.10

func (x *SubscribePriceOption) GetSell() bool

func (*SubscribePriceOption) GetShow added in v1.0.10

func (x *SubscribePriceOption) GetShow() bool

func (*SubscribePriceOption) GetSort added in v1.0.10

func (x *SubscribePriceOption) GetSort() int32

func (*SubscribePriceOption) GetSubscribeId added in v1.0.10

func (x *SubscribePriceOption) GetSubscribeId() int64

func (*SubscribePriceOption) GetUpdatedAt added in v1.0.10

func (x *SubscribePriceOption) GetUpdatedAt() int64

func (*SubscribePriceOption) ProtoMessage added in v1.0.10

func (*SubscribePriceOption) ProtoMessage()

func (*SubscribePriceOption) ProtoReflect added in v1.0.10

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

func (*SubscribePriceOption) Reset added in v1.0.10

func (x *SubscribePriceOption) Reset()

func (*SubscribePriceOption) String added in v1.0.10

func (x *SubscribePriceOption) String() string

func (*SubscribePriceOption) Validate added in v1.0.10

func (m *SubscribePriceOption) Validate() error

Validate checks the field values on SubscribePriceOption 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 (*SubscribePriceOption) ValidateAll added in v1.0.10

func (m *SubscribePriceOption) ValidateAll() error

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

type SubscribePriceOptionMultiError added in v1.0.10

type SubscribePriceOptionMultiError []error

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

func (SubscribePriceOptionMultiError) AllErrors added in v1.0.10

func (m SubscribePriceOptionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribePriceOptionMultiError) Error added in v1.0.10

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

type SubscribePriceOptionValidationError added in v1.0.10

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

SubscribePriceOptionValidationError is the validation error returned by SubscribePriceOption.Validate if the designated constraints aren't met.

func (SubscribePriceOptionValidationError) Cause added in v1.0.10

Cause function returns cause value.

func (SubscribePriceOptionValidationError) Error added in v1.0.10

Error satisfies the builtin error interface

func (SubscribePriceOptionValidationError) ErrorName added in v1.0.10

ErrorName returns error name.

func (SubscribePriceOptionValidationError) Field added in v1.0.10

Field function returns field value.

func (SubscribePriceOptionValidationError) Key added in v1.0.10

Key function returns key value.

func (SubscribePriceOptionValidationError) Reason added in v1.0.10

Reason function returns reason value.

type SubscribeServer

type SubscribeServer interface {
	// CreateSubscribe 创建订阅套餐
	CreateSubscribe(context.Context, *CreateSubscribeRequest) (*CreateSubscribeReply, error)
	// UpdateSubscribe 更新订阅套餐
	UpdateSubscribe(context.Context, *UpdateSubscribeRequest) (*UpdateSubscribeReply, error)
	// DeleteSubscribe 删除订阅套餐
	DeleteSubscribe(context.Context, *DeleteSubscribeRequest) (*DeleteSubscribeReply, error)
	// BatchDeleteSubscribe 批量删除订阅套餐
	BatchDeleteSubscribe(context.Context, *BatchDeleteSubscribeRequest) (*BatchDeleteSubscribeReply, error)
	// GetSubscribeDetails 获取订阅套餐详情
	GetSubscribeDetails(context.Context, *GetSubscribeDetailsRequest) (*GetSubscribeDetailsReply, error)
	// GetSubscribeList 获取订阅套餐列表
	GetSubscribeList(context.Context, *GetSubscribeListRequest) (*GetSubscribeListReply, error)
	// SubscribeSort 订阅套餐排序
	SubscribeSort(context.Context, *SubscribeSortRequest) (*SubscribeSortReply, error)
	// CreateSubscribeCategory 创建商品分类
	CreateSubscribeCategory(context.Context, *CreateSubscribeCategoryRequest) (*CreateSubscribeCategoryReply, error)
	// UpdateSubscribeCategory 更新商品分类
	UpdateSubscribeCategory(context.Context, *UpdateSubscribeCategoryRequest) (*UpdateSubscribeCategoryReply, error)
	// DeleteSubscribeCategory 删除商品分类
	DeleteSubscribeCategory(context.Context, *DeleteSubscribeCategoryRequest) (*DeleteSubscribeCategoryReply, error)
	// BatchDeleteSubscribeCategory 批量删除商品分类
	BatchDeleteSubscribeCategory(context.Context, *BatchDeleteSubscribeCategoryRequest) (*BatchDeleteSubscribeCategoryReply, error)
	// GetSubscribeCategoryList 获取商品分类列表
	GetSubscribeCategoryList(context.Context, *GetSubscribeCategoryListRequest) (*GetSubscribeCategoryListReply, error)
	// CreateSubscribeGroup 创建订阅组
	CreateSubscribeGroup(context.Context, *CreateSubscribeGroupRequest) (*CreateSubscribeGroupReply, error)
	// UpdateSubscribeGroup 更新订阅组
	UpdateSubscribeGroup(context.Context, *UpdateSubscribeGroupRequest) (*UpdateSubscribeGroupReply, error)
	// DeleteSubscribeGroup 删除订阅组
	DeleteSubscribeGroup(context.Context, *DeleteSubscribeGroupRequest) (*DeleteSubscribeGroupReply, error)
	// BatchDeleteSubscribeGroup 批量删除订阅组
	BatchDeleteSubscribeGroup(context.Context, *BatchDeleteSubscribeGroupRequest) (*BatchDeleteSubscribeGroupReply, error)
	// GetSubscribeGroupList 获取订阅组列表
	GetSubscribeGroupList(context.Context, *GetSubscribeGroupListRequest) (*GetSubscribeGroupListReply, error)
	// ResetAllSubscribeToken 重置所有订阅Token
	ResetAllSubscribeToken(context.Context, *ResetAllSubscribeTokenRequest) (*ResetAllSubscribeTokenReply, error)
	// contains filtered or unexported methods
}

SubscribeServer is the server API for Subscribe service. All implementations must embed UnimplementedSubscribeServer for forward compatibility.

type SubscribeSortData

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

SubscribeSortData 订阅套餐排序数据

func (*SubscribeSortData) Descriptor deprecated

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

Deprecated: Use SubscribeSortData.ProtoReflect.Descriptor instead.

func (*SubscribeSortData) GetSuccess

func (x *SubscribeSortData) GetSuccess() bool

func (*SubscribeSortData) ProtoMessage

func (*SubscribeSortData) ProtoMessage()

func (*SubscribeSortData) ProtoReflect

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

func (*SubscribeSortData) Reset

func (x *SubscribeSortData) Reset()

func (*SubscribeSortData) String

func (x *SubscribeSortData) String() string

func (*SubscribeSortData) Validate

func (m *SubscribeSortData) Validate() error

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

func (m *SubscribeSortData) ValidateAll() error

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

type SubscribeSortDataMultiError

type SubscribeSortDataMultiError []error

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

func (SubscribeSortDataMultiError) AllErrors

func (m SubscribeSortDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeSortDataMultiError) Error

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

type SubscribeSortDataValidationError

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

SubscribeSortDataValidationError is the validation error returned by SubscribeSortData.Validate if the designated constraints aren't met.

func (SubscribeSortDataValidationError) Cause

Cause function returns cause value.

func (SubscribeSortDataValidationError) Error

Error satisfies the builtin error interface

func (SubscribeSortDataValidationError) ErrorName

ErrorName returns error name.

func (SubscribeSortDataValidationError) Field

Field function returns field value.

func (SubscribeSortDataValidationError) Key

Key function returns key value.

func (SubscribeSortDataValidationError) Reason

Reason function returns reason value.

type SubscribeSortReply

type SubscribeSortReply 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    *SubscribeSortData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

SubscribeSortReply 订阅套餐排序响应

func (*SubscribeSortReply) Descriptor deprecated

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

Deprecated: Use SubscribeSortReply.ProtoReflect.Descriptor instead.

func (*SubscribeSortReply) GetCode

func (x *SubscribeSortReply) GetCode() int32

func (*SubscribeSortReply) GetData

func (x *SubscribeSortReply) GetData() *SubscribeSortData

func (*SubscribeSortReply) GetMessage

func (x *SubscribeSortReply) GetMessage() string

func (*SubscribeSortReply) ProtoMessage

func (*SubscribeSortReply) ProtoMessage()

func (*SubscribeSortReply) ProtoReflect

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

func (*SubscribeSortReply) Reset

func (x *SubscribeSortReply) Reset()

func (*SubscribeSortReply) String

func (x *SubscribeSortReply) String() string

func (*SubscribeSortReply) Validate

func (m *SubscribeSortReply) Validate() error

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

func (m *SubscribeSortReply) ValidateAll() error

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

type SubscribeSortReplyMultiError

type SubscribeSortReplyMultiError []error

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

func (SubscribeSortReplyMultiError) AllErrors

func (m SubscribeSortReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeSortReplyMultiError) Error

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

type SubscribeSortReplyValidationError

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

SubscribeSortReplyValidationError is the validation error returned by SubscribeSortReply.Validate if the designated constraints aren't met.

func (SubscribeSortReplyValidationError) Cause

Cause function returns cause value.

func (SubscribeSortReplyValidationError) Error

Error satisfies the builtin error interface

func (SubscribeSortReplyValidationError) ErrorName

ErrorName returns error name.

func (SubscribeSortReplyValidationError) Field

Field function returns field value.

func (SubscribeSortReplyValidationError) Key

Key function returns key value.

func (SubscribeSortReplyValidationError) Reason

Reason function returns reason value.

type SubscribeSortRequest

type SubscribeSortRequest struct {
	Sort []*SortItem `protobuf:"bytes,1,rep,name=sort,proto3" json:"sort,omitempty"` // 排序列表
	// contains filtered or unexported fields
}

SubscribeSortRequest 订阅套餐排序请求

func (*SubscribeSortRequest) Descriptor deprecated

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

Deprecated: Use SubscribeSortRequest.ProtoReflect.Descriptor instead.

func (*SubscribeSortRequest) GetSort

func (x *SubscribeSortRequest) GetSort() []*SortItem

func (*SubscribeSortRequest) ProtoMessage

func (*SubscribeSortRequest) ProtoMessage()

func (*SubscribeSortRequest) ProtoReflect

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

func (*SubscribeSortRequest) Reset

func (x *SubscribeSortRequest) Reset()

func (*SubscribeSortRequest) String

func (x *SubscribeSortRequest) String() string

func (*SubscribeSortRequest) Validate

func (m *SubscribeSortRequest) Validate() error

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

func (m *SubscribeSortRequest) ValidateAll() error

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

type SubscribeSortRequestMultiError

type SubscribeSortRequestMultiError []error

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

func (SubscribeSortRequestMultiError) AllErrors

func (m SubscribeSortRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeSortRequestMultiError) Error

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

type SubscribeSortRequestValidationError

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

SubscribeSortRequestValidationError is the validation error returned by SubscribeSortRequest.Validate if the designated constraints aren't met.

func (SubscribeSortRequestValidationError) Cause

Cause function returns cause value.

func (SubscribeSortRequestValidationError) Error

Error satisfies the builtin error interface

func (SubscribeSortRequestValidationError) ErrorName

ErrorName returns error name.

func (SubscribeSortRequestValidationError) Field

Field function returns field value.

func (SubscribeSortRequestValidationError) Key

Key function returns key value.

func (SubscribeSortRequestValidationError) Reason

Reason function returns reason value.

type TrafficLimit

type TrafficLimit struct {
	StatType     string `protobuf:"bytes,1,opt,name=stat_type,json=statType,proto3" json:"stat_type,omitempty"`              // 统计类型
	StatValue    int64  `protobuf:"varint,2,opt,name=stat_value,json=statValue,proto3" json:"stat_value,omitempty"`          // 统计值
	TrafficUsage int64  `protobuf:"varint,3,opt,name=traffic_usage,json=trafficUsage,proto3" json:"traffic_usage,omitempty"` // 流量用量
	SpeedLimit   int32  `protobuf:"varint,4,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`       // 速度限制
	// contains filtered or unexported fields
}

TrafficLimit 流量限制配置

func (*TrafficLimit) Descriptor deprecated

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

Deprecated: Use TrafficLimit.ProtoReflect.Descriptor instead.

func (*TrafficLimit) GetSpeedLimit

func (x *TrafficLimit) GetSpeedLimit() int32

func (*TrafficLimit) GetStatType

func (x *TrafficLimit) GetStatType() string

func (*TrafficLimit) GetStatValue

func (x *TrafficLimit) GetStatValue() int64

func (*TrafficLimit) GetTrafficUsage

func (x *TrafficLimit) GetTrafficUsage() int64

func (*TrafficLimit) ProtoMessage

func (*TrafficLimit) ProtoMessage()

func (*TrafficLimit) ProtoReflect

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

func (*TrafficLimit) Reset

func (x *TrafficLimit) Reset()

func (*TrafficLimit) String

func (x *TrafficLimit) String() string

func (*TrafficLimit) Validate

func (m *TrafficLimit) Validate() error

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

func (m *TrafficLimit) ValidateAll() error

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

type TrafficLimitMultiError

type TrafficLimitMultiError []error

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

func (TrafficLimitMultiError) AllErrors

func (m TrafficLimitMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TrafficLimitMultiError) Error

func (m TrafficLimitMultiError) Error() string

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

type TrafficLimitValidationError

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

TrafficLimitValidationError is the validation error returned by TrafficLimit.Validate if the designated constraints aren't met.

func (TrafficLimitValidationError) Cause

Cause function returns cause value.

func (TrafficLimitValidationError) Error

Error satisfies the builtin error interface

func (TrafficLimitValidationError) ErrorName

func (e TrafficLimitValidationError) ErrorName() string

ErrorName returns error name.

func (TrafficLimitValidationError) Field

Field function returns field value.

func (TrafficLimitValidationError) Key

Key function returns key value.

func (TrafficLimitValidationError) Reason

Reason function returns reason value.

type UnimplementedSubscribeServer

type UnimplementedSubscribeServer struct{}

UnimplementedSubscribeServer 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 (UnimplementedSubscribeServer) BatchDeleteSubscribeCategory added in v1.0.9

func (UnimplementedSubscribeServer) CreateSubscribe

func (UnimplementedSubscribeServer) CreateSubscribeCategory added in v1.0.9

func (UnimplementedSubscribeServer) DeleteSubscribe

func (UnimplementedSubscribeServer) DeleteSubscribeCategory added in v1.0.9

func (UnimplementedSubscribeServer) GetSubscribeCategoryList added in v1.0.9

func (UnimplementedSubscribeServer) GetSubscribeDetails

func (UnimplementedSubscribeServer) GetSubscribeList

func (UnimplementedSubscribeServer) SubscribeSort

func (UnimplementedSubscribeServer) UpdateSubscribe

func (UnimplementedSubscribeServer) UpdateSubscribeCategory added in v1.0.9

type UnsafeSubscribeServer

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

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

type UpdateSubscribeCategoryData added in v1.0.9

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

func (*UpdateSubscribeCategoryData) Descriptor deprecated added in v1.0.9

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

Deprecated: Use UpdateSubscribeCategoryData.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeCategoryData) GetSuccess added in v1.0.9

func (x *UpdateSubscribeCategoryData) GetSuccess() bool

func (*UpdateSubscribeCategoryData) ProtoMessage added in v1.0.9

func (*UpdateSubscribeCategoryData) ProtoMessage()

func (*UpdateSubscribeCategoryData) ProtoReflect added in v1.0.9

func (*UpdateSubscribeCategoryData) Reset added in v1.0.9

func (x *UpdateSubscribeCategoryData) Reset()

func (*UpdateSubscribeCategoryData) String added in v1.0.9

func (x *UpdateSubscribeCategoryData) String() string

func (*UpdateSubscribeCategoryData) Validate added in v1.0.9

func (m *UpdateSubscribeCategoryData) Validate() error

Validate checks the field values on UpdateSubscribeCategoryData 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 (*UpdateSubscribeCategoryData) ValidateAll added in v1.0.9

func (m *UpdateSubscribeCategoryData) ValidateAll() error

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

type UpdateSubscribeCategoryDataMultiError added in v1.0.9

type UpdateSubscribeCategoryDataMultiError []error

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

func (UpdateSubscribeCategoryDataMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeCategoryDataMultiError) Error added in v1.0.9

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

type UpdateSubscribeCategoryDataValidationError added in v1.0.9

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

UpdateSubscribeCategoryDataValidationError is the validation error returned by UpdateSubscribeCategoryData.Validate if the designated constraints aren't met.

func (UpdateSubscribeCategoryDataValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (UpdateSubscribeCategoryDataValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (UpdateSubscribeCategoryDataValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (UpdateSubscribeCategoryDataValidationError) Field added in v1.0.9

Field function returns field value.

func (UpdateSubscribeCategoryDataValidationError) Key added in v1.0.9

Key function returns key value.

func (UpdateSubscribeCategoryDataValidationError) Reason added in v1.0.9

Reason function returns reason value.

type UpdateSubscribeCategoryReply added in v1.0.9

type UpdateSubscribeCategoryReply 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    *UpdateSubscribeCategoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSubscribeCategoryReply) Descriptor deprecated added in v1.0.9

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

Deprecated: Use UpdateSubscribeCategoryReply.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeCategoryReply) GetCode added in v1.0.9

func (x *UpdateSubscribeCategoryReply) GetCode() int32

func (*UpdateSubscribeCategoryReply) GetData added in v1.0.9

func (*UpdateSubscribeCategoryReply) GetMessage added in v1.0.9

func (x *UpdateSubscribeCategoryReply) GetMessage() string

func (*UpdateSubscribeCategoryReply) ProtoMessage added in v1.0.9

func (*UpdateSubscribeCategoryReply) ProtoMessage()

func (*UpdateSubscribeCategoryReply) ProtoReflect added in v1.0.9

func (*UpdateSubscribeCategoryReply) Reset added in v1.0.9

func (x *UpdateSubscribeCategoryReply) Reset()

func (*UpdateSubscribeCategoryReply) String added in v1.0.9

func (*UpdateSubscribeCategoryReply) Validate added in v1.0.9

func (m *UpdateSubscribeCategoryReply) Validate() error

Validate checks the field values on UpdateSubscribeCategoryReply 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 (*UpdateSubscribeCategoryReply) ValidateAll added in v1.0.9

func (m *UpdateSubscribeCategoryReply) ValidateAll() error

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

type UpdateSubscribeCategoryReplyMultiError added in v1.0.9

type UpdateSubscribeCategoryReplyMultiError []error

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

func (UpdateSubscribeCategoryReplyMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeCategoryReplyMultiError) Error added in v1.0.9

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

type UpdateSubscribeCategoryReplyValidationError added in v1.0.9

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

UpdateSubscribeCategoryReplyValidationError is the validation error returned by UpdateSubscribeCategoryReply.Validate if the designated constraints aren't met.

func (UpdateSubscribeCategoryReplyValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (UpdateSubscribeCategoryReplyValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (UpdateSubscribeCategoryReplyValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (UpdateSubscribeCategoryReplyValidationError) Field added in v1.0.9

Field function returns field value.

func (UpdateSubscribeCategoryReplyValidationError) Key added in v1.0.9

Key function returns key value.

func (UpdateSubscribeCategoryReplyValidationError) Reason added in v1.0.9

Reason function returns reason value.

type UpdateSubscribeCategoryRequest added in v1.0.9

type UpdateSubscribeCategoryRequest struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                             // 商品分类ID
	ParentId    int64  `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父分类ID
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                          // 分类名称
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`            // 分类描述
	Language    string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`                  // 语言
	Show        *bool  `protobuf:"varint,6,opt,name=show,proto3,oneof" json:"show,omitempty"`                   // 是否显示
	Sort        int32  `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`                         // 排序
	// contains filtered or unexported fields
}

UpdateSubscribeCategoryRequest 更新商品分类请求

func (*UpdateSubscribeCategoryRequest) Descriptor deprecated added in v1.0.9

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

Deprecated: Use UpdateSubscribeCategoryRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeCategoryRequest) GetDescription added in v1.0.9

func (x *UpdateSubscribeCategoryRequest) GetDescription() string

func (*UpdateSubscribeCategoryRequest) GetId added in v1.0.9

func (*UpdateSubscribeCategoryRequest) GetLanguage added in v1.0.9

func (x *UpdateSubscribeCategoryRequest) GetLanguage() string

func (*UpdateSubscribeCategoryRequest) GetName added in v1.0.9

func (*UpdateSubscribeCategoryRequest) GetParentId added in v1.0.9

func (x *UpdateSubscribeCategoryRequest) GetParentId() int64

func (*UpdateSubscribeCategoryRequest) GetShow added in v1.0.9

func (x *UpdateSubscribeCategoryRequest) GetShow() bool

func (*UpdateSubscribeCategoryRequest) GetSort added in v1.0.9

func (*UpdateSubscribeCategoryRequest) ProtoMessage added in v1.0.9

func (*UpdateSubscribeCategoryRequest) ProtoMessage()

func (*UpdateSubscribeCategoryRequest) ProtoReflect added in v1.0.9

func (*UpdateSubscribeCategoryRequest) Reset added in v1.0.9

func (x *UpdateSubscribeCategoryRequest) Reset()

func (*UpdateSubscribeCategoryRequest) String added in v1.0.9

func (*UpdateSubscribeCategoryRequest) Validate added in v1.0.9

func (m *UpdateSubscribeCategoryRequest) Validate() error

Validate checks the field values on UpdateSubscribeCategoryRequest 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 (*UpdateSubscribeCategoryRequest) ValidateAll added in v1.0.9

func (m *UpdateSubscribeCategoryRequest) ValidateAll() error

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

type UpdateSubscribeCategoryRequestMultiError added in v1.0.9

type UpdateSubscribeCategoryRequestMultiError []error

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

func (UpdateSubscribeCategoryRequestMultiError) AllErrors added in v1.0.9

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeCategoryRequestMultiError) Error added in v1.0.9

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

type UpdateSubscribeCategoryRequestValidationError added in v1.0.9

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

UpdateSubscribeCategoryRequestValidationError is the validation error returned by UpdateSubscribeCategoryRequest.Validate if the designated constraints aren't met.

func (UpdateSubscribeCategoryRequestValidationError) Cause added in v1.0.9

Cause function returns cause value.

func (UpdateSubscribeCategoryRequestValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (UpdateSubscribeCategoryRequestValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (UpdateSubscribeCategoryRequestValidationError) Field added in v1.0.9

Field function returns field value.

func (UpdateSubscribeCategoryRequestValidationError) Key added in v1.0.9

Key function returns key value.

func (UpdateSubscribeCategoryRequestValidationError) Reason added in v1.0.9

Reason function returns reason value.

type UpdateSubscribeData

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

UpdateSubscribeData 更新订阅套餐数据

func (*UpdateSubscribeData) Descriptor deprecated

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

Deprecated: Use UpdateSubscribeData.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeData) GetSuccess

func (x *UpdateSubscribeData) GetSuccess() bool

func (*UpdateSubscribeData) ProtoMessage

func (*UpdateSubscribeData) ProtoMessage()

func (*UpdateSubscribeData) ProtoReflect

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

func (*UpdateSubscribeData) Reset

func (x *UpdateSubscribeData) Reset()

func (*UpdateSubscribeData) String

func (x *UpdateSubscribeData) String() string

func (*UpdateSubscribeData) Validate

func (m *UpdateSubscribeData) Validate() error

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

func (m *UpdateSubscribeData) ValidateAll() error

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

type UpdateSubscribeDataMultiError

type UpdateSubscribeDataMultiError []error

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

func (UpdateSubscribeDataMultiError) AllErrors

func (m UpdateSubscribeDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeDataMultiError) Error

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

type UpdateSubscribeDataValidationError

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

UpdateSubscribeDataValidationError is the validation error returned by UpdateSubscribeData.Validate if the designated constraints aren't met.

func (UpdateSubscribeDataValidationError) Cause

Cause function returns cause value.

func (UpdateSubscribeDataValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscribeDataValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscribeDataValidationError) Field

Field function returns field value.

func (UpdateSubscribeDataValidationError) Key

Key function returns key value.

func (UpdateSubscribeDataValidationError) Reason

Reason function returns reason value.

type UpdateSubscribeGroupData

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

UpdateSubscribeGroupData 更新订阅组数据

func (*UpdateSubscribeGroupData) Descriptor deprecated

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

Deprecated: Use UpdateSubscribeGroupData.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeGroupData) GetSuccess

func (x *UpdateSubscribeGroupData) GetSuccess() bool

func (*UpdateSubscribeGroupData) ProtoMessage

func (*UpdateSubscribeGroupData) ProtoMessage()

func (*UpdateSubscribeGroupData) ProtoReflect

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

func (*UpdateSubscribeGroupData) Reset

func (x *UpdateSubscribeGroupData) Reset()

func (*UpdateSubscribeGroupData) String

func (x *UpdateSubscribeGroupData) String() string

func (*UpdateSubscribeGroupData) Validate

func (m *UpdateSubscribeGroupData) Validate() error

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

func (m *UpdateSubscribeGroupData) ValidateAll() error

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

type UpdateSubscribeGroupDataMultiError

type UpdateSubscribeGroupDataMultiError []error

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

func (UpdateSubscribeGroupDataMultiError) AllErrors

func (m UpdateSubscribeGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeGroupDataMultiError) Error

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

type UpdateSubscribeGroupDataValidationError

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

UpdateSubscribeGroupDataValidationError is the validation error returned by UpdateSubscribeGroupData.Validate if the designated constraints aren't met.

func (UpdateSubscribeGroupDataValidationError) Cause

Cause function returns cause value.

func (UpdateSubscribeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscribeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscribeGroupDataValidationError) Field

Field function returns field value.

func (UpdateSubscribeGroupDataValidationError) Key

Key function returns key value.

func (UpdateSubscribeGroupDataValidationError) Reason

Reason function returns reason value.

type UpdateSubscribeGroupReply

type UpdateSubscribeGroupReply 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    *UpdateSubscribeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

UpdateSubscribeGroupReply 更新订阅组响应

func (*UpdateSubscribeGroupReply) Descriptor deprecated

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

Deprecated: Use UpdateSubscribeGroupReply.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeGroupReply) GetCode

func (x *UpdateSubscribeGroupReply) GetCode() int32

func (*UpdateSubscribeGroupReply) GetData

func (*UpdateSubscribeGroupReply) GetMessage

func (x *UpdateSubscribeGroupReply) GetMessage() string

func (*UpdateSubscribeGroupReply) ProtoMessage

func (*UpdateSubscribeGroupReply) ProtoMessage()

func (*UpdateSubscribeGroupReply) ProtoReflect

func (*UpdateSubscribeGroupReply) Reset

func (x *UpdateSubscribeGroupReply) Reset()

func (*UpdateSubscribeGroupReply) String

func (x *UpdateSubscribeGroupReply) String() string

func (*UpdateSubscribeGroupReply) Validate

func (m *UpdateSubscribeGroupReply) Validate() error

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

func (m *UpdateSubscribeGroupReply) ValidateAll() error

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

type UpdateSubscribeGroupReplyMultiError

type UpdateSubscribeGroupReplyMultiError []error

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

func (UpdateSubscribeGroupReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeGroupReplyMultiError) Error

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

type UpdateSubscribeGroupReplyValidationError

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

UpdateSubscribeGroupReplyValidationError is the validation error returned by UpdateSubscribeGroupReply.Validate if the designated constraints aren't met.

func (UpdateSubscribeGroupReplyValidationError) Cause

Cause function returns cause value.

func (UpdateSubscribeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscribeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscribeGroupReplyValidationError) Field

Field function returns field value.

func (UpdateSubscribeGroupReplyValidationError) Key

Key function returns key value.

func (UpdateSubscribeGroupReplyValidationError) Reason

Reason function returns reason value.

type UpdateSubscribeGroupRequest

type UpdateSubscribeGroupRequest struct {
	Id                  int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                                  // 订阅组ID
	Name                string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                               // 订阅组名称
	Description         string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                                                 // 订阅组描述
	IsExpiredGroup      bool   `protobuf:"varint,4,opt,name=is_expired_group,json=isExpiredGroup,proto3" json:"is_expired_group,omitempty"`                  // 是否为过期组
	ExpiredDaysLimit    int64  `protobuf:"varint,5,opt,name=expired_days_limit,json=expiredDaysLimit,proto3" json:"expired_days_limit,omitempty"`            // 过期天数限制
	MaxTrafficGbExpired int64  `protobuf:"varint,6,opt,name=max_traffic_gb_expired,json=maxTrafficGbExpired,proto3" json:"max_traffic_gb_expired,omitempty"` // 过期后最大流量GB
	SpeedLimit          int32  `protobuf:"varint,7,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                                // 速度限制
	// contains filtered or unexported fields
}

UpdateSubscribeGroupRequest 更新订阅组请求

func (*UpdateSubscribeGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateSubscribeGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeGroupRequest) GetDescription

func (x *UpdateSubscribeGroupRequest) GetDescription() string

func (*UpdateSubscribeGroupRequest) GetExpiredDaysLimit

func (x *UpdateSubscribeGroupRequest) GetExpiredDaysLimit() int64

func (*UpdateSubscribeGroupRequest) GetId

func (*UpdateSubscribeGroupRequest) GetIsExpiredGroup

func (x *UpdateSubscribeGroupRequest) GetIsExpiredGroup() bool

func (*UpdateSubscribeGroupRequest) GetMaxTrafficGbExpired

func (x *UpdateSubscribeGroupRequest) GetMaxTrafficGbExpired() int64

func (*UpdateSubscribeGroupRequest) GetName

func (x *UpdateSubscribeGroupRequest) GetName() string

func (*UpdateSubscribeGroupRequest) GetSpeedLimit

func (x *UpdateSubscribeGroupRequest) GetSpeedLimit() int32

func (*UpdateSubscribeGroupRequest) ProtoMessage

func (*UpdateSubscribeGroupRequest) ProtoMessage()

func (*UpdateSubscribeGroupRequest) ProtoReflect

func (*UpdateSubscribeGroupRequest) Reset

func (x *UpdateSubscribeGroupRequest) Reset()

func (*UpdateSubscribeGroupRequest) String

func (x *UpdateSubscribeGroupRequest) String() string

func (*UpdateSubscribeGroupRequest) Validate

func (m *UpdateSubscribeGroupRequest) Validate() error

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

func (m *UpdateSubscribeGroupRequest) ValidateAll() error

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

type UpdateSubscribeGroupRequestMultiError

type UpdateSubscribeGroupRequestMultiError []error

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

func (UpdateSubscribeGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeGroupRequestMultiError) Error

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

type UpdateSubscribeGroupRequestValidationError

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

UpdateSubscribeGroupRequestValidationError is the validation error returned by UpdateSubscribeGroupRequest.Validate if the designated constraints aren't met.

func (UpdateSubscribeGroupRequestValidationError) Cause

Cause function returns cause value.

func (UpdateSubscribeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscribeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscribeGroupRequestValidationError) Field

Field function returns field value.

func (UpdateSubscribeGroupRequestValidationError) Key

Key function returns key value.

func (UpdateSubscribeGroupRequestValidationError) Reason

Reason function returns reason value.

type UpdateSubscribeReply

type UpdateSubscribeReply 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    *UpdateSubscribeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

UpdateSubscribeReply 更新订阅套餐响应

func (*UpdateSubscribeReply) Descriptor deprecated

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

Deprecated: Use UpdateSubscribeReply.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeReply) GetCode

func (x *UpdateSubscribeReply) GetCode() int32

func (*UpdateSubscribeReply) GetData

func (*UpdateSubscribeReply) GetMessage

func (x *UpdateSubscribeReply) GetMessage() string

func (*UpdateSubscribeReply) ProtoMessage

func (*UpdateSubscribeReply) ProtoMessage()

func (*UpdateSubscribeReply) ProtoReflect

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

func (*UpdateSubscribeReply) Reset

func (x *UpdateSubscribeReply) Reset()

func (*UpdateSubscribeReply) String

func (x *UpdateSubscribeReply) String() string

func (*UpdateSubscribeReply) Validate

func (m *UpdateSubscribeReply) Validate() error

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

func (m *UpdateSubscribeReply) ValidateAll() error

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

type UpdateSubscribeReplyMultiError

type UpdateSubscribeReplyMultiError []error

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

func (UpdateSubscribeReplyMultiError) AllErrors

func (m UpdateSubscribeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeReplyMultiError) Error

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

type UpdateSubscribeReplyValidationError

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

UpdateSubscribeReplyValidationError is the validation error returned by UpdateSubscribeReply.Validate if the designated constraints aren't met.

func (UpdateSubscribeReplyValidationError) Cause

Cause function returns cause value.

func (UpdateSubscribeReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscribeReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscribeReplyValidationError) Field

Field function returns field value.

func (UpdateSubscribeReplyValidationError) Key

Key function returns key value.

func (UpdateSubscribeReplyValidationError) Reason

Reason function returns reason value.

type UpdateSubscribeRequest

type UpdateSubscribeRequest struct {
	Id                int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                           // 订阅套餐ID
	Name              string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                        // 订阅套餐名称
	Language          string                  `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`                                                // 语言
	Description       string                  `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`                                          // 订阅套餐描述
	UnitPrice         int64                   `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`                            // 单位价格(单位:分)
	UnitTime          string                  `protobuf:"bytes,6,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`                                // 单位时间
	Discount          []*SubscribeDiscount    `protobuf:"bytes,7,rep,name=discount,proto3" json:"discount,omitempty"`                                                // 折扣配置
	Replacement       int64                   `protobuf:"varint,8,opt,name=replacement,proto3" json:"replacement,omitempty"`                                         // 替换
	Inventory         int32                   `protobuf:"varint,9,opt,name=inventory,proto3" json:"inventory,omitempty"`                                             // 库存
	Traffic           int64                   `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`                                                // 流量(字节)
	SpeedLimit        int32                   `protobuf:"varint,11,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                        // 速度限制
	DeviceLimit       int32                   `protobuf:"varint,12,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`                     // 设备数限制
	Quota             int32                   `protobuf:"varint,13,opt,name=quota,proto3" json:"quota,omitempty"`                                                    // 配额
	CategoryId        int64                   `protobuf:"varint,27,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`                        // 商品分类ID
	Nodes             []int64                 `protobuf:"varint,14,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`                                             // 节点IDs
	NodeTags          []string                `protobuf:"bytes,15,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`                               // 节点标签
	NodeGroupIds      []int64                 `protobuf:"varint,16,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`         // 节点组IDs
	NodeGroupId       int64                   `protobuf:"varint,17,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`                   // 节点组ID
	TrafficLimit      []*TrafficLimit         `protobuf:"bytes,18,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`                   // 流量限制配置
	Show              *bool                   `protobuf:"varint,19,opt,name=show,proto3,oneof" json:"show,omitempty"`                                                // 是否在门户页面显示
	Sell              *bool                   `protobuf:"varint,20,opt,name=sell,proto3,oneof" json:"sell,omitempty"`                                                // 是否售卖
	Sort              int32                   `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`                                                      // 排序
	DeductionRatio    int32                   `protobuf:"varint,22,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`            // 扣除比例
	AllowDeduction    *bool                   `protobuf:"varint,23,opt,name=allow_deduction,json=allowDeduction,proto3,oneof" json:"allow_deduction,omitempty"`      // 允许扣除
	ResetCycle        int32                   `protobuf:"varint,24,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`                        // 重置周期
	RenewalReset      *bool                   `protobuf:"varint,25,opt,name=renewal_reset,json=renewalReset,proto3,oneof" json:"renewal_reset,omitempty"`            // 续费重置
	ShowOriginalPrice bool                    `protobuf:"varint,26,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"` // 显示原价
	PriceOptions      []*SubscribePriceOption `protobuf:"bytes,28,rep,name=price_options,json=priceOptions,proto3" json:"price_options,omitempty"`                   // 商品价格档位
	// contains filtered or unexported fields
}

UpdateSubscribeRequest 更新订阅套餐请求

func (*UpdateSubscribeRequest) Descriptor deprecated

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

Deprecated: Use UpdateSubscribeRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscribeRequest) GetAllowDeduction

func (x *UpdateSubscribeRequest) GetAllowDeduction() bool

func (*UpdateSubscribeRequest) GetCategoryId added in v1.0.9

func (x *UpdateSubscribeRequest) GetCategoryId() int64

func (*UpdateSubscribeRequest) GetDeductionRatio

func (x *UpdateSubscribeRequest) GetDeductionRatio() int32

func (*UpdateSubscribeRequest) GetDescription

func (x *UpdateSubscribeRequest) GetDescription() string

func (*UpdateSubscribeRequest) GetDeviceLimit

func (x *UpdateSubscribeRequest) GetDeviceLimit() int32

func (*UpdateSubscribeRequest) GetDiscount

func (x *UpdateSubscribeRequest) GetDiscount() []*SubscribeDiscount

func (*UpdateSubscribeRequest) GetId

func (x *UpdateSubscribeRequest) GetId() int64

func (*UpdateSubscribeRequest) GetInventory

func (x *UpdateSubscribeRequest) GetInventory() int32

func (*UpdateSubscribeRequest) GetLanguage

func (x *UpdateSubscribeRequest) GetLanguage() string

func (*UpdateSubscribeRequest) GetName

func (x *UpdateSubscribeRequest) GetName() string

func (*UpdateSubscribeRequest) GetNodeGroupId

func (x *UpdateSubscribeRequest) GetNodeGroupId() int64

func (*UpdateSubscribeRequest) GetNodeGroupIds

func (x *UpdateSubscribeRequest) GetNodeGroupIds() []int64

func (*UpdateSubscribeRequest) GetNodeTags

func (x *UpdateSubscribeRequest) GetNodeTags() []string

func (*UpdateSubscribeRequest) GetNodes

func (x *UpdateSubscribeRequest) GetNodes() []int64

func (*UpdateSubscribeRequest) GetPriceOptions added in v1.0.10

func (x *UpdateSubscribeRequest) GetPriceOptions() []*SubscribePriceOption

func (*UpdateSubscribeRequest) GetQuota

func (x *UpdateSubscribeRequest) GetQuota() int32

func (*UpdateSubscribeRequest) GetRenewalReset

func (x *UpdateSubscribeRequest) GetRenewalReset() bool

func (*UpdateSubscribeRequest) GetReplacement

func (x *UpdateSubscribeRequest) GetReplacement() int64

func (*UpdateSubscribeRequest) GetResetCycle

func (x *UpdateSubscribeRequest) GetResetCycle() int32

func (*UpdateSubscribeRequest) GetSell

func (x *UpdateSubscribeRequest) GetSell() bool

func (*UpdateSubscribeRequest) GetShow

func (x *UpdateSubscribeRequest) GetShow() bool

func (*UpdateSubscribeRequest) GetShowOriginalPrice

func (x *UpdateSubscribeRequest) GetShowOriginalPrice() bool

func (*UpdateSubscribeRequest) GetSort

func (x *UpdateSubscribeRequest) GetSort() int32

func (*UpdateSubscribeRequest) GetSpeedLimit

func (x *UpdateSubscribeRequest) GetSpeedLimit() int32

func (*UpdateSubscribeRequest) GetTraffic

func (x *UpdateSubscribeRequest) GetTraffic() int64

func (*UpdateSubscribeRequest) GetTrafficLimit

func (x *UpdateSubscribeRequest) GetTrafficLimit() []*TrafficLimit

func (*UpdateSubscribeRequest) GetUnitPrice

func (x *UpdateSubscribeRequest) GetUnitPrice() int64

func (*UpdateSubscribeRequest) GetUnitTime

func (x *UpdateSubscribeRequest) GetUnitTime() string

func (*UpdateSubscribeRequest) ProtoMessage

func (*UpdateSubscribeRequest) ProtoMessage()

func (*UpdateSubscribeRequest) ProtoReflect

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

func (*UpdateSubscribeRequest) Reset

func (x *UpdateSubscribeRequest) Reset()

func (*UpdateSubscribeRequest) String

func (x *UpdateSubscribeRequest) String() string

func (*UpdateSubscribeRequest) Validate

func (m *UpdateSubscribeRequest) Validate() error

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

func (m *UpdateSubscribeRequest) ValidateAll() error

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

type UpdateSubscribeRequestMultiError

type UpdateSubscribeRequestMultiError []error

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

func (UpdateSubscribeRequestMultiError) AllErrors

func (m UpdateSubscribeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateSubscribeRequestMultiError) Error

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

type UpdateSubscribeRequestValidationError

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

UpdateSubscribeRequestValidationError is the validation error returned by UpdateSubscribeRequest.Validate if the designated constraints aren't met.

func (UpdateSubscribeRequestValidationError) Cause

Cause function returns cause value.

func (UpdateSubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscribeRequestValidationError) Field

Field function returns field value.

func (UpdateSubscribeRequestValidationError) Key

Key function returns key value.

func (UpdateSubscribeRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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