// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/auth/v2/attribute_context.proto
package io.envoyproxy.envoy.service.auth.v2;
public interface AttributeContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.auth.v2.AttributeContext)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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.v2.AttributeContext.Peer source = 1;
* @return Whether the source field is set.
*/
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.v2.AttributeContext.Peer source = 1;
* @return The source.
*/
io.envoyproxy.envoy.service.auth.v2.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.v2.AttributeContext.Peer source = 1;
*/
io.envoyproxy.envoy.service.auth.v2.AttributeContext.PeerOrBuilder getSourceOrBuilder();
/**
*
* 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.v2.AttributeContext.Peer destination = 2;
* @return Whether the destination field is set.
*/
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.v2.AttributeContext.Peer destination = 2;
* @return The destination.
*/
io.envoyproxy.envoy.service.auth.v2.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.v2.AttributeContext.Peer destination = 2;
*/
io.envoyproxy.envoy.service.auth.v2.AttributeContext.PeerOrBuilder getDestinationOrBuilder();
/**
*
* Represents a network request, such as an HTTP request.
*
*
* .envoy.service.auth.v2.AttributeContext.Request request = 4;
* @return Whether the request field is set.
*/
boolean hasRequest();
/**
*
* Represents a network request, such as an HTTP request.
*
*
* .envoy.service.auth.v2.AttributeContext.Request request = 4;
* @return The request.
*/
io.envoyproxy.envoy.service.auth.v2.AttributeContext.Request getRequest();
/**
*
* Represents a network request, such as an HTTP request.
*
*
* .envoy.service.auth.v2.AttributeContext.Request request = 4;
*/
io.envoyproxy.envoy.service.auth.v2.AttributeContext.RequestOrBuilder getRequestOrBuilder();
/**
*
* 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;
*/
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;
*/
boolean containsContextExtensions(
java.lang.String key);
/**
* Use {@link #getContextExtensionsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getContextExtensions();
/**
*
* 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;
*/
java.util.Map
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;
*/
/* nullable */
java.lang.String getContextExtensionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.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;
*/
java.lang.String getContextExtensionsOrThrow(
java.lang.String key);
/**
*
* Dynamic metadata associated with the request.
*
*
* .envoy.api.v2.core.Metadata metadata_context = 11;
* @return Whether the metadataContext field is set.
*/
boolean hasMetadataContext();
/**
*
* Dynamic metadata associated with the request.
*
*
* .envoy.api.v2.core.Metadata metadata_context = 11;
* @return The metadataContext.
*/
io.envoyproxy.envoy.api.v2.core.Metadata getMetadataContext();
/**
*
* Dynamic metadata associated with the request.
*
*
* .envoy.api.v2.core.Metadata metadata_context = 11;
*/
io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder getMetadataContextOrBuilder();
}