Class Principal
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.config.rbac.v3.Principal
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PrincipalOrBuilder
,java.io.Serializable
public final class Principal extends com.google.protobuf.GeneratedMessage implements PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject. [#next-free-field: 13]
Protobuf typeenvoy.config.rbac.v3.Principal
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Principal.Authenticated
Authentication attributes for a downstream.static interface
Principal.AuthenticatedOrBuilder
static class
Principal.Builder
Principal defines an identity or a group of identities for a downstream subject.static class
Principal.IdentifierCase
static class
Principal.Set
Used in the ``and_ids`` and ``or_ids`` fields in the ``identifier`` oneof.static interface
Principal.SetOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AND_IDS_FIELD_NUMBER
static int
ANY_FIELD_NUMBER
static int
AUTHENTICATED_FIELD_NUMBER
private static Principal
DEFAULT_INSTANCE
static int
DIRECT_REMOTE_IP_FIELD_NUMBER
static int
FILTER_STATE_FIELD_NUMBER
static int
HEADER_FIELD_NUMBER
private java.lang.Object
identifier_
private int
identifierCase_
private byte
memoizedIsInitialized
static int
METADATA_FIELD_NUMBER
static int
NOT_ID_FIELD_NUMBER
static int
OR_IDS_FIELD_NUMBER
private static com.google.protobuf.Parser<Principal>
PARSER
static int
REMOTE_IP_FIELD_NUMBER
private static long
serialVersionUID
static int
SOURCE_IP_FIELD_NUMBER
static int
URL_PATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Principal.Set
getAndIds()
A set of identifiers that all must match in order to define the downstream.Principal.SetOrBuilder
getAndIdsOrBuilder()
A set of identifiers that all must match in order to define the downstream.boolean
getAny()
When any is set, it matches any downstream.Principal.Authenticated
getAuthenticated()
Authenticated attributes that identify the downstream.Principal.AuthenticatedOrBuilder
getAuthenticatedOrBuilder()
Authenticated attributes that identify the downstream.static Principal
getDefaultInstance()
Principal
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
CidrRange
getDirectRemoteIp()
A CIDR block that describes the downstream remote/origin address.CidrRangeOrBuilder
getDirectRemoteIpOrBuilder()
A CIDR block that describes the downstream remote/origin address.FilterStateMatcher
getFilterState()
Identifies the principal using a filter state object.FilterStateMatcherOrBuilder
getFilterStateOrBuilder()
Identifies the principal using a filter state object.HeaderMatcher
getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcherOrBuilder
getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.IdentifierCase
getIdentifierCase()
MetadataMatcher
getMetadata()
Metadata that describes additional information about the principal.MetadataMatcherOrBuilder
getMetadataOrBuilder()
Metadata that describes additional information about the principal.Principal
getNotId()
Negates matching the provided principal.PrincipalOrBuilder
getNotIdOrBuilder()
Negates matching the provided principal.Principal.Set
getOrIds()
A set of identifiers at least one must match in order to define the downstream.Principal.SetOrBuilder
getOrIdsOrBuilder()
A set of identifiers at least one must match in order to define the downstream.com.google.protobuf.Parser<Principal>
getParserForType()
CidrRange
getRemoteIp()
A CIDR block that describes the downstream remote/origin address.CidrRangeOrBuilder
getRemoteIpOrBuilder()
A CIDR block that describes the downstream remote/origin address.int
getSerializedSize()
CidrRange
getSourceIp()
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.CidrRangeOrBuilder
getSourceIpOrBuilder()
Deprecated.PathMatcher
getUrlPath()
A URL path on the incoming HTTP request.PathMatcherOrBuilder
getUrlPathOrBuilder()
A URL path on the incoming HTTP request.boolean
hasAndIds()
A set of identifiers that all must match in order to define the downstream.boolean
hasAny()
When any is set, it matches any downstream.boolean
hasAuthenticated()
Authenticated attributes that identify the downstream.boolean
hasDirectRemoteIp()
A CIDR block that describes the downstream remote/origin address.boolean
hasFilterState()
Identifies the principal using a filter state object.int
hashCode()
boolean
hasHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.boolean
hasMetadata()
Metadata that describes additional information about the principal.boolean
hasNotId()
Negates matching the provided principal.boolean
hasOrIds()
A set of identifiers at least one must match in order to define the downstream.boolean
hasRemoteIp()
A CIDR block that describes the downstream remote/origin address.boolean
hasSourceIp()
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.boolean
hasUrlPath()
A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Principal.Builder
newBuilder()
static Principal.Builder
newBuilder(Principal prototype)
Principal.Builder
newBuilderForType()
protected Principal.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static Principal
parseDelimitedFrom(java.io.InputStream input)
static Principal
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Principal
parseFrom(byte[] data)
static Principal
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Principal
parseFrom(com.google.protobuf.ByteString data)
static Principal
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Principal
parseFrom(com.google.protobuf.CodedInputStream input)
static Principal
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Principal
parseFrom(java.io.InputStream input)
static Principal
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Principal
parseFrom(java.nio.ByteBuffer data)
static Principal
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Principal>
parser()
Principal.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
identifierCase_
private int identifierCase_
-
identifier_
private java.lang.Object identifier_
-
AND_IDS_FIELD_NUMBER
public static final int AND_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OR_IDS_FIELD_NUMBER
public static final int OR_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHENTICATED_FIELD_NUMBER
public static final int AUTHENTICATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECT_REMOTE_IP_FIELD_NUMBER
public static final int DIRECT_REMOTE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_IP_FIELD_NUMBER
public static final int REMOTE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_PATH_FIELD_NUMBER
public static final int URL_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_STATE_FIELD_NUMBER
public static final int FILTER_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_ID_FIELD_NUMBER
public static final int NOT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Principal DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Principal> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getIdentifierCase
public Principal.IdentifierCase getIdentifierCase()
- Specified by:
getIdentifierCase
in interfacePrincipalOrBuilder
-
hasAndIds
public boolean hasAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
- Specified by:
hasAndIds
in interfacePrincipalOrBuilder
- Returns:
- Whether the andIds field is set.
-
getAndIds
public Principal.Set getAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
- Specified by:
getAndIds
in interfacePrincipalOrBuilder
- Returns:
- The andIds.
-
getAndIdsOrBuilder
public Principal.SetOrBuilder getAndIdsOrBuilder()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
- Specified by:
getAndIdsOrBuilder
in interfacePrincipalOrBuilder
-
hasOrIds
public boolean hasOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
- Specified by:
hasOrIds
in interfacePrincipalOrBuilder
- Returns:
- Whether the orIds field is set.
-
getOrIds
public Principal.Set getOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
- Specified by:
getOrIds
in interfacePrincipalOrBuilder
- Returns:
- The orIds.
-
getOrIdsOrBuilder
public Principal.SetOrBuilder getOrIdsOrBuilder()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
- Specified by:
getOrIdsOrBuilder
in interfacePrincipalOrBuilder
-
hasAny
public boolean hasAny()
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }
- Specified by:
hasAny
in interfacePrincipalOrBuilder
- Returns:
- Whether the any field is set.
-
getAny
public boolean getAny()
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }
- Specified by:
getAny
in interfacePrincipalOrBuilder
- Returns:
- The any.
-
hasAuthenticated
public boolean hasAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
hasAuthenticated
in interfacePrincipalOrBuilder
- Returns:
- Whether the authenticated field is set.
-
getAuthenticated
public Principal.Authenticated getAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
getAuthenticated
in interfacePrincipalOrBuilder
- Returns:
- The authenticated.
-
getAuthenticatedOrBuilder
public Principal.AuthenticatedOrBuilder getAuthenticatedOrBuilder()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
getAuthenticatedOrBuilder
in interfacePrincipalOrBuilder
-
hasSourceIp
@Deprecated public boolean hasSourceIp()
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated. See envoy/config/rbac/v3/rbac.proto;l=331A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF. This field is deprecated; either use :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` for the same behavior, or use :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`.
.envoy.config.core.v3.CidrRange source_ip = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasSourceIp
in interfacePrincipalOrBuilder
- Returns:
- Whether the sourceIp field is set.
-
getSourceIp
@Deprecated public CidrRange getSourceIp()
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated. See envoy/config/rbac/v3/rbac.proto;l=331A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF. This field is deprecated; either use :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` for the same behavior, or use :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`.
.envoy.config.core.v3.CidrRange source_ip = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getSourceIp
in interfacePrincipalOrBuilder
- Returns:
- The sourceIp.
-
getSourceIpOrBuilder
@Deprecated public CidrRangeOrBuilder getSourceIpOrBuilder()
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF. This field is deprecated; either use :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` for the same behavior, or use :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`.
.envoy.config.core.v3.CidrRange source_ip = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getSourceIpOrBuilder
in interfacePrincipalOrBuilder
-
hasDirectRemoteIp
public boolean hasDirectRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;
- Specified by:
hasDirectRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- Whether the directRemoteIp field is set.
-
getDirectRemoteIp
public CidrRange getDirectRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;
- Specified by:
getDirectRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- The directRemoteIp.
-
getDirectRemoteIpOrBuilder
public CidrRangeOrBuilder getDirectRemoteIpOrBuilder()
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;
- Specified by:
getDirectRemoteIpOrBuilder
in interfacePrincipalOrBuilder
-
hasRemoteIp
public boolean hasRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This may not be the physical peer and could be different from the :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;
- Specified by:
hasRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- Whether the remoteIp field is set.
-
getRemoteIp
public CidrRange getRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This may not be the physical peer and could be different from the :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;
- Specified by:
getRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- The remoteIp.
-
getRemoteIpOrBuilder
public CidrRangeOrBuilder getRemoteIpOrBuilder()
A CIDR block that describes the downstream remote/origin address. Note: This may not be the physical peer and could be different from the :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;
- Specified by:
getRemoteIpOrBuilder
in interfacePrincipalOrBuilder
-
hasHeader
public boolean hasHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the ``url_path`` field if you want to match the URL path without the query and fragment string.
.envoy.config.route.v3.HeaderMatcher header = 6;
- Specified by:
hasHeader
in interfacePrincipalOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public HeaderMatcher getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the ``url_path`` field if you want to match the URL path without the query and fragment string.
.envoy.config.route.v3.HeaderMatcher header = 6;
- Specified by:
getHeader
in interfacePrincipalOrBuilder
- Returns:
- The header.
-
getHeaderOrBuilder
public HeaderMatcherOrBuilder getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the ``url_path`` field if you want to match the URL path without the query and fragment string.
.envoy.config.route.v3.HeaderMatcher header = 6;
- Specified by:
getHeaderOrBuilder
in interfacePrincipalOrBuilder
-
hasUrlPath
public boolean hasUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
- Specified by:
hasUrlPath
in interfacePrincipalOrBuilder
- Returns:
- Whether the urlPath field is set.
-
getUrlPath
public PathMatcher getUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
- Specified by:
getUrlPath
in interfacePrincipalOrBuilder
- Returns:
- The urlPath.
-
getUrlPathOrBuilder
public PathMatcherOrBuilder getUrlPathOrBuilder()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
- Specified by:
getUrlPathOrBuilder
in interfacePrincipalOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
hasMetadata
in interfacePrincipalOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public MetadataMatcher getMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadata
in interfacePrincipalOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public MetadataMatcherOrBuilder getMetadataOrBuilder()
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadataOrBuilder
in interfacePrincipalOrBuilder
-
hasFilterState
public boolean hasFilterState()
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
hasFilterState
in interfacePrincipalOrBuilder
- Returns:
- Whether the filterState field is set.
-
getFilterState
public FilterStateMatcher getFilterState()
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
getFilterState
in interfacePrincipalOrBuilder
- Returns:
- The filterState.
-
getFilterStateOrBuilder
public FilterStateMatcherOrBuilder getFilterStateOrBuilder()
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
getFilterStateOrBuilder
in interfacePrincipalOrBuilder
-
hasNotId
public boolean hasNotId()
Negates matching the provided principal. For instance, if the value of ``not_id`` would match, this principal would not match. Conversely, if the value of ``not_id`` would not match, this principal would match.
.envoy.config.rbac.v3.Principal not_id = 8;
- Specified by:
hasNotId
in interfacePrincipalOrBuilder
- Returns:
- Whether the notId field is set.
-
getNotId
public Principal getNotId()
Negates matching the provided principal. For instance, if the value of ``not_id`` would match, this principal would not match. Conversely, if the value of ``not_id`` would not match, this principal would match.
.envoy.config.rbac.v3.Principal not_id = 8;
- Specified by:
getNotId
in interfacePrincipalOrBuilder
- Returns:
- The notId.
-
getNotIdOrBuilder
public PrincipalOrBuilder getNotIdOrBuilder()
Negates matching the provided principal. For instance, if the value of ``not_id`` would match, this principal would not match. Conversely, if the value of ``not_id`` would not match, this principal would match.
.envoy.config.rbac.v3.Principal not_id = 8;
- Specified by:
getNotIdOrBuilder
in interfacePrincipalOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Principal parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Principal parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Principal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Principal parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Principal.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Principal.Builder newBuilder()
-
newBuilder
public static Principal.Builder newBuilder(Principal prototype)
-
toBuilder
public Principal.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Principal.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Principal getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Principal> parser()
-
getParserForType
public com.google.protobuf.Parser<Principal> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Principal getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-