Files
EdgeCommon/pkg/rpc/pb/service_http_header_policy.pb.go
2020-09-16 20:29:26 +08:00

1376 lines
59 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.12.3
// source: service_http_header_policy.proto
package pb
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// 查找策略
type FindEnabledHTTPHeaderPolicyConfigRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
}
func (x *FindEnabledHTTPHeaderPolicyConfigRequest) Reset() {
*x = FindEnabledHTTPHeaderPolicyConfigRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledHTTPHeaderPolicyConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledHTTPHeaderPolicyConfigRequest) ProtoMessage() {}
func (x *FindEnabledHTTPHeaderPolicyConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 FindEnabledHTTPHeaderPolicyConfigRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledHTTPHeaderPolicyConfigRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{0}
}
func (x *FindEnabledHTTPHeaderPolicyConfigRequest) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
type FindEnabledHTTPHeaderPolicyConfigResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}
func (x *FindEnabledHTTPHeaderPolicyConfigResponse) Reset() {
*x = FindEnabledHTTPHeaderPolicyConfigResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledHTTPHeaderPolicyConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledHTTPHeaderPolicyConfigResponse) ProtoMessage() {}
func (x *FindEnabledHTTPHeaderPolicyConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 FindEnabledHTTPHeaderPolicyConfigResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledHTTPHeaderPolicyConfigResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{1}
}
func (x *FindEnabledHTTPHeaderPolicyConfigResponse) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
// 创建策略
type CreateHTTPHeaderPolicyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CreateHTTPHeaderPolicyRequest) Reset() {
*x = CreateHTTPHeaderPolicyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateHTTPHeaderPolicyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHTTPHeaderPolicyRequest) ProtoMessage() {}
func (x *CreateHTTPHeaderPolicyRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 CreateHTTPHeaderPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateHTTPHeaderPolicyRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{2}
}
type CreateHTTPHeaderPolicyResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
}
func (x *CreateHTTPHeaderPolicyResponse) Reset() {
*x = CreateHTTPHeaderPolicyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateHTTPHeaderPolicyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHTTPHeaderPolicyResponse) ProtoMessage() {}
func (x *CreateHTTPHeaderPolicyResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 CreateHTTPHeaderPolicyResponse.ProtoReflect.Descriptor instead.
func (*CreateHTTPHeaderPolicyResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{3}
}
func (x *CreateHTTPHeaderPolicyResponse) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
// 修改AddHeaders
type UpdateHTTPHeaderPolicyAddingHeadersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
HeadersJSON []byte `protobuf:"bytes,2,opt,name=headersJSON,proto3" json:"headersJSON,omitempty"`
}
func (x *UpdateHTTPHeaderPolicyAddingHeadersRequest) Reset() {
*x = UpdateHTTPHeaderPolicyAddingHeadersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyAddingHeadersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyAddingHeadersRequest) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyAddingHeadersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicyAddingHeadersRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyAddingHeadersRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{4}
}
func (x *UpdateHTTPHeaderPolicyAddingHeadersRequest) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
func (x *UpdateHTTPHeaderPolicyAddingHeadersRequest) GetHeadersJSON() []byte {
if x != nil {
return x.HeadersJSON
}
return nil
}
type UpdateHTTPHeaderPolicyAddingHeadersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHTTPHeaderPolicyAddingHeadersResponse) Reset() {
*x = UpdateHTTPHeaderPolicyAddingHeadersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyAddingHeadersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyAddingHeadersResponse) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyAddingHeadersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicyAddingHeadersResponse.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyAddingHeadersResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{5}
}
// 修改SetHeaders
type UpdateHTTPHeaderPolicySettingHeadersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
HeadersJSON []byte `protobuf:"bytes,2,opt,name=headersJSON,proto3" json:"headersJSON,omitempty"`
}
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) Reset() {
*x = UpdateHTTPHeaderPolicySettingHeadersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicySettingHeadersRequest) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicySettingHeadersRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicySettingHeadersRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{6}
}
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) GetHeadersJSON() []byte {
if x != nil {
return x.HeadersJSON
}
return nil
}
type UpdateHTTPHeaderPolicySettingHeadersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHTTPHeaderPolicySettingHeadersResponse) Reset() {
*x = UpdateHTTPHeaderPolicySettingHeadersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicySettingHeadersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicySettingHeadersResponse) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicySettingHeadersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicySettingHeadersResponse.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicySettingHeadersResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{7}
}
// 修改AddTrailers
type UpdateHTTPHeaderPolicyAddingTrailersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
HeadersJSON []byte `protobuf:"bytes,2,opt,name=headersJSON,proto3" json:"headersJSON,omitempty"`
}
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) Reset() {
*x = UpdateHTTPHeaderPolicyAddingTrailersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyAddingTrailersRequest) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicyAddingTrailersRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyAddingTrailersRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) GetHeadersJSON() []byte {
if x != nil {
return x.HeadersJSON
}
return nil
}
type UpdateHTTPHeaderPolicyAddingTrailersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHTTPHeaderPolicyAddingTrailersResponse) Reset() {
*x = UpdateHTTPHeaderPolicyAddingTrailersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyAddingTrailersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyAddingTrailersResponse) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyAddingTrailersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicyAddingTrailersResponse.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyAddingTrailersResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{9}
}
// 修改ReplaceHeaders
type UpdateHTTPHeaderPolicyReplacingHeadersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
HeadersJSON []byte `protobuf:"bytes,2,opt,name=headersJSON,proto3" json:"headersJSON,omitempty"`
}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) Reset() {
*x = UpdateHTTPHeaderPolicyReplacingHeadersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyReplacingHeadersRequest) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_proto_msgTypes[10]
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 UpdateHTTPHeaderPolicyReplacingHeadersRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyReplacingHeadersRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{10}
}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) GetHeadersJSON() []byte {
if x != nil {
return x.HeadersJSON
}
return nil
}
type UpdateHTTPHeaderPolicyReplacingHeadersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersResponse) Reset() {
*x = UpdateHTTPHeaderPolicyReplacingHeadersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyReplacingHeadersResponse) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyReplacingHeadersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_proto_msgTypes[11]
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 UpdateHTTPHeaderPolicyReplacingHeadersResponse.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyReplacingHeadersResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{11}
}
// 修改删除的Headers
type UpdateHTTPHeaderPolicyDeletingHeadersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HeaderPolicyId int64 `protobuf:"varint,1,opt,name=headerPolicyId,proto3" json:"headerPolicyId,omitempty"`
HeaderNames []string `protobuf:"bytes,2,rep,name=headerNames,proto3" json:"headerNames,omitempty"`
}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) Reset() {
*x = UpdateHTTPHeaderPolicyDeletingHeadersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyDeletingHeadersRequest) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_proto_msgTypes[12]
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 UpdateHTTPHeaderPolicyDeletingHeadersRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyDeletingHeadersRequest) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{12}
}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) GetHeaderPolicyId() int64 {
if x != nil {
return x.HeaderPolicyId
}
return 0
}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) GetHeaderNames() []string {
if x != nil {
return x.HeaderNames
}
return nil
}
type UpdateHTTPHeaderPolicyDeletingHeadersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersResponse) Reset() {
*x = UpdateHTTPHeaderPolicyDeletingHeadersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_http_header_policy_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPHeaderPolicyDeletingHeadersResponse) ProtoMessage() {}
func (x *UpdateHTTPHeaderPolicyDeletingHeadersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_http_header_policy_proto_msgTypes[13]
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 UpdateHTTPHeaderPolicyDeletingHeadersResponse.ProtoReflect.Descriptor instead.
func (*UpdateHTTPHeaderPolicyDeletingHeadersResponse) Descriptor() ([]byte, []int) {
return file_service_http_header_policy_proto_rawDescGZIP(), []int{13}
}
var File_service_http_header_policy_proto protoreflect.FileDescriptor
var file_service_http_header_policy_proto_rawDesc = []byte{
0x0a, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x52, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x29, 0x46, 0x69,
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
0x1f, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x22, 0x48, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x2a, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53,
0x4f, 0x4e, 0x22, 0x2d, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69,
0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x77, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x2e, 0x0a, 0x2c, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65,
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, 0x2b, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65,
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61,
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a,
0x53, 0x4f, 0x4e, 0x22, 0x2e, 0x0a, 0x2c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64,
0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x2d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70,
0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65,
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b,
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x30,
0x0a, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e,
0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x78, 0x0a, 0x2c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69,
0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x2d, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbf, 0x07, 0x0a, 0x17,
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x66, 0x69, 0x6e, 0x64,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x2e,
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54,
0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x62,
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x23,
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41,
0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41,
0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x24, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x2e,
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30,
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x89, 0x01, 0x0a, 0x24, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e,
0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c,
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x62, 0x2e,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69,
0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a,
0x26, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x62, 0x2e,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c,
0x01, 0x0a, 0x25, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e,
0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x62, 0x2e,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 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_http_header_policy_proto_rawDescOnce sync.Once
file_service_http_header_policy_proto_rawDescData = file_service_http_header_policy_proto_rawDesc
)
func file_service_http_header_policy_proto_rawDescGZIP() []byte {
file_service_http_header_policy_proto_rawDescOnce.Do(func() {
file_service_http_header_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_http_header_policy_proto_rawDescData)
})
return file_service_http_header_policy_proto_rawDescData
}
var file_service_http_header_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_service_http_header_policy_proto_goTypes = []interface{}{
(*FindEnabledHTTPHeaderPolicyConfigRequest)(nil), // 0: pb.FindEnabledHTTPHeaderPolicyConfigRequest
(*FindEnabledHTTPHeaderPolicyConfigResponse)(nil), // 1: pb.FindEnabledHTTPHeaderPolicyConfigResponse
(*CreateHTTPHeaderPolicyRequest)(nil), // 2: pb.CreateHTTPHeaderPolicyRequest
(*CreateHTTPHeaderPolicyResponse)(nil), // 3: pb.CreateHTTPHeaderPolicyResponse
(*UpdateHTTPHeaderPolicyAddingHeadersRequest)(nil), // 4: pb.UpdateHTTPHeaderPolicyAddingHeadersRequest
(*UpdateHTTPHeaderPolicyAddingHeadersResponse)(nil), // 5: pb.UpdateHTTPHeaderPolicyAddingHeadersResponse
(*UpdateHTTPHeaderPolicySettingHeadersRequest)(nil), // 6: pb.UpdateHTTPHeaderPolicySettingHeadersRequest
(*UpdateHTTPHeaderPolicySettingHeadersResponse)(nil), // 7: pb.UpdateHTTPHeaderPolicySettingHeadersResponse
(*UpdateHTTPHeaderPolicyAddingTrailersRequest)(nil), // 8: pb.UpdateHTTPHeaderPolicyAddingTrailersRequest
(*UpdateHTTPHeaderPolicyAddingTrailersResponse)(nil), // 9: pb.UpdateHTTPHeaderPolicyAddingTrailersResponse
(*UpdateHTTPHeaderPolicyReplacingHeadersRequest)(nil), // 10: pb.UpdateHTTPHeaderPolicyReplacingHeadersRequest
(*UpdateHTTPHeaderPolicyReplacingHeadersResponse)(nil), // 11: pb.UpdateHTTPHeaderPolicyReplacingHeadersResponse
(*UpdateHTTPHeaderPolicyDeletingHeadersRequest)(nil), // 12: pb.UpdateHTTPHeaderPolicyDeletingHeadersRequest
(*UpdateHTTPHeaderPolicyDeletingHeadersResponse)(nil), // 13: pb.UpdateHTTPHeaderPolicyDeletingHeadersResponse
}
var file_service_http_header_policy_proto_depIdxs = []int32{
0, // 0: pb.HTTPHeaderPolicyService.findEnabledHTTPHeaderPolicyConfig:input_type -> pb.FindEnabledHTTPHeaderPolicyConfigRequest
2, // 1: pb.HTTPHeaderPolicyService.createHTTPHeaderPolicy:input_type -> pb.CreateHTTPHeaderPolicyRequest
4, // 2: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyAddingHeadersRequest
6, // 3: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicySettingHeaders:input_type -> pb.UpdateHTTPHeaderPolicySettingHeadersRequest
8, // 4: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingTrailers:input_type -> pb.UpdateHTTPHeaderPolicyAddingTrailersRequest
10, // 5: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyReplacingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyReplacingHeadersRequest
12, // 6: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyDeletingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyDeletingHeadersRequest
1, // 7: pb.HTTPHeaderPolicyService.findEnabledHTTPHeaderPolicyConfig:output_type -> pb.FindEnabledHTTPHeaderPolicyConfigResponse
3, // 8: pb.HTTPHeaderPolicyService.createHTTPHeaderPolicy:output_type -> pb.CreateHTTPHeaderPolicyResponse
5, // 9: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingHeaders:output_type -> pb.UpdateHTTPHeaderPolicyAddingHeadersResponse
7, // 10: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicySettingHeaders:output_type -> pb.UpdateHTTPHeaderPolicySettingHeadersResponse
9, // 11: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingTrailers:output_type -> pb.UpdateHTTPHeaderPolicyAddingTrailersResponse
11, // 12: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyReplacingHeaders:output_type -> pb.UpdateHTTPHeaderPolicyReplacingHeadersResponse
13, // 13: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyDeletingHeaders:output_type -> pb.UpdateHTTPHeaderPolicyDeletingHeadersResponse
7, // [7:14] is the sub-list for method output_type
0, // [0:7] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_service_http_header_policy_proto_init() }
func file_service_http_header_policy_proto_init() {
if File_service_http_header_policy_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_service_http_header_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledHTTPHeaderPolicyConfigRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledHTTPHeaderPolicyConfigResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateHTTPHeaderPolicyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateHTTPHeaderPolicyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyAddingHeadersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyAddingHeadersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicySettingHeadersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicySettingHeadersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyAddingTrailersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyAddingTrailersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyReplacingHeadersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyReplacingHeadersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyDeletingHeadersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_http_header_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHTTPHeaderPolicyDeletingHeadersResponse); 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_http_header_policy_proto_rawDesc,
NumEnums: 0,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_http_header_policy_proto_goTypes,
DependencyIndexes: file_service_http_header_policy_proto_depIdxs,
MessageInfos: file_service_http_header_policy_proto_msgTypes,
}.Build()
File_service_http_header_policy_proto = out.File
file_service_http_header_policy_proto_rawDesc = nil
file_service_http_header_policy_proto_goTypes = nil
file_service_http_header_policy_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// HTTPHeaderPolicyServiceClient is the client API for HTTPHeaderPolicyService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type HTTPHeaderPolicyServiceClient interface {
// 查找策略配置
FindEnabledHTTPHeaderPolicyConfig(ctx context.Context, in *FindEnabledHTTPHeaderPolicyConfigRequest, opts ...grpc.CallOption) (*FindEnabledHTTPHeaderPolicyConfigResponse, error)
// 创建策略
CreateHTTPHeaderPolicy(ctx context.Context, in *CreateHTTPHeaderPolicyRequest, opts ...grpc.CallOption) (*CreateHTTPHeaderPolicyResponse, error)
// 修改AddHeaders
UpdateHTTPHeaderPolicyAddingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error)
// 修改SetHeaders
UpdateHTTPHeaderPolicySettingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicySettingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error)
// 修改AddTrailers
UpdateHTTPHeaderPolicyAddingTrailers(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingTrailersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error)
// 修改ReplaceHeaders
UpdateHTTPHeaderPolicyReplacingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyReplacingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error)
// 修改删除的Headers
UpdateHTTPHeaderPolicyDeletingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyDeletingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error)
}
type hTTPHeaderPolicyServiceClient struct {
cc grpc.ClientConnInterface
}
func NewHTTPHeaderPolicyServiceClient(cc grpc.ClientConnInterface) HTTPHeaderPolicyServiceClient {
return &hTTPHeaderPolicyServiceClient{cc}
}
func (c *hTTPHeaderPolicyServiceClient) FindEnabledHTTPHeaderPolicyConfig(ctx context.Context, in *FindEnabledHTTPHeaderPolicyConfigRequest, opts ...grpc.CallOption) (*FindEnabledHTTPHeaderPolicyConfigResponse, error) {
out := new(FindEnabledHTTPHeaderPolicyConfigResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/findEnabledHTTPHeaderPolicyConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *hTTPHeaderPolicyServiceClient) CreateHTTPHeaderPolicy(ctx context.Context, in *CreateHTTPHeaderPolicyRequest, opts ...grpc.CallOption) (*CreateHTTPHeaderPolicyResponse, error) {
out := new(CreateHTTPHeaderPolicyResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/createHTTPHeaderPolicy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error) {
out := new(UpdateHTTPHeaderPolicyAddingHeadersResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyAddingHeaders", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicySettingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicySettingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error) {
out := new(UpdateHTTPHeaderPolicySettingHeadersResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicySettingHeaders", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingTrailers(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingTrailersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error) {
out := new(UpdateHTTPHeaderPolicyAddingTrailersResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyAddingTrailers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyReplacingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyReplacingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error) {
out := new(UpdateHTTPHeaderPolicyReplacingHeadersResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyReplacingHeaders", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyDeletingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyDeletingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error) {
out := new(UpdateHTTPHeaderPolicyDeletingHeadersResponse)
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyDeletingHeaders", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// HTTPHeaderPolicyServiceServer is the server API for HTTPHeaderPolicyService service.
type HTTPHeaderPolicyServiceServer interface {
// 查找策略配置
FindEnabledHTTPHeaderPolicyConfig(context.Context, *FindEnabledHTTPHeaderPolicyConfigRequest) (*FindEnabledHTTPHeaderPolicyConfigResponse, error)
// 创建策略
CreateHTTPHeaderPolicy(context.Context, *CreateHTTPHeaderPolicyRequest) (*CreateHTTPHeaderPolicyResponse, error)
// 修改AddHeaders
UpdateHTTPHeaderPolicyAddingHeaders(context.Context, *UpdateHTTPHeaderPolicyAddingHeadersRequest) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error)
// 修改SetHeaders
UpdateHTTPHeaderPolicySettingHeaders(context.Context, *UpdateHTTPHeaderPolicySettingHeadersRequest) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error)
// 修改AddTrailers
UpdateHTTPHeaderPolicyAddingTrailers(context.Context, *UpdateHTTPHeaderPolicyAddingTrailersRequest) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error)
// 修改ReplaceHeaders
UpdateHTTPHeaderPolicyReplacingHeaders(context.Context, *UpdateHTTPHeaderPolicyReplacingHeadersRequest) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error)
// 修改删除的Headers
UpdateHTTPHeaderPolicyDeletingHeaders(context.Context, *UpdateHTTPHeaderPolicyDeletingHeadersRequest) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error)
}
// UnimplementedHTTPHeaderPolicyServiceServer can be embedded to have forward compatible implementations.
type UnimplementedHTTPHeaderPolicyServiceServer struct {
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) FindEnabledHTTPHeaderPolicyConfig(context.Context, *FindEnabledHTTPHeaderPolicyConfigRequest) (*FindEnabledHTTPHeaderPolicyConfigResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledHTTPHeaderPolicyConfig not implemented")
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) CreateHTTPHeaderPolicy(context.Context, *CreateHTTPHeaderPolicyRequest) (*CreateHTTPHeaderPolicyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateHTTPHeaderPolicy not implemented")
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyAddingHeaders(context.Context, *UpdateHTTPHeaderPolicyAddingHeadersRequest) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyAddingHeaders not implemented")
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicySettingHeaders(context.Context, *UpdateHTTPHeaderPolicySettingHeadersRequest) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicySettingHeaders not implemented")
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyAddingTrailers(context.Context, *UpdateHTTPHeaderPolicyAddingTrailersRequest) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyAddingTrailers not implemented")
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyReplacingHeaders(context.Context, *UpdateHTTPHeaderPolicyReplacingHeadersRequest) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyReplacingHeaders not implemented")
}
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyDeletingHeaders(context.Context, *UpdateHTTPHeaderPolicyDeletingHeadersRequest) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyDeletingHeaders not implemented")
}
func RegisterHTTPHeaderPolicyServiceServer(s *grpc.Server, srv HTTPHeaderPolicyServiceServer) {
s.RegisterService(&_HTTPHeaderPolicyService_serviceDesc, srv)
}
func _HTTPHeaderPolicyService_FindEnabledHTTPHeaderPolicyConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindEnabledHTTPHeaderPolicyConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).FindEnabledHTTPHeaderPolicyConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/FindEnabledHTTPHeaderPolicyConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).FindEnabledHTTPHeaderPolicyConfig(ctx, req.(*FindEnabledHTTPHeaderPolicyConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _HTTPHeaderPolicyService_CreateHTTPHeaderPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateHTTPHeaderPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).CreateHTTPHeaderPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/CreateHTTPHeaderPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).CreateHTTPHeaderPolicy(ctx, req.(*CreateHTTPHeaderPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyAddingHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateHTTPHeaderPolicyAddingHeadersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyAddingHeaders(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/UpdateHTTPHeaderPolicyAddingHeaders",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyAddingHeaders(ctx, req.(*UpdateHTTPHeaderPolicyAddingHeadersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicySettingHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateHTTPHeaderPolicySettingHeadersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicySettingHeaders(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/UpdateHTTPHeaderPolicySettingHeaders",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicySettingHeaders(ctx, req.(*UpdateHTTPHeaderPolicySettingHeadersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyAddingTrailers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateHTTPHeaderPolicyAddingTrailersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyAddingTrailers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/UpdateHTTPHeaderPolicyAddingTrailers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyAddingTrailers(ctx, req.(*UpdateHTTPHeaderPolicyAddingTrailersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyReplacingHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateHTTPHeaderPolicyReplacingHeadersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyReplacingHeaders(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/UpdateHTTPHeaderPolicyReplacingHeaders",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyReplacingHeaders(ctx, req.(*UpdateHTTPHeaderPolicyReplacingHeadersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyDeletingHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateHTTPHeaderPolicyDeletingHeadersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyDeletingHeaders(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.HTTPHeaderPolicyService/UpdateHTTPHeaderPolicyDeletingHeaders",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(HTTPHeaderPolicyServiceServer).UpdateHTTPHeaderPolicyDeletingHeaders(ctx, req.(*UpdateHTTPHeaderPolicyDeletingHeadersRequest))
}
return interceptor(ctx, in, info, handler)
}
var _HTTPHeaderPolicyService_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.HTTPHeaderPolicyService",
HandlerType: (*HTTPHeaderPolicyServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "findEnabledHTTPHeaderPolicyConfig",
Handler: _HTTPHeaderPolicyService_FindEnabledHTTPHeaderPolicyConfig_Handler,
},
{
MethodName: "createHTTPHeaderPolicy",
Handler: _HTTPHeaderPolicyService_CreateHTTPHeaderPolicy_Handler,
},
{
MethodName: "updateHTTPHeaderPolicyAddingHeaders",
Handler: _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyAddingHeaders_Handler,
},
{
MethodName: "updateHTTPHeaderPolicySettingHeaders",
Handler: _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicySettingHeaders_Handler,
},
{
MethodName: "updateHTTPHeaderPolicyAddingTrailers",
Handler: _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyAddingTrailers_Handler,
},
{
MethodName: "updateHTTPHeaderPolicyReplacingHeaders",
Handler: _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyReplacingHeaders_Handler,
},
{
MethodName: "updateHTTPHeaderPolicyDeletingHeaders",
Handler: _HTTPHeaderPolicyService_UpdateHTTPHeaderPolicyDeletingHeaders_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "service_http_header_policy.proto",
}