1.4.5.2
This commit is contained in:
639
EdgeCommon/pkg/rpc/pb/service_traffic_package.pb.go
Normal file
639
EdgeCommon/pkg/rpc/pb/service_traffic_package.pb.go
Normal file
@@ -0,0 +1,639 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// 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"
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
var file_service_traffic_package_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69,
|
||||
0x63, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67,
|
||||
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, 0x45, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66,
|
||||
0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x4a, 0x0a, 0x1c, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
|
||||
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61,
|
||||
0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
|
||||
0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10,
|
||||
0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x22, 0x49, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72,
|
||||
0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74,
|
||||
0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22,
|
||||
0x47, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10,
|
||||
0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64,
|
||||
0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69,
|
||||
0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||||
0x67, 0x65, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||||
0x67, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61,
|
||||
0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x22, 0x5e, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72,
|
||||
0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63,
|
||||
0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||||
0x67, 0x65, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||||
0x67, 0x65, 0x73, 0x22, 0x28, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76,
|
||||
0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x67, 0x0a,
|
||||
0x27, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x66,
|
||||
0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||
0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x32, 0xb6, 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x66, 0x66,
|
||||
0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x12, 0x59, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69,
|
||||
0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||||
0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x14, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
|
||||
0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 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, 0x47, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72,
|
||||
0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 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, 0x53, 0x0a,
|
||||
0x12, 0x66, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61,
|
||||
0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66,
|
||||
0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61,
|
||||
0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63,
|
||||
0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x66,
|
||||
0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76,
|
||||
0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||
0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x66,
|
||||
0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41,
|
||||
0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_service_traffic_package_proto_rawDescOnce sync.Once
|
||||
file_service_traffic_package_proto_rawDescData = file_service_traffic_package_proto_rawDesc
|
||||
)
|
||||
|
||||
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(file_service_traffic_package_proto_rawDescData)
|
||||
})
|
||||
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: 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_rawDesc = nil
|
||||
file_service_traffic_package_proto_goTypes = nil
|
||||
file_service_traffic_package_proto_depIdxs = nil
|
||||
}
|
||||
Reference in New Issue
Block a user