1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.19.1
5// source: envoy/config/listener/v2/api_listener.proto
6
7package envoy_config_listener_v2
8
9import (
10	_ "github.com/cncf/xds/go/udpa/annotations"
11	proto "github.com/golang/protobuf/proto"
12	any "github.com/golang/protobuf/ptypes/any"
13	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15	reflect "reflect"
16	sync "sync"
17)
18
19const (
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// This is a compile-time assertion that a sufficiently up-to-date version
27// of the legacy proto package is being used.
28const _ = proto.ProtoPackageIsVersion4
29
30// Describes a type of API listener, which is used in non-proxy clients. The type of API
31// exposed to the non-proxy application depends on the type of API listener.
32type ApiListener struct {
33	state         protoimpl.MessageState
34	sizeCache     protoimpl.SizeCache
35	unknownFields protoimpl.UnknownFields
36
37	// The type in this field determines the type of API listener. At present, the following
38	// types are supported:
39	// envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager (HTTP)
40	// [#next-major-version: In the v3 API, replace this Any field with a oneof containing the
41	// specific config message for each type of API listener. We could not do this in v2 because
42	// it would have caused circular dependencies for go protos: lds.proto depends on this file,
43	// and http_connection_manager.proto depends on rds.proto, which is in the same directory as
44	// lds.proto, so lds.proto cannot depend on this file.]
45	ApiListener *any.Any `protobuf:"bytes,1,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
46}
47
48func (x *ApiListener) Reset() {
49	*x = ApiListener{}
50	if protoimpl.UnsafeEnabled {
51		mi := &file_envoy_config_listener_v2_api_listener_proto_msgTypes[0]
52		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53		ms.StoreMessageInfo(mi)
54	}
55}
56
57func (x *ApiListener) String() string {
58	return protoimpl.X.MessageStringOf(x)
59}
60
61func (*ApiListener) ProtoMessage() {}
62
63func (x *ApiListener) ProtoReflect() protoreflect.Message {
64	mi := &file_envoy_config_listener_v2_api_listener_proto_msgTypes[0]
65	if protoimpl.UnsafeEnabled && x != nil {
66		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67		if ms.LoadMessageInfo() == nil {
68			ms.StoreMessageInfo(mi)
69		}
70		return ms
71	}
72	return mi.MessageOf(x)
73}
74
75// Deprecated: Use ApiListener.ProtoReflect.Descriptor instead.
76func (*ApiListener) Descriptor() ([]byte, []int) {
77	return file_envoy_config_listener_v2_api_listener_proto_rawDescGZIP(), []int{0}
78}
79
80func (x *ApiListener) GetApiListener() *any.Any {
81	if x != nil {
82		return x.ApiListener
83	}
84	return nil
85}
86
87var File_envoy_config_listener_v2_api_listener_proto protoreflect.FileDescriptor
88
89var file_envoy_config_listener_v2_api_listener_proto_rawDesc = []byte{
90	0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6c,
91	0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x6c,
92	0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65,
93	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74,
94	0x65, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
95	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f,
96	0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
97	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
98	0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
99	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
100	0x6f, 0x22, 0x46, 0x0a, 0x0b, 0x41, 0x70, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
101	0x12, 0x37, 0x0a, 0x0c, 0x61, 0x70, 0x69, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
102	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
103	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0b, 0x61, 0x70,
104	0x69, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x42, 0x64, 0x0a, 0x26, 0x69, 0x6f, 0x2e,
105	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
106	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
107	0x2e, 0x76, 0x32, 0x42, 0x10, 0x41, 0x70, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
108	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x1a, 0x12, 0x18, 0x65,
109	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74,
110	0x65, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62,
111	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
112}
113
114var (
115	file_envoy_config_listener_v2_api_listener_proto_rawDescOnce sync.Once
116	file_envoy_config_listener_v2_api_listener_proto_rawDescData = file_envoy_config_listener_v2_api_listener_proto_rawDesc
117)
118
119func file_envoy_config_listener_v2_api_listener_proto_rawDescGZIP() []byte {
120	file_envoy_config_listener_v2_api_listener_proto_rawDescOnce.Do(func() {
121		file_envoy_config_listener_v2_api_listener_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_listener_v2_api_listener_proto_rawDescData)
122	})
123	return file_envoy_config_listener_v2_api_listener_proto_rawDescData
124}
125
126var file_envoy_config_listener_v2_api_listener_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
127var file_envoy_config_listener_v2_api_listener_proto_goTypes = []interface{}{
128	(*ApiListener)(nil), // 0: envoy.config.listener.v2.ApiListener
129	(*any.Any)(nil),     // 1: google.protobuf.Any
130}
131var file_envoy_config_listener_v2_api_listener_proto_depIdxs = []int32{
132	1, // 0: envoy.config.listener.v2.ApiListener.api_listener:type_name -> google.protobuf.Any
133	1, // [1:1] is the sub-list for method output_type
134	1, // [1:1] is the sub-list for method input_type
135	1, // [1:1] is the sub-list for extension type_name
136	1, // [1:1] is the sub-list for extension extendee
137	0, // [0:1] is the sub-list for field type_name
138}
139
140func init() { file_envoy_config_listener_v2_api_listener_proto_init() }
141func file_envoy_config_listener_v2_api_listener_proto_init() {
142	if File_envoy_config_listener_v2_api_listener_proto != nil {
143		return
144	}
145	if !protoimpl.UnsafeEnabled {
146		file_envoy_config_listener_v2_api_listener_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
147			switch v := v.(*ApiListener); i {
148			case 0:
149				return &v.state
150			case 1:
151				return &v.sizeCache
152			case 2:
153				return &v.unknownFields
154			default:
155				return nil
156			}
157		}
158	}
159	type x struct{}
160	out := protoimpl.TypeBuilder{
161		File: protoimpl.DescBuilder{
162			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
163			RawDescriptor: file_envoy_config_listener_v2_api_listener_proto_rawDesc,
164			NumEnums:      0,
165			NumMessages:   1,
166			NumExtensions: 0,
167			NumServices:   0,
168		},
169		GoTypes:           file_envoy_config_listener_v2_api_listener_proto_goTypes,
170		DependencyIndexes: file_envoy_config_listener_v2_api_listener_proto_depIdxs,
171		MessageInfos:      file_envoy_config_listener_v2_api_listener_proto_msgTypes,
172	}.Build()
173	File_envoy_config_listener_v2_api_listener_proto = out.File
174	file_envoy_config_listener_v2_api_listener_proto_rawDesc = nil
175	file_envoy_config_listener_v2_api_listener_proto_goTypes = nil
176	file_envoy_config_listener_v2_api_listener_proto_depIdxs = nil
177}
178