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 Summary
Modifier and TypeMethodDescriptionaddAllFormatters(Iterable<? extends TypedExtensionConfig> values) Specifies a collection of Formatter plugins that can be called from the access log configuration.addFormatters(int index, TypedExtensionConfig value) Specifies a collection of Formatter plugins that can be called from the access log configuration.addFormatters(int index, TypedExtensionConfig.Builder builderForValue) Specifies a collection of Formatter plugins that can be called from the access log configuration.Specifies a collection of Formatter plugins that can be called from the access log configuration.addFormatters(TypedExtensionConfig.Builder builderForValue) Specifies a collection of Formatter plugins that can be called from the access log configuration.Specifies a collection of Formatter plugins that can be called from the access log configuration.addFormattersBuilder(int index) Specifies a collection of Formatter plugins that can be called from the access log configuration.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Interval for flushing access logs to the TCP stream.Soft size limit in bytes for access log entries buffer.The upstream cluster to connect to for streaming the Fluentd messages.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies a collection of Formatter plugins that can be called from the access log configuration.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A struct that represents the record that is sent for each log entry.Optional retry, in case upstream connection has failed.The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.clearTag()A tag is a string separated with '.'clone()com.google.protobuf.DurationInterval for flushing access logs to the TCP stream.com.google.protobuf.Duration.BuilderInterval for flushing access logs to the TCP stream.com.google.protobuf.DurationOrBuilderInterval for flushing access logs to the TCP stream.com.google.protobuf.UInt32ValueSoft size limit in bytes for access log entries buffer.com.google.protobuf.UInt32Value.BuilderSoft size limit in bytes for access log entries buffer.com.google.protobuf.UInt32ValueOrBuilderSoft size limit in bytes for access log entries buffer.The upstream cluster to connect to for streaming the Fluentd messages.com.google.protobuf.ByteStringThe upstream cluster to connect to for streaming the Fluentd messages.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFormatters(int index) Specifies a collection of Formatter plugins that can be called from the access log configuration.getFormattersBuilder(int index) Specifies a collection of Formatter plugins that can be called from the access log configuration.Specifies a collection of Formatter plugins that can be called from the access log configuration.intSpecifies a collection of Formatter plugins that can be called from the access log configuration.Specifies a collection of Formatter plugins that can be called from the access log configuration.getFormattersOrBuilder(int index) Specifies a collection of Formatter plugins that can be called from the access log configuration.List<? extends TypedExtensionConfigOrBuilder>Specifies a collection of Formatter plugins that can be called from the access log configuration.com.google.protobuf.StructA struct that represents the record that is sent for each log entry.com.google.protobuf.Struct.BuilderA struct that represents the record that is sent for each log entry.com.google.protobuf.StructOrBuilderA struct that represents the record that is sent for each log entry.Optional retry, in case upstream connection has failed.Optional retry, in case upstream connection has failed.Optional retry, in case upstream connection has failed.The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.com.google.protobuf.ByteStringThe prefix to use when emitting :ref:`statistics <config_access_log_stats>`.getTag()A tag is a string separated with '.'com.google.protobuf.ByteStringA tag is a string separated with '.'booleanInterval for flushing access logs to the TCP stream.booleanSoft size limit in bytes for access log entries buffer.booleanA struct that represents the record that is sent for each log entry.booleanOptional retry, in case upstream connection has failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeBufferFlushInterval(com.google.protobuf.Duration value) Interval for flushing access logs to the TCP stream.mergeBufferSizeBytes(com.google.protobuf.UInt32Value value) Soft size limit in bytes for access log entries buffer.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FluentdAccessLogConfig other) mergeRecord(com.google.protobuf.Struct value) A struct that represents the record that is sent for each log entry.Optional retry, in case upstream connection has failed.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeFormatters(int index) Specifies a collection of Formatter plugins that can be called from the access log configuration.setBufferFlushInterval(com.google.protobuf.Duration value) Interval for flushing access logs to the TCP stream.setBufferFlushInterval(com.google.protobuf.Duration.Builder builderForValue) Interval for flushing access logs to the TCP stream.setBufferSizeBytes(com.google.protobuf.UInt32Value value) Soft size limit in bytes for access log entries buffer.setBufferSizeBytes(com.google.protobuf.UInt32Value.Builder builderForValue) Soft size limit in bytes for access log entries buffer.setCluster(String value) The upstream cluster to connect to for streaming the Fluentd messages.setClusterBytes(com.google.protobuf.ByteString value) The upstream cluster to connect to for streaming the Fluentd messages.setFormatters(int index, TypedExtensionConfig value) Specifies a collection of Formatter plugins that can be called from the access log configuration.setFormatters(int index, TypedExtensionConfig.Builder builderForValue) Specifies a collection of Formatter plugins that can be called from the access log configuration.setRecord(com.google.protobuf.Struct value) A struct that represents the record that is sent for each log entry.setRecord(com.google.protobuf.Struct.Builder builderForValue) A struct that represents the record that is sent for each log entry.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional retry, in case upstream connection has failed.setRetryOptions(FluentdAccessLogConfig.RetryOptions.Builder builderForValue) Optional retry, in case upstream connection has failed.setStatPrefix(String value) The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.setStatPrefixBytes(com.google.protobuf.ByteString value) The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.A tag is a string separated with '.'setTagBytes(com.google.protobuf.ByteString value) A tag is a string separated with '.'setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
setField
public FluentdAccessLogConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
clearField
public FluentdAccessLogConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
clearOneof
public FluentdAccessLogConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
setRepeatedField
public FluentdAccessLogConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
addRepeatedField
public FluentdAccessLogConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FluentdAccessLogConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FluentdAccessLogConfig.Builder>- Throws:
IOException
-
getCluster
The upstream cluster to connect to for streaming the Fluentd messages.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
getClusterin interfaceFluentdAccessLogConfigOrBuilder- 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:
getClusterBytesin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
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
The upstream cluster to connect to for streaming the Fluentd messages.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setClusterBytes
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
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:
getTagin interfaceFluentdAccessLogConfigOrBuilder- 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:
getTagBytesin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- The bytes for tag.
-
setTag
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
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
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
The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
string stat_prefix = 3 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceFluentdAccessLogConfigOrBuilder- 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:
getStatPrefixBytesin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
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
The prefix to use when emitting :ref:`statistics <config_access_log_stats>`.
string stat_prefix = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setStatPrefixBytes
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:
hasBufferFlushIntervalin interfaceFluentdAccessLogConfigOrBuilder- 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:
getBufferFlushIntervalin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- The bufferFlushInterval.
-
setBufferFlushInterval
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
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
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:
getBufferFlushIntervalOrBuilderin interfaceFluentdAccessLogConfigOrBuilder
-
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:
hasBufferSizeBytesin interfaceFluentdAccessLogConfigOrBuilder- 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:
getBufferSizeBytesin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- The bufferSizeBytes.
-
setBufferSizeBytes
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
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
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:
getBufferSizeBytesOrBuilderin interfaceFluentdAccessLogConfigOrBuilder
-
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:
hasRecordin interfaceFluentdAccessLogConfigOrBuilder- 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:
getRecordin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- The record.
-
setRecord
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
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
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
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:
getRecordOrBuilderin interfaceFluentdAccessLogConfigOrBuilder
-
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:
hasRetryOptionsin interfaceFluentdAccessLogConfigOrBuilder- Returns:
- Whether the retryOptions field is set.
-
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:
getRetryOptionsin interfaceFluentdAccessLogConfigOrBuilder- 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
public FluentdAccessLogConfig.Builder setRetryOptions(FluentdAccessLogConfig.RetryOptions.Builder builderForValue) 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
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
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
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:
getRetryOptionsOrBuilderin interfaceFluentdAccessLogConfigOrBuilder
-
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:
getFormattersListin interfaceFluentdAccessLogConfigOrBuilder
-
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:
getFormattersCountin interfaceFluentdAccessLogConfigOrBuilder
-
getFormatters
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:
getFormattersin interfaceFluentdAccessLogConfigOrBuilder
-
setFormatters
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
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.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
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
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
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
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:
getFormattersOrBuilderin interfaceFluentdAccessLogConfigOrBuilder
-
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:
getFormattersOrBuilderListin interfaceFluentdAccessLogConfigOrBuilder
-
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-
mergeUnknownFields
public final FluentdAccessLogConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.Builder>
-