Interface UdpProxyConfig.UdpAccessLogOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UdpProxyConfig.UdpAccessLogOptions, UdpProxyConfig.UdpAccessLogOptions.Builder
Enclosing class:
UdpProxyConfig

public static interface UdpProxyConfig.UdpAccessLogOptionsOrBuilder 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 and UDP tunneling is configured, access log will be flushed when the UDP proxy has successfully established a connection tunnel 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 UDP proxy will flush only one access log when the session
       is ended by default. If this field is set, the UDP proxy will flush access log periodically with
       the specified interval.
       This field does not require on-tunnel-connected access logging enabled, and the other way around.
       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 UDP proxy will flush only one access log when the session
       is ended by default. If this field is set, the UDP proxy will flush access log periodically with
       the specified interval.
       This field does not require on-tunnel-connected access logging enabled, and the other way around.
       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 UDP proxy will flush only one access log when the session
       is ended by default. If this field is set, the UDP proxy will flush access log periodically with
       the specified interval.
       This field does not require on-tunnel-connected access logging enabled, and the other way around.
       The interval must be at least 1ms.
       
      .google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }
    • getFlushAccessLogOnTunnelConnected

      boolean getFlushAccessLogOnTunnelConnected()
       If set to true and UDP tunneling is configured, access log will be flushed when the UDP proxy has successfully
       established a connection tunnel with the upstream. If the connection failed, the access log will not be flushed.
       
      bool flush_access_log_on_tunnel_connected = 2;
      Returns:
      The flushAccessLogOnTunnelConnected.