Interface Router.UpstreamAccessLogOptionsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getFlushUpstreamLogOnUpstreamStream()
      If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request.
      com.google.protobuf.Duration getUpstreamLogFlushInterval()
      The interval to flush the upstream access logs.
      com.google.protobuf.DurationOrBuilder getUpstreamLogFlushIntervalOrBuilder()
      The interval to flush the upstream access logs.
      boolean hasUpstreamLogFlushInterval()
      The interval to flush the upstream 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 Detail

      • getFlushUpstreamLogOnUpstreamStream

        boolean getFlushUpstreamLogOnUpstreamStream()
         If set to true, an upstream access log will be recorded when an upstream stream is
         associated to an http request. Note: Each HTTP request received for an already established
         connection will result in an upstream access log record. This includes, for example,
         consecutive HTTP requests over the same connection or a request that is retried.
         In case a retry is applied, an upstream access log will be recorded for each retry.
         
        bool flush_upstream_log_on_upstream_stream = 1;
        Returns:
        The flushUpstreamLogOnUpstreamStream.
      • hasUpstreamLogFlushInterval

        boolean hasUpstreamLogFlushInterval()
         The interval to flush the upstream access logs. By default, the router will flush an upstream
         access log on stream close, when the HTTP request is complete. If this field is set, the router
         will flush access logs periodically at the specified interval. This is especially useful in the
         case of long-lived requests, such as CONNECT and Websockets.
         The interval must be at least 1 millisecond.
         
        .google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the upstreamLogFlushInterval field is set.
      • getUpstreamLogFlushInterval

        com.google.protobuf.Duration getUpstreamLogFlushInterval()
         The interval to flush the upstream access logs. By default, the router will flush an upstream
         access log on stream close, when the HTTP request is complete. If this field is set, the router
         will flush access logs periodically at the specified interval. This is especially useful in the
         case of long-lived requests, such as CONNECT and Websockets.
         The interval must be at least 1 millisecond.
         
        .google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
        Returns:
        The upstreamLogFlushInterval.
      • getUpstreamLogFlushIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getUpstreamLogFlushIntervalOrBuilder()
         The interval to flush the upstream access logs. By default, the router will flush an upstream
         access log on stream close, when the HTTP request is complete. If this field is set, the router
         will flush access logs periodically at the specified interval. This is especially useful in the
         case of long-lived requests, such as CONNECT and Websockets.
         The interval must be at least 1 millisecond.
         
        .google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }