| 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/cluster/v3/filter.proto |
| 6 |
|
| 7 |
package clusterv3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/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 |
anypb "google.golang.org/protobuf/types/known/anypb" |
| 16 |
reflect "reflect" |
| 17 |
sync "sync" |
| 18 |
) |
| 19 |
|
| 20 |
const ( |
| 21 |
// Verify that this generated code is sufficiently up-to-date. |
| 22 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 23 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 24 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 25 |
) |
| 26 |
|
| 27 |
type Filter struct { |
| 28 |
state protoimpl.MessageState |
| 29 |
sizeCache protoimpl.SizeCache |
| 30 |
unknownFields protoimpl.UnknownFields |
| 31 |
|
| 32 |
// The name of the filter configuration. |
| 33 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 34 |
// Filter specific configuration which depends on the filter being |
| 35 |
// instantiated. See the supported filters for further documentation. |
| 36 |
// Note that Envoy's :ref:`downstream network |
| 37 |
// filters <config_network_filters>` are not valid upstream network filters. |
| 38 |
// Only one of typed_config or config_discovery can be used. |
| 39 |
TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` |
| 40 |
// Configuration source specifier for an extension configuration discovery |
| 41 |
// service. In case of a failure and without the default configuration, the |
| 42 |
// listener closes the connections. |
| 43 |
// Only one of typed_config or config_discovery can be used. |
| 44 |
ConfigDiscovery *v3.ExtensionConfigSource `protobuf:"bytes,3,opt,name=config_discovery,json=configDiscovery,proto3" json:"config_discovery,omitempty"` |
| 45 |
} |
| 46 |
|
| 47 |
func (x *Filter) Reset() { |
| 48 |
*x = Filter{} |
| 49 |
if protoimpl.UnsafeEnabled { |
| 50 |
mi := &file_envoy_config_cluster_v3_filter_proto_msgTypes[0] |
| 51 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 52 |
ms.StoreMessageInfo(mi) |
| 53 |
} |
| 54 |
} |
| 55 |
|
| 56 |
func (x *Filter) String() string { |
| 57 |
return protoimpl.X.MessageStringOf(x) |
| 58 |
} |
| 59 |
|
| 60 |
func (*Filter) ProtoMessage() {} |
| 61 |
|
| 62 |
func (x *Filter) ProtoReflect() protoreflect.Message { |
| 63 |
mi := &file_envoy_config_cluster_v3_filter_proto_msgTypes[0] |
| 64 |
if protoimpl.UnsafeEnabled && x != nil { |
| 65 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 66 |
if ms.LoadMessageInfo() == nil { |
| 67 |
ms.StoreMessageInfo(mi) |
| 68 |
} |
| 69 |
return ms |
| 70 |
} |
| 71 |
return mi.MessageOf(x) |
| 72 |
} |
| 73 |
|
| 74 |
// Deprecated: Use Filter.ProtoReflect.Descriptor instead. |
| 75 |
func (*Filter) Descriptor() ([]byte, []int) { |
| 76 |
return file_envoy_config_cluster_v3_filter_proto_rawDescGZIP(), []int{0} |
| 77 |
} |
| 78 |
|
| 79 |
func (x *Filter) GetName() string { |
| 80 |
if x != nil { |
| 81 |
return x.Name |
| 82 |
} |
| 83 |
return "" |
| 84 |
} |
| 85 |
|
| 86 |
func (x *Filter) GetTypedConfig() *anypb.Any { |
| 87 |
if x != nil { |
| 88 |
return x.TypedConfig |
| 89 |
} |
| 90 |
return nil |
| 91 |
} |
| 92 |
|
| 93 |
func (x *Filter) GetConfigDiscovery() *v3.ExtensionConfigSource { |
| 94 |
if x != nil { |
| 95 |
return x.ConfigDiscovery |
| 96 |
} |
| 97 |
return nil |
| 98 |
} |
| 99 |
|
| 100 |
var File_envoy_config_cluster_v3_filter_proto protoreflect.FileDescriptor |
| 101 |
|
| 102 |
var file_envoy_config_cluster_v3_filter_proto_rawDesc = []byte{ |
| 103 |
0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, |
| 104 |
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 105 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, |
| 106 |
0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, |
| 107 |
0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, |
| 108 |
0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, |
| 109 |
0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 110 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, |
| 111 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, |
| 112 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, |
| 113 |
0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, |
| 114 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, |
| 115 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, |
| 116 |
0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 117 |
0xda, 0x01, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, |
| 118 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, |
| 119 |
0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, |
| 120 |
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, |
| 121 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 122 |
0x41, 0x6e, 0x79, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 123 |
0x12, 0x56, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, |
| 124 |
0x76, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, |
| 125 |
0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 126 |
0x33, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 127 |
0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, |
| 128 |
0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x3a, 0x22, 0x9a, 0xc5, 0x88, 0x1e, 0x1d, 0x0a, |
| 129 |
0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, |
| 130 |
0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x88, 0x01, 0xba, |
| 131 |
0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x25, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, |
| 132 |
0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, |
| 133 |
0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0b, |
| 134 |
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, |
| 135 |
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, |
| 136 |
0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, |
| 137 |
0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, |
| 138 |
0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6c, |
| 139 |
0x75, 0x73, 0x74, 0x65, 0x72, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 140 |
} |
| 141 |
|
| 142 |
var ( |
| 143 |
file_envoy_config_cluster_v3_filter_proto_rawDescOnce sync.Once |
| 144 |
file_envoy_config_cluster_v3_filter_proto_rawDescData = file_envoy_config_cluster_v3_filter_proto_rawDesc |
| 145 |
) |
| 146 |
|
| 147 |
func file_envoy_config_cluster_v3_filter_proto_rawDescGZIP() []byte { |
| 148 |
file_envoy_config_cluster_v3_filter_proto_rawDescOnce.Do(func() { |
| 149 |
file_envoy_config_cluster_v3_filter_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_cluster_v3_filter_proto_rawDescData) |
| 150 |
}) |
| 151 |
return file_envoy_config_cluster_v3_filter_proto_rawDescData |
| 152 |
} |
| 153 |
|
| 154 |
var file_envoy_config_cluster_v3_filter_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 155 |
var file_envoy_config_cluster_v3_filter_proto_goTypes = []interface{}{ |
| 156 |
(*Filter)(nil), // 0: envoy.config.cluster.v3.Filter |
| 157 |
(*anypb.Any)(nil), // 1: google.protobuf.Any |
| 158 |
(*v3.ExtensionConfigSource)(nil), // 2: envoy.config.core.v3.ExtensionConfigSource |
| 159 |
} |
| 160 |
var file_envoy_config_cluster_v3_filter_proto_depIdxs = []int32{ |
| 161 |
1, // 0: envoy.config.cluster.v3.Filter.typed_config:type_name -> google.protobuf.Any |
| 162 |
2, // 1: envoy.config.cluster.v3.Filter.config_discovery:type_name -> envoy.config.core.v3.ExtensionConfigSource |
| 163 |
2, // [2:2] is the sub-list for method output_type |
| 164 |
2, // [2:2] is the sub-list for method input_type |
| 165 |
2, // [2:2] is the sub-list for extension type_name |
| 166 |
2, // [2:2] is the sub-list for extension extendee |
| 167 |
0, // [0:2] is the sub-list for field type_name |
| 168 |
} |
| 169 |
|
| 170 |
func init() { file_envoy_config_cluster_v3_filter_proto_init() } |
| 171 |
func file_envoy_config_cluster_v3_filter_proto_init() { |
| 172 |
if File_envoy_config_cluster_v3_filter_proto != nil { |
| 173 |
return |
| 174 |
} |
| 175 |
if !protoimpl.UnsafeEnabled { |
| 176 |
file_envoy_config_cluster_v3_filter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 177 |
switch v := v.(*Filter); i { |
| 178 |
case 0: |
| 179 |
return &v.state |
| 180 |
case 1: |
| 181 |
return &v.sizeCache |
| 182 |
case 2: |
| 183 |
return &v.unknownFields |
| 184 |
default: |
| 185 |
return nil |
| 186 |
} |
| 187 |
} |
| 188 |
} |
| 189 |
type x struct{} |
| 190 |
out := protoimpl.TypeBuilder{ |
| 191 |
File: protoimpl.DescBuilder{ |
| 192 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 193 |
RawDescriptor: file_envoy_config_cluster_v3_filter_proto_rawDesc, |
| 194 |
NumEnums: 0, |
| 195 |
NumMessages: 1, |
| 196 |
NumExtensions: 0, |
| 197 |
NumServices: 0, |
| 198 |
}, |
| 199 |
GoTypes: file_envoy_config_cluster_v3_filter_proto_goTypes, |
| 200 |
DependencyIndexes: file_envoy_config_cluster_v3_filter_proto_depIdxs, |
| 201 |
MessageInfos: file_envoy_config_cluster_v3_filter_proto_msgTypes, |
| 202 |
}.Build() |
| 203 |
File_envoy_config_cluster_v3_filter_proto = out.File |
| 204 |
file_envoy_config_cluster_v3_filter_proto_rawDesc = nil |
| 205 |
file_envoy_config_cluster_v3_filter_proto_goTypes = nil |
| 206 |
file_envoy_config_cluster_v3_filter_proto_depIdxs = nil |
| 207 |
} |