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 Details

    • getDescriptor

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

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

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

    • isInitialized

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

      public OpenTelemetryAccessLogConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<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:
      hasCommonConfig in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the commonConfig field is set.
    • getCommonConfig

      public CommonGrpcAccessLogConfig 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:
      getCommonConfig in interface OpenTelemetryAccessLogConfigOrBuilder
      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

       [#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

      public OpenTelemetryAccessLogConfig.Builder 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

      public CommonGrpcAccessLogConfig.Builder 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

      public CommonGrpcAccessLogConfigOrBuilder 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:
      getCommonConfigOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      getDisableBuiltinLabels in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The disableBuiltinLabels.
    • setDisableBuiltinLabels

      public OpenTelemetryAccessLogConfig.Builder setDisableBuiltinLabels(boolean value)
       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

      public OpenTelemetryAccessLogConfig.Builder 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:
      hasResourceAttributes in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the resourceAttributes field is set.
    • getResourceAttributes

      public KeyValueList 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:
      getResourceAttributes in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The resourceAttributes.
    • setResourceAttributes

      public OpenTelemetryAccessLogConfig.Builder setResourceAttributes(KeyValueList 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.
       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

      public OpenTelemetryAccessLogConfig.Builder mergeResourceAttributes(KeyValueList 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.
       Example: ``resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }``.
       
      .opentelemetry.proto.common.v1.KeyValueList resource_attributes = 4;
    • clearResourceAttributes

      public OpenTelemetryAccessLogConfig.Builder 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

      public KeyValueList.Builder 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

      public KeyValueListOrBuilder 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:
      getResourceAttributesOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      hasBody in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the body field is set.
    • getBody

      public AnyValue 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:
      getBody in interface OpenTelemetryAccessLogConfigOrBuilder
      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

      public OpenTelemetryAccessLogConfig.Builder 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>`_.
      
       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

      public AnyValue.Builder 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

      public AnyValueOrBuilder 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:
      getBodyOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      hasAttributes in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the attributes field is set.
    • getAttributes

      public KeyValueList 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:
      getAttributes in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The attributes.
    • setAttributes

      public OpenTelemetryAccessLogConfig.Builder setAttributes(KeyValueList value)
       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

      public OpenTelemetryAccessLogConfig.Builder setAttributes(KeyValueList.Builder builderForValue)
       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

      public OpenTelemetryAccessLogConfig.Builder mergeAttributes(KeyValueList value)
       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

      public OpenTelemetryAccessLogConfig.Builder 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

      public KeyValueList.Builder 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

      public KeyValueListOrBuilder 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:
      getAttributesOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • getStatPrefix

      public String 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:
      getStatPrefix in interface OpenTelemetryAccessLogConfigOrBuilder
      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:
      getStatPrefixBytes in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The bytes for statPrefix.
    • setStatPrefix

      public OpenTelemetryAccessLogConfig.Builder setStatPrefix(String 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 statPrefix to set.
      Returns:
      This builder for chaining.
    • clearStatPrefix

      public OpenTelemetryAccessLogConfig.Builder 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

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

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

      public OpenTelemetryAccessLogConfig.Builder setFormatters(int index, TypedExtensionConfig value)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 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

      public OpenTelemetryAccessLogConfig.Builder addFormatters(int index, TypedExtensionConfig value)
       Specifies a collection of Formatter plugins that can be called from the access log configuration.
       See the formatters extensions documentation for details.
       [#extension-category: envoy.formatter]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig formatters = 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(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

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

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

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

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

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

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

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

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

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

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