1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: envoy/api/v2/core/protocol.proto
3
4package envoy_api_v2_core
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import duration "github.com/golang/protobuf/ptypes/duration"
10import wrappers "github.com/golang/protobuf/ptypes/wrappers"
11import _ "google.golang.org/grpc/xds/internal/proto/validate"
12
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
22const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
23
24type TcpProtocolOptions struct {
25	XXX_NoUnkeyedLiteral struct{} `json:"-"`
26	XXX_unrecognized     []byte   `json:"-"`
27	XXX_sizecache        int32    `json:"-"`
28}
29
30func (m *TcpProtocolOptions) Reset()         { *m = TcpProtocolOptions{} }
31func (m *TcpProtocolOptions) String() string { return proto.CompactTextString(m) }
32func (*TcpProtocolOptions) ProtoMessage()    {}
33func (*TcpProtocolOptions) Descriptor() ([]byte, []int) {
34	return fileDescriptor_protocol_2e969372c85b867d, []int{0}
35}
36func (m *TcpProtocolOptions) XXX_Unmarshal(b []byte) error {
37	return xxx_messageInfo_TcpProtocolOptions.Unmarshal(m, b)
38}
39func (m *TcpProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
40	return xxx_messageInfo_TcpProtocolOptions.Marshal(b, m, deterministic)
41}
42func (dst *TcpProtocolOptions) XXX_Merge(src proto.Message) {
43	xxx_messageInfo_TcpProtocolOptions.Merge(dst, src)
44}
45func (m *TcpProtocolOptions) XXX_Size() int {
46	return xxx_messageInfo_TcpProtocolOptions.Size(m)
47}
48func (m *TcpProtocolOptions) XXX_DiscardUnknown() {
49	xxx_messageInfo_TcpProtocolOptions.DiscardUnknown(m)
50}
51
52var xxx_messageInfo_TcpProtocolOptions proto.InternalMessageInfo
53
54type HttpProtocolOptions struct {
55	IdleTimeout          *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
56	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
57	XXX_unrecognized     []byte             `json:"-"`
58	XXX_sizecache        int32              `json:"-"`
59}
60
61func (m *HttpProtocolOptions) Reset()         { *m = HttpProtocolOptions{} }
62func (m *HttpProtocolOptions) String() string { return proto.CompactTextString(m) }
63func (*HttpProtocolOptions) ProtoMessage()    {}
64func (*HttpProtocolOptions) Descriptor() ([]byte, []int) {
65	return fileDescriptor_protocol_2e969372c85b867d, []int{1}
66}
67func (m *HttpProtocolOptions) XXX_Unmarshal(b []byte) error {
68	return xxx_messageInfo_HttpProtocolOptions.Unmarshal(m, b)
69}
70func (m *HttpProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
71	return xxx_messageInfo_HttpProtocolOptions.Marshal(b, m, deterministic)
72}
73func (dst *HttpProtocolOptions) XXX_Merge(src proto.Message) {
74	xxx_messageInfo_HttpProtocolOptions.Merge(dst, src)
75}
76func (m *HttpProtocolOptions) XXX_Size() int {
77	return xxx_messageInfo_HttpProtocolOptions.Size(m)
78}
79func (m *HttpProtocolOptions) XXX_DiscardUnknown() {
80	xxx_messageInfo_HttpProtocolOptions.DiscardUnknown(m)
81}
82
83var xxx_messageInfo_HttpProtocolOptions proto.InternalMessageInfo
84
85func (m *HttpProtocolOptions) GetIdleTimeout() *duration.Duration {
86	if m != nil {
87		return m.IdleTimeout
88	}
89	return nil
90}
91
92type Http1ProtocolOptions struct {
93	AllowAbsoluteUrl      *wrappers.BoolValue `protobuf:"bytes,1,opt,name=allow_absolute_url,json=allowAbsoluteUrl,proto3" json:"allow_absolute_url,omitempty"`
94	AcceptHttp_10         bool                `protobuf:"varint,2,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"`
95	DefaultHostForHttp_10 string              `protobuf:"bytes,3,opt,name=default_host_for_http_10,json=defaultHostForHttp10,proto3" json:"default_host_for_http_10,omitempty"`
96	XXX_NoUnkeyedLiteral  struct{}            `json:"-"`
97	XXX_unrecognized      []byte              `json:"-"`
98	XXX_sizecache         int32               `json:"-"`
99}
100
101func (m *Http1ProtocolOptions) Reset()         { *m = Http1ProtocolOptions{} }
102func (m *Http1ProtocolOptions) String() string { return proto.CompactTextString(m) }
103func (*Http1ProtocolOptions) ProtoMessage()    {}
104func (*Http1ProtocolOptions) Descriptor() ([]byte, []int) {
105	return fileDescriptor_protocol_2e969372c85b867d, []int{2}
106}
107func (m *Http1ProtocolOptions) XXX_Unmarshal(b []byte) error {
108	return xxx_messageInfo_Http1ProtocolOptions.Unmarshal(m, b)
109}
110func (m *Http1ProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
111	return xxx_messageInfo_Http1ProtocolOptions.Marshal(b, m, deterministic)
112}
113func (dst *Http1ProtocolOptions) XXX_Merge(src proto.Message) {
114	xxx_messageInfo_Http1ProtocolOptions.Merge(dst, src)
115}
116func (m *Http1ProtocolOptions) XXX_Size() int {
117	return xxx_messageInfo_Http1ProtocolOptions.Size(m)
118}
119func (m *Http1ProtocolOptions) XXX_DiscardUnknown() {
120	xxx_messageInfo_Http1ProtocolOptions.DiscardUnknown(m)
121}
122
123var xxx_messageInfo_Http1ProtocolOptions proto.InternalMessageInfo
124
125func (m *Http1ProtocolOptions) GetAllowAbsoluteUrl() *wrappers.BoolValue {
126	if m != nil {
127		return m.AllowAbsoluteUrl
128	}
129	return nil
130}
131
132func (m *Http1ProtocolOptions) GetAcceptHttp_10() bool {
133	if m != nil {
134		return m.AcceptHttp_10
135	}
136	return false
137}
138
139func (m *Http1ProtocolOptions) GetDefaultHostForHttp_10() string {
140	if m != nil {
141		return m.DefaultHostForHttp_10
142	}
143	return ""
144}
145
146type Http2ProtocolOptions struct {
147	HpackTableSize              *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=hpack_table_size,json=hpackTableSize,proto3" json:"hpack_table_size,omitempty"`
148	MaxConcurrentStreams        *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"`
149	InitialStreamWindowSize     *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=initial_stream_window_size,json=initialStreamWindowSize,proto3" json:"initial_stream_window_size,omitempty"`
150	InitialConnectionWindowSize *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=initial_connection_window_size,json=initialConnectionWindowSize,proto3" json:"initial_connection_window_size,omitempty"`
151	AllowConnect                bool                  `protobuf:"varint,5,opt,name=allow_connect,json=allowConnect,proto3" json:"allow_connect,omitempty"`
152	AllowMetadata               bool                  `protobuf:"varint,6,opt,name=allow_metadata,json=allowMetadata,proto3" json:"allow_metadata,omitempty"`
153	XXX_NoUnkeyedLiteral        struct{}              `json:"-"`
154	XXX_unrecognized            []byte                `json:"-"`
155	XXX_sizecache               int32                 `json:"-"`
156}
157
158func (m *Http2ProtocolOptions) Reset()         { *m = Http2ProtocolOptions{} }
159func (m *Http2ProtocolOptions) String() string { return proto.CompactTextString(m) }
160func (*Http2ProtocolOptions) ProtoMessage()    {}
161func (*Http2ProtocolOptions) Descriptor() ([]byte, []int) {
162	return fileDescriptor_protocol_2e969372c85b867d, []int{3}
163}
164func (m *Http2ProtocolOptions) XXX_Unmarshal(b []byte) error {
165	return xxx_messageInfo_Http2ProtocolOptions.Unmarshal(m, b)
166}
167func (m *Http2ProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
168	return xxx_messageInfo_Http2ProtocolOptions.Marshal(b, m, deterministic)
169}
170func (dst *Http2ProtocolOptions) XXX_Merge(src proto.Message) {
171	xxx_messageInfo_Http2ProtocolOptions.Merge(dst, src)
172}
173func (m *Http2ProtocolOptions) XXX_Size() int {
174	return xxx_messageInfo_Http2ProtocolOptions.Size(m)
175}
176func (m *Http2ProtocolOptions) XXX_DiscardUnknown() {
177	xxx_messageInfo_Http2ProtocolOptions.DiscardUnknown(m)
178}
179
180var xxx_messageInfo_Http2ProtocolOptions proto.InternalMessageInfo
181
182func (m *Http2ProtocolOptions) GetHpackTableSize() *wrappers.UInt32Value {
183	if m != nil {
184		return m.HpackTableSize
185	}
186	return nil
187}
188
189func (m *Http2ProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value {
190	if m != nil {
191		return m.MaxConcurrentStreams
192	}
193	return nil
194}
195
196func (m *Http2ProtocolOptions) GetInitialStreamWindowSize() *wrappers.UInt32Value {
197	if m != nil {
198		return m.InitialStreamWindowSize
199	}
200	return nil
201}
202
203func (m *Http2ProtocolOptions) GetInitialConnectionWindowSize() *wrappers.UInt32Value {
204	if m != nil {
205		return m.InitialConnectionWindowSize
206	}
207	return nil
208}
209
210func (m *Http2ProtocolOptions) GetAllowConnect() bool {
211	if m != nil {
212		return m.AllowConnect
213	}
214	return false
215}
216
217func (m *Http2ProtocolOptions) GetAllowMetadata() bool {
218	if m != nil {
219		return m.AllowMetadata
220	}
221	return false
222}
223
224type GrpcProtocolOptions struct {
225	Http2ProtocolOptions *Http2ProtocolOptions `protobuf:"bytes,1,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
226	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
227	XXX_unrecognized     []byte                `json:"-"`
228	XXX_sizecache        int32                 `json:"-"`
229}
230
231func (m *GrpcProtocolOptions) Reset()         { *m = GrpcProtocolOptions{} }
232func (m *GrpcProtocolOptions) String() string { return proto.CompactTextString(m) }
233func (*GrpcProtocolOptions) ProtoMessage()    {}
234func (*GrpcProtocolOptions) Descriptor() ([]byte, []int) {
235	return fileDescriptor_protocol_2e969372c85b867d, []int{4}
236}
237func (m *GrpcProtocolOptions) XXX_Unmarshal(b []byte) error {
238	return xxx_messageInfo_GrpcProtocolOptions.Unmarshal(m, b)
239}
240func (m *GrpcProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
241	return xxx_messageInfo_GrpcProtocolOptions.Marshal(b, m, deterministic)
242}
243func (dst *GrpcProtocolOptions) XXX_Merge(src proto.Message) {
244	xxx_messageInfo_GrpcProtocolOptions.Merge(dst, src)
245}
246func (m *GrpcProtocolOptions) XXX_Size() int {
247	return xxx_messageInfo_GrpcProtocolOptions.Size(m)
248}
249func (m *GrpcProtocolOptions) XXX_DiscardUnknown() {
250	xxx_messageInfo_GrpcProtocolOptions.DiscardUnknown(m)
251}
252
253var xxx_messageInfo_GrpcProtocolOptions proto.InternalMessageInfo
254
255func (m *GrpcProtocolOptions) GetHttp2ProtocolOptions() *Http2ProtocolOptions {
256	if m != nil {
257		return m.Http2ProtocolOptions
258	}
259	return nil
260}
261
262func init() {
263	proto.RegisterType((*TcpProtocolOptions)(nil), "envoy.api.v2.core.TcpProtocolOptions")
264	proto.RegisterType((*HttpProtocolOptions)(nil), "envoy.api.v2.core.HttpProtocolOptions")
265	proto.RegisterType((*Http1ProtocolOptions)(nil), "envoy.api.v2.core.Http1ProtocolOptions")
266	proto.RegisterType((*Http2ProtocolOptions)(nil), "envoy.api.v2.core.Http2ProtocolOptions")
267	proto.RegisterType((*GrpcProtocolOptions)(nil), "envoy.api.v2.core.GrpcProtocolOptions")
268}
269
270func init() {
271	proto.RegisterFile("envoy/api/v2/core/protocol.proto", fileDescriptor_protocol_2e969372c85b867d)
272}
273
274var fileDescriptor_protocol_2e969372c85b867d = []byte{
275	// 556 bytes of a gzipped FileDescriptorProto
276	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x4f, 0x6f, 0xd3, 0x4c,
277	0x10, 0xc6, 0xe5, 0x37, 0x2f, 0xa5, 0x6c, 0xff, 0xd0, 0xba, 0x51, 0x6b, 0x0a, 0x2a, 0x51, 0x00,
278	0x11, 0xf5, 0x60, 0xb7, 0xae, 0xc4, 0x89, 0x0b, 0x29, 0x2a, 0xe5, 0x80, 0xa8, 0xdc, 0x16, 0x4e,
279	0x68, 0xb5, 0x59, 0x6f, 0x9a, 0x15, 0x1b, 0xcf, 0x6a, 0x3d, 0x4e, 0xd2, 0x7e, 0x34, 0x0e, 0x88,
280	0xaf, 0xc3, 0x99, 0x0f, 0x60, 0x64, 0xef, 0x26, 0x82, 0xa4, 0x12, 0x88, 0x53, 0xac, 0x99, 0xe7,
281	0xf9, 0x3d, 0x33, 0xf1, 0x98, 0xb4, 0x44, 0x36, 0x82, 0xeb, 0x88, 0x69, 0x19, 0x8d, 0xe2, 0x88,
282	0x83, 0x11, 0x91, 0x36, 0x80, 0xc0, 0x41, 0x85, 0xf5, 0x83, 0xbf, 0x59, 0x2b, 0x42, 0xa6, 0x65,
283	0x38, 0x8a, 0xc3, 0x4a, 0xb1, 0xbb, 0x77, 0x05, 0x70, 0xa5, 0x9c, 0xb2, 0x57, 0xf4, 0xa3, 0xb4,
284	0x30, 0x0c, 0x25, 0x64, 0xd6, 0xb2, 0xd8, 0x1f, 0x1b, 0xa6, 0xb5, 0x30, 0xb9, 0xeb, 0xef, 0x8c,
285	0x98, 0x92, 0x29, 0x43, 0x11, 0x4d, 0x1f, 0x6c, 0xa3, 0xdd, 0x24, 0xfe, 0x05, 0xd7, 0x67, 0x6e,
286	0x80, 0xf7, 0xba, 0x62, 0xe6, 0xed, 0x73, 0xb2, 0x75, 0x8a, 0x38, 0x5f, 0xf6, 0x5f, 0x92, 0x55,
287	0x99, 0x2a, 0x41, 0x51, 0x0e, 0x05, 0x14, 0x18, 0x78, 0x2d, 0xaf, 0xb3, 0x12, 0x3f, 0x08, 0x6d,
288	0x78, 0x38, 0x0d, 0x0f, 0x5f, 0xbb, 0xe1, 0x92, 0x95, 0x4a, 0x7e, 0x61, 0xd5, 0xed, 0xaf, 0x1e,
289	0x69, 0x56, 0xd4, 0xc3, 0x79, 0xec, 0x29, 0xf1, 0x99, 0x52, 0x30, 0xa6, 0xac, 0x97, 0x83, 0x2a,
290	0x50, 0xd0, 0xc2, 0x28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