Class Principal.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Principal.Builder>
com.google.protobuf.GeneratedMessage.Builder<Principal.Builder>
io.envoyproxy.envoy.config.rbac.v3.Principal.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PrincipalOrBuilder
,Cloneable
- Enclosing class:
Principal
public static final class Principal.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Principal.Builder>
implements PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject. [#next-free-field: 13]Protobuf type
envoy.config.rbac.v3.Principal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.SingleFieldBuilder
<Principal.Set, Principal.Set.Builder, Principal.SetOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Principal.Authenticated, Principal.Authenticated.Builder, Principal.AuthenticatedOrBuilder> private int
private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> private com.google.protobuf.SingleFieldBuilder
<FilterStateMatcher, FilterStateMatcher.Builder, FilterStateMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder
<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private Object
private int
private com.google.protobuf.SingleFieldBuilder
<MetadataMatcher, MetadataMatcher.Builder, MetadataMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Principal, Principal.Builder, PrincipalOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Principal.Set, Principal.Set.Builder, Principal.SetOrBuilder> private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> private com.google.protobuf.SingleFieldBuilder
<PathMatcher, PathMatcher.Builder, PathMatcherOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Principal result) private void
buildPartialOneofs
(Principal result) clear()
A set of identifiers that all must match in order to define the downstream.clearAny()
When any is set, it matches any downstream.Authenticated attributes that identify the downstream.A CIDR block that describes the downstream remote/origin address.Identifies the principal using a filter state object.A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Metadata that describes additional information about the principal.Negates matching the provided principal.A set of identifiers at least one must match in order to define the downstream.A CIDR block that describes the downstream remote/origin address.Deprecated.A URL path on the incoming HTTP request.A 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.private com.google.protobuf.SingleFieldBuilder
<Principal.Set, Principal.Set.Builder, Principal.SetOrBuilder> A 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.boolean
getAny()
When any is set, it matches any downstream.Authenticated attributes that identify the downstream.Authenticated attributes that identify the downstream.private com.google.protobuf.SingleFieldBuilder
<Principal.Authenticated, Principal.Authenticated.Builder, Principal.AuthenticatedOrBuilder> Authenticated attributes that identify the downstream.Authenticated attributes that identify the downstream.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
A CIDR block that describes the downstream remote/origin address.A CIDR block that describes the downstream remote/origin address.private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> A CIDR block that describes the downstream remote/origin address.A CIDR block that describes the downstream remote/origin address.Identifies the principal using a filter state object.Identifies the principal using a filter state object.private com.google.protobuf.SingleFieldBuilder
<FilterStateMatcher, FilterStateMatcher.Builder, FilterStateMatcherOrBuilder> 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.private com.google.protobuf.SingleFieldBuilder
<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> 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.Metadata that describes additional information about the principal.Metadata that describes additional information about the principal.private com.google.protobuf.SingleFieldBuilder
<MetadataMatcher, MetadataMatcher.Builder, MetadataMatcherOrBuilder> Metadata that describes additional information about the principal.Metadata that describes additional information about the principal.getNotId()
Negates matching the provided principal.Negates matching the provided principal.private com.google.protobuf.SingleFieldBuilder
<Principal, Principal.Builder, PrincipalOrBuilder> 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.private com.google.protobuf.SingleFieldBuilder
<Principal.Set, Principal.Set.Builder, Principal.SetOrBuilder> 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.A CIDR block that describes the downstream remote/origin address.A CIDR block that describes the downstream remote/origin address.private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> A CIDR block that describes the downstream remote/origin address.A CIDR block that describes the downstream remote/origin address.Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.Deprecated.private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> A CIDR block that describes the downstream IP.Deprecated.A URL path on the incoming HTTP request.A URL path on the incoming HTTP request.private com.google.protobuf.SingleFieldBuilder
<PathMatcher, PathMatcher.Builder, PathMatcherOrBuilder> A URL path on the incoming HTTP request.A URL path on the incoming HTTP request.boolean
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
Authenticated attributes that identify the downstream.boolean
A CIDR block that describes the downstream remote/origin address.boolean
Identifies the principal using a filter state object.boolean
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.boolean
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
A CIDR block that describes the downstream remote/origin address.boolean
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.boolean
A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeAndIds
(Principal.Set value) A set of identifiers that all must match in order to define the downstream.Authenticated attributes that identify the downstream.mergeDirectRemoteIp
(CidrRange value) A CIDR block that describes the downstream remote/origin address.Identifies the principal using a filter state object.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeHeader
(HeaderMatcher value) A header (or pseudo-header such as :path or :method) on the incoming HTTP request.mergeMetadata
(MetadataMatcher value) Metadata that describes additional information about the principal.mergeNotId
(Principal value) Negates matching the provided principal.mergeOrIds
(Principal.Set value) A set of identifiers at least one must match in order to define the downstream.mergeRemoteIp
(CidrRange value) A CIDR block that describes the downstream remote/origin address.mergeSourceIp
(CidrRange value) Deprecated.mergeUrlPath
(PathMatcher value) A URL path on the incoming HTTP request.setAndIds
(Principal.Set value) A set of identifiers that all must match in order to define the downstream.setAndIds
(Principal.Set.Builder builderForValue) A set of identifiers that all must match in order to define the downstream.setAny
(boolean value) When any is set, it matches any downstream.Authenticated attributes that identify the downstream.setAuthenticated
(Principal.Authenticated.Builder builderForValue) Authenticated attributes that identify the downstream.setDirectRemoteIp
(CidrRange value) A CIDR block that describes the downstream remote/origin address.setDirectRemoteIp
(CidrRange.Builder builderForValue) A CIDR block that describes the downstream remote/origin address.setFilterState
(FilterStateMatcher value) Identifies the principal using a filter state object.setFilterState
(FilterStateMatcher.Builder builderForValue) Identifies the principal using a filter state object.setHeader
(HeaderMatcher value) A header (or pseudo-header such as :path or :method) on the incoming HTTP request.setHeader
(HeaderMatcher.Builder builderForValue) A header (or pseudo-header such as :path or :method) on the incoming HTTP request.setMetadata
(MetadataMatcher value) Metadata that describes additional information about the principal.setMetadata
(MetadataMatcher.Builder builderForValue) Metadata that describes additional information about the principal.Negates matching the provided principal.setNotId
(Principal.Builder builderForValue) Negates matching the provided principal.setOrIds
(Principal.Set value) A set of identifiers at least one must match in order to define the downstream.setOrIds
(Principal.Set.Builder builderForValue) A set of identifiers at least one must match in order to define the downstream.setRemoteIp
(CidrRange value) A CIDR block that describes the downstream remote/origin address.setRemoteIp
(CidrRange.Builder builderForValue) A CIDR block that describes the downstream remote/origin address.setSourceIp
(CidrRange value) Deprecated.setSourceIp
(CidrRange.Builder builderForValue) Deprecated.setUrlPath
(PathMatcher value) A URL path on the incoming HTTP request.setUrlPath
(PathMatcher.Builder builderForValue) A URL path on the incoming HTTP request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
identifierCase_
private int identifierCase_ -
identifier_
-
bitField0_
private int bitField0_ -
andIdsBuilder_
private com.google.protobuf.SingleFieldBuilder<Principal.Set,Principal.Set.Builder, andIdsBuilder_Principal.SetOrBuilder> -
orIdsBuilder_
private com.google.protobuf.SingleFieldBuilder<Principal.Set,Principal.Set.Builder, orIdsBuilder_Principal.SetOrBuilder> -
authenticatedBuilder_
private com.google.protobuf.SingleFieldBuilder<Principal.Authenticated,Principal.Authenticated.Builder, authenticatedBuilder_Principal.AuthenticatedOrBuilder> -
sourceIpBuilder_
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, sourceIpBuilder_CidrRangeOrBuilder> -
directRemoteIpBuilder_
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, directRemoteIpBuilder_CidrRangeOrBuilder> -
remoteIpBuilder_
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, remoteIpBuilder_CidrRangeOrBuilder> -
headerBuilder_
private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, headerBuilder_HeaderMatcherOrBuilder> -
urlPathBuilder_
private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder, urlPathBuilder_PathMatcherOrBuilder> -
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder, metadataBuilder_MetadataMatcherOrBuilder> -
filterStateBuilder_
private com.google.protobuf.SingleFieldBuilder<FilterStateMatcher,FilterStateMatcher.Builder, filterStateBuilder_FilterStateMatcherOrBuilder> -
notIdBuilder_
private com.google.protobuf.SingleFieldBuilder<Principal,Principal.Builder, notIdBuilder_PrincipalOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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.Builder<Principal.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Principal.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Principal.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Principal.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Principal.Builder>
-
mergeFrom
public Principal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Principal.Builder>
- Throws:
IOException
-
getIdentifierCase
- Specified by:
getIdentifierCase
in interfacePrincipalOrBuilder
-
clearIdentifier
-
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
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.
-
setAndIds
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
-
setAndIds
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
-
mergeAndIds
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
-
clearAndIds
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
-
getAndIdsBuilder
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
-
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
-
getAndIdsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Principal.Set,Principal.Set.Builder, getAndIdsFieldBuilder()Principal.SetOrBuilder> A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
-
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
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.
-
setOrIds
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
-
setOrIds
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
-
mergeOrIds
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
-
clearOrIds
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
-
getOrIdsBuilder
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
-
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
-
getOrIdsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Principal.Set,Principal.Set.Builder, getOrIdsFieldBuilder()Principal.SetOrBuilder> A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
-
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.
-
setAny
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }
- Parameters:
value
- The any to set.- Returns:
- This builder for chaining.
-
clearAny
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
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
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
getAuthenticated
in interfacePrincipalOrBuilder
- Returns:
- The authenticated.
-
setAuthenticated
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
-
setAuthenticated
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
-
mergeAuthenticated
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
-
clearAuthenticated
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
-
getAuthenticatedBuilder
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
-
getAuthenticatedOrBuilder
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
getAuthenticatedOrBuilder
in interfacePrincipalOrBuilder
-
getAuthenticatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Principal.Authenticated,Principal.Authenticated.Builder, getAuthenticatedFieldBuilder()Principal.AuthenticatedOrBuilder> Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
-
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.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.
-
setSourceIp
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"];
-
setSourceIp
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"];
-
mergeSourceIp
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"];
-
clearSourceIp
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"];
-
getSourceIpBuilder
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"];
-
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
-
getSourceIpFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, getSourceIpFieldBuilder()CidrRangeOrBuilder> 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"];
-
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
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.
-
setDirectRemoteIp
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;
-
setDirectRemoteIp
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;
-
mergeDirectRemoteIp
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;
-
clearDirectRemoteIp
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;
-
getDirectRemoteIpBuilder
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;
-
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
-
getDirectRemoteIpFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, getDirectRemoteIpFieldBuilder()CidrRangeOrBuilder> 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;
-
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
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.
-
setRemoteIp
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;
-
setRemoteIp
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;
-
mergeRemoteIp
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;
-
clearRemoteIp
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;
-
getRemoteIpBuilder
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;
-
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
-
getRemoteIpFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, getRemoteIpFieldBuilder()CidrRangeOrBuilder> 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;
-
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
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.
-
setHeader
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;
-
setHeader
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;
-
mergeHeader
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;
-
clearHeader
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;
-
getHeaderBuilder
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;
-
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
-
getHeaderFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, getHeaderFieldBuilder()HeaderMatcherOrBuilder> 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;
-
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
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.
-
setUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
-
setUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
-
mergeUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
-
clearUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
-
getUrlPathBuilder
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
-
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
-
getUrlPathFieldBuilder
private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder, getUrlPathFieldBuilder()PathMatcherOrBuilder> A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
-
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
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadata
in interfacePrincipalOrBuilder
- Returns:
- The metadata.
-
setMetadata
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
setMetadata
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
mergeMetadata
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
clearMetadata
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
getMetadataBuilder
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
getMetadataOrBuilder
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadataOrBuilder
in interfacePrincipalOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder, getMetadataFieldBuilder()MetadataMatcherOrBuilder> Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
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
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
getFilterState
in interfacePrincipalOrBuilder
- Returns:
- The filterState.
-
setFilterState
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
-
setFilterState
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
-
mergeFilterState
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
-
clearFilterState
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
-
getFilterStateBuilder
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
-
getFilterStateOrBuilder
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
getFilterStateOrBuilder
in interfacePrincipalOrBuilder
-
getFilterStateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FilterStateMatcher,FilterStateMatcher.Builder, getFilterStateFieldBuilder()FilterStateMatcherOrBuilder> Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
-
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
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.
-
setNotId
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;
-
setNotId
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;
-
mergeNotId
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;
-
clearNotId
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;
-
getNotIdBuilder
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;
-
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
-
getNotIdFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Principal,Principal.Builder, getNotIdFieldBuilder()PrincipalOrBuilder> 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;
-