Class OpenTelemetryAccessLogConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
io.envoyproxy.envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OpenTelemetryAccessLogConfigOrBuilder,Cloneable
- Enclosing class:
- OpenTelemetryAccessLogConfig
public static final class OpenTelemetryAccessLogConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
implements OpenTelemetryAccessLogConfigOrBuilder
Configuration for the built-in ``envoy.access_loggers.open_telemetry`` :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`. This configuration will populate `opentelemetry.proto.collector.v1.logs.ExportLogsServiceRequest.resource_logs <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/collector/logs/v1/logs_service.proto>`_. In addition, the request start time is set in the dedicated field. [#extension: envoy.access_loggers.open_telemetry] [#next-free-field: 15]Protobuf type
envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomTags(Iterable<? extends CustomTag> values) Custom tags to include as log attributes.addAllFilterStateObjectsToLog(Iterable<String> values) Additional filter state objects to log as attributes.addAllFormatters(Iterable<? extends TypedExtensionConfig> values) Specifies a collection of Formatter plugins that can be called from the access log configuration.addCustomTags(int index, CustomTag value) Custom tags to include as log attributes.addCustomTags(int index, CustomTag.Builder builderForValue) Custom tags to include as log attributes.addCustomTags(CustomTag value) Custom tags to include as log attributes.addCustomTags(CustomTag.Builder builderForValue) Custom tags to include as log attributes.Custom tags to include as log attributes.addCustomTagsBuilder(int index) Custom tags to include as log attributes.addFilterStateObjectsToLog(String value) Additional filter state objects to log as attributes.addFilterStateObjectsToLogBytes(com.google.protobuf.ByteString value) Additional filter state objects to log as attributes.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()See 'attributes' in the LogResource proto for more details.OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.The interval for flushing access logs to the transport.Soft size limit in bytes for the access log buffer.Deprecated.Custom tags to include as log attributes.If specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Additional filter state objects to log as attributes.Specifies a collection of Formatter plugins that can be called from the access log configuration.The upstream gRPC cluster that will receive OTLP logs.The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.string log_name = 10;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.Optional.clone()See 'attributes' in the LogResource proto for more details.See 'attributes' in the LogResource proto for more details.See 'attributes' in the LogResource proto for more details.getBody()OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.com.google.protobuf.DurationThe interval for flushing access logs to the transport.com.google.protobuf.Duration.BuilderThe interval for flushing access logs to the transport.com.google.protobuf.DurationOrBuilderThe interval for flushing access logs to the transport.com.google.protobuf.UInt32ValueSoft size limit in bytes for the access log buffer.com.google.protobuf.UInt32Value.BuilderSoft size limit in bytes for the access log buffer.com.google.protobuf.UInt32ValueOrBuilderSoft size limit in bytes for the access log buffer.Deprecated.envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.common_config is deprecated.Deprecated.Deprecated.getCustomTags(int index) Custom tags to include as log attributes.getCustomTagsBuilder(int index) Custom tags to include as log attributes.Custom tags to include as log attributes.intCustom tags to include as log attributes.Custom tags to include as log attributes.getCustomTagsOrBuilder(int index) Custom tags to include as log attributes.List<? extends CustomTagOrBuilder>Custom tags to include as log attributes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.getFilterStateObjectsToLog(int index) Additional filter state objects to log as attributes.com.google.protobuf.ByteStringgetFilterStateObjectsToLogBytes(int index) Additional filter state objects to log as attributes.intAdditional filter state objects to log as attributes.com.google.protobuf.ProtocolStringListAdditional filter state objects to log as attributes.getFormatters(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.The upstream gRPC cluster that will receive OTLP logs.The upstream gRPC cluster that will receive OTLP logs.The upstream gRPC cluster that will receive OTLP logs.The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.string log_name = 10;com.google.protobuf.ByteStringstring log_name = 10;OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.Optional.com.google.protobuf.ByteStringOptional.booleanSee 'attributes' in the LogResource proto for more details.booleanhasBody()OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.booleanThe interval for flushing access logs to the transport.booleanSoft size limit in bytes for the access log buffer.booleanDeprecated.envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.common_config is deprecated.booleanThe upstream gRPC cluster that will receive OTLP logs.booleanThe upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.booleanOpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAttributes(KeyValueList value) See 'attributes' in the LogResource proto for more details.OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.mergeBufferFlushInterval(com.google.protobuf.Duration value) The interval for flushing access logs to the transport.mergeBufferSizeBytes(com.google.protobuf.UInt32Value value) Soft size limit in bytes for the access log buffer.Deprecated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGrpcService(GrpcService value) The upstream gRPC cluster that will receive OTLP logs.mergeHttpService(HttpService value) The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCustomTags(int index) Custom tags to include as log attributes.removeFormatters(int index) Specifies a collection of Formatter plugins that can be called from the access log configuration.setAttributes(KeyValueList value) See 'attributes' in the LogResource proto for more details.setAttributes(KeyValueList.Builder builderForValue) See 'attributes' in the LogResource proto for more details.OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.setBody(AnyValue.Builder builderForValue) OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_.setBufferFlushInterval(com.google.protobuf.Duration value) The interval for flushing access logs to the transport.setBufferFlushInterval(com.google.protobuf.Duration.Builder builderForValue) The interval for flushing access logs to the transport.setBufferSizeBytes(com.google.protobuf.UInt32Value value) Soft size limit in bytes for the access log buffer.setBufferSizeBytes(com.google.protobuf.UInt32Value.Builder builderForValue) Soft size limit in bytes for the access log buffer.Deprecated.setCommonConfig(CommonGrpcAccessLogConfig.Builder builderForValue) Deprecated.setCustomTags(int index, CustomTag value) Custom tags to include as log attributes.setCustomTags(int index, CustomTag.Builder builderForValue) Custom tags to include as log attributes.setDisableBuiltinLabels(boolean value) If specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.setFilterStateObjectsToLog(int index, String value) Additional filter state objects to log as attributes.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.setGrpcService(GrpcService value) The upstream gRPC cluster that will receive OTLP logs.setGrpcService(GrpcService.Builder builderForValue) The upstream gRPC cluster that will receive OTLP logs.setHttpService(HttpService value) The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.setHttpService(HttpService.Builder builderForValue) The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_.setLogName(String value) string log_name = 10;setLogNameBytes(com.google.protobuf.ByteString value) string log_name = 10;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.setResourceAttributes(KeyValueList.Builder builderForValue) OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info.setStatPrefix(String value) Optional.setStatPrefixBytes(com.google.protobuf.ByteString value) Optional.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<OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.Builder>
-
setField
public OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.Builder>
-
clearField
public OpenTelemetryAccessLogConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
-
clearOneof
public OpenTelemetryAccessLogConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
-
setRepeatedField
public OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.Builder>
-
addRepeatedField
public OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryAccessLogConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
-
mergeFrom
public OpenTelemetryAccessLogConfig.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<OpenTelemetryAccessLogConfig.Builder>- Throws:
IOException
-
hasCommonConfig
Deprecated.envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.common_config is deprecated. See envoy/extensions/access_loggers/open_telemetry/v3/logs_service.proto;l=35[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasCommonConfigin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the commonConfig field is set.
-
getCommonConfig
Deprecated.envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.common_config is deprecated. See envoy/extensions/access_loggers/open_telemetry/v3/logs_service.proto;l=35[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getCommonConfigin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The commonConfig.
-
setCommonConfig
@Deprecated public OpenTelemetryAccessLogConfig.Builder setCommonConfig(CommonGrpcAccessLogConfig value) Deprecated.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
setCommonConfig
@Deprecated public OpenTelemetryAccessLogConfig.Builder setCommonConfig(CommonGrpcAccessLogConfig.Builder builderForValue) Deprecated.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
mergeCommonConfig
@Deprecated public OpenTelemetryAccessLogConfig.Builder mergeCommonConfig(CommonGrpcAccessLogConfig value) Deprecated.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
clearCommonConfig
Deprecated.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getCommonConfigBuilder
Deprecated.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getCommonConfigOrBuilder
Deprecated.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] Deprecated. Use ``grpc_service`` or ``http_service`` instead.
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getCommonConfigOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
hasHttpService
public boolean hasHttpService()The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8;- Specified by:
hasHttpServicein interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the httpService field is set.
-
getHttpService
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8;- Specified by:
getHttpServicein interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The httpService.
-
setHttpService
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8; -
setHttpService
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8; -
mergeHttpService
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8; -
clearHttpService
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8; -
getHttpServiceBuilder
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8; -
getHttpServiceOrBuilder
The upstream HTTP cluster that will receive OTLP logs via `OTLP/HTTP <https://opentelemetry.io/docs/specs/otlp/#otlphttp>`_. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. .. note:: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 8;- Specified by:
getHttpServiceOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
hasGrpcService
public boolean hasGrpcService()The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9;- Specified by:
hasGrpcServicein interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the grpcService field is set.
-
getGrpcService
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9;- Specified by:
getGrpcServicein interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The grpcService.
-
setGrpcService
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9; -
setGrpcService
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9; -
mergeGrpcService
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9; -
clearGrpcService
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9; -
getGrpcServiceBuilder
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9; -
getGrpcServiceOrBuilder
The upstream gRPC cluster that will receive OTLP logs. Note: Only one of ``common_config``, ``grpc_service``, or ``http_service`` may be used. This field is preferred over ``common_config.grpc_service``.
.envoy.config.core.v3.GrpcService grpc_service = 9;- Specified by:
getGrpcServiceOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
getDisableBuiltinLabels
public boolean getDisableBuiltinLabels()If specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.
bool disable_builtin_labels = 5;- Specified by:
getDisableBuiltinLabelsin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The disableBuiltinLabels.
-
setDisableBuiltinLabels
If specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.
bool disable_builtin_labels = 5;- Parameters:
value- The disableBuiltinLabels to set.- Returns:
- This builder for chaining.
-
clearDisableBuiltinLabels
If specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.
bool disable_builtin_labels = 5;- Returns:
- This builder for chaining.
-
hasResourceAttributes
public boolean hasResourceAttributes()OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4;- Specified by:
hasResourceAttributesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the resourceAttributes field is set.
-
getResourceAttributes
OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4;- Specified by:
getResourceAttributesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The resourceAttributes.
-
setResourceAttributes
OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4; -
setResourceAttributes
public OpenTelemetryAccessLogConfig.Builder setResourceAttributes(KeyValueList.Builder builderForValue) OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4; -
mergeResourceAttributes
OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4; -
clearResourceAttributes
OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4; -
getResourceAttributesBuilder
OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4; -
getResourceAttributesOrBuilder
OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ attributes are filled with Envoy node info. Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``..opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4;- Specified by:
getResourceAttributesOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
hasBody
public boolean hasBody()OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2;- Specified by:
hasBodyin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the body field is set.
-
getBody
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2;- Specified by:
getBodyin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The body.
-
setBody
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2; -
setBody
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2; -
mergeBody
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2; -
clearBody
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2; -
getBodyBuilder
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2; -
getBodyOrBuilder
OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. See 'body' in the LogResource proto for more details. Example: ``body { string_value: "%PROTOCOL%" }``..opentelemetry.proto.common.v1.AnyValue body = 2;- Specified by:
getBodyOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
hasAttributes
public boolean hasAttributes()See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3;- Specified by:
hasAttributesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3;- Specified by:
getAttributesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The attributes.
-
setAttributes
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3; -
setAttributes
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3; -
mergeAttributes
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3; -
clearAttributes
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3; -
getAttributesBuilder
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3; -
getAttributesOrBuilder
See 'attributes' in the LogResource proto for more details. Example: ``attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }``..opentelemetry.proto.common.v1.KeyValueList attributes = 3;- Specified by:
getAttributesOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
getStatPrefix
Optional. Additional prefix to use on OpenTelemetry access logger stats. If empty, the stats will be rooted at ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at ``access_logs.open_telemetry_access_log.<stat_prefix>.``.
string stat_prefix = 6;- Specified by:
getStatPrefixin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()Optional. Additional prefix to use on OpenTelemetry access logger stats. If empty, the stats will be rooted at ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at ``access_logs.open_telemetry_access_log.<stat_prefix>.``.
string stat_prefix = 6;- Specified by:
getStatPrefixBytesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
Optional. Additional prefix to use on OpenTelemetry access logger stats. If empty, the stats will be rooted at ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at ``access_logs.open_telemetry_access_log.<stat_prefix>.``.
string stat_prefix = 6;- Parameters:
value- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
Optional. Additional prefix to use on OpenTelemetry access logger stats. If empty, the stats will be rooted at ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at ``access_logs.open_telemetry_access_log.<stat_prefix>.``.
string stat_prefix = 6;- Returns:
- This builder for chaining.
-
setStatPrefixBytes
public OpenTelemetryAccessLogConfig.Builder setStatPrefixBytes(com.google.protobuf.ByteString value) Optional. Additional prefix to use on OpenTelemetry access logger stats. If empty, the stats will be rooted at ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at ``access_logs.open_telemetry_access_log.<stat_prefix>.``.
string stat_prefix = 6;- Parameters:
value- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
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 = 7;- Specified by:
getFormattersListin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
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 = 7;- Specified by:
getFormattersCountin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
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 = 7;- Specified by:
getFormattersin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
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 = 7; -
setFormatters
public OpenTelemetryAccessLogConfig.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 = 7; -
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 = 7; -
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 = 7; -
addFormatters
public OpenTelemetryAccessLogConfig.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 = 7; -
addFormatters
public OpenTelemetryAccessLogConfig.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 = 7; -
addAllFormatters
public OpenTelemetryAccessLogConfig.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 = 7; -
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 = 7; -
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 = 7; -
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 = 7; -
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 = 7;- Specified by:
getFormattersOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
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 = 7;- Specified by:
getFormattersOrBuilderListin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
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 = 7; -
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 = 7; -
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 = 7; -
getLogName
string log_name = 10;- Specified by:
getLogNamein interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The logName.
-
getLogNameBytes
public com.google.protobuf.ByteString getLogNameBytes()string log_name = 10;- Specified by:
getLogNameBytesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The bytes for logName.
-
setLogName
string log_name = 10;- Parameters:
value- The logName to set.- Returns:
- This builder for chaining.
-
clearLogName
string log_name = 10;- Returns:
- This builder for chaining.
-
setLogNameBytes
string log_name = 10;- Parameters:
value- The bytes for logName to set.- Returns:
- This builder for chaining.
-
hasBufferFlushInterval
public boolean hasBufferFlushInterval()The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11;- Specified by:
hasBufferFlushIntervalin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the bufferFlushInterval field is set.
-
getBufferFlushInterval
public com.google.protobuf.Duration getBufferFlushInterval()The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11;- Specified by:
getBufferFlushIntervalin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The bufferFlushInterval.
-
setBufferFlushInterval
public OpenTelemetryAccessLogConfig.Builder setBufferFlushInterval(com.google.protobuf.Duration value) The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11; -
setBufferFlushInterval
public OpenTelemetryAccessLogConfig.Builder setBufferFlushInterval(com.google.protobuf.Duration.Builder builderForValue) The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11; -
mergeBufferFlushInterval
public OpenTelemetryAccessLogConfig.Builder mergeBufferFlushInterval(com.google.protobuf.Duration value) The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11; -
clearBufferFlushInterval
The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11; -
getBufferFlushIntervalBuilder
public com.google.protobuf.Duration.Builder getBufferFlushIntervalBuilder()The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11; -
getBufferFlushIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getBufferFlushIntervalOrBuilder()The interval for flushing access logs to the transport. Default: 1 second.
.google.protobuf.Duration buffer_flush_interval = 11;- Specified by:
getBufferFlushIntervalOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
hasBufferSizeBytes
public boolean hasBufferSizeBytes()Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12;- Specified by:
hasBufferSizeBytesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the bufferSizeBytes field is set.
-
getBufferSizeBytes
public com.google.protobuf.UInt32Value getBufferSizeBytes()Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12;- Specified by:
getBufferSizeBytesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The bufferSizeBytes.
-
setBufferSizeBytes
public OpenTelemetryAccessLogConfig.Builder setBufferSizeBytes(com.google.protobuf.UInt32Value value) Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12; -
setBufferSizeBytes
public OpenTelemetryAccessLogConfig.Builder setBufferSizeBytes(com.google.protobuf.UInt32Value.Builder builderForValue) Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12; -
mergeBufferSizeBytes
public OpenTelemetryAccessLogConfig.Builder mergeBufferSizeBytes(com.google.protobuf.UInt32Value value) Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12; -
clearBufferSizeBytes
Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12; -
getBufferSizeBytesBuilder
public com.google.protobuf.UInt32Value.Builder getBufferSizeBytesBuilder()Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12; -
getBufferSizeBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getBufferSizeBytesOrBuilder()Soft size limit in bytes for the access log buffer. When the buffer exceeds this limit, logs will be flushed. Default: 16KB.
.google.protobuf.UInt32Value buffer_size_bytes = 12;- Specified by:
getBufferSizeBytesOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
getFilterStateObjectsToLogList
public com.google.protobuf.ProtocolStringList getFilterStateObjectsToLogList()Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Specified by:
getFilterStateObjectsToLogListin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- A list containing the filterStateObjectsToLog.
-
getFilterStateObjectsToLogCount
public int getFilterStateObjectsToLogCount()Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Specified by:
getFilterStateObjectsToLogCountin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The count of filterStateObjectsToLog.
-
getFilterStateObjectsToLog
Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Specified by:
getFilterStateObjectsToLogin interfaceOpenTelemetryAccessLogConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The filterStateObjectsToLog at the given index.
-
getFilterStateObjectsToLogBytes
public com.google.protobuf.ByteString getFilterStateObjectsToLogBytes(int index) Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Specified by:
getFilterStateObjectsToLogBytesin interfaceOpenTelemetryAccessLogConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filterStateObjectsToLog at the given index.
-
setFilterStateObjectsToLog
Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Parameters:
index- The index to set the value at.value- The filterStateObjectsToLog to set.- Returns:
- This builder for chaining.
-
addFilterStateObjectsToLog
Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Parameters:
value- The filterStateObjectsToLog to add.- Returns:
- This builder for chaining.
-
addAllFilterStateObjectsToLog
Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Parameters:
values- The filterStateObjectsToLog to add.- Returns:
- This builder for chaining.
-
clearFilterStateObjectsToLog
Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Returns:
- This builder for chaining.
-
addFilterStateObjectsToLogBytes
public OpenTelemetryAccessLogConfig.Builder addFilterStateObjectsToLogBytes(com.google.protobuf.ByteString value) Additional filter state objects to log as attributes.
repeated string filter_state_objects_to_log = 13;- Parameters:
value- The bytes of the filterStateObjectsToLog to add.- Returns:
- This builder for chaining.
-
getCustomTagsList
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;- Specified by:
getCustomTagsListin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
getCustomTagsCount
public int getCustomTagsCount()Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;- Specified by:
getCustomTagsCountin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
getCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;- Specified by:
getCustomTagsin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
setCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
setCustomTags
public OpenTelemetryAccessLogConfig.Builder setCustomTags(int index, CustomTag.Builder builderForValue) Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
addCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
addCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
addCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
addCustomTags
public OpenTelemetryAccessLogConfig.Builder addCustomTags(int index, CustomTag.Builder builderForValue) Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
addAllCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
clearCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
removeCustomTags
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
getCustomTagsBuilder
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
getCustomTagsOrBuilder
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;- Specified by:
getCustomTagsOrBuilderin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
getCustomTagsOrBuilderList
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;- Specified by:
getCustomTagsOrBuilderListin interfaceOpenTelemetryAccessLogConfigOrBuilder
-
addCustomTagsBuilder
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
addCustomTagsBuilder
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
getCustomTagsBuilderList
Custom tags to include as log attributes.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14; -
setUnknownFields
public final OpenTelemetryAccessLogConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
-
mergeUnknownFields
public final OpenTelemetryAccessLogConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryAccessLogConfig.Builder>
-