mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-04 21:50:26 +08:00
1472 lines
58 KiB
Go
1472 lines
58 KiB
Go
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
|
// versions:
|
||
|
|
// protoc-gen-go v1.25.0
|
||
|
|
// protoc v3.19.4
|
||
|
|
// source: service_user_ad_instance.proto
|
||
|
|
|
||
|
|
package pb
|
||
|
|
|
||
|
|
import (
|
||
|
|
context "context"
|
||
|
|
proto "github.com/golang/protobuf/proto"
|
||
|
|
grpc "google.golang.org/grpc"
|
||
|
|
codes "google.golang.org/grpc/codes"
|
||
|
|
status "google.golang.org/grpc/status"
|
||
|
|
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)
|
||
|
|
)
|
||
|
|
|
||
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||
|
|
// of the legacy proto package is being used.
|
||
|
|
const _ = proto.ProtoPackageIsVersion4
|
||
|
|
|
||
|
|
// 创建用户高防实例
|
||
|
|
type CreateUserADInstanceRequest struct {
|
||
|
|
state protoimpl.MessageState
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
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"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CreateUserADInstanceRequest) Reset() {
|
||
|
|
*x = CreateUserADInstanceRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstanceIds []int64 `protobuf:"varint,1,rep,packed,name=userADInstanceIds,proto3" json:"userADInstanceIds,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CreateUserADInstanceResponse) Reset() {
|
||
|
|
*x = CreateUserADInstanceResponse{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
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"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *BuyUserADInstanceRequest) Reset() {
|
||
|
|
*x = BuyUserADInstanceRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstanceIds []int64 `protobuf:"varint,1,rep,packed,name=userADInstanceIds,proto3" json:"userADInstanceIds,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *BuyUserADInstanceResponse) Reset() {
|
||
|
|
*x = BuyUserADInstanceResponse{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
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"` // 是否只查询有效的高防实例
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CountUserADInstancesRequest) Reset() {
|
||
|
|
*x = CountUserADInstancesRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
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"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ListUserADInstancesRequest) Reset() {
|
||
|
|
*x = ListUserADInstancesRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstances []*UserADInstance `protobuf:"bytes,1,rep,name=userADInstances,proto3" json:"userADInstances,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ListUserADInstancesResponse) Reset() {
|
||
|
|
*x = ListUserADInstancesResponse{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *FindUserADInstanceRequest) Reset() {
|
||
|
|
*x = FindUserADInstanceRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstance *UserADInstance `protobuf:"bytes,1,opt,name=userADInstance,proto3" json:"userADInstance,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *FindUserADInstanceResponse) Reset() {
|
||
|
|
*x = FindUserADInstanceResponse{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeleteUserADInstanceRequest) Reset() {
|
||
|
|
*x = DeleteUserADInstanceRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||
|
|
AdPackagePeriodId int64 `protobuf:"varint,2,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenewUserADInstanceRequest) Reset() {
|
||
|
|
*x = RenewUserADInstanceRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
|
||
|
|
UserADInstanceId int64 `protobuf:"varint,1,opt,name=userADInstanceId,proto3" json:"userADInstanceId,omitempty"`
|
||
|
|
ObjectCodes []string `protobuf:"bytes,2,rep,name=objectCodes,proto3" json:"objectCodes,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateUserADInstanceObjectsRequest) Reset() {
|
||
|
|
*x = UpdateUserADInstanceObjectsRequest{}
|
||
|
|
if protoimpl.UnsafeEnabled {
|
||
|
|
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 protoimpl.UnsafeEnabled && 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 = []interface{}{
|
||
|
|
(*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()
|
||
|
|
if !protoimpl.UnsafeEnabled {
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*CreateUserADInstanceRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*CreateUserADInstanceResponse); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*BuyUserADInstanceRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*BuyUserADInstanceResponse); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*CountUserADInstancesRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*ListUserADInstancesRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*ListUserADInstancesResponse); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*FindUserADInstanceRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*FindUserADInstanceResponse); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*DeleteUserADInstanceRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*RenewUserADInstanceRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
file_service_user_ad_instance_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
|
|
switch v := v.(*UpdateUserADInstanceObjectsRequest); i {
|
||
|
|
case 0:
|
||
|
|
return &v.state
|
||
|
|
case 1:
|
||
|
|
return &v.sizeCache
|
||
|
|
case 2:
|
||
|
|
return &v.unknownFields
|
||
|
|
default:
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
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 imports to suppress errors if they are not otherwise used.
|
||
|
|
var _ context.Context
|
||
|
|
var _ grpc.ClientConnInterface
|
||
|
|
|
||
|
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
|
// is compatible with the grpc package it is being compiled against.
|
||
|
|
const _ = grpc.SupportPackageIsVersion6
|
||
|
|
|
||
|
|
// UserADInstanceServiceClient is the client API for UserADInstanceService service.
|
||
|
|
//
|
||
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||
|
|
type UserADInstanceServiceClient interface {
|
||
|
|
// 创建用户高防实例
|
||
|
|
CreateUserADInstance(ctx context.Context, in *CreateUserADInstanceRequest, opts ...grpc.CallOption) (*CreateUserADInstanceResponse, error)
|
||
|
|
// 购买用户高防实例
|
||
|
|
BuyUserADInstance(ctx context.Context, in *BuyUserADInstanceRequest, opts ...grpc.CallOption) (*BuyUserADInstanceResponse, error)
|
||
|
|
// 计算用户高防实例数量
|
||
|
|
CountUserADInstances(ctx context.Context, in *CountUserADInstancesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||
|
|
// 列出单页用户高防实例
|
||
|
|
ListUserADInstances(ctx context.Context, in *ListUserADInstancesRequest, opts ...grpc.CallOption) (*ListUserADInstancesResponse, error)
|
||
|
|
// 查找单个用户高防实例
|
||
|
|
FindUserADInstance(ctx context.Context, in *FindUserADInstanceRequest, opts ...grpc.CallOption) (*FindUserADInstanceResponse, error)
|
||
|
|
// 删除用户高防实例
|
||
|
|
DeleteUserADInstance(ctx context.Context, in *DeleteUserADInstanceRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||
|
|
// 续期用户高防实例
|
||
|
|
RenewUserADInstance(ctx context.Context, in *RenewUserADInstanceRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||
|
|
// 修改实例防护对象
|
||
|
|
UpdateUserADInstanceObjects(ctx context.Context, in *UpdateUserADInstanceObjectsRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||
|
|
}
|
||
|
|
|
||
|
|
type userADInstanceServiceClient struct {
|
||
|
|
cc grpc.ClientConnInterface
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewUserADInstanceServiceClient(cc grpc.ClientConnInterface) UserADInstanceServiceClient {
|
||
|
|
return &userADInstanceServiceClient{cc}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) CreateUserADInstance(ctx context.Context, in *CreateUserADInstanceRequest, opts ...grpc.CallOption) (*CreateUserADInstanceResponse, error) {
|
||
|
|
out := new(CreateUserADInstanceResponse)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/createUserADInstance", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) BuyUserADInstance(ctx context.Context, in *BuyUserADInstanceRequest, opts ...grpc.CallOption) (*BuyUserADInstanceResponse, error) {
|
||
|
|
out := new(BuyUserADInstanceResponse)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/buyUserADInstance", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) CountUserADInstances(ctx context.Context, in *CountUserADInstancesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||
|
|
out := new(RPCCountResponse)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/countUserADInstances", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) ListUserADInstances(ctx context.Context, in *ListUserADInstancesRequest, opts ...grpc.CallOption) (*ListUserADInstancesResponse, error) {
|
||
|
|
out := new(ListUserADInstancesResponse)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/listUserADInstances", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) FindUserADInstance(ctx context.Context, in *FindUserADInstanceRequest, opts ...grpc.CallOption) (*FindUserADInstanceResponse, error) {
|
||
|
|
out := new(FindUserADInstanceResponse)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/findUserADInstance", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) DeleteUserADInstance(ctx context.Context, in *DeleteUserADInstanceRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
||
|
|
out := new(RPCSuccess)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/deleteUserADInstance", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) RenewUserADInstance(ctx context.Context, in *RenewUserADInstanceRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
||
|
|
out := new(RPCSuccess)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/renewUserADInstance", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c *userADInstanceServiceClient) UpdateUserADInstanceObjects(ctx context.Context, in *UpdateUserADInstanceObjectsRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
||
|
|
out := new(RPCSuccess)
|
||
|
|
err := c.cc.Invoke(ctx, "/pb.UserADInstanceService/updateUserADInstanceObjects", in, out, opts...)
|
||
|
|
if err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
return out, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
// UserADInstanceServiceServer is the server API for UserADInstanceService service.
|
||
|
|
type UserADInstanceServiceServer interface {
|
||
|
|
// 创建用户高防实例
|
||
|
|
CreateUserADInstance(context.Context, *CreateUserADInstanceRequest) (*CreateUserADInstanceResponse, error)
|
||
|
|
// 购买用户高防实例
|
||
|
|
BuyUserADInstance(context.Context, *BuyUserADInstanceRequest) (*BuyUserADInstanceResponse, error)
|
||
|
|
// 计算用户高防实例数量
|
||
|
|
CountUserADInstances(context.Context, *CountUserADInstancesRequest) (*RPCCountResponse, error)
|
||
|
|
// 列出单页用户高防实例
|
||
|
|
ListUserADInstances(context.Context, *ListUserADInstancesRequest) (*ListUserADInstancesResponse, error)
|
||
|
|
// 查找单个用户高防实例
|
||
|
|
FindUserADInstance(context.Context, *FindUserADInstanceRequest) (*FindUserADInstanceResponse, error)
|
||
|
|
// 删除用户高防实例
|
||
|
|
DeleteUserADInstance(context.Context, *DeleteUserADInstanceRequest) (*RPCSuccess, error)
|
||
|
|
// 续期用户高防实例
|
||
|
|
RenewUserADInstance(context.Context, *RenewUserADInstanceRequest) (*RPCSuccess, error)
|
||
|
|
// 修改实例防护对象
|
||
|
|
UpdateUserADInstanceObjects(context.Context, *UpdateUserADInstanceObjectsRequest) (*RPCSuccess, error)
|
||
|
|
}
|
||
|
|
|
||
|
|
// UnimplementedUserADInstanceServiceServer can be embedded to have forward compatible implementations.
|
||
|
|
type UnimplementedUserADInstanceServiceServer struct {
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) CreateUserADInstance(context.Context, *CreateUserADInstanceRequest) (*CreateUserADInstanceResponse, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateUserADInstance not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) BuyUserADInstance(context.Context, *BuyUserADInstanceRequest) (*BuyUserADInstanceResponse, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method BuyUserADInstance not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) CountUserADInstances(context.Context, *CountUserADInstancesRequest) (*RPCCountResponse, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountUserADInstances not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) ListUserADInstances(context.Context, *ListUserADInstancesRequest) (*ListUserADInstancesResponse, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListUserADInstances not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) FindUserADInstance(context.Context, *FindUserADInstanceRequest) (*FindUserADInstanceResponse, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindUserADInstance not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) DeleteUserADInstance(context.Context, *DeleteUserADInstanceRequest) (*RPCSuccess, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteUserADInstance not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) RenewUserADInstance(context.Context, *RenewUserADInstanceRequest) (*RPCSuccess, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method RenewUserADInstance not implemented")
|
||
|
|
}
|
||
|
|
func (*UnimplementedUserADInstanceServiceServer) UpdateUserADInstanceObjects(context.Context, *UpdateUserADInstanceObjectsRequest) (*RPCSuccess, error) {
|
||
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserADInstanceObjects not implemented")
|
||
|
|
}
|
||
|
|
|
||
|
|
func RegisterUserADInstanceServiceServer(s *grpc.Server, srv UserADInstanceServiceServer) {
|
||
|
|
s.RegisterService(&_UserADInstanceService_serviceDesc, srv)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_CreateUserADInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(CreateUserADInstanceRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).CreateUserADInstance(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/CreateUserADInstance",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).CreateUserADInstance(ctx, req.(*CreateUserADInstanceRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_BuyUserADInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(BuyUserADInstanceRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).BuyUserADInstance(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/BuyUserADInstance",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).BuyUserADInstance(ctx, req.(*BuyUserADInstanceRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_CountUserADInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(CountUserADInstancesRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).CountUserADInstances(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/CountUserADInstances",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).CountUserADInstances(ctx, req.(*CountUserADInstancesRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_ListUserADInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(ListUserADInstancesRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).ListUserADInstances(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/ListUserADInstances",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).ListUserADInstances(ctx, req.(*ListUserADInstancesRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_FindUserADInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(FindUserADInstanceRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).FindUserADInstance(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/FindUserADInstance",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).FindUserADInstance(ctx, req.(*FindUserADInstanceRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_DeleteUserADInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(DeleteUserADInstanceRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).DeleteUserADInstance(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/DeleteUserADInstance",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).DeleteUserADInstance(ctx, req.(*DeleteUserADInstanceRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_RenewUserADInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(RenewUserADInstanceRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).RenewUserADInstance(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/RenewUserADInstance",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).RenewUserADInstance(ctx, req.(*RenewUserADInstanceRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
func _UserADInstanceService_UpdateUserADInstanceObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
|
in := new(UpdateUserADInstanceObjectsRequest)
|
||
|
|
if err := dec(in); err != nil {
|
||
|
|
return nil, err
|
||
|
|
}
|
||
|
|
if interceptor == nil {
|
||
|
|
return srv.(UserADInstanceServiceServer).UpdateUserADInstanceObjects(ctx, in)
|
||
|
|
}
|
||
|
|
info := &grpc.UnaryServerInfo{
|
||
|
|
Server: srv,
|
||
|
|
FullMethod: "/pb.UserADInstanceService/UpdateUserADInstanceObjects",
|
||
|
|
}
|
||
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
|
return srv.(UserADInstanceServiceServer).UpdateUserADInstanceObjects(ctx, req.(*UpdateUserADInstanceObjectsRequest))
|
||
|
|
}
|
||
|
|
return interceptor(ctx, in, info, handler)
|
||
|
|
}
|
||
|
|
|
||
|
|
var _UserADInstanceService_serviceDesc = grpc.ServiceDesc{
|
||
|
|
ServiceName: "pb.UserADInstanceService",
|
||
|
|
HandlerType: (*UserADInstanceServiceServer)(nil),
|
||
|
|
Methods: []grpc.MethodDesc{
|
||
|
|
{
|
||
|
|
MethodName: "createUserADInstance",
|
||
|
|
Handler: _UserADInstanceService_CreateUserADInstance_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "buyUserADInstance",
|
||
|
|
Handler: _UserADInstanceService_BuyUserADInstance_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "countUserADInstances",
|
||
|
|
Handler: _UserADInstanceService_CountUserADInstances_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "listUserADInstances",
|
||
|
|
Handler: _UserADInstanceService_ListUserADInstances_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "findUserADInstance",
|
||
|
|
Handler: _UserADInstanceService_FindUserADInstance_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "deleteUserADInstance",
|
||
|
|
Handler: _UserADInstanceService_DeleteUserADInstance_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "renewUserADInstance",
|
||
|
|
Handler: _UserADInstanceService_RenewUserADInstance_Handler,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
MethodName: "updateUserADInstanceObjects",
|
||
|
|
Handler: _UserADInstanceService_UpdateUserADInstanceObjects_Handler,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
Streams: []grpc.StreamDesc{},
|
||
|
|
Metadata: "service_user_ad_instance.proto",
|
||
|
|
}
|