Debian Codegraph @

envoy/extensions/matching/input_matchers/metadata/v3/metadata.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/matching/input_matchers/metadata/v3/metadata.proto
6
7 package metadatav3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
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 // Metadata matcher for metadata from http matching input data.
27 type Metadata struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
33 Value *v3.ValueMatcher `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
34 // If true, the match result will be inverted.
35 Invert bool `protobuf:"varint,4,opt,name=invert,proto3" json:"invert,omitempty"`
36 }
37
38 func (x *Metadata) Reset() {
39 *x = Metadata{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *Metadata) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*Metadata) ProtoMessage() {}
52
53 func (x *Metadata) ProtoReflect() protoreflect.Message {
54 mi := &file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_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 Metadata.ProtoReflect.Descriptor instead.
66 func (*Metadata) Descriptor() ([]byte, []int) {
67 return file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *Metadata) GetValue() *v3.ValueMatcher {
71 if x != nil {
72 return x.Value
73 }
74 return nil
75 }
76
77 func (x *Metadata) GetInvert() bool {
78 if x != nil {
79 return x.Invert
80 }
81 return false
82 }
83
84 var File_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto protoreflect.FileDescriptor
85
86 var file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDesc = []byte{
87 0x0a, 0x43, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
88 0x6e, 0x73, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x69, 0x6e, 0x70, 0x75,
89 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64,
90 0x61, 0x74, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
91 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
92 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67,
93 0x2e, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x2e,
94 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x1a, 0x21, 0x65, 0x6e, 0x76,
95 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f,
96 0x76, 0x33, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
97 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
98 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
99 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
100 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
101 0x74, 0x61, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
102 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d,
103 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d,
104 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01,
105 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x65, 0x72,
106 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x42,
107 0xc5, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x42, 0x69, 0x6f, 0x2e, 0x65,
108 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
109 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68,
110 0x69, 0x6e, 0x67, 0x2e, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
111 0x72, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x42, 0x0d,
112 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
113 0x66, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
114 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
115 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78,
116 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e,
117 0x67, 0x2f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73,
118 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x65, 0x74,
119 0x61, 0x64, 0x61, 0x74, 0x61, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
120 }
121
122 var (
123 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescOnce sync.Once
124 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescData = file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDesc
125 )
126
127 func file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescGZIP() []byte {
128 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescOnce.Do(func() {
129 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescData)
130 })
131 return file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDescData
132 }
133
134 var file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
135 var file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_goTypes = []interface{}{
136 (*Metadata)(nil), // 0: envoy.extensions.matching.input_matchers.metadata.v3.Metadata
137 (*v3.ValueMatcher)(nil), // 1: envoy.type.matcher.v3.ValueMatcher
138 }
139 var file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_depIdxs = []int32{
140 1, // 0: envoy.extensions.matching.input_matchers.metadata.v3.Metadata.value:type_name -> envoy.type.matcher.v3.ValueMatcher
141 1, // [1:1] is the sub-list for method output_type
142 1, // [1:1] is the sub-list for method input_type
143 1, // [1:1] is the sub-list for extension type_name
144 1, // [1:1] is the sub-list for extension extendee
145 0, // [0:1] is the sub-list for field type_name
146 }
147
148 func init() { file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_init() }
149 func file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_init() {
150 if File_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto != nil {
151 return
152 }
153 if !protoimpl.UnsafeEnabled {
154 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
155 switch v := v.(*Metadata); i {
156 case 0:
157 return &v.state
158 case 1:
159 return &v.sizeCache
160 case 2:
161 return &v.unknownFields
162 default:
163 return nil
164 }
165 }
166 }
167 type x struct{}
168 out := protoimpl.TypeBuilder{
169 File: protoimpl.DescBuilder{
170 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
171 RawDescriptor: file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDesc,
172 NumEnums: 0,
173 NumMessages: 1,
174 NumExtensions: 0,
175 NumServices: 0,
176 },
177 GoTypes: file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_goTypes,
178 DependencyIndexes: file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_depIdxs,
179 MessageInfos: file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_msgTypes,
180 }.Build()
181 File_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto = out.File
182 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_rawDesc = nil
183 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_goTypes = nil
184 file_envoy_extensions_matching_input_matchers_metadata_v3_metadata_proto_depIdxs = nil
185 }