Class Principal
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
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,Serializable
public final class Principal
extends com.google.protobuf.GeneratedMessageV3
implements PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject. [#next-free-field: 15]Protobuf type
envoy.config.rbac.v3.Principal- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAuthentication attributes for a downstream.static interfacestatic final classPrincipal defines an identity or a group of identities for a downstream subject.static enumstatic final classUsed in the ``and_ids`` and ``or_ids`` fields in the ``identifier`` oneof.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA set of identifiers that all must match in order to define the downstream.A set of identifiers that all must match in order to define the downstream.booleangetAny()When any is set, it matches any downstream.Authenticated attributes that identify the downstream.Authenticated attributes that identify the downstream.Extension for configuring custom principals for RBAC.Extension for configuring custom principals for RBAC.static Principalstatic final com.google.protobuf.Descriptors.DescriptorA 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 the x-forwarder-for header, the proxy protocol, etc.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 the x-forwarder-for header, the proxy protocol, etc.Identifies the principal using a filter state object.Identifies the principal using a filter state object.A header (or pseudo-header such as ``:path`` or ``:method``) on the incoming HTTP request.A header (or pseudo-header such as ``:path`` or ``:method``) on the incoming HTTP request.Deprecated.envoy.config.rbac.v3.Principal.metadata is deprecated.Deprecated.getNotId()Negates matching the provided principal.Negates matching the provided principal.getOrIds()A set of identifiers at least one must match in order to define the downstream.A set of identifiers at least one must match in order to define the downstream.com.google.protobuf.Parser<Principal>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>`.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>`.intMatches against metadata from either dynamic state or route configuration.Matches against metadata from either dynamic state or route configuration.Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.Deprecated.A URL path on the incoming HTTP request.A URL path on the incoming HTTP request.booleanA set of identifiers that all must match in order to define the downstream.booleanhasAny()When any is set, it matches any downstream.booleanAuthenticated attributes that identify the downstream.booleanExtension for configuring custom principals for RBAC.booleanA 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 the x-forwarder-for header, the proxy protocol, etc.booleanIdentifies the principal using a filter state object.inthashCode()booleanA header (or pseudo-header such as ``:path`` or ``:method``) on the incoming HTTP request.booleanDeprecated.envoy.config.rbac.v3.Principal.metadata is deprecated.booleanhasNotId()Negates matching the provided principal.booleanhasOrIds()A set of identifiers at least one must match in order to define the downstream.booleanA 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>`.booleanMatches against metadata from either dynamic state or route configuration.booleanDeprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.booleanA URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Principal.Builderstatic Principal.BuildernewBuilder(Principal prototype) protected Principal.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PrincipalparseDelimitedFrom(InputStream input) static PrincipalparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrincipalparseFrom(byte[] data) static PrincipalparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrincipalparseFrom(com.google.protobuf.ByteString data) static PrincipalparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrincipalparseFrom(com.google.protobuf.CodedInputStream input) static PrincipalparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrincipalparseFrom(InputStream input) static PrincipalparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrincipalparseFrom(ByteBuffer data) static PrincipalparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Principal>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AND_IDS_FIELD_NUMBER
public static final int AND_IDS_FIELD_NUMBER- See Also:
-
OR_IDS_FIELD_NUMBER
public static final int OR_IDS_FIELD_NUMBER- See Also:
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER- See Also:
-
AUTHENTICATED_FIELD_NUMBER
public static final int AUTHENTICATED_FIELD_NUMBER- See Also:
-
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER- See Also:
-
DIRECT_REMOTE_IP_FIELD_NUMBER
public static final int DIRECT_REMOTE_IP_FIELD_NUMBER- See Also:
-
REMOTE_IP_FIELD_NUMBER
public static final int REMOTE_IP_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
URL_PATH_FIELD_NUMBER
public static final int URL_PATH_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
FILTER_STATE_FIELD_NUMBER
public static final int FILTER_STATE_FIELD_NUMBER- See Also:
-
NOT_ID_FIELD_NUMBER
public static final int NOT_ID_FIELD_NUMBER- See Also:
-
SOURCED_METADATA_FIELD_NUMBER
public static final int SOURCED_METADATA_FIELD_NUMBER- See Also:
-
CUSTOM_FIELD_NUMBER
public static final int CUSTOM_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getIdentifierCase
- Specified by:
getIdentifierCasein 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:
hasAndIdsin interfacePrincipalOrBuilder- Returns:
- Whether the andIds field is 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:
getAndIdsin interfacePrincipalOrBuilder- Returns:
- The andIds.
-
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:
getAndIdsOrBuilderin 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:
hasOrIdsin interfacePrincipalOrBuilder- Returns:
- Whether the orIds field is 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:
getOrIdsin interfacePrincipalOrBuilder- Returns:
- The orIds.
-
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:
getOrIdsOrBuilderin interfacePrincipalOrBuilder
-
hasAny
public boolean hasAny()When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }- Specified by:
hasAnyin 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:
getAnyin interfacePrincipalOrBuilder- Returns:
- The any.
-
hasAuthenticated
public boolean hasAuthenticated()Authenticated attributes that identify the downstream. It is recommended to NOT use this field, but instead use :ref:`MTlsAuthenticated <envoy_v3_api_msg_extensions.rbac.principals.mtls_authenticated.v3.Config>`, configured via :ref:`custom <envoy_v3_api_field_config.rbac.v3.Principal.custom>`, which should be used for most use cases due to its improved security.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;- Specified by:
hasAuthenticatedin interfacePrincipalOrBuilder- Returns:
- Whether the authenticated field is set.
-
getAuthenticated
Authenticated attributes that identify the downstream. It is recommended to NOT use this field, but instead use :ref:`MTlsAuthenticated <envoy_v3_api_msg_extensions.rbac.principals.mtls_authenticated.v3.Config>`, configured via :ref:`custom <envoy_v3_api_field_config.rbac.v3.Principal.custom>`, which should be used for most use cases due to its improved security.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;- Specified by:
getAuthenticatedin interfacePrincipalOrBuilder- Returns:
- The authenticated.
-
getAuthenticatedOrBuilder
Authenticated attributes that identify the downstream. It is recommended to NOT use this field, but instead use :ref:`MTlsAuthenticated <envoy_v3_api_msg_extensions.rbac.principals.mtls_authenticated.v3.Config>`, configured via :ref:`custom <envoy_v3_api_field_config.rbac.v3.Principal.custom>`, which should be used for most use cases due to its improved security.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;- Specified by:
getAuthenticatedOrBuilderin interfacePrincipalOrBuilder
-
hasSourceIp
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated. See envoy/config/rbac/v3/rbac.proto;l=386A 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:
hasSourceIpin interfacePrincipalOrBuilder- Returns:
- Whether the sourceIp field is set.
-
getSourceIp
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated. See envoy/config/rbac/v3/rbac.proto;l=386A 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:
getSourceIpin interfacePrincipalOrBuilder- Returns:
- The sourceIp.
-
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:
getSourceIpOrBuilderin 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 the x-forwarder-for header, the proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;- Specified by:
hasDirectRemoteIpin interfacePrincipalOrBuilder- Returns:
- Whether the directRemoteIp field is set.
-
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 the x-forwarder-for header, the proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;- Specified by:
getDirectRemoteIpin interfacePrincipalOrBuilder- Returns:
- The directRemoteIp.
-
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 the x-forwarder-for header, the proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;- Specified by:
getDirectRemoteIpOrBuilderin 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 the x-forwarder-for header, the proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;- Specified by:
hasRemoteIpin interfacePrincipalOrBuilder- Returns:
- Whether the remoteIp field is set.
-
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 the x-forwarder-for header, the proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;- Specified by:
getRemoteIpin interfacePrincipalOrBuilder- Returns:
- The remoteIp.
-
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 the x-forwarder-for header, the proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;- Specified by:
getRemoteIpOrBuilderin 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:
hasHeaderin interfacePrincipalOrBuilder- Returns:
- Whether the header field is set.
-
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:
getHeaderin interfacePrincipalOrBuilder- Returns:
- The header.
-
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:
getHeaderOrBuilderin 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:
hasUrlPathin interfacePrincipalOrBuilder- Returns:
- Whether the urlPath field is set.
-
getUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;- Specified by:
getUrlPathin interfacePrincipalOrBuilder- Returns:
- The urlPath.
-
getUrlPathOrBuilder
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;- Specified by:
getUrlPathOrBuilderin interfacePrincipalOrBuilder
-
hasMetadata
Deprecated.envoy.config.rbac.v3.Principal.metadata is deprecated. See envoy/config/rbac/v3/rbac.proto;l=424Metadata that describes additional information about the principal. This field is deprecated; please use :ref:`sourced_metadata<envoy_v3_api_field_config.rbac.v3.Principal.sourced_metadata>` instead.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasMetadatain interfacePrincipalOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Deprecated.envoy.config.rbac.v3.Principal.metadata is deprecated. See envoy/config/rbac/v3/rbac.proto;l=424Metadata that describes additional information about the principal. This field is deprecated; please use :ref:`sourced_metadata<envoy_v3_api_field_config.rbac.v3.Principal.sourced_metadata>` instead.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getMetadatain interfacePrincipalOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
Deprecated.Metadata that describes additional information about the principal. This field is deprecated; please use :ref:`sourced_metadata<envoy_v3_api_field_config.rbac.v3.Principal.sourced_metadata>` instead.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getMetadataOrBuilderin interfacePrincipalOrBuilder
-
hasFilterState
public boolean hasFilterState()Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;- Specified by:
hasFilterStatein interfacePrincipalOrBuilder- Returns:
- Whether the filterState field is set.
-
getFilterState
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;- Specified by:
getFilterStatein interfacePrincipalOrBuilder- Returns:
- The filterState.
-
getFilterStateOrBuilder
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;- Specified by:
getFilterStateOrBuilderin 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:
hasNotIdin interfacePrincipalOrBuilder- Returns:
- Whether the notId field is set.
-
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:
getNotIdin interfacePrincipalOrBuilder- Returns:
- The notId.
-
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:
getNotIdOrBuilderin interfacePrincipalOrBuilder
-
hasSourcedMetadata
public boolean hasSourcedMetadata()Matches against metadata from either dynamic state or route configuration. Preferred over the ``metadata`` field as it provides more flexibility in metadata source selection.
.envoy.config.rbac.v3.SourcedMetadata sourced_metadata = 13;- Specified by:
hasSourcedMetadatain interfacePrincipalOrBuilder- Returns:
- Whether the sourcedMetadata field is set.
-
getSourcedMetadata
Matches against metadata from either dynamic state or route configuration. Preferred over the ``metadata`` field as it provides more flexibility in metadata source selection.
.envoy.config.rbac.v3.SourcedMetadata sourced_metadata = 13;- Specified by:
getSourcedMetadatain interfacePrincipalOrBuilder- Returns:
- The sourcedMetadata.
-
getSourcedMetadataOrBuilder
Matches against metadata from either dynamic state or route configuration. Preferred over the ``metadata`` field as it provides more flexibility in metadata source selection.
.envoy.config.rbac.v3.SourcedMetadata sourced_metadata = 13;- Specified by:
getSourcedMetadataOrBuilderin interfacePrincipalOrBuilder
-
hasCustom
public boolean hasCustom()Extension for configuring custom principals for RBAC. [#extension-category: envoy.rbac.principals]
.envoy.config.core.v3.TypedExtensionConfig custom = 14;- Specified by:
hasCustomin interfacePrincipalOrBuilder- Returns:
- Whether the custom field is set.
-
getCustom
Extension for configuring custom principals for RBAC. [#extension-category: envoy.rbac.principals]
.envoy.config.core.v3.TypedExtensionConfig custom = 14;- Specified by:
getCustomin interfacePrincipalOrBuilder- Returns:
- The custom.
-
getCustomOrBuilder
Extension for configuring custom principals for RBAC. [#extension-category: envoy.rbac.principals]
.envoy.config.core.v3.TypedExtensionConfig custom = 14;- Specified by:
getCustomOrBuilderin interfacePrincipalOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Principal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(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
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Principal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Principal.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-