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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsContextExtensions(String key)This is analogous to http_request.headers, however these contents will not be sent to the upstream server.Map<String,String>getContextExtensions()Deprecated.intgetContextExtensionsCount()This is analogous to http_request.headers, however these contents will not be sent to the upstream server.Map<String,String>getContextExtensionsMap()This is analogous to http_request.headers, however these contents will not be sent to the upstream server.StringgetContextExtensionsOrDefault(String key, String defaultValue)This is analogous to http_request.headers, however these contents will not be sent to the upstream server.StringgetContextExtensionsOrThrow(String key)This is analogous to http_request.headers, however these contents will not be sent to the upstream server.AttributeContext.PeergetDestination()The destination of a network activity, such as accepting a TCP connection.AttributeContext.PeerOrBuildergetDestinationOrBuilder()The destination of a network activity, such as accepting a TCP connection.MetadatagetMetadataContext()Dynamic metadata associated with the request.MetadataOrBuildergetMetadataContextOrBuilder()Dynamic metadata associated with the request.AttributeContext.RequestgetRequest()Represents a network request, such as an HTTP request.AttributeContext.RequestOrBuildergetRequestOrBuilder()Represents a network request, such as an HTTP request.AttributeContext.PeergetSource()The source of a network activity, such as starting a TCP connection.AttributeContext.PeerOrBuildergetSourceOrBuilder()The source of a network activity, such as starting a TCP connection.booleanhasDestination()The destination of a network activity, such as accepting a TCP connection.booleanhasMetadataContext()Dynamic metadata associated with the request.booleanhasRequest()Represents a network request, such as an HTTP request.booleanhasSource()The source of a network activity, such as starting a TCP connection.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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;- 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
AttributeContext.Request 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.UsegetContextExtensionsMap()instead.
-
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;
-
-