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

      @Deprecated public boolean 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:
      hasCommonConfig in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the commonConfig field is set.
    • getCommonConfig

      @Deprecated public CommonGrpcAccessLogConfig 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:
      getCommonConfig in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The commonConfig.
    • setCommonConfig

      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.
       [#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.
       [#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 public CommonGrpcAccessLogConfig.Builder 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 public CommonGrpcAccessLogConfigOrBuilder 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:
      getCommonConfigOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      hasHttpService in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the httpService field is set.
    • getHttpService

      public HttpService 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:
      getHttpService in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The httpService.
    • setHttpService

      public OpenTelemetryAccessLogConfig.Builder setHttpService(HttpService value)
       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

      public OpenTelemetryAccessLogConfig.Builder setHttpService(HttpService.Builder builderForValue)
       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

      public OpenTelemetryAccessLogConfig.Builder mergeHttpService(HttpService value)
       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

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

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

      public HttpServiceOrBuilder 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:
      getHttpServiceOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      hasGrpcService in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      Whether the grpcService field is set.
    • getGrpcService

      public GrpcService 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:
      getGrpcService in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The grpcService.
    • setGrpcService

      public OpenTelemetryAccessLogConfig.Builder setGrpcService(GrpcService value)
       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

      public OpenTelemetryAccessLogConfig.Builder setGrpcService(GrpcService.Builder builderForValue)
       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

      public OpenTelemetryAccessLogConfig.Builder mergeGrpcService(GrpcService value)
       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

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

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

      public GrpcServiceOrBuilder 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:
      getGrpcServiceOrBuilder 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;
    • getLogName

      public String getLogName()
      string log_name = 10;
      Specified by:
      getLogName in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The logName.
    • getLogNameBytes

      public com.google.protobuf.ByteString getLogNameBytes()
      string log_name = 10;
      Specified by:
      getLogNameBytes in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The bytes for logName.
    • setLogName

      public OpenTelemetryAccessLogConfig.Builder setLogName(String value)
      string log_name = 10;
      Parameters:
      value - The logName to set.
      Returns:
      This builder for chaining.
    • clearLogName

      public OpenTelemetryAccessLogConfig.Builder clearLogName()
      string log_name = 10;
      Returns:
      This builder for chaining.
    • setLogNameBytes

      public OpenTelemetryAccessLogConfig.Builder setLogNameBytes(com.google.protobuf.ByteString value)
      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:
      hasBufferFlushInterval in interface OpenTelemetryAccessLogConfigOrBuilder
      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:
      getBufferFlushInterval in interface OpenTelemetryAccessLogConfigOrBuilder
      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

      public OpenTelemetryAccessLogConfig.Builder 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:
      getBufferFlushIntervalOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      hasBufferSizeBytes in interface OpenTelemetryAccessLogConfigOrBuilder
      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:
      getBufferSizeBytes in interface OpenTelemetryAccessLogConfigOrBuilder
      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

      public OpenTelemetryAccessLogConfig.Builder 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:
      getBufferSizeBytesOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • 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:
      getFilterStateObjectsToLogList in interface OpenTelemetryAccessLogConfigOrBuilder
      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:
      getFilterStateObjectsToLogCount in interface OpenTelemetryAccessLogConfigOrBuilder
      Returns:
      The count of filterStateObjectsToLog.
    • getFilterStateObjectsToLog

      public String getFilterStateObjectsToLog(int index)
       Additional filter state objects to log as attributes.
       
      repeated string filter_state_objects_to_log = 13;
      Specified by:
      getFilterStateObjectsToLog in interface OpenTelemetryAccessLogConfigOrBuilder
      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:
      getFilterStateObjectsToLogBytes in interface OpenTelemetryAccessLogConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the filterStateObjectsToLog at the given index.
    • setFilterStateObjectsToLog

      public OpenTelemetryAccessLogConfig.Builder setFilterStateObjectsToLog(int index, String value)
       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

      public OpenTelemetryAccessLogConfig.Builder addFilterStateObjectsToLog(String value)
       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

      public OpenTelemetryAccessLogConfig.Builder addAllFilterStateObjectsToLog(Iterable<String> values)
       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

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

      public List<CustomTag> getCustomTagsList()
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
      Specified by:
      getCustomTagsList in interface OpenTelemetryAccessLogConfigOrBuilder
    • getCustomTagsCount

      public int getCustomTagsCount()
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
      Specified by:
      getCustomTagsCount in interface OpenTelemetryAccessLogConfigOrBuilder
    • getCustomTags

      public CustomTag getCustomTags(int index)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
      Specified by:
      getCustomTags in interface OpenTelemetryAccessLogConfigOrBuilder
    • setCustomTags

      public OpenTelemetryAccessLogConfig.Builder setCustomTags(int index, CustomTag value)
       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

      public OpenTelemetryAccessLogConfig.Builder addCustomTags(CustomTag value)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • addCustomTags

      public OpenTelemetryAccessLogConfig.Builder addCustomTags(int index, CustomTag value)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • addCustomTags

      public OpenTelemetryAccessLogConfig.Builder addCustomTags(CustomTag.Builder builderForValue)
       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

      public OpenTelemetryAccessLogConfig.Builder addAllCustomTags(Iterable<? extends CustomTag> values)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • clearCustomTags

      public OpenTelemetryAccessLogConfig.Builder clearCustomTags()
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • removeCustomTags

      public OpenTelemetryAccessLogConfig.Builder removeCustomTags(int index)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • getCustomTagsBuilder

      public CustomTag.Builder getCustomTagsBuilder(int index)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • getCustomTagsOrBuilder

      public CustomTagOrBuilder getCustomTagsOrBuilder(int index)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
      Specified by:
      getCustomTagsOrBuilder in interface OpenTelemetryAccessLogConfigOrBuilder
    • getCustomTagsOrBuilderList

      public List<? extends CustomTagOrBuilder> getCustomTagsOrBuilderList()
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
      Specified by:
      getCustomTagsOrBuilderList in interface OpenTelemetryAccessLogConfigOrBuilder
    • addCustomTagsBuilder

      public CustomTag.Builder addCustomTagsBuilder()
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • addCustomTagsBuilder

      public CustomTag.Builder addCustomTagsBuilder(int index)
       Custom tags to include as log attributes.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 14;
    • getCustomTagsBuilderList

      public List<CustomTag.Builder> 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:
      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>