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: 8]Protobuf type
envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig-
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()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>`_.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]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) Specifies a collection of Formatter plugins that can be called from the access log configuration.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>`_.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.][#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.][#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]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``.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.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>`_.boolean[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]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>`_.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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) 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>`_.[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]setCommonConfig(CommonGrpcAccessLogConfig.Builder builderForValue) [#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]setDisableBuiltinLabels(boolean value) If specified, Envoy will not generate built-in resource labels like ``log_name``, ``zone_name``, ``cluster_name``, ``node_name``.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.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
public boolean hasCommonConfig()[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... }- Specified by:
hasCommonConfigin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- Whether the commonConfig field is set.
-
getCommonConfig
[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... }- Specified by:
getCommonConfigin interfaceOpenTelemetryAccessLogConfigOrBuilder- Returns:
- The commonConfig.
-
setCommonConfig
[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } -
setCommonConfig
public OpenTelemetryAccessLogConfig.Builder setCommonConfig(CommonGrpcAccessLogConfig.Builder builderForValue) [#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } -
mergeCommonConfig
[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } -
clearCommonConfig
[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } -
getCommonConfigBuilder
[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } -
getCommonConfigOrBuilder
[#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.]
.envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... }- Specified by:
getCommonConfigOrBuilderin 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; -
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>
-