600 lines
21 KiB
Go
600 lines
21 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_http_cache_task.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 CreateHTTPCacheTaskRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // 任务类型,值为 purge 或者 fetch;purge:删除缓存,fetch:预热缓存
|
||
KeyType string `protobuf:"bytes,2,opt,name=keyType,proto3" json:"keyType,omitempty"` // Key类型,值为 key 或者 prefix;如果是 key 表示处理的是URL,如果是 prefix 表示处理的是目录;预热的时候只能为 key
|
||
Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` // 要清理的Key,根据Key类型(keyType)来输入不同的内容
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskRequest) Reset() {
|
||
*x = CreateHTTPCacheTaskRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateHTTPCacheTaskRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateHTTPCacheTaskRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 CreateHTTPCacheTaskRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateHTTPCacheTaskRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskRequest) GetType() string {
|
||
if x != nil {
|
||
return x.Type
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskRequest) GetKeyType() string {
|
||
if x != nil {
|
||
return x.KeyType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskRequest) GetKeys() []string {
|
||
if x != nil {
|
||
return x.Keys
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CreateHTTPCacheTaskResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
HttpCacheTaskId int64 `protobuf:"varint,1,opt,name=httpCacheTaskId,proto3" json:"httpCacheTaskId,omitempty"` // 生成的任务ID
|
||
CountKeys int64 `protobuf:"varint,2,opt,name=countKeys,proto3" json:"countKeys,omitempty"` // 任务中包含的Key
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskResponse) Reset() {
|
||
*x = CreateHTTPCacheTaskResponse{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateHTTPCacheTaskResponse) ProtoMessage() {}
|
||
|
||
func (x *CreateHTTPCacheTaskResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 CreateHTTPCacheTaskResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreateHTTPCacheTaskResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskResponse) GetHttpCacheTaskId() int64 {
|
||
if x != nil {
|
||
return x.HttpCacheTaskId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateHTTPCacheTaskResponse) GetCountKeys() int64 {
|
||
if x != nil {
|
||
return x.CountKeys
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 计算任务总数量
|
||
type CountHTTPCacheTasksRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountHTTPCacheTasksRequest) Reset() {
|
||
*x = CountHTTPCacheTasksRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountHTTPCacheTasksRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountHTTPCacheTasksRequest) ProtoMessage() {}
|
||
|
||
func (x *CountHTTPCacheTasksRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 CountHTTPCacheTasksRequest.ProtoReflect.Descriptor instead.
|
||
func (*CountHTTPCacheTasksRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
// 计算正在执行的任务数量
|
||
type CountDoingHTTPCacheTasksRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountDoingHTTPCacheTasksRequest) Reset() {
|
||
*x = CountDoingHTTPCacheTasksRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountDoingHTTPCacheTasksRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountDoingHTTPCacheTasksRequest) ProtoMessage() {}
|
||
|
||
func (x *CountDoingHTTPCacheTasksRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 CountDoingHTTPCacheTasksRequest.ProtoReflect.Descriptor instead.
|
||
func (*CountDoingHTTPCacheTasksRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
// 查找单个任务
|
||
type FindEnabledHTTPCacheTaskRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
HttpCacheTaskId int64 `protobuf:"varint,1,opt,name=httpCacheTaskId,proto3" json:"httpCacheTaskId,omitempty"` // 任务ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskRequest) Reset() {
|
||
*x = FindEnabledHTTPCacheTaskRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledHTTPCacheTaskRequest) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 FindEnabledHTTPCacheTaskRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledHTTPCacheTaskRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskRequest) GetHttpCacheTaskId() int64 {
|
||
if x != nil {
|
||
return x.HttpCacheTaskId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindEnabledHTTPCacheTaskResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
HttpCacheTask *HTTPCacheTask `protobuf:"bytes,1,opt,name=httpCacheTask,proto3" json:"httpCacheTask,omitempty"` // 任务信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskResponse) Reset() {
|
||
*x = FindEnabledHTTPCacheTaskResponse{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledHTTPCacheTaskResponse) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 FindEnabledHTTPCacheTaskResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledHTTPCacheTaskResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *FindEnabledHTTPCacheTaskResponse) GetHttpCacheTask() *HTTPCacheTask {
|
||
if x != nil {
|
||
return x.HttpCacheTask
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 列出单页任务
|
||
type ListHTTPCacheTasksRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // 查询起始位置
|
||
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 查询条数
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksRequest) Reset() {
|
||
*x = ListHTTPCacheTasksRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListHTTPCacheTasksRequest) ProtoMessage() {}
|
||
|
||
func (x *ListHTTPCacheTasksRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 ListHTTPCacheTasksRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListHTTPCacheTasksRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksRequest) GetOffset() int64 {
|
||
if x != nil {
|
||
return x.Offset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksRequest) GetSize() int64 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListHTTPCacheTasksResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
HttpCacheTasks []*HTTPCacheTask `protobuf:"bytes,1,rep,name=httpCacheTasks,proto3" json:"httpCacheTasks,omitempty"` // 一组任务信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksResponse) Reset() {
|
||
*x = ListHTTPCacheTasksResponse{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListHTTPCacheTasksResponse) ProtoMessage() {}
|
||
|
||
func (x *ListHTTPCacheTasksResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 ListHTTPCacheTasksResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListHTTPCacheTasksResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *ListHTTPCacheTasksResponse) GetHttpCacheTasks() []*HTTPCacheTask {
|
||
if x != nil {
|
||
return x.HttpCacheTasks
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 删除任务
|
||
type DeleteHTTPCacheTaskRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
HttpCacheTaskId int64 `protobuf:"varint,1,opt,name=httpCacheTaskId,proto3" json:"httpCacheTaskId,omitempty"` // 任务ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteHTTPCacheTaskRequest) Reset() {
|
||
*x = DeleteHTTPCacheTaskRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteHTTPCacheTaskRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteHTTPCacheTaskRequest) ProtoMessage() {}
|
||
|
||
func (x *DeleteHTTPCacheTaskRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 DeleteHTTPCacheTaskRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeleteHTTPCacheTaskRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *DeleteHTTPCacheTaskRequest) GetHttpCacheTaskId() int64 {
|
||
if x != nil {
|
||
return x.HttpCacheTaskId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 重置任务状态
|
||
type ResetHTTPCacheTaskRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
HttpCacheTaskId int64 `protobuf:"varint,1,opt,name=httpCacheTaskId,proto3" json:"httpCacheTaskId,omitempty"` // 任务ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResetHTTPCacheTaskRequest) Reset() {
|
||
*x = ResetHTTPCacheTaskRequest{}
|
||
mi := &file_service_http_cache_task_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResetHTTPCacheTaskRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResetHTTPCacheTaskRequest) ProtoMessage() {}
|
||
|
||
func (x *ResetHTTPCacheTaskRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_http_cache_task_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 ResetHTTPCacheTaskRequest.ProtoReflect.Descriptor instead.
|
||
func (*ResetHTTPCacheTaskRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_http_cache_task_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *ResetHTTPCacheTaskRequest) GetHttpCacheTaskId() int64 {
|
||
if x != nil {
|
||
return x.HttpCacheTaskId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_service_http_cache_task_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_http_cache_task_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x1dservice_http_cache_task.proto\x12\x02pb\x1a\x19models/rpc_messages.proto\x1a\"models/model_http_cache_task.proto\"^\n" +
|
||
"\x1aCreateHTTPCacheTaskRequest\x12\x12\n" +
|
||
"\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n" +
|
||
"\akeyType\x18\x02 \x01(\tR\akeyType\x12\x12\n" +
|
||
"\x04keys\x18\x03 \x03(\tR\x04keys\"e\n" +
|
||
"\x1bCreateHTTPCacheTaskResponse\x12(\n" +
|
||
"\x0fhttpCacheTaskId\x18\x01 \x01(\x03R\x0fhttpCacheTaskId\x12\x1c\n" +
|
||
"\tcountKeys\x18\x02 \x01(\x03R\tcountKeys\"\x1c\n" +
|
||
"\x1aCountHTTPCacheTasksRequest\"!\n" +
|
||
"\x1fCountDoingHTTPCacheTasksRequest\"K\n" +
|
||
"\x1fFindEnabledHTTPCacheTaskRequest\x12(\n" +
|
||
"\x0fhttpCacheTaskId\x18\x01 \x01(\x03R\x0fhttpCacheTaskId\"[\n" +
|
||
" FindEnabledHTTPCacheTaskResponse\x127\n" +
|
||
"\rhttpCacheTask\x18\x01 \x01(\v2\x11.pb.HTTPCacheTaskR\rhttpCacheTask\"G\n" +
|
||
"\x19ListHTTPCacheTasksRequest\x12\x16\n" +
|
||
"\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x12\n" +
|
||
"\x04size\x18\x02 \x01(\x03R\x04size\"W\n" +
|
||
"\x1aListHTTPCacheTasksResponse\x129\n" +
|
||
"\x0ehttpCacheTasks\x18\x01 \x03(\v2\x11.pb.HTTPCacheTaskR\x0ehttpCacheTasks\"F\n" +
|
||
"\x1aDeleteHTTPCacheTaskRequest\x12(\n" +
|
||
"\x0fhttpCacheTaskId\x18\x01 \x01(\x03R\x0fhttpCacheTaskId\"E\n" +
|
||
"\x19ResetHTTPCacheTaskRequest\x12(\n" +
|
||
"\x0fhttpCacheTaskId\x18\x01 \x01(\x03R\x0fhttpCacheTaskId2\xda\x04\n" +
|
||
"\x14HTTPCacheTaskService\x12V\n" +
|
||
"\x13createHTTPCacheTask\x12\x1e.pb.CreateHTTPCacheTaskRequest\x1a\x1f.pb.CreateHTTPCacheTaskResponse\x12K\n" +
|
||
"\x13countHTTPCacheTasks\x12\x1e.pb.CountHTTPCacheTasksRequest\x1a\x14.pb.RPCCountResponse\x12U\n" +
|
||
"\x18countDoingHTTPCacheTasks\x12#.pb.CountDoingHTTPCacheTasksRequest\x1a\x14.pb.RPCCountResponse\x12S\n" +
|
||
"\x12listHTTPCacheTasks\x12\x1d.pb.ListHTTPCacheTasksRequest\x1a\x1e.pb.ListHTTPCacheTasksResponse\x12e\n" +
|
||
"\x18findEnabledHTTPCacheTask\x12#.pb.FindEnabledHTTPCacheTaskRequest\x1a$.pb.FindEnabledHTTPCacheTaskResponse\x12E\n" +
|
||
"\x13deleteHTTPCacheTask\x12\x1e.pb.DeleteHTTPCacheTaskRequest\x1a\x0e.pb.RPCSuccess\x12C\n" +
|
||
"\x12resetHTTPCacheTask\x12\x1d.pb.ResetHTTPCacheTaskRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_http_cache_task_proto_rawDescOnce sync.Once
|
||
file_service_http_cache_task_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_http_cache_task_proto_rawDescGZIP() []byte {
|
||
file_service_http_cache_task_proto_rawDescOnce.Do(func() {
|
||
file_service_http_cache_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_http_cache_task_proto_rawDesc), len(file_service_http_cache_task_proto_rawDesc)))
|
||
})
|
||
return file_service_http_cache_task_proto_rawDescData
|
||
}
|
||
|
||
var file_service_http_cache_task_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||
var file_service_http_cache_task_proto_goTypes = []any{
|
||
(*CreateHTTPCacheTaskRequest)(nil), // 0: pb.CreateHTTPCacheTaskRequest
|
||
(*CreateHTTPCacheTaskResponse)(nil), // 1: pb.CreateHTTPCacheTaskResponse
|
||
(*CountHTTPCacheTasksRequest)(nil), // 2: pb.CountHTTPCacheTasksRequest
|
||
(*CountDoingHTTPCacheTasksRequest)(nil), // 3: pb.CountDoingHTTPCacheTasksRequest
|
||
(*FindEnabledHTTPCacheTaskRequest)(nil), // 4: pb.FindEnabledHTTPCacheTaskRequest
|
||
(*FindEnabledHTTPCacheTaskResponse)(nil), // 5: pb.FindEnabledHTTPCacheTaskResponse
|
||
(*ListHTTPCacheTasksRequest)(nil), // 6: pb.ListHTTPCacheTasksRequest
|
||
(*ListHTTPCacheTasksResponse)(nil), // 7: pb.ListHTTPCacheTasksResponse
|
||
(*DeleteHTTPCacheTaskRequest)(nil), // 8: pb.DeleteHTTPCacheTaskRequest
|
||
(*ResetHTTPCacheTaskRequest)(nil), // 9: pb.ResetHTTPCacheTaskRequest
|
||
(*HTTPCacheTask)(nil), // 10: pb.HTTPCacheTask
|
||
(*RPCCountResponse)(nil), // 11: pb.RPCCountResponse
|
||
(*RPCSuccess)(nil), // 12: pb.RPCSuccess
|
||
}
|
||
var file_service_http_cache_task_proto_depIdxs = []int32{
|
||
10, // 0: pb.FindEnabledHTTPCacheTaskResponse.httpCacheTask:type_name -> pb.HTTPCacheTask
|
||
10, // 1: pb.ListHTTPCacheTasksResponse.httpCacheTasks:type_name -> pb.HTTPCacheTask
|
||
0, // 2: pb.HTTPCacheTaskService.createHTTPCacheTask:input_type -> pb.CreateHTTPCacheTaskRequest
|
||
2, // 3: pb.HTTPCacheTaskService.countHTTPCacheTasks:input_type -> pb.CountHTTPCacheTasksRequest
|
||
3, // 4: pb.HTTPCacheTaskService.countDoingHTTPCacheTasks:input_type -> pb.CountDoingHTTPCacheTasksRequest
|
||
6, // 5: pb.HTTPCacheTaskService.listHTTPCacheTasks:input_type -> pb.ListHTTPCacheTasksRequest
|
||
4, // 6: pb.HTTPCacheTaskService.findEnabledHTTPCacheTask:input_type -> pb.FindEnabledHTTPCacheTaskRequest
|
||
8, // 7: pb.HTTPCacheTaskService.deleteHTTPCacheTask:input_type -> pb.DeleteHTTPCacheTaskRequest
|
||
9, // 8: pb.HTTPCacheTaskService.resetHTTPCacheTask:input_type -> pb.ResetHTTPCacheTaskRequest
|
||
1, // 9: pb.HTTPCacheTaskService.createHTTPCacheTask:output_type -> pb.CreateHTTPCacheTaskResponse
|
||
11, // 10: pb.HTTPCacheTaskService.countHTTPCacheTasks:output_type -> pb.RPCCountResponse
|
||
11, // 11: pb.HTTPCacheTaskService.countDoingHTTPCacheTasks:output_type -> pb.RPCCountResponse
|
||
7, // 12: pb.HTTPCacheTaskService.listHTTPCacheTasks:output_type -> pb.ListHTTPCacheTasksResponse
|
||
5, // 13: pb.HTTPCacheTaskService.findEnabledHTTPCacheTask:output_type -> pb.FindEnabledHTTPCacheTaskResponse
|
||
12, // 14: pb.HTTPCacheTaskService.deleteHTTPCacheTask:output_type -> pb.RPCSuccess
|
||
12, // 15: pb.HTTPCacheTaskService.resetHTTPCacheTask:output_type -> pb.RPCSuccess
|
||
9, // [9:16] is the sub-list for method output_type
|
||
2, // [2:9] 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_http_cache_task_proto_init() }
|
||
func file_service_http_cache_task_proto_init() {
|
||
if File_service_http_cache_task_proto != nil {
|
||
return
|
||
}
|
||
file_models_rpc_messages_proto_init()
|
||
file_models_model_http_cache_task_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_http_cache_task_proto_rawDesc), len(file_service_http_cache_task_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 10,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_http_cache_task_proto_goTypes,
|
||
DependencyIndexes: file_service_http_cache_task_proto_depIdxs,
|
||
MessageInfos: file_service_http_cache_task_proto_msgTypes,
|
||
}.Build()
|
||
File_service_http_cache_task_proto = out.File
|
||
file_service_http_cache_task_proto_goTypes = nil
|
||
file_service_http_cache_task_proto_depIdxs = nil
|
||
}
|