Debian Codegraph @

envoy/extensions/retry/host/omit_host_metadata/v3/omit_host_metadata_config.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/retry/host/omit_host_metadata/v3/omit_host_metadata_config.proto
6
7 package omit_host_metadatav3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
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 // A retry host predicate that can be used to reject a host based on
26 // predefined metadata match criteria.
27 // [#extension: envoy.retry_host_predicates.omit_host_metadata]
28 type OmitHostMetadataConfig struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // Retry host predicate metadata match criteria. The hosts in
34 // the upstream cluster with matching metadata will be omitted while
35 // attempting a retry of a failed request. The metadata should be specified
36 // under the “envoy.lb“ key.
37 MetadataMatch *v3.Metadata `protobuf:"bytes,1,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
38 }
39
40 func (x *OmitHostMetadataConfig) Reset() {
41 *x = OmitHostMetadataConfig{}
42 if protoimpl.UnsafeEnabled {
43 mi := &file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_msgTypes[0]
44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
45 ms.StoreMessageInfo(mi)
46 }
47 }
48
49 func (x *OmitHostMetadataConfig) String() string {
50 return protoimpl.X.MessageStringOf(x)
51 }
52
53 func (*OmitHostMetadataConfig) ProtoMessage() {}
54
55 func (x *OmitHostMetadataConfig) ProtoReflect() protoreflect.Message {
56 mi := &file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_msgTypes[0]
57 if protoimpl.UnsafeEnabled && x != nil {
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 if ms.LoadMessageInfo() == nil {
60 ms.StoreMessageInfo(mi)
61 }
62 return ms
63 }
64 return mi.MessageOf(x)
65 }
66
67 // Deprecated: Use OmitHostMetadataConfig.ProtoReflect.Descriptor instead.
68 func (*OmitHostMetadataConfig) Descriptor() ([]byte, []int) {
69 return file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescGZIP(), []int{0}
70 }
71
72 func (x *OmitHostMetadataConfig) GetMetadataMatch() *v3.Metadata {
73 if x != nil {
74 return x.MetadataMatch
75 }
76 return nil
77 }
78
79 var File_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto protoreflect.FileDescriptor
80
81 var file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDesc = []byte{
82 0x0a, 0x51, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
83 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x68, 0x6f, 0x73, 0x74, 0x2f, 0x6f, 0x6d,
84 0x69, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
85 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x65,
86 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
87 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e,
88 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x68, 0x6f, 0x73, 0x74,
89 0x2e, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64,
90 0x61, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
91 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73,
92 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
93 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
94 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
95 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
96 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x4f, 0x6d,
97 0x69, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f,
98 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
99 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65,
100 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
101 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x6d, 0x65,
102 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x46, 0x9a, 0xc5, 0x88,
103 0x1e, 0x41, 0x0a, 0x3f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
104 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74,
105 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x6d, 0x69,
106 0x74, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e,
107 0x66, 0x69, 0x67, 0x42, 0xd7, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x3f,
108 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
109 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72,
110 0x65, 0x74, 0x72, 0x79, 0x2e, 0x68, 0x6f, 0x73, 0x74, 0x2e, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x68,
111 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x42,
112 0x1b, 0x4f, 0x6d, 0x69, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
113 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x6d,
114 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
115 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
116 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74,
117 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x68, 0x6f,
118 0x73, 0x74, 0x2f, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74,
119 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x33, 0x3b, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x6f,
120 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x76, 0x33, 0x62, 0x06, 0x70,
121 0x72, 0x6f, 0x74, 0x6f, 0x33,
122 }
123
124 var (
125 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescOnce sync.Once
126 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescData = file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDesc
127 )
128
129 func file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescGZIP() []byte {
130 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescOnce.Do(func() {
131 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescData)
132 })
133 return file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDescData
134 }
135
136 var file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
137 var file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_goTypes = []interface{}{
138 (*OmitHostMetadataConfig)(nil), // 0: envoy.extensions.retry.host.omit_host_metadata.v3.OmitHostMetadataConfig
139 (*v3.Metadata)(nil), // 1: envoy.config.core.v3.Metadata
140 }
141 var file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_depIdxs = []int32{
142 1, // 0: envoy.extensions.retry.host.omit_host_metadata.v3.OmitHostMetadataConfig.metadata_match:type_name -> envoy.config.core.v3.Metadata
143 1, // [1:1] is the sub-list for method output_type
144 1, // [1:1] is the sub-list for method input_type
145 1, // [1:1] is the sub-list for extension type_name
146 1, // [1:1] is the sub-list for extension extendee
147 0, // [0:1] is the sub-list for field type_name
148 }
149
150 func init() {
151 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_init()
152 }
153 func file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_init() {
154 if File_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto != nil {
155 return
156 }
157 if !protoimpl.UnsafeEnabled {
158 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
159 switch v := v.(*OmitHostMetadataConfig); i {
160 case 0:
161 return &v.state
162 case 1:
163 return &v.sizeCache
164 case 2:
165 return &v.unknownFields
166 default:
167 return nil
168 }
169 }
170 }
171 type x struct{}
172 out := protoimpl.TypeBuilder{
173 File: protoimpl.DescBuilder{
174 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
175 RawDescriptor: file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDesc,
176 NumEnums: 0,
177 NumMessages: 1,
178 NumExtensions: 0,
179 NumServices: 0,
180 },
181 GoTypes: file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_goTypes,
182 DependencyIndexes: file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_depIdxs,
183 MessageInfos: file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_msgTypes,
184 }.Build()
185 File_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto = out.File
186 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_rawDesc = nil
187 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_goTypes = nil
188 file_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto_depIdxs = nil
189 }