578 lines
20 KiB
Go
578 lines
20 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_traffic_package.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
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 CreateTrafficPackageRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // 流量包尺寸
|
||
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // 单位:gb, tb, pb
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateTrafficPackageRequest) Reset() {
|
||
*x = CreateTrafficPackageRequest{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateTrafficPackageRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateTrafficPackageRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateTrafficPackageRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 CreateTrafficPackageRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateTrafficPackageRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *CreateTrafficPackageRequest) GetSize() int32 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateTrafficPackageRequest) GetUnit() string {
|
||
if x != nil {
|
||
return x.Unit
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type CreateTrafficPackageResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackageId int64 `protobuf:"varint,1,opt,name=trafficPackageId,proto3" json:"trafficPackageId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateTrafficPackageResponse) Reset() {
|
||
*x = CreateTrafficPackageResponse{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateTrafficPackageResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateTrafficPackageResponse) ProtoMessage() {}
|
||
|
||
func (x *CreateTrafficPackageResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 CreateTrafficPackageResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreateTrafficPackageResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *CreateTrafficPackageResponse) GetTrafficPackageId() int64 {
|
||
if x != nil {
|
||
return x.TrafficPackageId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 修改流量包
|
||
type UpdateTrafficPackageRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackageId int64 `protobuf:"varint,1,opt,name=trafficPackageId,proto3" json:"trafficPackageId,omitempty"`
|
||
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateTrafficPackageRequest) Reset() {
|
||
*x = UpdateTrafficPackageRequest{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateTrafficPackageRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateTrafficPackageRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateTrafficPackageRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 UpdateTrafficPackageRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateTrafficPackageRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *UpdateTrafficPackageRequest) GetTrafficPackageId() int64 {
|
||
if x != nil {
|
||
return x.TrafficPackageId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateTrafficPackageRequest) GetIsOn() bool {
|
||
if x != nil {
|
||
return x.IsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 删除流量包
|
||
type DeleteTrafficPackageRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackageId int64 `protobuf:"varint,1,opt,name=trafficPackageId,proto3" json:"trafficPackageId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteTrafficPackageRequest) Reset() {
|
||
*x = DeleteTrafficPackageRequest{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteTrafficPackageRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteTrafficPackageRequest) ProtoMessage() {}
|
||
|
||
func (x *DeleteTrafficPackageRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 DeleteTrafficPackageRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeleteTrafficPackageRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *DeleteTrafficPackageRequest) GetTrafficPackageId() int64 {
|
||
if x != nil {
|
||
return x.TrafficPackageId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 查找流量包
|
||
type FindTrafficPackageRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackageId int64 `protobuf:"varint,1,opt,name=trafficPackageId,proto3" json:"trafficPackageId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindTrafficPackageRequest) Reset() {
|
||
*x = FindTrafficPackageRequest{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindTrafficPackageRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindTrafficPackageRequest) ProtoMessage() {}
|
||
|
||
func (x *FindTrafficPackageRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 FindTrafficPackageRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindTrafficPackageRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *FindTrafficPackageRequest) GetTrafficPackageId() int64 {
|
||
if x != nil {
|
||
return x.TrafficPackageId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindTrafficPackageResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackage *TrafficPackage `protobuf:"bytes,1,opt,name=trafficPackage,proto3" json:"trafficPackage,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindTrafficPackageResponse) Reset() {
|
||
*x = FindTrafficPackageResponse{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindTrafficPackageResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindTrafficPackageResponse) ProtoMessage() {}
|
||
|
||
func (x *FindTrafficPackageResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 FindTrafficPackageResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindTrafficPackageResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *FindTrafficPackageResponse) GetTrafficPackage() *TrafficPackage {
|
||
if x != nil {
|
||
return x.TrafficPackage
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 查找所有流量包
|
||
type FindAllTrafficPackagesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllTrafficPackagesRequest) Reset() {
|
||
*x = FindAllTrafficPackagesRequest{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllTrafficPackagesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllTrafficPackagesRequest) ProtoMessage() {}
|
||
|
||
func (x *FindAllTrafficPackagesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 FindAllTrafficPackagesRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindAllTrafficPackagesRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
type FindAllTrafficPackagesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackages []*TrafficPackage `protobuf:"bytes,1,rep,name=trafficPackages,proto3" json:"trafficPackages,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllTrafficPackagesResponse) Reset() {
|
||
*x = FindAllTrafficPackagesResponse{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllTrafficPackagesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllTrafficPackagesResponse) ProtoMessage() {}
|
||
|
||
func (x *FindAllTrafficPackagesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 FindAllTrafficPackagesResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindAllTrafficPackagesResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *FindAllTrafficPackagesResponse) GetTrafficPackages() []*TrafficPackage {
|
||
if x != nil {
|
||
return x.TrafficPackages
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 查找所有可用流量包
|
||
type FindAllAvailableTrafficPackagesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesRequest) Reset() {
|
||
*x = FindAllAvailableTrafficPackagesRequest{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllAvailableTrafficPackagesRequest) ProtoMessage() {}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 FindAllAvailableTrafficPackagesRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindAllAvailableTrafficPackagesRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
type FindAllAvailableTrafficPackagesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TrafficPackages []*TrafficPackage `protobuf:"bytes,1,rep,name=trafficPackages,proto3" json:"trafficPackages,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesResponse) Reset() {
|
||
*x = FindAllAvailableTrafficPackagesResponse{}
|
||
mi := &file_service_traffic_package_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllAvailableTrafficPackagesResponse) ProtoMessage() {}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_package_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 FindAllAvailableTrafficPackagesResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindAllAvailableTrafficPackagesResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_package_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *FindAllAvailableTrafficPackagesResponse) GetTrafficPackages() []*TrafficPackage {
|
||
if x != nil {
|
||
return x.TrafficPackages
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_service_traffic_package_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_traffic_package_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x1dservice_traffic_package.proto\x12\x02pb\x1a\"models/model_traffic_package.proto\x1a\x19models/rpc_messages.proto\"E\n" +
|
||
"\x1bCreateTrafficPackageRequest\x12\x12\n" +
|
||
"\x04size\x18\x01 \x01(\x05R\x04size\x12\x12\n" +
|
||
"\x04unit\x18\x02 \x01(\tR\x04unit\"J\n" +
|
||
"\x1cCreateTrafficPackageResponse\x12*\n" +
|
||
"\x10trafficPackageId\x18\x01 \x01(\x03R\x10trafficPackageId\"]\n" +
|
||
"\x1bUpdateTrafficPackageRequest\x12*\n" +
|
||
"\x10trafficPackageId\x18\x01 \x01(\x03R\x10trafficPackageId\x12\x12\n" +
|
||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\"I\n" +
|
||
"\x1bDeleteTrafficPackageRequest\x12*\n" +
|
||
"\x10trafficPackageId\x18\x01 \x01(\x03R\x10trafficPackageId\"G\n" +
|
||
"\x19FindTrafficPackageRequest\x12*\n" +
|
||
"\x10trafficPackageId\x18\x01 \x01(\x03R\x10trafficPackageId\"X\n" +
|
||
"\x1aFindTrafficPackageResponse\x12:\n" +
|
||
"\x0etrafficPackage\x18\x01 \x01(\v2\x12.pb.TrafficPackageR\x0etrafficPackage\"\x1f\n" +
|
||
"\x1dFindAllTrafficPackagesRequest\"^\n" +
|
||
"\x1eFindAllTrafficPackagesResponse\x12<\n" +
|
||
"\x0ftrafficPackages\x18\x01 \x03(\v2\x12.pb.TrafficPackageR\x0ftrafficPackages\"(\n" +
|
||
"&FindAllAvailableTrafficPackagesRequest\"g\n" +
|
||
"'FindAllAvailableTrafficPackagesResponse\x12<\n" +
|
||
"\x0ftrafficPackages\x18\x01 \x03(\v2\x12.pb.TrafficPackageR\x0ftrafficPackages2\xb6\x04\n" +
|
||
"\x15TrafficPackageService\x12Y\n" +
|
||
"\x14createTrafficPackage\x12\x1f.pb.CreateTrafficPackageRequest\x1a .pb.CreateTrafficPackageResponse\x12G\n" +
|
||
"\x14updateTrafficPackage\x12\x1f.pb.UpdateTrafficPackageRequest\x1a\x0e.pb.RPCSuccess\x12G\n" +
|
||
"\x14deleteTrafficPackage\x12\x1f.pb.DeleteTrafficPackageRequest\x1a\x0e.pb.RPCSuccess\x12S\n" +
|
||
"\x12findTrafficPackage\x12\x1d.pb.FindTrafficPackageRequest\x1a\x1e.pb.FindTrafficPackageResponse\x12_\n" +
|
||
"\x16findAllTrafficPackages\x12!.pb.FindAllTrafficPackagesRequest\x1a\".pb.FindAllTrafficPackagesResponse\x12z\n" +
|
||
"\x1ffindAllAvailableTrafficPackages\x12*.pb.FindAllAvailableTrafficPackagesRequest\x1a+.pb.FindAllAvailableTrafficPackagesResponseB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_traffic_package_proto_rawDescOnce sync.Once
|
||
file_service_traffic_package_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_traffic_package_proto_rawDescGZIP() []byte {
|
||
file_service_traffic_package_proto_rawDescOnce.Do(func() {
|
||
file_service_traffic_package_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_traffic_package_proto_rawDesc), len(file_service_traffic_package_proto_rawDesc)))
|
||
})
|
||
return file_service_traffic_package_proto_rawDescData
|
||
}
|
||
|
||
var file_service_traffic_package_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||
var file_service_traffic_package_proto_goTypes = []any{
|
||
(*CreateTrafficPackageRequest)(nil), // 0: pb.CreateTrafficPackageRequest
|
||
(*CreateTrafficPackageResponse)(nil), // 1: pb.CreateTrafficPackageResponse
|
||
(*UpdateTrafficPackageRequest)(nil), // 2: pb.UpdateTrafficPackageRequest
|
||
(*DeleteTrafficPackageRequest)(nil), // 3: pb.DeleteTrafficPackageRequest
|
||
(*FindTrafficPackageRequest)(nil), // 4: pb.FindTrafficPackageRequest
|
||
(*FindTrafficPackageResponse)(nil), // 5: pb.FindTrafficPackageResponse
|
||
(*FindAllTrafficPackagesRequest)(nil), // 6: pb.FindAllTrafficPackagesRequest
|
||
(*FindAllTrafficPackagesResponse)(nil), // 7: pb.FindAllTrafficPackagesResponse
|
||
(*FindAllAvailableTrafficPackagesRequest)(nil), // 8: pb.FindAllAvailableTrafficPackagesRequest
|
||
(*FindAllAvailableTrafficPackagesResponse)(nil), // 9: pb.FindAllAvailableTrafficPackagesResponse
|
||
(*TrafficPackage)(nil), // 10: pb.TrafficPackage
|
||
(*RPCSuccess)(nil), // 11: pb.RPCSuccess
|
||
}
|
||
var file_service_traffic_package_proto_depIdxs = []int32{
|
||
10, // 0: pb.FindTrafficPackageResponse.trafficPackage:type_name -> pb.TrafficPackage
|
||
10, // 1: pb.FindAllTrafficPackagesResponse.trafficPackages:type_name -> pb.TrafficPackage
|
||
10, // 2: pb.FindAllAvailableTrafficPackagesResponse.trafficPackages:type_name -> pb.TrafficPackage
|
||
0, // 3: pb.TrafficPackageService.createTrafficPackage:input_type -> pb.CreateTrafficPackageRequest
|
||
2, // 4: pb.TrafficPackageService.updateTrafficPackage:input_type -> pb.UpdateTrafficPackageRequest
|
||
3, // 5: pb.TrafficPackageService.deleteTrafficPackage:input_type -> pb.DeleteTrafficPackageRequest
|
||
4, // 6: pb.TrafficPackageService.findTrafficPackage:input_type -> pb.FindTrafficPackageRequest
|
||
6, // 7: pb.TrafficPackageService.findAllTrafficPackages:input_type -> pb.FindAllTrafficPackagesRequest
|
||
8, // 8: pb.TrafficPackageService.findAllAvailableTrafficPackages:input_type -> pb.FindAllAvailableTrafficPackagesRequest
|
||
1, // 9: pb.TrafficPackageService.createTrafficPackage:output_type -> pb.CreateTrafficPackageResponse
|
||
11, // 10: pb.TrafficPackageService.updateTrafficPackage:output_type -> pb.RPCSuccess
|
||
11, // 11: pb.TrafficPackageService.deleteTrafficPackage:output_type -> pb.RPCSuccess
|
||
5, // 12: pb.TrafficPackageService.findTrafficPackage:output_type -> pb.FindTrafficPackageResponse
|
||
7, // 13: pb.TrafficPackageService.findAllTrafficPackages:output_type -> pb.FindAllTrafficPackagesResponse
|
||
9, // 14: pb.TrafficPackageService.findAllAvailableTrafficPackages:output_type -> pb.FindAllAvailableTrafficPackagesResponse
|
||
9, // [9:15] is the sub-list for method output_type
|
||
3, // [3:9] is the sub-list for method input_type
|
||
3, // [3:3] is the sub-list for extension type_name
|
||
3, // [3:3] is the sub-list for extension extendee
|
||
0, // [0:3] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_service_traffic_package_proto_init() }
|
||
func file_service_traffic_package_proto_init() {
|
||
if File_service_traffic_package_proto != nil {
|
||
return
|
||
}
|
||
file_models_model_traffic_package_proto_init()
|
||
file_models_rpc_messages_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_traffic_package_proto_rawDesc), len(file_service_traffic_package_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 10,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_traffic_package_proto_goTypes,
|
||
DependencyIndexes: file_service_traffic_package_proto_depIdxs,
|
||
MessageInfos: file_service_traffic_package_proto_msgTypes,
|
||
}.Build()
|
||
File_service_traffic_package_proto = out.File
|
||
file_service_traffic_package_proto_goTypes = nil
|
||
file_service_traffic_package_proto_depIdxs = nil
|
||
}
|