Class AttributeContext.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
io.envoyproxy.envoy.service.auth.v3.AttributeContext.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AttributeContextOrBuilder, Cloneable
Enclosing class:
AttributeContext

public static final class AttributeContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder> implements AttributeContextOrBuilder
 An attribute is a piece of metadata that describes an activity on a network.
 For example, the size of an HTTP request, or the status code of an HTTP response.

 Each attribute has a type and a name, which is logically defined as a proto message field
 of the ``AttributeContext``. The ``AttributeContext`` is a collection of individual attributes
 supported by Envoy authorization system.
 [#comment: The following items are left out of this proto
 Request.Auth field for JWTs
 Request.Api for api management
 Origin peer that originated the request
 Caching Protocol
 request_context return values to inject back into the filter chain
 peer.claims -- from X.509 extensions
 Configuration
 - field mask to send
 - which return values from request_context are copied back
 - which return values are copied into request_headers]
 [#next-free-field: 14]
 
Protobuf type envoy.service.auth.v3.AttributeContext
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
    • internalGetFieldAccessorTable

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

      public AttributeContext.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<AttributeContext.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<AttributeContext.Builder>
    • getDefaultInstanceForType

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

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

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

      public AttributeContext.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<AttributeContext.Builder>
    • setField

      public AttributeContext.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<AttributeContext.Builder>
    • clearField

      public AttributeContext.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<AttributeContext.Builder>
    • clearOneof

      public AttributeContext.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<AttributeContext.Builder>
    • setRepeatedField

      public AttributeContext.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<AttributeContext.Builder>
    • addRepeatedField

      public AttributeContext.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<AttributeContext.Builder>
    • mergeFrom

      public AttributeContext.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<AttributeContext.Builder>
    • mergeFrom

      public AttributeContext.Builder mergeFrom(AttributeContext other)
    • isInitialized

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

      public AttributeContext.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<AttributeContext.Builder>
      Throws:
      IOException
    • hasSource

      public boolean hasSource()
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
      Specified by:
      hasSource in interface AttributeContextOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public AttributeContext.Peer getSource()
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
      Specified by:
      getSource in interface AttributeContextOrBuilder
      Returns:
      The source.
    • setSource

       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
    • setSource

      public AttributeContext.Builder setSource(AttributeContext.Peer.Builder builderForValue)
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
    • mergeSource

      public AttributeContext.Builder mergeSource(AttributeContext.Peer value)
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
    • clearSource

      public AttributeContext.Builder clearSource()
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
    • getSourceBuilder

      public AttributeContext.Peer.Builder getSourceBuilder()
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
    • getSourceOrBuilder

      public AttributeContext.PeerOrBuilder getSourceOrBuilder()
       The source of a network activity, such as starting a TCP connection.
       In a multi hop network activity, the source represents the sender of the
       last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer source = 1;
      Specified by:
      getSourceOrBuilder in interface AttributeContextOrBuilder
    • hasDestination

      public boolean hasDestination()
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
      Specified by:
      hasDestination in interface AttributeContextOrBuilder
      Returns:
      Whether the destination field is set.
    • getDestination

      public AttributeContext.Peer getDestination()
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
      Specified by:
      getDestination in interface AttributeContextOrBuilder
      Returns:
      The destination.
    • setDestination

      public AttributeContext.Builder setDestination(AttributeContext.Peer value)
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
    • setDestination

      public AttributeContext.Builder setDestination(AttributeContext.Peer.Builder builderForValue)
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
    • mergeDestination

      public AttributeContext.Builder mergeDestination(AttributeContext.Peer value)
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
    • clearDestination

      public AttributeContext.Builder clearDestination()
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
    • getDestinationBuilder

      public AttributeContext.Peer.Builder getDestinationBuilder()
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
    • getDestinationOrBuilder

      public AttributeContext.PeerOrBuilder getDestinationOrBuilder()
       The destination of a network activity, such as accepting a TCP connection.
       In a multi hop network activity, the destination represents the receiver of
       the last hop.
       
      .envoy.service.auth.v3.AttributeContext.Peer destination = 2;
      Specified by:
      getDestinationOrBuilder in interface AttributeContextOrBuilder
    • hasRequest

      public boolean hasRequest()
       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
      Specified by:
      hasRequest in interface AttributeContextOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public AttributeContext.Request getRequest()
       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
      Specified by:
      getRequest in interface AttributeContextOrBuilder
      Returns:
      The request.
    • setRequest

       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
    • setRequest

      public AttributeContext.Builder setRequest(AttributeContext.Request.Builder builderForValue)
       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
    • mergeRequest

       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
    • clearRequest

      public AttributeContext.Builder clearRequest()
       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
    • getRequestBuilder

      public AttributeContext.Request.Builder getRequestBuilder()
       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
    • getRequestOrBuilder

      public AttributeContext.RequestOrBuilder getRequestOrBuilder()
       Represents a network request, such as an HTTP request.
       
      .envoy.service.auth.v3.AttributeContext.Request request = 4;
      Specified by:
      getRequestOrBuilder in interface AttributeContextOrBuilder
    • getContextExtensionsCount

      public int getContextExtensionsCount()
      Description copied from interface: AttributeContextOrBuilder
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
      Specified by:
      getContextExtensionsCount in interface AttributeContextOrBuilder
    • containsContextExtensions

      public boolean containsContextExtensions(String key)
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
      Specified by:
      containsContextExtensions in interface AttributeContextOrBuilder
    • getContextExtensions

      @Deprecated public Map<String,String> getContextExtensions()
      Deprecated.
      Specified by:
      getContextExtensions in interface AttributeContextOrBuilder
    • getContextExtensionsMap

      public Map<String,String> getContextExtensionsMap()
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
      Specified by:
      getContextExtensionsMap in interface AttributeContextOrBuilder
    • getContextExtensionsOrDefault

      public String getContextExtensionsOrDefault(String key, String defaultValue)
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
      Specified by:
      getContextExtensionsOrDefault in interface AttributeContextOrBuilder
    • getContextExtensionsOrThrow

      public String getContextExtensionsOrThrow(String key)
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
      Specified by:
      getContextExtensionsOrThrow in interface AttributeContextOrBuilder
    • clearContextExtensions

      public AttributeContext.Builder clearContextExtensions()
    • removeContextExtensions

      public AttributeContext.Builder removeContextExtensions(String key)
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
    • getMutableContextExtensions

      @Deprecated public Map<String,String> getMutableContextExtensions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putContextExtensions

      public AttributeContext.Builder putContextExtensions(String key, String value)
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
    • putAllContextExtensions

      public AttributeContext.Builder putAllContextExtensions(Map<String,String> values)
       This is analogous to http_request.headers, however these contents will not be sent to the
       upstream server. Context_extensions provide an extension mechanism for sending additional
       information to the auth server without modifying the proto definition. It maps to the
       internal opaque context in the filter chain.
       
      map<string, string> context_extensions = 10;
    • hasMetadataContext

      public boolean hasMetadataContext()
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
      Specified by:
      hasMetadataContext in interface AttributeContextOrBuilder
      Returns:
      Whether the metadataContext field is set.
    • getMetadataContext

      public Metadata getMetadataContext()
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
      Specified by:
      getMetadataContext in interface AttributeContextOrBuilder
      Returns:
      The metadataContext.
    • setMetadataContext

      public AttributeContext.Builder setMetadataContext(Metadata value)
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
    • setMetadataContext

      public AttributeContext.Builder setMetadataContext(Metadata.Builder builderForValue)
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
    • mergeMetadataContext

      public AttributeContext.Builder mergeMetadataContext(Metadata value)
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
    • clearMetadataContext

      public AttributeContext.Builder clearMetadataContext()
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
    • getMetadataContextBuilder

      public Metadata.Builder getMetadataContextBuilder()
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
    • getMetadataContextOrBuilder

      public MetadataOrBuilder getMetadataContextOrBuilder()
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
      Specified by:
      getMetadataContextOrBuilder in interface AttributeContextOrBuilder
    • hasRouteMetadataContext

      public boolean hasRouteMetadataContext()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
      Specified by:
      hasRouteMetadataContext in interface AttributeContextOrBuilder
      Returns:
      Whether the routeMetadataContext field is set.
    • getRouteMetadataContext

      public Metadata getRouteMetadataContext()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
      Specified by:
      getRouteMetadataContext in interface AttributeContextOrBuilder
      Returns:
      The routeMetadataContext.
    • setRouteMetadataContext

      public AttributeContext.Builder setRouteMetadataContext(Metadata value)
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
    • setRouteMetadataContext

      public AttributeContext.Builder setRouteMetadataContext(Metadata.Builder builderForValue)
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
    • mergeRouteMetadataContext

      public AttributeContext.Builder mergeRouteMetadataContext(Metadata value)
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
    • clearRouteMetadataContext

      public AttributeContext.Builder clearRouteMetadataContext()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
    • getRouteMetadataContextBuilder

      public Metadata.Builder getRouteMetadataContextBuilder()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
    • getRouteMetadataContextOrBuilder

      public MetadataOrBuilder getRouteMetadataContextOrBuilder()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
      Specified by:
      getRouteMetadataContextOrBuilder in interface AttributeContextOrBuilder
    • hasTlsSession

      public boolean hasTlsSession()
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
      Specified by:
      hasTlsSession in interface AttributeContextOrBuilder
      Returns:
      Whether the tlsSession field is set.
    • getTlsSession

      public AttributeContext.TLSSession getTlsSession()
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
      Specified by:
      getTlsSession in interface AttributeContextOrBuilder
      Returns:
      The tlsSession.
    • setTlsSession

       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
    • setTlsSession

      public AttributeContext.Builder setTlsSession(AttributeContext.TLSSession.Builder builderForValue)
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
    • mergeTlsSession

      public AttributeContext.Builder mergeTlsSession(AttributeContext.TLSSession value)
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
    • clearTlsSession

      public AttributeContext.Builder clearTlsSession()
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
    • getTlsSessionBuilder

      public AttributeContext.TLSSession.Builder getTlsSessionBuilder()
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
    • getTlsSessionOrBuilder

      public AttributeContext.TLSSessionOrBuilder getTlsSessionOrBuilder()
       TLS session details of the underlying connection.
       This is not populated by default and will be populated only if the ext_authz filter has
       been specifically configured to include this information.
       For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
       to be set to true.
       For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
       to be set to true.
       
      .envoy.service.auth.v3.AttributeContext.TLSSession tls_session = 12;
      Specified by:
      getTlsSessionOrBuilder in interface AttributeContextOrBuilder
    • setUnknownFields

      public final AttributeContext.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<AttributeContext.Builder>
    • mergeUnknownFields

      public final AttributeContext.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<AttributeContext.Builder>