// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v3.19.4 // source: service_traffic_package_period.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 CreateTrafficPackagePeriodRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // month | year } func (x *CreateTrafficPackagePeriodRequest) Reset() { *x = CreateTrafficPackagePeriodRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateTrafficPackagePeriodRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateTrafficPackagePeriodRequest) ProtoMessage() {} func (x *CreateTrafficPackagePeriodRequest) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 CreateTrafficPackagePeriodRequest.ProtoReflect.Descriptor instead. func (*CreateTrafficPackagePeriodRequest) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{0} } func (x *CreateTrafficPackagePeriodRequest) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *CreateTrafficPackagePeriodRequest) GetUnit() string { if x != nil { return x.Unit } return "" } type CreateTrafficPackagePeriodResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriodId int64 `protobuf:"varint,1,opt,name=trafficPackagePeriodId,proto3" json:"trafficPackagePeriodId,omitempty"` } func (x *CreateTrafficPackagePeriodResponse) Reset() { *x = CreateTrafficPackagePeriodResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateTrafficPackagePeriodResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateTrafficPackagePeriodResponse) ProtoMessage() {} func (x *CreateTrafficPackagePeriodResponse) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 CreateTrafficPackagePeriodResponse.ProtoReflect.Descriptor instead. func (*CreateTrafficPackagePeriodResponse) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{1} } func (x *CreateTrafficPackagePeriodResponse) GetTrafficPackagePeriodId() int64 { if x != nil { return x.TrafficPackagePeriodId } return 0 } // 修改有效期 type UpdateTrafficPackagePeriodRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriodId int64 `protobuf:"varint,1,opt,name=trafficPackagePeriodId,proto3" json:"trafficPackagePeriodId,omitempty"` IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` } func (x *UpdateTrafficPackagePeriodRequest) Reset() { *x = UpdateTrafficPackagePeriodRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateTrafficPackagePeriodRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateTrafficPackagePeriodRequest) ProtoMessage() {} func (x *UpdateTrafficPackagePeriodRequest) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 UpdateTrafficPackagePeriodRequest.ProtoReflect.Descriptor instead. func (*UpdateTrafficPackagePeriodRequest) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{2} } func (x *UpdateTrafficPackagePeriodRequest) GetTrafficPackagePeriodId() int64 { if x != nil { return x.TrafficPackagePeriodId } return 0 } func (x *UpdateTrafficPackagePeriodRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } // 删除有效期 type DeleteTrafficPackagePeriodRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriodId int64 `protobuf:"varint,1,opt,name=trafficPackagePeriodId,proto3" json:"trafficPackagePeriodId,omitempty"` } func (x *DeleteTrafficPackagePeriodRequest) Reset() { *x = DeleteTrafficPackagePeriodRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteTrafficPackagePeriodRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteTrafficPackagePeriodRequest) ProtoMessage() {} func (x *DeleteTrafficPackagePeriodRequest) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 DeleteTrafficPackagePeriodRequest.ProtoReflect.Descriptor instead. func (*DeleteTrafficPackagePeriodRequest) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{3} } func (x *DeleteTrafficPackagePeriodRequest) GetTrafficPackagePeriodId() int64 { if x != nil { return x.TrafficPackagePeriodId } return 0 } // 查找有效期 type FindTrafficPackagePeriodRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriodId int64 `protobuf:"varint,1,opt,name=trafficPackagePeriodId,proto3" json:"trafficPackagePeriodId,omitempty"` } func (x *FindTrafficPackagePeriodRequest) Reset() { *x = FindTrafficPackagePeriodRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindTrafficPackagePeriodRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindTrafficPackagePeriodRequest) ProtoMessage() {} func (x *FindTrafficPackagePeriodRequest) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 FindTrafficPackagePeriodRequest.ProtoReflect.Descriptor instead. func (*FindTrafficPackagePeriodRequest) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{4} } func (x *FindTrafficPackagePeriodRequest) GetTrafficPackagePeriodId() int64 { if x != nil { return x.TrafficPackagePeriodId } return 0 } type FindTrafficPackagePeriodResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriod *TrafficPackagePeriod `protobuf:"bytes,1,opt,name=trafficPackagePeriod,proto3" json:"trafficPackagePeriod,omitempty"` } func (x *FindTrafficPackagePeriodResponse) Reset() { *x = FindTrafficPackagePeriodResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindTrafficPackagePeriodResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindTrafficPackagePeriodResponse) ProtoMessage() {} func (x *FindTrafficPackagePeriodResponse) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 FindTrafficPackagePeriodResponse.ProtoReflect.Descriptor instead. func (*FindTrafficPackagePeriodResponse) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{5} } func (x *FindTrafficPackagePeriodResponse) GetTrafficPackagePeriod() *TrafficPackagePeriod { if x != nil { return x.TrafficPackagePeriod } return nil } // 列出所有有效期 type FindAllTrafficPackagePeriodsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *FindAllTrafficPackagePeriodsRequest) Reset() { *x = FindAllTrafficPackagePeriodsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllTrafficPackagePeriodsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllTrafficPackagePeriodsRequest) ProtoMessage() {} func (x *FindAllTrafficPackagePeriodsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 FindAllTrafficPackagePeriodsRequest.ProtoReflect.Descriptor instead. func (*FindAllTrafficPackagePeriodsRequest) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{6} } type FindAllTrafficPackagePeriodsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriods []*TrafficPackagePeriod `protobuf:"bytes,1,rep,name=trafficPackagePeriods,proto3" json:"trafficPackagePeriods,omitempty"` } func (x *FindAllTrafficPackagePeriodsResponse) Reset() { *x = FindAllTrafficPackagePeriodsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllTrafficPackagePeriodsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllTrafficPackagePeriodsResponse) ProtoMessage() {} func (x *FindAllTrafficPackagePeriodsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 FindAllTrafficPackagePeriodsResponse.ProtoReflect.Descriptor instead. func (*FindAllTrafficPackagePeriodsResponse) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{7} } func (x *FindAllTrafficPackagePeriodsResponse) GetTrafficPackagePeriods() []*TrafficPackagePeriod { if x != nil { return x.TrafficPackagePeriods } return nil } // 列出所有可用有效期 type FindAllAvailableTrafficPackagePeriodsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *FindAllAvailableTrafficPackagePeriodsRequest) Reset() { *x = FindAllAvailableTrafficPackagePeriodsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllAvailableTrafficPackagePeriodsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllAvailableTrafficPackagePeriodsRequest) ProtoMessage() {} func (x *FindAllAvailableTrafficPackagePeriodsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 FindAllAvailableTrafficPackagePeriodsRequest.ProtoReflect.Descriptor instead. func (*FindAllAvailableTrafficPackagePeriodsRequest) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{8} } type FindAllAvailableTrafficPackagePeriodsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TrafficPackagePeriods []*TrafficPackagePeriod `protobuf:"bytes,1,rep,name=trafficPackagePeriods,proto3" json:"trafficPackagePeriods,omitempty"` } func (x *FindAllAvailableTrafficPackagePeriodsResponse) Reset() { *x = FindAllAvailableTrafficPackagePeriodsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_traffic_package_period_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllAvailableTrafficPackagePeriodsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllAvailableTrafficPackagePeriodsResponse) ProtoMessage() {} func (x *FindAllAvailableTrafficPackagePeriodsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_traffic_package_period_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 FindAllAvailableTrafficPackagePeriodsResponse.ProtoReflect.Descriptor instead. func (*FindAllAvailableTrafficPackagePeriodsResponse) Descriptor() ([]byte, []int) { return file_service_traffic_package_period_proto_rawDescGZIP(), []int{9} } func (x *FindAllAvailableTrafficPackagePeriodsResponse) GetTrafficPackagePeriods() []*TrafficPackagePeriod { if x != nil { return x.TrafficPackagePeriods } return nil } var File_service_traffic_package_period_proto protoreflect.FileDescriptor var file_service_traffic_package_period_proto_rawDesc = []byte{ 0x0a, 0x24, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x29, 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, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 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, 0x4d, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x5c, 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x22, 0x59, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x14, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0x25, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x76, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x15, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x22, 0x2e, 0x0a, 0x2c, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7f, 0x0a, 0x2d, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x15, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x32, 0x9d, 0x05, 0x0a, 0x1b, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x1a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 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, 0x1a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1c, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x12, 0x27, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x12, 0x30, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 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, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 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_period_proto_rawDescOnce sync.Once file_service_traffic_package_period_proto_rawDescData = file_service_traffic_package_period_proto_rawDesc ) func file_service_traffic_package_period_proto_rawDescGZIP() []byte { file_service_traffic_package_period_proto_rawDescOnce.Do(func() { file_service_traffic_package_period_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_traffic_package_period_proto_rawDescData) }) return file_service_traffic_package_period_proto_rawDescData } var file_service_traffic_package_period_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_service_traffic_package_period_proto_goTypes = []interface{}{ (*CreateTrafficPackagePeriodRequest)(nil), // 0: pb.CreateTrafficPackagePeriodRequest (*CreateTrafficPackagePeriodResponse)(nil), // 1: pb.CreateTrafficPackagePeriodResponse (*UpdateTrafficPackagePeriodRequest)(nil), // 2: pb.UpdateTrafficPackagePeriodRequest (*DeleteTrafficPackagePeriodRequest)(nil), // 3: pb.DeleteTrafficPackagePeriodRequest (*FindTrafficPackagePeriodRequest)(nil), // 4: pb.FindTrafficPackagePeriodRequest (*FindTrafficPackagePeriodResponse)(nil), // 5: pb.FindTrafficPackagePeriodResponse (*FindAllTrafficPackagePeriodsRequest)(nil), // 6: pb.FindAllTrafficPackagePeriodsRequest (*FindAllTrafficPackagePeriodsResponse)(nil), // 7: pb.FindAllTrafficPackagePeriodsResponse (*FindAllAvailableTrafficPackagePeriodsRequest)(nil), // 8: pb.FindAllAvailableTrafficPackagePeriodsRequest (*FindAllAvailableTrafficPackagePeriodsResponse)(nil), // 9: pb.FindAllAvailableTrafficPackagePeriodsResponse (*TrafficPackagePeriod)(nil), // 10: pb.TrafficPackagePeriod (*RPCSuccess)(nil), // 11: pb.RPCSuccess } var file_service_traffic_package_period_proto_depIdxs = []int32{ 10, // 0: pb.FindTrafficPackagePeriodResponse.trafficPackagePeriod:type_name -> pb.TrafficPackagePeriod 10, // 1: pb.FindAllTrafficPackagePeriodsResponse.trafficPackagePeriods:type_name -> pb.TrafficPackagePeriod 10, // 2: pb.FindAllAvailableTrafficPackagePeriodsResponse.trafficPackagePeriods:type_name -> pb.TrafficPackagePeriod 0, // 3: pb.TrafficPackagePeriodService.createTrafficPackagePeriod:input_type -> pb.CreateTrafficPackagePeriodRequest 2, // 4: pb.TrafficPackagePeriodService.updateTrafficPackagePeriod:input_type -> pb.UpdateTrafficPackagePeriodRequest 3, // 5: pb.TrafficPackagePeriodService.deleteTrafficPackagePeriod:input_type -> pb.DeleteTrafficPackagePeriodRequest 4, // 6: pb.TrafficPackagePeriodService.findTrafficPackagePeriod:input_type -> pb.FindTrafficPackagePeriodRequest 6, // 7: pb.TrafficPackagePeriodService.findAllTrafficPackagePeriods:input_type -> pb.FindAllTrafficPackagePeriodsRequest 8, // 8: pb.TrafficPackagePeriodService.findAllAvailableTrafficPackagePeriods:input_type -> pb.FindAllAvailableTrafficPackagePeriodsRequest 1, // 9: pb.TrafficPackagePeriodService.createTrafficPackagePeriod:output_type -> pb.CreateTrafficPackagePeriodResponse 11, // 10: pb.TrafficPackagePeriodService.updateTrafficPackagePeriod:output_type -> pb.RPCSuccess 11, // 11: pb.TrafficPackagePeriodService.deleteTrafficPackagePeriod:output_type -> pb.RPCSuccess 5, // 12: pb.TrafficPackagePeriodService.findTrafficPackagePeriod:output_type -> pb.FindTrafficPackagePeriodResponse 7, // 13: pb.TrafficPackagePeriodService.findAllTrafficPackagePeriods:output_type -> pb.FindAllTrafficPackagePeriodsResponse 9, // 14: pb.TrafficPackagePeriodService.findAllAvailableTrafficPackagePeriods:output_type -> pb.FindAllAvailableTrafficPackagePeriodsResponse 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_period_proto_init() } func file_service_traffic_package_period_proto_init() { if File_service_traffic_package_period_proto != nil { return } file_models_model_traffic_package_period_proto_init() file_models_rpc_messages_proto_init() if !protoimpl.UnsafeEnabled { file_service_traffic_package_period_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTrafficPackagePeriodRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTrafficPackagePeriodResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTrafficPackagePeriodRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTrafficPackagePeriodRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindTrafficPackagePeriodRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindTrafficPackagePeriodResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllTrafficPackagePeriodsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllTrafficPackagePeriodsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllAvailableTrafficPackagePeriodsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_traffic_package_period_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllAvailableTrafficPackagePeriodsResponse); 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_traffic_package_period_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_traffic_package_period_proto_goTypes, DependencyIndexes: file_service_traffic_package_period_proto_depIdxs, MessageInfos: file_service_traffic_package_period_proto_msgTypes, }.Build() File_service_traffic_package_period_proto = out.File file_service_traffic_package_period_proto_rawDesc = nil file_service_traffic_package_period_proto_goTypes = nil file_service_traffic_package_period_proto_depIdxs = nil }