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 jwt tokens 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: 12]Protobuf type
envoy.service.auth.v3.AttributeContext| Modifier and Type | Method and Description |
|---|---|
AttributeContext.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext |
build() |
AttributeContext |
buildPartial() |
AttributeContext.Builder |
clear() |
AttributeContext.Builder |
clearContextExtensions() |
AttributeContext.Builder |
clearDestination()
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AttributeContext.Builder |
clearMetadataContext()
Dynamic metadata associated with the request.
|
AttributeContext.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttributeContext.Builder |
clearRequest()
Represents a network request, such as an HTTP request.
|
AttributeContext.Builder |
clearSource()
The source of a network activity, such as starting a TCP connection.
|
AttributeContext.Builder |
clone() |
boolean |
containsContextExtensions(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.
|
int |
getContextExtensionsCount()
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.
|
String |
getContextExtensionsOrDefault(String key,
String defaultValue)
This is analogous to http_request.headers, however these contents will not be sent to the
upstream server.
|
String |
getContextExtensionsOrThrow(String key)
This is analogous to http_request.headers, however these contents will not be sent to the
upstream server.
|
AttributeContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AttributeContext.Peer |
getDestination()
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext.Peer.Builder |
getDestinationBuilder()
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext.PeerOrBuilder |
getDestinationOrBuilder()
The destination of a network activity, such as accepting a TCP connection.
|
Metadata |
getMetadataContext()
Dynamic metadata associated with the request.
|
Metadata.Builder |
getMetadataContextBuilder()
Dynamic metadata associated with the request.
|
MetadataOrBuilder |
getMetadataContextOrBuilder()
Dynamic metadata associated with the request.
|
Map<String,String> |
getMutableContextExtensions()
Deprecated.
|
AttributeContext.Request |
getRequest()
Represents a network request, such as an HTTP request.
|
AttributeContext.Request.Builder |
getRequestBuilder()
Represents a network request, such as an HTTP request.
|
AttributeContext.RequestOrBuilder |
getRequestOrBuilder()
Represents a network request, such as an HTTP request.
|
AttributeContext.Peer |
getSource()
The source of a network activity, such as starting a TCP connection.
|
AttributeContext.Peer.Builder |
getSourceBuilder()
The source of a network activity, such as starting a TCP connection.
|
AttributeContext.PeerOrBuilder |
getSourceOrBuilder()
The source of a network activity, such as starting a TCP connection.
|
boolean |
hasDestination()
The destination of a network activity, such as accepting a TCP connection.
|
boolean |
hasMetadataContext()
Dynamic metadata associated with the request.
|
boolean |
hasRequest()
Represents a network request, such as an HTTP request.
|
boolean |
hasSource()
The source of a network activity, such as starting a TCP connection.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
AttributeContext.Builder |
mergeDestination(AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext.Builder |
mergeFrom(AttributeContext other) |
AttributeContext.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttributeContext.Builder |
mergeFrom(com.google.protobuf.Message other) |
AttributeContext.Builder |
mergeMetadataContext(Metadata value)
Dynamic metadata associated with the request.
|
AttributeContext.Builder |
mergeRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.
|
AttributeContext.Builder |
mergeSource(AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection.
|
AttributeContext.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
AttributeContext.Builder |
removeContextExtensions(String key)
This is analogous to http_request.headers, however these contents will not be sent to the
upstream server.
|
AttributeContext.Builder |
setDestination(AttributeContext.Peer.Builder builderForValue)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext.Builder |
setDestination(AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.Builder |
setMetadataContext(Metadata.Builder builderForValue)
Dynamic metadata associated with the request.
|
AttributeContext.Builder |
setMetadataContext(Metadata value)
Dynamic metadata associated with the request.
|
AttributeContext.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AttributeContext.Builder |
setRequest(AttributeContext.Request.Builder builderForValue)
Represents a network request, such as an HTTP request.
|
AttributeContext.Builder |
setRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.
|
AttributeContext.Builder |
setSource(AttributeContext.Peer.Builder builderForValue)
The source of a network activity, such as starting a TCP connection.
|
AttributeContext.Builder |
setSource(AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection.
|
AttributeContext.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AttributeContext build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Builder>public AttributeContext.Builder mergeFrom(AttributeContext other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public AttributeContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Builder>IOExceptionpublic 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;hasSource in interface AttributeContextOrBuilderpublic 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;getSource in interface AttributeContextOrBuilderpublic AttributeContext.Builder setSource(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;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;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;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;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;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;getSourceOrBuilder in interface AttributeContextOrBuilderpublic 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;hasDestination in interface AttributeContextOrBuilderpublic 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;getDestination in interface AttributeContextOrBuilderpublic 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;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;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;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;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;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;getDestinationOrBuilder in interface AttributeContextOrBuilderpublic boolean hasRequest()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;hasRequest in interface AttributeContextOrBuilderpublic AttributeContext.Request getRequest()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;getRequest in interface AttributeContextOrBuilderpublic AttributeContext.Builder setRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;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;public AttributeContext.Builder mergeRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;public AttributeContext.Builder clearRequest()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;public AttributeContext.Request.Builder getRequestBuilder()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;public AttributeContext.RequestOrBuilder getRequestOrBuilder()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v3.AttributeContext.Request request = 4;getRequestOrBuilder in interface AttributeContextOrBuilderpublic int getContextExtensionsCount()
AttributeContextOrBuilderThis 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;getContextExtensionsCount in interface AttributeContextOrBuilderpublic 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;containsContextExtensions in interface AttributeContextOrBuilder@Deprecated public Map<String,String> getContextExtensions()
getContextExtensionsMap() instead.getContextExtensions in interface AttributeContextOrBuilderpublic 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;getContextExtensionsMap in interface AttributeContextOrBuilderpublic 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;getContextExtensionsOrDefault in interface AttributeContextOrBuilderpublic 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;getContextExtensionsOrThrow in interface AttributeContextOrBuilderpublic AttributeContext.Builder clearContextExtensions()
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;@Deprecated public Map<String,String> getMutableContextExtensions()
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;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;public boolean hasMetadataContext()
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;hasMetadataContext in interface AttributeContextOrBuilderpublic Metadata getMetadataContext()
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;getMetadataContext in interface AttributeContextOrBuilderpublic AttributeContext.Builder setMetadataContext(Metadata value)
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;public AttributeContext.Builder setMetadataContext(Metadata.Builder builderForValue)
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;public AttributeContext.Builder mergeMetadataContext(Metadata value)
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;public AttributeContext.Builder clearMetadataContext()
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;public Metadata.Builder getMetadataContextBuilder()
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;public MetadataOrBuilder getMetadataContextOrBuilder()
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 11;getMetadataContextOrBuilder in interface AttributeContextOrBuilderpublic final AttributeContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>public final AttributeContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.