987 lines
36 KiB
Go
987 lines
36 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_policy.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 FindAllEnabledHTTPCachePoliciesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesRequest) Reset() {
|
|
*x = FindAllEnabledHTTPCachePoliciesRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllEnabledHTTPCachePoliciesRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 FindAllEnabledHTTPCachePoliciesRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAllEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type FindAllEnabledHTTPCachePoliciesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CachePolicies []*HTTPCachePolicy `protobuf:"bytes,1,rep,name=cachePolicies,proto3" json:"cachePolicies,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesResponse) Reset() {
|
|
*x = FindAllEnabledHTTPCachePoliciesResponse{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllEnabledHTTPCachePoliciesResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 FindAllEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAllEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *FindAllEnabledHTTPCachePoliciesResponse) GetCachePolicies() []*HTTPCachePolicy {
|
|
if x != nil {
|
|
return x.CachePolicies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 创建缓存策略
|
|
type CreateHTTPCachePolicyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsOn bool `protobuf:"varint,1,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
CapacityJSON []byte `protobuf:"bytes,4,opt,name=capacityJSON,proto3" json:"capacityJSON,omitempty"`
|
|
MaxSizeJSON []byte `protobuf:"bytes,6,opt,name=maxSizeJSON,proto3" json:"maxSizeJSON,omitempty"`
|
|
Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
|
|
OptionsJSON []byte `protobuf:"bytes,8,opt,name=optionsJSON,proto3" json:"optionsJSON,omitempty"`
|
|
SyncCompressionCache bool `protobuf:"varint,9,opt,name=syncCompressionCache,proto3" json:"syncCompressionCache,omitempty"`
|
|
FetchTimeoutJSON []byte `protobuf:"bytes,10,opt,name=fetchTimeoutJSON,proto3" json:"fetchTimeoutJSON,omitempty"` // 预热超时时间
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) Reset() {
|
|
*x = CreateHTTPCachePolicyRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPCachePolicyRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 CreateHTTPCachePolicyRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPCachePolicyRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetCapacityJSON() []byte {
|
|
if x != nil {
|
|
return x.CapacityJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetMaxSizeJSON() []byte {
|
|
if x != nil {
|
|
return x.MaxSizeJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetOptionsJSON() []byte {
|
|
if x != nil {
|
|
return x.OptionsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetSyncCompressionCache() bool {
|
|
if x != nil {
|
|
return x.SyncCompressionCache
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyRequest) GetFetchTimeoutJSON() []byte {
|
|
if x != nil {
|
|
return x.FetchTimeoutJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateHTTPCachePolicyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyId int64 `protobuf:"varint,1,opt,name=httpCachePolicyId,proto3" json:"httpCachePolicyId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyResponse) Reset() {
|
|
*x = CreateHTTPCachePolicyResponse{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPCachePolicyResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPCachePolicyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 CreateHTTPCachePolicyResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPCachePolicyResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CreateHTTPCachePolicyResponse) GetHttpCachePolicyId() int64 {
|
|
if x != nil {
|
|
return x.HttpCachePolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 修改缓存策略
|
|
type UpdateHTTPCachePolicyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyId int64 `protobuf:"varint,1,opt,name=httpCachePolicyId,proto3" json:"httpCachePolicyId,omitempty"`
|
|
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
|
CapacityJSON []byte `protobuf:"bytes,5,opt,name=capacityJSON,proto3" json:"capacityJSON,omitempty"`
|
|
MaxSizeJSON []byte `protobuf:"bytes,7,opt,name=maxSizeJSON,proto3" json:"maxSizeJSON,omitempty"`
|
|
Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
|
|
OptionsJSON []byte `protobuf:"bytes,9,opt,name=optionsJSON,proto3" json:"optionsJSON,omitempty"`
|
|
SyncCompressionCache bool `protobuf:"varint,10,opt,name=syncCompressionCache,proto3" json:"syncCompressionCache,omitempty"`
|
|
FetchTimeoutJSON []byte `protobuf:"bytes,11,opt,name=fetchTimeoutJSON,proto3" json:"fetchTimeoutJSON,omitempty"` // 预热超时时间
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) Reset() {
|
|
*x = UpdateHTTPCachePolicyRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHTTPCachePolicyRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 UpdateHTTPCachePolicyRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHTTPCachePolicyRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetHttpCachePolicyId() int64 {
|
|
if x != nil {
|
|
return x.HttpCachePolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetCapacityJSON() []byte {
|
|
if x != nil {
|
|
return x.CapacityJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetMaxSizeJSON() []byte {
|
|
if x != nil {
|
|
return x.MaxSizeJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetOptionsJSON() []byte {
|
|
if x != nil {
|
|
return x.OptionsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetSyncCompressionCache() bool {
|
|
if x != nil {
|
|
return x.SyncCompressionCache
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRequest) GetFetchTimeoutJSON() []byte {
|
|
if x != nil {
|
|
return x.FetchTimeoutJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 删除缓存策略
|
|
type DeleteHTTPCachePolicyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyId int64 `protobuf:"varint,1,opt,name=httpCachePolicyId,proto3" json:"httpCachePolicyId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteHTTPCachePolicyRequest) Reset() {
|
|
*x = DeleteHTTPCachePolicyRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHTTPCachePolicyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHTTPCachePolicyRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteHTTPCachePolicyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 DeleteHTTPCachePolicyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHTTPCachePolicyRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DeleteHTTPCachePolicyRequest) GetHttpCachePolicyId() int64 {
|
|
if x != nil {
|
|
return x.HttpCachePolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 计算缓存策略数量
|
|
type CountAllEnabledHTTPCachePoliciesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
NodeClusterId int64 `protobuf:"varint,2,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllEnabledHTTPCachePoliciesRequest) Reset() {
|
|
*x = CountAllEnabledHTTPCachePoliciesRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllEnabledHTTPCachePoliciesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllEnabledHTTPCachePoliciesRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 CountAllEnabledHTTPCachePoliciesRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CountAllEnabledHTTPCachePoliciesRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CountAllEnabledHTTPCachePoliciesRequest) GetNodeClusterId() int64 {
|
|
if x != nil {
|
|
return x.NodeClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountAllEnabledHTTPCachePoliciesRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 列出单页的缓存策略
|
|
type ListEnabledHTTPCachePoliciesRequest 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"`
|
|
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
NodeClusterId int64 `protobuf:"varint,4,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) Reset() {
|
|
*x = ListEnabledHTTPCachePoliciesRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListEnabledHTTPCachePoliciesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 ListEnabledHTTPCachePoliciesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) GetNodeClusterId() int64 {
|
|
if x != nil {
|
|
return x.NodeClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListEnabledHTTPCachePoliciesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePoliciesJSON []byte `protobuf:"bytes,1,opt,name=httpCachePoliciesJSON,proto3" json:"httpCachePoliciesJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesResponse) Reset() {
|
|
*x = ListEnabledHTTPCachePoliciesResponse{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListEnabledHTTPCachePoliciesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 ListEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ListEnabledHTTPCachePoliciesResponse) GetHttpCachePoliciesJSON() []byte {
|
|
if x != nil {
|
|
return x.HttpCachePoliciesJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找单个缓存策略配置
|
|
type FindEnabledHTTPCachePolicyConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyId int64 `protobuf:"varint,1,opt,name=httpCachePolicyId,proto3" json:"httpCachePolicyId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) Reset() {
|
|
*x = FindEnabledHTTPCachePolicyConfigRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledHTTPCachePolicyConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_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 FindEnabledHTTPCachePolicyConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledHTTPCachePolicyConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) GetHttpCachePolicyId() int64 {
|
|
if x != nil {
|
|
return x.HttpCachePolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindEnabledHTTPCachePolicyConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyJSON []byte `protobuf:"bytes,1,opt,name=httpCachePolicyJSON,proto3" json:"httpCachePolicyJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) Reset() {
|
|
*x = FindEnabledHTTPCachePolicyConfigResponse{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledHTTPCachePolicyConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[10]
|
|
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 FindEnabledHTTPCachePolicyConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledHTTPCachePolicyConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) GetHttpCachePolicyJSON() []byte {
|
|
if x != nil {
|
|
return x.HttpCachePolicyJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找单个缓存策略信息
|
|
type FindEnabledHTTPCachePolicyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyId int64 `protobuf:"varint,1,opt,name=httpCachePolicyId,proto3" json:"httpCachePolicyId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyRequest) Reset() {
|
|
*x = FindEnabledHTTPCachePolicyRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledHTTPCachePolicyRequest) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[11]
|
|
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 FindEnabledHTTPCachePolicyRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledHTTPCachePolicyRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyRequest) GetHttpCachePolicyId() int64 {
|
|
if x != nil {
|
|
return x.HttpCachePolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindEnabledHTTPCachePolicyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicy *HTTPCachePolicy `protobuf:"bytes,1,opt,name=httpCachePolicy,proto3" json:"httpCachePolicy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyResponse) Reset() {
|
|
*x = FindEnabledHTTPCachePolicyResponse{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledHTTPCachePolicyResponse) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[12]
|
|
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 FindEnabledHTTPCachePolicyResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledHTTPCachePolicyResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *FindEnabledHTTPCachePolicyResponse) GetHttpCachePolicy() *HTTPCachePolicy {
|
|
if x != nil {
|
|
return x.HttpCachePolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 设置缓存策略的默认条件
|
|
type UpdateHTTPCachePolicyRefsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HttpCachePolicyId int64 `protobuf:"varint,1,opt,name=httpCachePolicyId,proto3" json:"httpCachePolicyId,omitempty"`
|
|
RefsJSON []byte `protobuf:"bytes,2,opt,name=refsJSON,proto3" json:"refsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRefsRequest) Reset() {
|
|
*x = UpdateHTTPCachePolicyRefsRequest{}
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRefsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHTTPCachePolicyRefsRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateHTTPCachePolicyRefsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_http_cache_policy_proto_msgTypes[13]
|
|
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 UpdateHTTPCachePolicyRefsRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHTTPCachePolicyRefsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRefsRequest) GetHttpCachePolicyId() int64 {
|
|
if x != nil {
|
|
return x.HttpCachePolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateHTTPCachePolicyRefsRequest) GetRefsJSON() []byte {
|
|
if x != nil {
|
|
return x.RefsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_service_http_cache_policy_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_http_cache_policy_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1fservice_http_cache_policy.proto\x12\x02pb\x1a$models/model_http_cache_policy.proto\x1a\x19models/rpc_messages.proto\"(\n" +
|
|
"&FindAllEnabledHTTPCachePoliciesRequest\"d\n" +
|
|
"'FindAllEnabledHTTPCachePoliciesResponse\x129\n" +
|
|
"\rcachePolicies\x18\x01 \x03(\v2\x13.pb.HTTPCachePolicyR\rcachePolicies\"\xc4\x02\n" +
|
|
"\x1cCreateHTTPCachePolicyRequest\x12\x12\n" +
|
|
"\x04isOn\x18\x01 \x01(\bR\x04isOn\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\"\n" +
|
|
"\fcapacityJSON\x18\x04 \x01(\fR\fcapacityJSON\x12 \n" +
|
|
"\vmaxSizeJSON\x18\x06 \x01(\fR\vmaxSizeJSON\x12\x12\n" +
|
|
"\x04type\x18\a \x01(\tR\x04type\x12 \n" +
|
|
"\voptionsJSON\x18\b \x01(\fR\voptionsJSON\x122\n" +
|
|
"\x14syncCompressionCache\x18\t \x01(\bR\x14syncCompressionCache\x12*\n" +
|
|
"\x10fetchTimeoutJSON\x18\n" +
|
|
" \x01(\fR\x10fetchTimeoutJSON\"M\n" +
|
|
"\x1dCreateHTTPCachePolicyResponse\x12,\n" +
|
|
"\x11httpCachePolicyId\x18\x01 \x01(\x03R\x11httpCachePolicyId\"\xf2\x02\n" +
|
|
"\x1cUpdateHTTPCachePolicyRequest\x12,\n" +
|
|
"\x11httpCachePolicyId\x18\x01 \x01(\x03R\x11httpCachePolicyId\x12\x12\n" +
|
|
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\"\n" +
|
|
"\fcapacityJSON\x18\x05 \x01(\fR\fcapacityJSON\x12 \n" +
|
|
"\vmaxSizeJSON\x18\a \x01(\fR\vmaxSizeJSON\x12\x12\n" +
|
|
"\x04type\x18\b \x01(\tR\x04type\x12 \n" +
|
|
"\voptionsJSON\x18\t \x01(\fR\voptionsJSON\x122\n" +
|
|
"\x14syncCompressionCache\x18\n" +
|
|
" \x01(\bR\x14syncCompressionCache\x12*\n" +
|
|
"\x10fetchTimeoutJSON\x18\v \x01(\fR\x10fetchTimeoutJSON\"L\n" +
|
|
"\x1cDeleteHTTPCachePolicyRequest\x12,\n" +
|
|
"\x11httpCachePolicyId\x18\x01 \x01(\x03R\x11httpCachePolicyId\"}\n" +
|
|
"'CountAllEnabledHTTPCachePoliciesRequest\x12\x18\n" +
|
|
"\akeyword\x18\x01 \x01(\tR\akeyword\x12$\n" +
|
|
"\rnodeClusterId\x18\x02 \x01(\x03R\rnodeClusterId\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\tR\x04type\"\xa5\x01\n" +
|
|
"#ListEnabledHTTPCachePoliciesRequest\x12\x16\n" +
|
|
"\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\x12\x18\n" +
|
|
"\akeyword\x18\x03 \x01(\tR\akeyword\x12$\n" +
|
|
"\rnodeClusterId\x18\x04 \x01(\x03R\rnodeClusterId\x12\x12\n" +
|
|
"\x04type\x18\x05 \x01(\tR\x04type\"\\\n" +
|
|
"$ListEnabledHTTPCachePoliciesResponse\x124\n" +
|
|
"\x15httpCachePoliciesJSON\x18\x01 \x01(\fR\x15httpCachePoliciesJSON\"W\n" +
|
|
"'FindEnabledHTTPCachePolicyConfigRequest\x12,\n" +
|
|
"\x11httpCachePolicyId\x18\x01 \x01(\x03R\x11httpCachePolicyId\"\\\n" +
|
|
"(FindEnabledHTTPCachePolicyConfigResponse\x120\n" +
|
|
"\x13httpCachePolicyJSON\x18\x01 \x01(\fR\x13httpCachePolicyJSON\"Q\n" +
|
|
"!FindEnabledHTTPCachePolicyRequest\x12,\n" +
|
|
"\x11httpCachePolicyId\x18\x01 \x01(\x03R\x11httpCachePolicyId\"c\n" +
|
|
"\"FindEnabledHTTPCachePolicyResponse\x12=\n" +
|
|
"\x0fhttpCachePolicy\x18\x01 \x01(\v2\x13.pb.HTTPCachePolicyR\x0fhttpCachePolicy\"l\n" +
|
|
" UpdateHTTPCachePolicyRefsRequest\x12,\n" +
|
|
"\x11httpCachePolicyId\x18\x01 \x01(\x03R\x11httpCachePolicyId\x12\x1a\n" +
|
|
"\brefsJSON\x18\x02 \x01(\fR\brefsJSON2\xa1\a\n" +
|
|
"\x16HTTPCachePolicyService\x12z\n" +
|
|
"\x1ffindAllEnabledHTTPCachePolicies\x12*.pb.FindAllEnabledHTTPCachePoliciesRequest\x1a+.pb.FindAllEnabledHTTPCachePoliciesResponse\x12\\\n" +
|
|
"\x15createHTTPCachePolicy\x12 .pb.CreateHTTPCachePolicyRequest\x1a!.pb.CreateHTTPCachePolicyResponse\x12I\n" +
|
|
"\x15updateHTTPCachePolicy\x12 .pb.UpdateHTTPCachePolicyRequest\x1a\x0e.pb.RPCSuccess\x12I\n" +
|
|
"\x15deleteHTTPCachePolicy\x12 .pb.DeleteHTTPCachePolicyRequest\x1a\x0e.pb.RPCSuccess\x12e\n" +
|
|
" countAllEnabledHTTPCachePolicies\x12+.pb.CountAllEnabledHTTPCachePoliciesRequest\x1a\x14.pb.RPCCountResponse\x12q\n" +
|
|
"\x1clistEnabledHTTPCachePolicies\x12'.pb.ListEnabledHTTPCachePoliciesRequest\x1a(.pb.ListEnabledHTTPCachePoliciesResponse\x12}\n" +
|
|
" findEnabledHTTPCachePolicyConfig\x12+.pb.FindEnabledHTTPCachePolicyConfigRequest\x1a,.pb.FindEnabledHTTPCachePolicyConfigResponse\x12k\n" +
|
|
"\x1afindEnabledHTTPCachePolicy\x12%.pb.FindEnabledHTTPCachePolicyRequest\x1a&.pb.FindEnabledHTTPCachePolicyResponse\x12Q\n" +
|
|
"\x19updateHTTPCachePolicyRefs\x12$.pb.UpdateHTTPCachePolicyRefsRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_http_cache_policy_proto_rawDescOnce sync.Once
|
|
file_service_http_cache_policy_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_http_cache_policy_proto_rawDescGZIP() []byte {
|
|
file_service_http_cache_policy_proto_rawDescOnce.Do(func() {
|
|
file_service_http_cache_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_http_cache_policy_proto_rawDesc), len(file_service_http_cache_policy_proto_rawDesc)))
|
|
})
|
|
return file_service_http_cache_policy_proto_rawDescData
|
|
}
|
|
|
|
var file_service_http_cache_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_service_http_cache_policy_proto_goTypes = []any{
|
|
(*FindAllEnabledHTTPCachePoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPCachePoliciesRequest
|
|
(*FindAllEnabledHTTPCachePoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPCachePoliciesResponse
|
|
(*CreateHTTPCachePolicyRequest)(nil), // 2: pb.CreateHTTPCachePolicyRequest
|
|
(*CreateHTTPCachePolicyResponse)(nil), // 3: pb.CreateHTTPCachePolicyResponse
|
|
(*UpdateHTTPCachePolicyRequest)(nil), // 4: pb.UpdateHTTPCachePolicyRequest
|
|
(*DeleteHTTPCachePolicyRequest)(nil), // 5: pb.DeleteHTTPCachePolicyRequest
|
|
(*CountAllEnabledHTTPCachePoliciesRequest)(nil), // 6: pb.CountAllEnabledHTTPCachePoliciesRequest
|
|
(*ListEnabledHTTPCachePoliciesRequest)(nil), // 7: pb.ListEnabledHTTPCachePoliciesRequest
|
|
(*ListEnabledHTTPCachePoliciesResponse)(nil), // 8: pb.ListEnabledHTTPCachePoliciesResponse
|
|
(*FindEnabledHTTPCachePolicyConfigRequest)(nil), // 9: pb.FindEnabledHTTPCachePolicyConfigRequest
|
|
(*FindEnabledHTTPCachePolicyConfigResponse)(nil), // 10: pb.FindEnabledHTTPCachePolicyConfigResponse
|
|
(*FindEnabledHTTPCachePolicyRequest)(nil), // 11: pb.FindEnabledHTTPCachePolicyRequest
|
|
(*FindEnabledHTTPCachePolicyResponse)(nil), // 12: pb.FindEnabledHTTPCachePolicyResponse
|
|
(*UpdateHTTPCachePolicyRefsRequest)(nil), // 13: pb.UpdateHTTPCachePolicyRefsRequest
|
|
(*HTTPCachePolicy)(nil), // 14: pb.HTTPCachePolicy
|
|
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
|
|
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
|
|
}
|
|
var file_service_http_cache_policy_proto_depIdxs = []int32{
|
|
14, // 0: pb.FindAllEnabledHTTPCachePoliciesResponse.cachePolicies:type_name -> pb.HTTPCachePolicy
|
|
14, // 1: pb.FindEnabledHTTPCachePolicyResponse.httpCachePolicy:type_name -> pb.HTTPCachePolicy
|
|
0, // 2: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:input_type -> pb.FindAllEnabledHTTPCachePoliciesRequest
|
|
2, // 3: pb.HTTPCachePolicyService.createHTTPCachePolicy:input_type -> pb.CreateHTTPCachePolicyRequest
|
|
4, // 4: pb.HTTPCachePolicyService.updateHTTPCachePolicy:input_type -> pb.UpdateHTTPCachePolicyRequest
|
|
5, // 5: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:input_type -> pb.DeleteHTTPCachePolicyRequest
|
|
6, // 6: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:input_type -> pb.CountAllEnabledHTTPCachePoliciesRequest
|
|
7, // 7: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:input_type -> pb.ListEnabledHTTPCachePoliciesRequest
|
|
9, // 8: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:input_type -> pb.FindEnabledHTTPCachePolicyConfigRequest
|
|
11, // 9: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicy:input_type -> pb.FindEnabledHTTPCachePolicyRequest
|
|
13, // 10: pb.HTTPCachePolicyService.updateHTTPCachePolicyRefs:input_type -> pb.UpdateHTTPCachePolicyRefsRequest
|
|
1, // 11: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:output_type -> pb.FindAllEnabledHTTPCachePoliciesResponse
|
|
3, // 12: pb.HTTPCachePolicyService.createHTTPCachePolicy:output_type -> pb.CreateHTTPCachePolicyResponse
|
|
15, // 13: pb.HTTPCachePolicyService.updateHTTPCachePolicy:output_type -> pb.RPCSuccess
|
|
15, // 14: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:output_type -> pb.RPCSuccess
|
|
16, // 15: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:output_type -> pb.RPCCountResponse
|
|
8, // 16: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:output_type -> pb.ListEnabledHTTPCachePoliciesResponse
|
|
10, // 17: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:output_type -> pb.FindEnabledHTTPCachePolicyConfigResponse
|
|
12, // 18: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicy:output_type -> pb.FindEnabledHTTPCachePolicyResponse
|
|
15, // 19: pb.HTTPCachePolicyService.updateHTTPCachePolicyRefs:output_type -> pb.RPCSuccess
|
|
11, // [11:20] is the sub-list for method output_type
|
|
2, // [2:11] 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_policy_proto_init() }
|
|
func file_service_http_cache_policy_proto_init() {
|
|
if File_service_http_cache_policy_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_http_cache_policy_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_http_cache_policy_proto_rawDesc), len(file_service_http_cache_policy_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_http_cache_policy_proto_goTypes,
|
|
DependencyIndexes: file_service_http_cache_policy_proto_depIdxs,
|
|
MessageInfos: file_service_http_cache_policy_proto_msgTypes,
|
|
}.Build()
|
|
File_service_http_cache_policy_proto = out.File
|
|
file_service_http_cache_policy_proto_goTypes = nil
|
|
file_service_http_cache_policy_proto_depIdxs = nil
|
|
}
|