public static final class AttributeContextOuterClass.AttributeContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder> implements AttributeContextOuterClass.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.
Protobuf type envoy.service.auth.v2alpha.AttributeContext
| Modifier and Type | Method and Description |
|---|---|
AttributeContextOuterClass.AttributeContext.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContextOuterClass.AttributeContext |
build() |
AttributeContextOuterClass.AttributeContext |
buildPartial() |
AttributeContextOuterClass.AttributeContext.Builder |
clear() |
AttributeContextOuterClass.AttributeContext.Builder |
clearContextExtensions() |
AttributeContextOuterClass.AttributeContext.Builder |
clearDestination()
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AttributeContextOuterClass.AttributeContext.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttributeContextOuterClass.AttributeContext.Builder |
clearRequest()
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.Builder |
clearSource()
The source of a network activity, such as starting a TCP connection.
|
AttributeContextOuterClass.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.
|
AttributeContextOuterClass.AttributeContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AttributeContextOuterClass.AttributeContext.Peer |
getDestination()
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Peer.Builder |
getDestinationBuilder()
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.PeerOrBuilder |
getDestinationOrBuilder()
The destination of a network activity, such as accepting a TCP connection.
|
Map<String,String> |
getMutableContextExtensions()
Deprecated.
|
AttributeContextOuterClass.AttributeContext.Request |
getRequest()
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.Request.Builder |
getRequestBuilder()
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.RequestOrBuilder |
getRequestOrBuilder()
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.Peer |
getSource()
The source of a network activity, such as starting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Peer.Builder |
getSourceBuilder()
The source of a network activity, such as starting a TCP connection.
|
AttributeContextOuterClass.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 |
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() |
AttributeContextOuterClass.AttributeContext.Builder |
mergeDestination(AttributeContextOuterClass.AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Builder |
mergeFrom(AttributeContextOuterClass.AttributeContext other) |
AttributeContextOuterClass.AttributeContext.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttributeContextOuterClass.AttributeContext.Builder |
mergeFrom(com.google.protobuf.Message other) |
AttributeContextOuterClass.AttributeContext.Builder |
mergeRequest(AttributeContextOuterClass.AttributeContext.Request value)
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.Builder |
mergeSource(AttributeContextOuterClass.AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AttributeContextOuterClass.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.
|
AttributeContextOuterClass.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.
|
AttributeContextOuterClass.AttributeContext.Builder |
removeContextExtensions(String key)
This is analogous to http_request.headers, however these contents will not be sent to the
upstream server.
|
AttributeContextOuterClass.AttributeContext.Builder |
setDestination(AttributeContextOuterClass.AttributeContext.Peer.Builder builderForValue)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Builder |
setDestination(AttributeContextOuterClass.AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContextOuterClass.AttributeContext.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AttributeContextOuterClass.AttributeContext.Builder |
setRequest(AttributeContextOuterClass.AttributeContext.Request.Builder builderForValue)
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.Builder |
setRequest(AttributeContextOuterClass.AttributeContext.Request value)
Represents a network request, such as an HTTP request.
|
AttributeContextOuterClass.AttributeContext.Builder |
setSource(AttributeContextOuterClass.AttributeContext.Peer.Builder builderForValue)
The source of a network activity, such as starting a TCP connection.
|
AttributeContextOuterClass.AttributeContext.Builder |
setSource(AttributeContextOuterClass.AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection.
|
AttributeContextOuterClass.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<AttributeContextOuterClass.AttributeContext.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.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<AttributeContextOuterClass.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<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.AttributeContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AttributeContextOuterClass.AttributeContext build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AttributeContextOuterClass.AttributeContext buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AttributeContextOuterClass.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<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.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<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.AttributeContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.AttributeContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.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<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.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<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.AttributeContext.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.AttributeContext.Builder mergeFrom(AttributeContextOuterClass.AttributeContext other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>public AttributeContextOuterClass.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<AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;hasSource in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;getSource in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.AttributeContext.Builder setSource(AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;public AttributeContextOuterClass.AttributeContext.Builder setSource(AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;public AttributeContextOuterClass.AttributeContext.Builder mergeSource(AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;public AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;public AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;public AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer source = 1;getSourceOrBuilder in interface AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;hasDestination in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;getDestination in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.AttributeContext.Builder setDestination(AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;public AttributeContextOuterClass.AttributeContext.Builder setDestination(AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;public AttributeContextOuterClass.AttributeContext.Builder mergeDestination(AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;public AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;public AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;public AttributeContextOuterClass.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.v2alpha.AttributeContext.Peer destination = 2;getDestinationOrBuilder in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic boolean hasRequest()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;hasRequest in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.AttributeContext.Request getRequest()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;getRequest in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.AttributeContext.Builder setRequest(AttributeContextOuterClass.AttributeContext.Request value)
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;public AttributeContextOuterClass.AttributeContext.Builder setRequest(AttributeContextOuterClass.AttributeContext.Request.Builder builderForValue)
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;public AttributeContextOuterClass.AttributeContext.Builder mergeRequest(AttributeContextOuterClass.AttributeContext.Request value)
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;public AttributeContextOuterClass.AttributeContext.Builder clearRequest()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;public AttributeContextOuterClass.AttributeContext.Request.Builder getRequestBuilder()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;public AttributeContextOuterClass.AttributeContext.RequestOrBuilder getRequestOrBuilder()
Represents a network request, such as an HTTP request.
.envoy.service.auth.v2alpha.AttributeContext.Request request = 4;getRequestOrBuilder in interface AttributeContextOuterClass.AttributeContextOrBuilderpublic int getContextExtensionsCount()
AttributeContextOuterClass.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 AttributeContextOuterClass.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 AttributeContextOuterClass.AttributeContextOrBuilder@Deprecated public Map<String,String> getContextExtensions()
getContextExtensionsMap() instead.getContextExtensions in interface AttributeContextOuterClass.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 AttributeContextOuterClass.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 AttributeContextOuterClass.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 AttributeContextOuterClass.AttributeContextOrBuilderpublic AttributeContextOuterClass.AttributeContext.Builder clearContextExtensions()
public AttributeContextOuterClass.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 AttributeContextOuterClass.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 AttributeContextOuterClass.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 final AttributeContextOuterClass.AttributeContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>public final AttributeContextOuterClass.AttributeContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContextOuterClass.AttributeContext.Builder>Copyright © 2019 WSO2. All rights reserved.