Interface TcpProxy.TcpAccessLogOptionsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Duration getAccessLogFlushInterval()
      The interval to flush access log.
      com.google.protobuf.DurationOrBuilder getAccessLogFlushIntervalOrBuilder()
      The interval to flush access log.
      boolean getFlushAccessLogOnConnected()
      If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream.
      boolean hasAccessLogFlushInterval()
      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 Detail

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