Initial commit (code only without large binaries)
This commit is contained in:
932
EdgeCommon/pkg/rpc/pb/service_user_ad_instance.pb.go
Normal file
932
EdgeCommon/pkg/rpc/pb/service_user_ad_instance.pb.go
Normal file
@@ -0,0 +1,932 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// source: service_user_ad_instance.proto
|
||||
|
||||
package pb
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// 创建用户高防实例
|
||||
type CreateUserADInstanceRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
||||
AdPackageId int64 `protobuf:"varint,2,opt,name=adPackageId,proto3" json:"adPackageId,omitempty"`
|
||||
AdPackagePeriodId int64 `protobuf:"varint,3,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"`
|
||||
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) Reset() {
|
||||
*x = CreateUserADInstanceRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreateUserADInstanceRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CreateUserADInstanceRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateUserADInstanceRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) GetUserId() int64 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) GetAdPackageId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) GetAdPackagePeriodId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackagePeriodId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceRequest) GetCount() int32 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type CreateUserADInstanceResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstanceIds []int64 `protobuf:"varint,1,rep,packed,name=userADInstanceIds,proto3" json:"userADInstanceIds,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceResponse) Reset() {
|
||||
*x = CreateUserADInstanceResponse{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreateUserADInstanceResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreateUserADInstanceResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CreateUserADInstanceResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreateUserADInstanceResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CreateUserADInstanceResponse) GetUserADInstanceIds() []int64 {
|
||||
if x != nil {
|
||||
return x.UserADInstanceIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 购买用户高防实例
|
||||
type BuyUserADInstanceRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
||||
AdPackageId int64 `protobuf:"varint,2,opt,name=adPackageId,proto3" json:"adPackageId,omitempty"`
|
||||
AdPackagePeriodId int64 `protobuf:"varint,3,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"`
|
||||
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) Reset() {
|
||||
*x = BuyUserADInstanceRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BuyUserADInstanceRequest) ProtoMessage() {}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BuyUserADInstanceRequest.ProtoReflect.Descriptor instead.
|
||||
func (*BuyUserADInstanceRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) GetUserId() int64 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) GetAdPackageId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) GetAdPackagePeriodId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackagePeriodId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceRequest) GetCount() int32 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type BuyUserADInstanceResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstanceIds []int64 `protobuf:"varint,1,rep,packed,name=userADInstanceIds,proto3" json:"userADInstanceIds,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceResponse) Reset() {
|
||||
*x = BuyUserADInstanceResponse{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BuyUserADInstanceResponse) ProtoMessage() {}
|
||||
|
||||
func (x *BuyUserADInstanceResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BuyUserADInstanceResponse.ProtoReflect.Descriptor instead.
|
||||
func (*BuyUserADInstanceResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *BuyUserADInstanceResponse) GetUserADInstanceIds() []int64 {
|
||||
if x != nil {
|
||||
return x.UserADInstanceIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 查询用户高防实例数量
|
||||
type CountUserADInstancesRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AdNetworkId int64 `protobuf:"varint,1,opt,name=adNetworkId,proto3" json:"adNetworkId,omitempty"` // 线路ID
|
||||
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
||||
AdPackagePeriodId int64 `protobuf:"varint,3,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"`
|
||||
ExpiresDay string `protobuf:"bytes,4,opt,name=expiresDay,proto3" json:"expiresDay,omitempty"`
|
||||
AvailableOnly bool `protobuf:"varint,5,opt,name=availableOnly,proto3" json:"availableOnly,omitempty"` // 是否只查询有效的高防实例
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) Reset() {
|
||||
*x = CountUserADInstancesRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CountUserADInstancesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountUserADInstancesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CountUserADInstancesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CountUserADInstancesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) GetAdNetworkId() int64 {
|
||||
if x != nil {
|
||||
return x.AdNetworkId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) GetUserId() int64 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) GetAdPackagePeriodId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackagePeriodId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) GetExpiresDay() string {
|
||||
if x != nil {
|
||||
return x.ExpiresDay
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CountUserADInstancesRequest) GetAvailableOnly() bool {
|
||||
if x != nil {
|
||||
return x.AvailableOnly
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// 列出单页用户高防实例
|
||||
type ListUserADInstancesRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AdNetworkId int64 `protobuf:"varint,1,opt,name=adNetworkId,proto3" json:"adNetworkId,omitempty"` // 线路ID
|
||||
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
||||
AdPackagePeriodId int64 `protobuf:"varint,3,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"`
|
||||
ExpiresDay string `protobuf:"bytes,4,opt,name=expiresDay,proto3" json:"expiresDay,omitempty"`
|
||||
AvailableOnly bool `protobuf:"varint,5,opt,name=availableOnly,proto3" json:"availableOnly,omitempty"` // 是否只查询有效的高防实例
|
||||
Offset int64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
|
||||
Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) Reset() {
|
||||
*x = ListUserADInstancesRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListUserADInstancesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListUserADInstancesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ListUserADInstancesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListUserADInstancesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetAdNetworkId() int64 {
|
||||
if x != nil {
|
||||
return x.AdNetworkId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetUserId() int64 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetAdPackagePeriodId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackagePeriodId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetExpiresDay() string {
|
||||
if x != nil {
|
||||
return x.ExpiresDay
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetAvailableOnly() bool {
|
||||
if x != nil {
|
||||
return x.AvailableOnly
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetOffset() int64 {
|
||||
if x != nil {
|
||||
return x.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesRequest) GetSize() int64 {
|
||||
if x != nil {
|
||||
return x.Size
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ListUserADInstancesResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstances []*UserADInstance `protobuf:"bytes,1,rep,name=userADInstances,proto3" json:"userADInstances,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesResponse) Reset() {
|
||||
*x = ListUserADInstancesResponse{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListUserADInstancesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListUserADInstancesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ListUserADInstancesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListUserADInstancesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ListUserADInstancesResponse) GetUserADInstances() []*UserADInstance {
|
||||
if x != nil {
|
||||
return x.UserADInstances
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 查找单个用户高防实例
|
||||
type FindUserADInstanceRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *FindUserADInstanceRequest) Reset() {
|
||||
*x = FindUserADInstanceRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *FindUserADInstanceRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FindUserADInstanceRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindUserADInstanceRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FindUserADInstanceRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindUserADInstanceRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *FindUserADInstanceRequest) GetUserADInstanceId() int64 {
|
||||
if x != nil {
|
||||
return x.UserADInstanceId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type FindUserADInstanceResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstance *UserADInstance `protobuf:"bytes,1,opt,name=userADInstance,proto3" json:"userADInstance,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *FindUserADInstanceResponse) Reset() {
|
||||
*x = FindUserADInstanceResponse{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *FindUserADInstanceResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FindUserADInstanceResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindUserADInstanceResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FindUserADInstanceResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindUserADInstanceResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *FindUserADInstanceResponse) GetUserADInstance() *UserADInstance {
|
||||
if x != nil {
|
||||
return x.UserADInstance
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 删除用户高防实例
|
||||
type DeleteUserADInstanceRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeleteUserADInstanceRequest) Reset() {
|
||||
*x = DeleteUserADInstanceRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeleteUserADInstanceRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeleteUserADInstanceRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteUserADInstanceRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeleteUserADInstanceRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteUserADInstanceRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *DeleteUserADInstanceRequest) GetUserADInstanceId() int64 {
|
||||
if x != nil {
|
||||
return x.UserADInstanceId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 续期用户高防实例
|
||||
type RenewUserADInstanceRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||||
AdPackagePeriodId int64 `protobuf:"varint,2,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RenewUserADInstanceRequest) Reset() {
|
||||
*x = RenewUserADInstanceRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RenewUserADInstanceRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RenewUserADInstanceRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RenewUserADInstanceRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use RenewUserADInstanceRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RenewUserADInstanceRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *RenewUserADInstanceRequest) GetUserADInstanceId() int64 {
|
||||
if x != nil {
|
||||
return x.UserADInstanceId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *RenewUserADInstanceRequest) GetAdPackagePeriodId() int64 {
|
||||
if x != nil {
|
||||
return x.AdPackagePeriodId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 修改实例防护对象
|
||||
type UpdateUserADInstanceObjectsRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||||
ObjectCodes []string `protobuf:"bytes,2,rep,name=objectCodes,proto3" json:"objectCodes,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateUserADInstanceObjectsRequest) Reset() {
|
||||
*x = UpdateUserADInstanceObjectsRequest{}
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateUserADInstanceObjectsRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateUserADInstanceObjectsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateUserADInstanceObjectsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_user_ad_instance_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateUserADInstanceObjectsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateUserADInstanceObjectsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_ad_instance_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *UpdateUserADInstanceObjectsRequest) GetUserADInstanceId() int64 {
|
||||
if x != nil {
|
||||
return x.UserADInstanceId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateUserADInstanceObjectsRequest) GetObjectCodes() []string {
|
||||
if x != nil {
|
||||
return x.ObjectCodes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_service_user_ad_instance_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_user_ad_instance_proto_rawDesc = []byte{
|
||||
0x0a, 0x1e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61,
|
||||
0x64, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x12, 0x02, 0x70, 0x62, 0x1a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55,
|
||||
0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2c,
|
||||
0x0a, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f,
|
||||
0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63,
|
||||
0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
|
||||
0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74,
|
||||
0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x11, 0x75,
|
||||
0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73,
|
||||
0x22, 0x98, 0x01, 0x0a, 0x18, 0x42, 0x75, 0x79, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75,
|
||||
0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||||
0x67, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63,
|
||||
0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72,
|
||||
0x69, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x19, 0x42,
|
||||
0x75, 0x79, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72,
|
||||
0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x03, 0x52, 0x11, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77,
|
||||
0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x4e,
|
||||
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
|
||||
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
||||
0x12, 0x2c, 0x0a, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72,
|
||||
0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61, 0x64, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x1e,
|
||||
0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x44, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x44, 0x61, 0x79, 0x12, 0x24,
|
||||
0x0a, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xf6, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65,
|
||||
0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77,
|
||||
0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2c, 0x0a,
|
||||
0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64,
|
||||
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65,
|
||||
0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x44, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x44, 0x61, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x61,
|
||||
0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x6e, 0x6c,
|
||||
0x79, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a,
|
||||
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x5b, 0x0a,
|
||||
0x1b, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0f,
|
||||
0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x19, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
||||
0x65, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x3a, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||
0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x75,
|
||||
0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x49, 0x0a,
|
||||
0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10,
|
||||
0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x1a, 0x52, 0x65, 0x6e, 0x65,
|
||||
0x77, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44,
|
||||
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50,
|
||||
0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61,
|
||||
0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64,
|
||||
0x22, 0x72, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44,
|
||||
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44,
|
||||
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65,
|
||||
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43,
|
||||
0x6f, 0x64, 0x65, 0x73, 0x32, 0xa7, 0x05, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x59,
|
||||
0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
||||
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x62, 0x75, 0x79,
|
||||
0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x42, 0x75, 0x79, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x42, 0x75, 0x79, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x14, 0x63,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
||||
0x63, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73,
|
||||
0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c, 0x69,
|
||||
0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44,
|
||||
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12,
|
||||
0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||
0x12, 0x45, 0x0a, 0x13, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6e,
|
||||
0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x55, 0x0a, 0x1b, 0x75, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f,
|
||||
0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x44, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_service_user_ad_instance_proto_rawDescOnce sync.Once
|
||||
file_service_user_ad_instance_proto_rawDescData = file_service_user_ad_instance_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_service_user_ad_instance_proto_rawDescGZIP() []byte {
|
||||
file_service_user_ad_instance_proto_rawDescOnce.Do(func() {
|
||||
file_service_user_ad_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_user_ad_instance_proto_rawDescData)
|
||||
})
|
||||
return file_service_user_ad_instance_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_user_ad_instance_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_service_user_ad_instance_proto_goTypes = []any{
|
||||
(*CreateUserADInstanceRequest)(nil), // 0: pb.CreateUserADInstanceRequest
|
||||
(*CreateUserADInstanceResponse)(nil), // 1: pb.CreateUserADInstanceResponse
|
||||
(*BuyUserADInstanceRequest)(nil), // 2: pb.BuyUserADInstanceRequest
|
||||
(*BuyUserADInstanceResponse)(nil), // 3: pb.BuyUserADInstanceResponse
|
||||
(*CountUserADInstancesRequest)(nil), // 4: pb.CountUserADInstancesRequest
|
||||
(*ListUserADInstancesRequest)(nil), // 5: pb.ListUserADInstancesRequest
|
||||
(*ListUserADInstancesResponse)(nil), // 6: pb.ListUserADInstancesResponse
|
||||
(*FindUserADInstanceRequest)(nil), // 7: pb.FindUserADInstanceRequest
|
||||
(*FindUserADInstanceResponse)(nil), // 8: pb.FindUserADInstanceResponse
|
||||
(*DeleteUserADInstanceRequest)(nil), // 9: pb.DeleteUserADInstanceRequest
|
||||
(*RenewUserADInstanceRequest)(nil), // 10: pb.RenewUserADInstanceRequest
|
||||
(*UpdateUserADInstanceObjectsRequest)(nil), // 11: pb.UpdateUserADInstanceObjectsRequest
|
||||
(*UserADInstance)(nil), // 12: pb.UserADInstance
|
||||
(*RPCCountResponse)(nil), // 13: pb.RPCCountResponse
|
||||
(*RPCSuccess)(nil), // 14: pb.RPCSuccess
|
||||
}
|
||||
var file_service_user_ad_instance_proto_depIdxs = []int32{
|
||||
12, // 0: pb.ListUserADInstancesResponse.userADInstances:type_name -> pb.UserADInstance
|
||||
12, // 1: pb.FindUserADInstanceResponse.userADInstance:type_name -> pb.UserADInstance
|
||||
0, // 2: pb.UserADInstanceService.createUserADInstance:input_type -> pb.CreateUserADInstanceRequest
|
||||
2, // 3: pb.UserADInstanceService.buyUserADInstance:input_type -> pb.BuyUserADInstanceRequest
|
||||
4, // 4: pb.UserADInstanceService.countUserADInstances:input_type -> pb.CountUserADInstancesRequest
|
||||
5, // 5: pb.UserADInstanceService.listUserADInstances:input_type -> pb.ListUserADInstancesRequest
|
||||
7, // 6: pb.UserADInstanceService.findUserADInstance:input_type -> pb.FindUserADInstanceRequest
|
||||
9, // 7: pb.UserADInstanceService.deleteUserADInstance:input_type -> pb.DeleteUserADInstanceRequest
|
||||
10, // 8: pb.UserADInstanceService.renewUserADInstance:input_type -> pb.RenewUserADInstanceRequest
|
||||
11, // 9: pb.UserADInstanceService.updateUserADInstanceObjects:input_type -> pb.UpdateUserADInstanceObjectsRequest
|
||||
1, // 10: pb.UserADInstanceService.createUserADInstance:output_type -> pb.CreateUserADInstanceResponse
|
||||
3, // 11: pb.UserADInstanceService.buyUserADInstance:output_type -> pb.BuyUserADInstanceResponse
|
||||
13, // 12: pb.UserADInstanceService.countUserADInstances:output_type -> pb.RPCCountResponse
|
||||
6, // 13: pb.UserADInstanceService.listUserADInstances:output_type -> pb.ListUserADInstancesResponse
|
||||
8, // 14: pb.UserADInstanceService.findUserADInstance:output_type -> pb.FindUserADInstanceResponse
|
||||
14, // 15: pb.UserADInstanceService.deleteUserADInstance:output_type -> pb.RPCSuccess
|
||||
14, // 16: pb.UserADInstanceService.renewUserADInstance:output_type -> pb.RPCSuccess
|
||||
14, // 17: pb.UserADInstanceService.updateUserADInstanceObjects:output_type -> pb.RPCSuccess
|
||||
10, // [10:18] is the sub-list for method output_type
|
||||
2, // [2:10] is the sub-list for method input_type
|
||||
2, // [2:2] is the sub-list for extension type_name
|
||||
2, // [2:2] is the sub-list for extension extendee
|
||||
0, // [0:2] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_service_user_ad_instance_proto_init() }
|
||||
func file_service_user_ad_instance_proto_init() {
|
||||
if File_service_user_ad_instance_proto != nil {
|
||||
return
|
||||
}
|
||||
file_models_model_user_ad_instance_proto_init()
|
||||
file_models_rpc_messages_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_user_ad_instance_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_service_user_ad_instance_proto_goTypes,
|
||||
DependencyIndexes: file_service_user_ad_instance_proto_depIdxs,
|
||||
MessageInfos: file_service_user_ad_instance_proto_msgTypes,
|
||||
}.Build()
|
||||
File_service_user_ad_instance_proto = out.File
|
||||
file_service_user_ad_instance_proto_rawDesc = nil
|
||||
file_service_user_ad_instance_proto_goTypes = nil
|
||||
file_service_user_ad_instance_proto_depIdxs = nil
|
||||
}
|
||||
Reference in New Issue
Block a user