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 for flushing access logs.
    com.google.protobuf.DurationOrBuilder
    The interval for flushing access logs.
    boolean
    If set to true, the access log is flushed when the TCP proxy successfully establishes a connection with the upstream.
    boolean
    The interval for flushing access logs.

    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 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.