Debian Codegraph @

envoy/extensions/resource_monitors/downstream_connections/v3/downstream_connections.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/extensions/resource_monitors/downstream_connections/v3/downstream_connections.proto
6
7 package downstream_connectionsv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // The downstream connections resource monitor tracks the global number of open downstream connections.
26 type DownstreamConnectionsConfig struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 // Maximum threshold for global open downstream connections, defaults to 0.
32 // If monitor is enabled in Overload manager api, this field should be explicitly configured with value greater than 0.
33 MaxActiveDownstreamConnections int64 `protobuf:"varint,1,opt,name=max_active_downstream_connections,json=maxActiveDownstreamConnections,proto3" json:"max_active_downstream_connections,omitempty"`
34 }
35
36 func (x *DownstreamConnectionsConfig) Reset() {
37 *x = DownstreamConnectionsConfig{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *DownstreamConnectionsConfig) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*DownstreamConnectionsConfig) ProtoMessage() {}
50
51 func (x *DownstreamConnectionsConfig) ProtoReflect() protoreflect.Message {
52 mi := &file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_msgTypes[0]
53 if protoimpl.UnsafeEnabled && x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63 // Deprecated: Use DownstreamConnectionsConfig.ProtoReflect.Descriptor instead.
64 func (*DownstreamConnectionsConfig) Descriptor() ([]byte, []int) {
65 return file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *DownstreamConnectionsConfig) GetMaxActiveDownstreamConnections() int64 {
69 if x != nil {
70 return x.MaxActiveDownstreamConnections
71 }
72 return 0
73 }
74
75 var File_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto protoreflect.FileDescriptor
76
77 var file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDesc = []byte{
78 0x0a, 0x59, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
79 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69,
80 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f,
81 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x64,
82 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
83 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x65, 0x6e, 0x76,
84 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65,
85 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x2e,
86 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
87 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f,
88 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74,
89 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
90 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
91 0x6f, 0x22, 0x71, 0x0a, 0x1b, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43,
92 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
93 0x12, 0x52, 0x0a, 0x21, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
94 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
95 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04,
96 0x22, 0x02, 0x20, 0x00, 0x52, 0x1e, 0x6d, 0x61, 0x78, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44,
97 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
98 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xf0, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a,
99 0x4a, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
100 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
101 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
102 0x73, 0x2e, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 0x6e,
103 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x1a, 0x44, 0x6f, 0x77,
104 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
105 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x7c, 0x67, 0x69, 0x74, 0x68, 0x75,
106 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
107 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
108 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
109 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69,
110 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f,
111 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x64,
112 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
113 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
114 }
115
116 var (
117 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescOnce sync.Once
118 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescData = file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDesc
119 )
120
121 func file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescGZIP() []byte {
122 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescOnce.Do(func() {
123 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescData)
124 })
125 return file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDescData
126 }
127
128 var file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
129 var file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_goTypes = []interface{}{
130 (*DownstreamConnectionsConfig)(nil), // 0: envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig
131 }
132 var file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_depIdxs = []int32{
133 0, // [0:0] is the sub-list for method output_type
134 0, // [0:0] is the sub-list for method input_type
135 0, // [0:0] is the sub-list for extension type_name
136 0, // [0:0] is the sub-list for extension extendee
137 0, // [0:0] is the sub-list for field type_name
138 }
139
140 func init() {
141 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_init()
142 }
143 func file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_init() {
144 if File_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto != nil {
145 return
146 }
147 if !protoimpl.UnsafeEnabled {
148 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
149 switch v := v.(*DownstreamConnectionsConfig); i {
150 case 0:
151 return &v.state
152 case 1:
153 return &v.sizeCache
154 case 2:
155 return &v.unknownFields
156 default:
157 return nil
158 }
159 }
160 }
161 type x struct{}
162 out := protoimpl.TypeBuilder{
163 File: protoimpl.DescBuilder{
164 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
165 RawDescriptor: file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDesc,
166 NumEnums: 0,
167 NumMessages: 1,
168 NumExtensions: 0,
169 NumServices: 0,
170 },
171 GoTypes: file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_goTypes,
172 DependencyIndexes: file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_depIdxs,
173 MessageInfos: file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_msgTypes,
174 }.Build()
175 File_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto = out.File
176 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_rawDesc = nil
177 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_goTypes = nil
178 file_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto_depIdxs = nil
179 }