Class FluentdAccessLogConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
io.envoyproxy.envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FluentdAccessLogConfigOrBuilder, Cloneable
Enclosing class:
FluentdAccessLogConfig

public static final class FluentdAccessLogConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder> implements FluentdAccessLogConfigOrBuilder
 Configuration for the *envoy.access_loggers.fluentd* :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`.
 This access log extension will send the emitted access logs over a TCP connection to an upstream that is accepting
 the Fluentd Forward Protocol as described in: `Fluentd Forward Protocol Specification
 <https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1>`_.
 [#extension: envoy.access_loggers.fluentd]
 [#next-free-field: 9]
 
Protobuf type envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • getDefaultInstanceForType

      public FluentdAccessLogConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FluentdAccessLogConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FluentdAccessLogConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • setField

      public FluentdAccessLogConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • clearField

      public FluentdAccessLogConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • clearOneof

      public FluentdAccessLogConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • setRepeatedField

      public FluentdAccessLogConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • addRepeatedField

      public FluentdAccessLogConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • mergeFrom

      public FluentdAccessLogConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FluentdAccessLogConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • mergeFrom

      public FluentdAccessLogConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FluentdAccessLogConfig.Builder>
      Throws:
      IOException
    • getCluster

      public String getCluster()
       The upstream cluster to connect to for streaming the Fluentd messages.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getCluster in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       The upstream cluster to connect to for streaming the Fluentd messages.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getClusterBytes in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The bytes for cluster.
    • setCluster

      public FluentdAccessLogConfig.Builder setCluster(String value)
       The upstream cluster to connect to for streaming the Fluentd messages.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The cluster to set.
      Returns:
      This builder for chaining.
    • clearCluster

      public FluentdAccessLogConfig.Builder clearCluster()
       The upstream cluster to connect to for streaming the Fluentd messages.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setClusterBytes

      public FluentdAccessLogConfig.Builder setClusterBytes(com.google.protobuf.ByteString value)
       The upstream cluster to connect to for streaming the Fluentd messages.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for cluster to set.
      Returns:
      This builder for chaining.
    • getTag

      public String getTag()
       A tag is a string separated with '.' (e.g. log.type) to categorize events.
       See: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes
       
      string tag = 2 [(.validate.rules) = { ... }
      Specified by:
      getTag in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
       A tag is a string separated with '.' (e.g. log.type) to categorize events.
       See: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes
       
      string tag = 2 [(.validate.rules) = { ... }
      Specified by:
      getTagBytes in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The bytes for tag.
    • setTag

      public FluentdAccessLogConfig.Builder setTag(String value)
       A tag is a string separated with '.' (e.g. log.type) to categorize events.
       See: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes
       
      string tag = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The tag to set.
      Returns:
      This builder for chaining.
    • clearTag

      public FluentdAccessLogConfig.Builder clearTag()
       A tag is a string separated with '.' (e.g. log.type) to categorize events.
       See: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes
       
      string tag = 2 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setTagBytes

      public FluentdAccessLogConfig.Builder setTagBytes(com.google.protobuf.ByteString value)
       A tag is a string separated with '.' (e.g. log.type) to categorize events.
       See: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes
       
      string tag = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for tag to set.
      Returns:
      This builder for chaining.
    • getStatPrefix

      public String getStatPrefix()
       The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
       
      string stat_prefix = 3 [(.validate.rules) = { ... }
      Specified by:
      getStatPrefix in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The statPrefix.
    • getStatPrefixBytes

      public com.google.protobuf.ByteString getStatPrefixBytes()
       The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
       
      string stat_prefix = 3 [(.validate.rules) = { ... }
      Specified by:
      getStatPrefixBytes in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The bytes for statPrefix.
    • setStatPrefix

      public FluentdAccessLogConfig.Builder setStatPrefix(String value)
       The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
       
      string stat_prefix = 3 [(.validate.rules) = { ... }
      Parameters:
      value - The statPrefix to set.
      Returns:
      This builder for chaining.
    • clearStatPrefix

      public FluentdAccessLogConfig.Builder clearStatPrefix()
       The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
       
      string stat_prefix = 3 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setStatPrefixBytes

      public FluentdAccessLogConfig.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
       The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
       
      string stat_prefix = 3 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for statPrefix to set.
      Returns:
      This builder for chaining.
    • hasBufferFlushInterval

      public boolean hasBufferFlushInterval()
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
      Specified by:
      hasBufferFlushInterval in interface FluentdAccessLogConfigOrBuilder
      Returns:
      Whether the bufferFlushInterval field is set.
    • getBufferFlushInterval

      public com.google.protobuf.Duration getBufferFlushInterval()
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
      Specified by:
      getBufferFlushInterval in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The bufferFlushInterval.
    • setBufferFlushInterval

      public FluentdAccessLogConfig.Builder setBufferFlushInterval(com.google.protobuf.Duration value)
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
    • setBufferFlushInterval

      public FluentdAccessLogConfig.Builder setBufferFlushInterval(com.google.protobuf.Duration.Builder builderForValue)
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
    • mergeBufferFlushInterval

      public FluentdAccessLogConfig.Builder mergeBufferFlushInterval(com.google.protobuf.Duration value)
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
    • clearBufferFlushInterval

      public FluentdAccessLogConfig.Builder clearBufferFlushInterval()
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
    • getBufferFlushIntervalBuilder

      public com.google.protobuf.Duration.Builder getBufferFlushIntervalBuilder()
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
    • getBufferFlushIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getBufferFlushIntervalOrBuilder()
       Interval for flushing access logs to the TCP stream. Logger will flush requests every time
       this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
       1 second.
       
      .google.protobuf.Duration buffer_flush_interval = 4 [(.validate.rules) = { ... }
      Specified by:
      getBufferFlushIntervalOrBuilder in interface FluentdAccessLogConfigOrBuilder
    • hasBufferSizeBytes

      public boolean hasBufferSizeBytes()
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
      Specified by:
      hasBufferSizeBytes in interface FluentdAccessLogConfigOrBuilder
      Returns:
      Whether the bufferSizeBytes field is set.
    • getBufferSizeBytes

      public com.google.protobuf.UInt32Value getBufferSizeBytes()
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
      Specified by:
      getBufferSizeBytes in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The bufferSizeBytes.
    • setBufferSizeBytes

      public FluentdAccessLogConfig.Builder setBufferSizeBytes(com.google.protobuf.UInt32Value value)
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
    • setBufferSizeBytes

      public FluentdAccessLogConfig.Builder setBufferSizeBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
    • mergeBufferSizeBytes

      public FluentdAccessLogConfig.Builder mergeBufferSizeBytes(com.google.protobuf.UInt32Value value)
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
    • clearBufferSizeBytes

      public FluentdAccessLogConfig.Builder clearBufferSizeBytes()
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
    • getBufferSizeBytesBuilder

      public com.google.protobuf.UInt32Value.Builder getBufferSizeBytesBuilder()
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
    • getBufferSizeBytesOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getBufferSizeBytesOrBuilder()
       Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
       this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
       limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
       disables the batching. Defaults to 16384.
       
      .google.protobuf.UInt32Value buffer_size_bytes = 5;
      Specified by:
      getBufferSizeBytesOrBuilder in interface FluentdAccessLogConfigOrBuilder
    • hasRecord

      public boolean hasRecord()
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
      Specified by:
      hasRecord in interface FluentdAccessLogConfigOrBuilder
      Returns:
      Whether the record field is set.
    • getRecord

      public com.google.protobuf.Struct getRecord()
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
      Specified by:
      getRecord in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The record.
    • setRecord

      public FluentdAccessLogConfig.Builder setRecord(com.google.protobuf.Struct value)
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
    • setRecord

      public FluentdAccessLogConfig.Builder setRecord(com.google.protobuf.Struct.Builder builderForValue)
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
    • mergeRecord

      public FluentdAccessLogConfig.Builder mergeRecord(com.google.protobuf.Struct value)
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
    • clearRecord

      public FluentdAccessLogConfig.Builder clearRecord()
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
    • getRecordBuilder

      public com.google.protobuf.Struct.Builder getRecordBuilder()
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
    • getRecordOrBuilder

      public com.google.protobuf.StructOrBuilder getRecordOrBuilder()
       A struct that represents the record that is sent for each log entry.
       https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry
       Values are rendered as strings, numbers, or boolean values as appropriate.
       Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
       See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details.
      
       .. validated-code-block:: yaml
         :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig
      
         record:
           status: "%RESPONSE_CODE%"
           message: "%LOCAL_REPLY_BODY%"
      
       The following msgpack record would be created:
      
       .. code-block:: json
      
        {
          "status": 500,
          "message": "My error message"
        }
       
      .google.protobuf.Struct record = 6 [(.validate.rules) = { ... }
      Specified by:
      getRecordOrBuilder in interface FluentdAccessLogConfigOrBuilder
    • hasRetryOptions

      public boolean hasRetryOptions()
       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
      Specified by:
      hasRetryOptions in interface FluentdAccessLogConfigOrBuilder
      Returns:
      Whether the retryOptions field is set.
    • getRetryOptions

      public FluentdAccessLogConfig.RetryOptions getRetryOptions()
       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
      Specified by:
      getRetryOptions in interface FluentdAccessLogConfigOrBuilder
      Returns:
      The retryOptions.
    • setRetryOptions

       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
    • setRetryOptions

       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
    • mergeRetryOptions

       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
    • clearRetryOptions

      public FluentdAccessLogConfig.Builder clearRetryOptions()
       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
    • getRetryOptionsBuilder

      public FluentdAccessLogConfig.RetryOptions.Builder getRetryOptionsBuilder()
       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
    • getRetryOptionsOrBuilder

      public FluentdAccessLogConfig.RetryOptionsOrBuilder getRetryOptionsOrBuilder()
       Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied,
       as specified in the :ref:`RetryOptions <envoy_v3_api_msg_extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions>`
       configuration.
       
      .envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions retry_options = 7;
      Specified by:
      getRetryOptionsOrBuilder in interface FluentdAccessLogConfigOrBuilder
    • getFormattersList

      public List<TypedExtensionConfig> getFormattersList()
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
      Specified by:
      getFormattersList in interface FluentdAccessLogConfigOrBuilder
    • getFormattersCount

      public int getFormattersCount()
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
      Specified by:
      getFormattersCount in interface FluentdAccessLogConfigOrBuilder
    • getFormatters

      public TypedExtensionConfig getFormatters(int index)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
      Specified by:
      getFormatters in interface FluentdAccessLogConfigOrBuilder
    • setFormatters

      public FluentdAccessLogConfig.Builder setFormatters(int index, TypedExtensionConfig value)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • setFormatters

      public FluentdAccessLogConfig.Builder setFormatters(int index, TypedExtensionConfig.Builder builderForValue)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • addFormatters

       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • addFormatters

      public FluentdAccessLogConfig.Builder addFormatters(int index, TypedExtensionConfig value)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • addFormatters

      public FluentdAccessLogConfig.Builder addFormatters(TypedExtensionConfig.Builder builderForValue)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • addFormatters

      public FluentdAccessLogConfig.Builder addFormatters(int index, TypedExtensionConfig.Builder builderForValue)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • addAllFormatters

      public FluentdAccessLogConfig.Builder addAllFormatters(Iterable<? extends TypedExtensionConfig> values)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • clearFormatters

      public FluentdAccessLogConfig.Builder clearFormatters()
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • removeFormatters

      public FluentdAccessLogConfig.Builder removeFormatters(int index)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • getFormattersBuilder

      public TypedExtensionConfig.Builder getFormattersBuilder(int index)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • getFormattersOrBuilder

      public TypedExtensionConfigOrBuilder getFormattersOrBuilder(int index)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
      Specified by:
      getFormattersOrBuilder in interface FluentdAccessLogConfigOrBuilder
    • getFormattersOrBuilderList

      public List<? extends TypedExtensionConfigOrBuilder> getFormattersOrBuilderList()
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
      Specified by:
      getFormattersOrBuilderList in interface FluentdAccessLogConfigOrBuilder
    • addFormattersBuilder

      public TypedExtensionConfig.Builder addFormattersBuilder()
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • addFormattersBuilder

      public TypedExtensionConfig.Builder addFormattersBuilder(int index)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • getFormattersBuilderList

      public List<TypedExtensionConfig.Builder> getFormattersBuilderList()
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 8;
    • setUnknownFields

      public final FluentdAccessLogConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
    • mergeUnknownFields

      public final FluentdAccessLogConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>