Debian Codegraph @

envoy/extensions/regex_engines/v3/google_re2.pb.go

raw symbols SCIP
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/regex_engines/v3/google_re2.proto
6
7 package regex_enginesv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 // Google's `RE2 <https://github.com/google/re2>`_ regex engine. The regex string must adhere to
25 // the documented `syntax <https://github.com/google/re2/wiki/Syntax>`_. The engine is designed
26 // to complete execution in linear time as well as limit the amount of memory used.
27 //
28 // Envoy emits two stats for tracking the program size of regexes: the histogram “re2.program_size“,
29 // which records the program size, and the counter “re2.exceeded_warn_level“, which is incremented
30 // each time the program size exceeds the warn level threshold.
31 type GoogleRE2 struct {
32 state protoimpl.MessageState
33 sizeCache protoimpl.SizeCache
34 unknownFields protoimpl.UnknownFields
35 }
36
37 func (x *GoogleRE2) Reset() {
38 *x = GoogleRE2{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_extensions_regex_engines_v3_google_re2_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *GoogleRE2) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*GoogleRE2) ProtoMessage() {}
51
52 func (x *GoogleRE2) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_extensions_regex_engines_v3_google_re2_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use GoogleRE2.ProtoReflect.Descriptor instead.
65 func (*GoogleRE2) Descriptor() ([]byte, []int) {
66 return file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescGZIP(), []int{0}
67 }
68
69 var File_envoy_extensions_regex_engines_v3_google_re2_proto protoreflect.FileDescriptor
70
71 var file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDesc = []byte{
72 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
73 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x78, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73,
74 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x32, 0x2e, 0x70,
75 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65,
76 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x78, 0x5f, 0x65, 0x6e, 0x67,
77 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
78 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
79 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0b, 0x0a, 0x09, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
80 0x52, 0x45, 0x32, 0x42, 0xa5, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x2f,
81 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
82 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72,
83 0x65, 0x67, 0x65, 0x78, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x33, 0x42,
84 0x0e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x32, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
85 0x01, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
86 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
87 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
88 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x78,
89 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x72, 0x65, 0x67, 0x65,
90 0x78, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
91 0x74, 0x6f, 0x33,
92 }
93
94 var (
95 file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescOnce sync.Once
96 file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescData = file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDesc
97 )
98
99 func file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescGZIP() []byte {
100 file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescOnce.Do(func() {
101 file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescData)
102 })
103 return file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDescData
104 }
105
106 var file_envoy_extensions_regex_engines_v3_google_re2_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
107 var file_envoy_extensions_regex_engines_v3_google_re2_proto_goTypes = []interface{}{
108 (*GoogleRE2)(nil), // 0: envoy.extensions.regex_engines.v3.GoogleRE2
109 }
110 var file_envoy_extensions_regex_engines_v3_google_re2_proto_depIdxs = []int32{
111 0, // [0:0] is the sub-list for method output_type
112 0, // [0:0] is the sub-list for method input_type
113 0, // [0:0] is the sub-list for extension type_name
114 0, // [0:0] is the sub-list for extension extendee
115 0, // [0:0] is the sub-list for field type_name
116 }
117
118 func init() { file_envoy_extensions_regex_engines_v3_google_re2_proto_init() }
119 func file_envoy_extensions_regex_engines_v3_google_re2_proto_init() {
120 if File_envoy_extensions_regex_engines_v3_google_re2_proto != nil {
121 return
122 }
123 if !protoimpl.UnsafeEnabled {
124 file_envoy_extensions_regex_engines_v3_google_re2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
125 switch v := v.(*GoogleRE2); i {
126 case 0:
127 return &v.state
128 case 1:
129 return &v.sizeCache
130 case 2:
131 return &v.unknownFields
132 default:
133 return nil
134 }
135 }
136 }
137 type x struct{}
138 out := protoimpl.TypeBuilder{
139 File: protoimpl.DescBuilder{
140 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
141 RawDescriptor: file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDesc,
142 NumEnums: 0,
143 NumMessages: 1,
144 NumExtensions: 0,
145 NumServices: 0,
146 },
147 GoTypes: file_envoy_extensions_regex_engines_v3_google_re2_proto_goTypes,
148 DependencyIndexes: file_envoy_extensions_regex_engines_v3_google_re2_proto_depIdxs,
149 MessageInfos: file_envoy_extensions_regex_engines_v3_google_re2_proto_msgTypes,
150 }.Build()
151 File_envoy_extensions_regex_engines_v3_google_re2_proto = out.File
152 file_envoy_extensions_regex_engines_v3_google_re2_proto_rawDesc = nil
153 file_envoy_extensions_regex_engines_v3_google_re2_proto_goTypes = nil
154 file_envoy_extensions_regex_engines_v3_google_re2_proto_depIdxs = nil
155 }