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 Type
    Method
    Description
    com.google.protobuf.Duration
    The interval to flush access log.
    com.google.protobuf.DurationOrBuilder
    The interval to flush access log.
    boolean
    If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream.
    boolean
    The interval to flush access log.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 to flush access log. The TCP proxy will flush only one access log when the connection
       is closed by default. If this field is set, the TCP proxy will flush access log periodically with
       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 to flush access log. The TCP proxy will flush only one access log when the connection
       is closed by default. If this field is set, the TCP proxy will flush access log periodically with
       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 to flush access log. The TCP proxy will flush only one access log when the connection
       is closed by default. If this field is set, the TCP proxy will flush access log periodically with
       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, access log will be flushed when the TCP proxy has successfully established a
       connection with the upstream. If the connection failed, the access log will not be flushed.
       
      bool flush_access_log_on_connected = 2;
      Returns:
      The flushAccessLogOnConnected.