public static interface AttributeContextOuterClass.AttributeContext.PeerOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with the peer.
|
AddressOuterClass.Address |
getAddress()
The address of the peer, this is typically the IP address.
|
AddressOuterClass.AddressOrBuilder |
getAddressOrBuilder()
The address of the peer, this is typically the IP address.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with the peer.
|
Map<String,String> |
getLabelsMap()
The labels associated with the peer.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with the peer.
|
String |
getLabelsOrThrow(String key)
The labels associated with the peer.
|
String |
getPrincipal()
The authenticated identity of this peer.
|
com.google.protobuf.ByteString |
getPrincipalBytes()
The authenticated identity of this peer.
|
String |
getService()
The canonical service name of the peer.
|
com.google.protobuf.ByteString |
getServiceBytes()
The canonical service name of the peer.
|
boolean |
hasAddress()
The address of the peer, this is typically the IP address.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAddress()
The address of the peer, this is typically the IP address. It can also be UDS path, or others.
.envoy.api.v2.core.Address address = 1;AddressOuterClass.Address getAddress()
The address of the peer, this is typically the IP address. It can also be UDS path, or others.
.envoy.api.v2.core.Address address = 1;AddressOuterClass.AddressOrBuilder getAddressOrBuilder()
The address of the peer, this is typically the IP address. It can also be UDS path, or others.
.envoy.api.v2.core.Address address = 1;String getService()
The canonical service name of the peer. It should be set to :ref:`the HTTP x-envoy-downstream-service-cluster <config_http_conn_man_headers_downstream-service-cluster>` If a more trusted source of the service name is available through mTLS/secure naming, it should be used.
string service = 2;com.google.protobuf.ByteString getServiceBytes()
The canonical service name of the peer. It should be set to :ref:`the HTTP x-envoy-downstream-service-cluster <config_http_conn_man_headers_downstream-service-cluster>` If a more trusted source of the service name is available through mTLS/secure naming, it should be used.
string service = 2;int getLabelsCount()
The labels associated with the peer. These could be pod labels for Kubernetes or tags for VMs. The source of the labels could be an X.509 certificate or other configuration.
map<string, string> labels = 3;boolean containsLabels(String key)
The labels associated with the peer. These could be pod labels for Kubernetes or tags for VMs. The source of the labels could be an X.509 certificate or other configuration.
map<string, string> labels = 3;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
The labels associated with the peer. These could be pod labels for Kubernetes or tags for VMs. The source of the labels could be an X.509 certificate or other configuration.
map<string, string> labels = 3;String getLabelsOrDefault(String key, String defaultValue)
The labels associated with the peer. These could be pod labels for Kubernetes or tags for VMs. The source of the labels could be an X.509 certificate or other configuration.
map<string, string> labels = 3;String getLabelsOrThrow(String key)
The labels associated with the peer. These could be pod labels for Kubernetes or tags for VMs. The source of the labels could be an X.509 certificate or other configuration.
map<string, string> labels = 3;String getPrincipal()
The authenticated identity of this peer.
For example, the identity associated with the workload such as a service account.
If an X.509 certificate is used to assert the identity this field should be sourced from
`Subject` or `Subject Alternative Names`. The primary identity should be the principal.
The principal format is issuer specific.
Example:
* SPIFFE format is `spiffe://trust-domain/path`
* Google account format is `https://accounts.google.com/{userid}`
string principal = 4;com.google.protobuf.ByteString getPrincipalBytes()
The authenticated identity of this peer.
For example, the identity associated with the workload such as a service account.
If an X.509 certificate is used to assert the identity this field should be sourced from
`Subject` or `Subject Alternative Names`. The primary identity should be the principal.
The principal format is issuer specific.
Example:
* SPIFFE format is `spiffe://trust-domain/path`
* Google account format is `https://accounts.google.com/{userid}`
string principal = 4;Copyright © 2019 WSO2. All rights reserved.