Interface FluentdConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FluentdConfig,FluentdConfig.Builder
public interface FluentdConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationInterval for flushing traces to the TCP stream.com.google.protobuf.DurationOrBuilderInterval for flushing traces to the TCP stream.com.google.protobuf.UInt32ValueSoft 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.Optional retry, in case upstream connection has failed.Optional retry, in case upstream connection has failed.The prefix to use when emitting tracer stats.com.google.protobuf.ByteStringThe prefix to use when emitting tracer stats.getTag()A tag is a string separated with ``.`` (e.g.com.google.protobuf.ByteStringA tag is a string separated with ``.`` (e.g.booleanInterval for flushing traces to the TCP stream.booleanSoft size limit in bytes for access log entries buffer.booleanOptional retry, in case upstream connection has failed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCluster
String getCluster()The upstream cluster to connect to for streaming the Fluentd messages.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()The upstream cluster to connect to for streaming the Fluentd messages.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for cluster.
-
getTag
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) = { ... }- Returns:
- The tag.
-
getTagBytes
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) = { ... }- Returns:
- The bytes for tag.
-
getStatPrefix
String getStatPrefix()The prefix to use when emitting tracer stats.
string stat_prefix = 3 [(.validate.rules) = { ... }- Returns:
- The statPrefix.
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()The prefix to use when emitting tracer stats.
string stat_prefix = 3 [(.validate.rules) = { ... }- Returns:
- The bytes for statPrefix.
-
hasBufferFlushInterval
boolean hasBufferFlushInterval()Interval for flushing traces to the TCP stream. Tracer 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) = { ... }- Returns:
- Whether the bufferFlushInterval field is set.
-
getBufferFlushInterval
com.google.protobuf.Duration getBufferFlushInterval()Interval for flushing traces to the TCP stream. Tracer 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) = { ... }- Returns:
- The bufferFlushInterval.
-
getBufferFlushIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getBufferFlushIntervalOrBuilder()Interval for flushing traces to the TCP stream. Tracer 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) = { ... } -
hasBufferSizeBytes
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;- Returns:
- Whether the bufferSizeBytes field is set.
-
getBufferSizeBytes
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;- Returns:
- The bufferSizeBytes.
-
getBufferSizeBytesOrBuilder
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; -
hasRetryPolicy
boolean hasRetryPolicy()Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied.
.envoy.config.core.v3.RetryPolicy retry_policy = 6;- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
RetryPolicy getRetryPolicy()Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied.
.envoy.config.core.v3.RetryPolicy retry_policy = 6;- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
RetryPolicyOrBuilder getRetryPolicyOrBuilder()Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied.
.envoy.config.core.v3.RetryPolicy retry_policy = 6;
-