Interface TcpProxy.TcpAccessLogOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TcpProxy.TcpAccessLogOptions,TcpProxy.TcpAccessLogOptions.Builder
- Enclosing class:
- TcpProxy
public static interface TcpProxy.TcpAccessLogOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationThe interval for flushing access logs.com.google.protobuf.DurationOrBuilderThe interval for flushing access logs.booleanIf set to true, the access log is flushed when the TCP proxy successfully establishes a connection with the upstream.booleanThe interval for flushing access logs.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAccessLogFlushInterval
boolean hasAccessLogFlushInterval()The interval for flushing access logs. By default, the TCP proxy flushes a single access log when the connection is closed. If this field is set, the TCP proxy flushes access logs periodically at the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }- Returns:
- Whether the accessLogFlushInterval field is set.
-
getAccessLogFlushInterval
com.google.protobuf.Duration getAccessLogFlushInterval()The interval for flushing access logs. By default, the TCP proxy flushes a single access log when the connection is closed. If this field is set, the TCP proxy flushes access logs periodically at the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }- Returns:
- The accessLogFlushInterval.
-
getAccessLogFlushIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getAccessLogFlushIntervalOrBuilder()The interval for flushing access logs. By default, the TCP proxy flushes a single access log when the connection is closed. If this field is set, the TCP proxy flushes access logs periodically at the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... } -
getFlushAccessLogOnConnected
boolean getFlushAccessLogOnConnected()If set to true, the access log is flushed when the TCP proxy successfully establishes a connection with the upstream. If the connection fails, the access log is not flushed.
bool flush_access_log_on_connected = 2;- Returns:
- The flushAccessLogOnConnected.
-