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 Summary
Modifier and TypeMethodDescriptionbooleanThis is analogous to http_request.headers, however these contents will not be sent to the upstream server.Deprecated.intThis is analogous to http_request.headers, however these contents will not be sent to the upstream server.This is analogous to http_request.headers, however these contents will not be sent to the upstream server.getContextExtensionsOrDefault(String key, String defaultValue) This is analogous to http_request.headers, however these contents will not be sent to the upstream server.This is analogous to http_request.headers, however these contents will not be sent to the upstream server.The destination of a network activity, such as accepting a TCP connection.The destination of a network activity, such as accepting a TCP connection.Dynamic metadata associated with the request.Dynamic metadata associated with the request.Represents a network request, such as an HTTP request.Represents a network request, such as an HTTP request.The source of a network activity, such as starting a TCP connection.The source of a network activity, such as starting a TCP connection.booleanThe destination of a network activity, such as accepting a TCP connection.booleanDynamic metadata associated with the request.booleanRepresents a network request, such as an HTTP request.booleanThe source of a network activity, such as starting a TCP connection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.v2.AttributeContext.Peer source = 1;- Returns:
- Whether the source field is set.
-
getSource
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;- 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.v2.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.v2.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.v2.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.v2.AttributeContext.Peer destination = 2; -
hasRequest
boolean hasRequest()Represents a network request, such as an HTTP request.
.envoy.service.auth.v2.AttributeContext.Request request = 4;- Returns:
- Whether the request field is set.
-
getRequest
AttributeContext.Request getRequest()Represents a network request, such as an HTTP request.
.envoy.service.auth.v2.AttributeContext.Request request = 4;- Returns:
- The request.
-
getRequestOrBuilder
AttributeContext.RequestOrBuilder getRequestOrBuilder()Represents a network request, such as an HTTP request.
.envoy.service.auth.v2.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
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.UsegetContextExtensionsMap()instead. -
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
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
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.api.v2.core.Metadata metadata_context = 11;- Returns:
- Whether the metadataContext field is set.
-
getMetadataContext
Metadata getMetadataContext()Dynamic metadata associated with the request.
.envoy.api.v2.core.Metadata metadata_context = 11;- Returns:
- The metadataContext.
-
getMetadataContextOrBuilder
MetadataOrBuilder getMetadataContextOrBuilder()Dynamic metadata associated with the request.
.envoy.api.v2.core.Metadata metadata_context = 11;
-