Debian Codegraph @

envoy/config/ratelimit/v2/rls.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/ratelimit/v2/rls.proto
6
7 package ratelimitv2
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 // Rate limit :ref:`configuration overview <config_rate_limit_service>`.
27 type RateLimitServiceConfig struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // Specifies the gRPC service that hosts the rate limit service. The client
33 // will connect to this cluster when it needs to make rate limit service
34 // requests.
35 GrpcService *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
36 }
37
38 func (x *RateLimitServiceConfig) Reset() {
39 *x = RateLimitServiceConfig{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_envoy_config_ratelimit_v2_rls_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *RateLimitServiceConfig) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*RateLimitServiceConfig) ProtoMessage() {}
52
53 func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message {
54 mi := &file_envoy_config_ratelimit_v2_rls_proto_msgTypes[0]
55 if protoimpl.UnsafeEnabled && x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63 }
64
65 // Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.
66 func (*RateLimitServiceConfig) Descriptor() ([]byte, []int) {
67 return file_envoy_config_ratelimit_v2_rls_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *RateLimitServiceConfig) GetGrpcService() *core.GrpcService {
71 if x != nil {
72 return x.GrpcService
73 }
74 return nil
75 }
76
77 var File_envoy_config_ratelimit_v2_rls_proto protoreflect.FileDescriptor
78
79 var file_envoy_config_ratelimit_v2_rls_proto_rawDesc = []byte{
80 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72,
81 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6c, 0x73, 0x2e,
82 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
83 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x32,
84 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
85 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
86 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
87 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
88 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
89 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71,
90 0x0a, 0x16, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
91 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63,
92 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
93 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f,
94 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08,
95 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65,
96 0x72, 0x76, 0x69, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10,
97 0x04, 0x42, 0x8b, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a, 0x27, 0x69, 0x6f,
98 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
99 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d,
100 0x69, 0x74, 0x2e, 0x76, 0x32, 0x42, 0x08, 0x52, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
101 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
102 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
103 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
104 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74,
105 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x76, 0x32, 0x62,
106 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
107 }
108
109 var (
110 file_envoy_config_ratelimit_v2_rls_proto_rawDescOnce sync.Once
111 file_envoy_config_ratelimit_v2_rls_proto_rawDescData = file_envoy_config_ratelimit_v2_rls_proto_rawDesc
112 )
113
114 func file_envoy_config_ratelimit_v2_rls_proto_rawDescGZIP() []byte {
115 file_envoy_config_ratelimit_v2_rls_proto_rawDescOnce.Do(func() {
116 file_envoy_config_ratelimit_v2_rls_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_ratelimit_v2_rls_proto_rawDescData)
117 })
118 return file_envoy_config_ratelimit_v2_rls_proto_rawDescData
119 }
120
121 var file_envoy_config_ratelimit_v2_rls_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
122 var file_envoy_config_ratelimit_v2_rls_proto_goTypes = []interface{}{
123 (*RateLimitServiceConfig)(nil), // 0: envoy.config.ratelimit.v2.RateLimitServiceConfig
124 (*core.GrpcService)(nil), // 1: envoy.api.v2.core.GrpcService
125 }
126 var file_envoy_config_ratelimit_v2_rls_proto_depIdxs = []int32{
127 1, // 0: envoy.config.ratelimit.v2.RateLimitServiceConfig.grpc_service:type_name -> envoy.api.v2.core.GrpcService
128 1, // [1:1] is the sub-list for method output_type
129 1, // [1:1] is the sub-list for method input_type
130 1, // [1:1] is the sub-list for extension type_name
131 1, // [1:1] is the sub-list for extension extendee
132 0, // [0:1] is the sub-list for field type_name
133 }
134
135 func init() { file_envoy_config_ratelimit_v2_rls_proto_init() }
136 func file_envoy_config_ratelimit_v2_rls_proto_init() {
137 if File_envoy_config_ratelimit_v2_rls_proto != nil {
138 return
139 }
140 if !protoimpl.UnsafeEnabled {
141 file_envoy_config_ratelimit_v2_rls_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
142 switch v := v.(*RateLimitServiceConfig); i {
143 case 0:
144 return &v.state
145 case 1:
146 return &v.sizeCache
147 case 2:
148 return &v.unknownFields
149 default:
150 return nil
151 }
152 }
153 }
154 type x struct{}
155 out := protoimpl.TypeBuilder{
156 File: protoimpl.DescBuilder{
157 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
158 RawDescriptor: file_envoy_config_ratelimit_v2_rls_proto_rawDesc,
159 NumEnums: 0,
160 NumMessages: 1,
161 NumExtensions: 0,
162 NumServices: 0,
163 },
164 GoTypes: file_envoy_config_ratelimit_v2_rls_proto_goTypes,
165 DependencyIndexes: file_envoy_config_ratelimit_v2_rls_proto_depIdxs,
166 MessageInfos: file_envoy_config_ratelimit_v2_rls_proto_msgTypes,
167 }.Build()
168 File_envoy_config_ratelimit_v2_rls_proto = out.File
169 file_envoy_config_ratelimit_v2_rls_proto_rawDesc = nil
170 file_envoy_config_ratelimit_v2_rls_proto_goTypes = nil
171 file_envoy_config_ratelimit_v2_rls_proto_depIdxs = nil
172 }