io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/extensions/upstreams/tcp/v3/tcp_protocol_options.proto
package io.envoyproxy.envoy.extensions.upstreams.tcp.v3;
public interface TcpProtocolOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions)
com.google.protobuf.MessageOrBuilder {
/**
*
* The idle timeout for the connection. The idle timeout is defined as the period in which
* the connection is not associated with a downstream connection. When the idle timeout is
* reached, the connection will be closed.
* If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
* .. warning::
* Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
* FIN packets, etc.
*
*
* .google.protobuf.Duration idle_timeout = 1;
* @return Whether the idleTimeout field is set.
*/
boolean hasIdleTimeout();
/**
*
* The idle timeout for the connection. The idle timeout is defined as the period in which
* the connection is not associated with a downstream connection. When the idle timeout is
* reached, the connection will be closed.
* If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
* .. warning::
* Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
* FIN packets, etc.
*
*
* .google.protobuf.Duration idle_timeout = 1;
* @return The idleTimeout.
*/
com.google.protobuf.Duration getIdleTimeout();
/**
*
* The idle timeout for the connection. The idle timeout is defined as the period in which
* the connection is not associated with a downstream connection. When the idle timeout is
* reached, the connection will be closed.
* If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
* .. warning::
* Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
* FIN packets, etc.
*
*
* .google.protobuf.Duration idle_timeout = 1;
*/
com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder();
}