Debian Codegraph @

envoy/extensions/upstreams/tcp/v3/tcp_protocol_options.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/upstreams/tcp/v3/tcp_protocol_options.proto
6
7 package tcpv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 durationpb "google.golang.org/protobuf/types/known/durationpb"
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 type TcpProtocolOptions struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 // The idle timeout for the connection. The idle timeout is defined as the period in which
31 // the connection is not associated with a downstream connection. When the idle timeout is
32 // reached, the connection will be closed.
33 //
34 // If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
35 //
36 // .. warning::
37 //
38 // Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
39 // FIN packets, etc.
40 IdleTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
41 }
42
43 func (x *TcpProtocolOptions) Reset() {
44 *x = TcpProtocolOptions{}
45 if protoimpl.UnsafeEnabled {
46 mi := &file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_msgTypes[0]
47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48 ms.StoreMessageInfo(mi)
49 }
50 }
51
52 func (x *TcpProtocolOptions) String() string {
53 return protoimpl.X.MessageStringOf(x)
54 }
55
56 func (*TcpProtocolOptions) ProtoMessage() {}
57
58 func (x *TcpProtocolOptions) ProtoReflect() protoreflect.Message {
59 mi := &file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_msgTypes[0]
60 if protoimpl.UnsafeEnabled && x != nil {
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 if ms.LoadMessageInfo() == nil {
63 ms.StoreMessageInfo(mi)
64 }
65 return ms
66 }
67 return mi.MessageOf(x)
68 }
69
70 // Deprecated: Use TcpProtocolOptions.ProtoReflect.Descriptor instead.
71 func (*TcpProtocolOptions) Descriptor() ([]byte, []int) {
72 return file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescGZIP(), []int{0}
73 }
74
75 func (x *TcpProtocolOptions) GetIdleTimeout() *durationpb.Duration {
76 if x != nil {
77 return x.IdleTimeout
78 }
79 return nil
80 }
81
82 var File_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto protoreflect.FileDescriptor
83
84 var file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDesc = []byte{
85 0x0a, 0x3c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
86 0x6e, 0x73, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x2f, 0x74, 0x63, 0x70,
87 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x63, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
88 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21,
89 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
90 0x2e, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x2e, 0x74, 0x63, 0x70, 0x2e, 0x76,
91 0x33, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
92 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
93 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
94 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
95 0x22, 0x52, 0x0a, 0x12, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f,
96 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74,
97 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
98 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
99 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d,
100 0x65, 0x6f, 0x75, 0x74, 0x42, 0xa4, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a,
101 0x2f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
102 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
103 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x2e, 0x74, 0x63, 0x70, 0x2e, 0x76, 0x33,
104 0x42, 0x17, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74,
105 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x69, 0x74,
106 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
107 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c,
108 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
109 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x2f, 0x74,
110 0x63, 0x70, 0x2f, 0x76, 0x33, 0x3b, 0x74, 0x63, 0x70, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
111 0x74, 0x6f, 0x33,
112 }
113
114 var (
115 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescOnce sync.Once
116 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescData = file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDesc
117 )
118
119 func file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescGZIP() []byte {
120 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescOnce.Do(func() {
121 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescData)
122 })
123 return file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDescData
124 }
125
126 var file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
127 var file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_goTypes = []interface{}{
128 (*TcpProtocolOptions)(nil), // 0: envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions
129 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
130 }
131 var file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_depIdxs = []int32{
132 1, // 0: envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.idle_timeout:type_name -> google.protobuf.Duration
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
140 func init() { file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_init() }
141 func file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_init() {
142 if File_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto != nil {
143 return
144 }
145 if !protoimpl.UnsafeEnabled {
146 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
147 switch v := v.(*TcpProtocolOptions); 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_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDesc,
164 NumEnums: 0,
165 NumMessages: 1,
166 NumExtensions: 0,
167 NumServices: 0,
168 },
169 GoTypes: file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_goTypes,
170 DependencyIndexes: file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_depIdxs,
171 MessageInfos: file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_msgTypes,
172 }.Build()
173 File_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto = out.File
174 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_rawDesc = nil
175 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_goTypes = nil
176 file_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto_depIdxs = nil
177 }