Interface AttributeContextOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AttributeContext, AttributeContext.Builder

public interface AttributeContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasSource

      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;
      Returns:
      Whether the source field is set.
    • 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;
      Returns:
      The source.
    • getSourceOrBuilder

      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;
    • hasDestination

      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;
      Returns:
      Whether the destination field is set.
    • getDestination

      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;
      Returns:
      The destination.
    • getDestinationOrBuilder

      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;
    • hasRequest

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

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

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

      int getContextExtensionsCount()
       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;
    • containsContextExtensions

      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;
    • getContextExtensions

      @Deprecated Map<String,String> getContextExtensions()
      Deprecated.
    • getContextExtensionsMap

      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;
    • getContextExtensionsOrDefault

      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;
    • getContextExtensionsOrThrow

      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;
    • hasMetadataContext

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

      Metadata getMetadataContext()
       Dynamic metadata associated with the request.
       
      .envoy.config.core.v3.Metadata metadata_context = 11;
      Returns:
      The metadataContext.
    • getMetadataContextOrBuilder

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

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

      Metadata getRouteMetadataContext()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
      Returns:
      The routeMetadataContext.
    • getRouteMetadataContextOrBuilder

      MetadataOrBuilder getRouteMetadataContextOrBuilder()
       Metadata associated with the selected route.
       
      .envoy.config.core.v3.Metadata route_metadata_context = 13;
    • hasTlsSession

      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;
      Returns:
      Whether the tlsSession field is set.
    • 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;
      Returns:
      The tlsSession.
    • getTlsSessionOrBuilder

      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;