Class Principal.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
- io.envoyproxy.envoy.config.rbac.v2.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.GeneratedMessageV3.Builder<Principal.Builder> implements PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject. [#next-free-field: 12]
Protobuf typeenvoy.config.rbac.v2.Principal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Principal.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Principalbuild()PrincipalbuildPartial()Principal.Builderclear()Principal.BuilderclearAndIds()A set of identifiers that all must match in order to define the downstream.Principal.BuilderclearAny()When any is set, it matches any downstream.Principal.BuilderclearAuthenticated()Authenticated attributes that identify the downstream.Principal.BuilderclearDirectRemoteIp()A CIDR block that describes the downstream remote/origin address.Principal.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Principal.BuilderclearHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.BuilderclearIdentifier()Principal.BuilderclearMetadata()Metadata that describes additional information about the principal.Principal.BuilderclearNotId()Negates matching the provided principal.Principal.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Principal.BuilderclearOrIds()A set of identifiers at least one must match in order to define the downstream.Principal.BuilderclearRemoteIp()A CIDR block that describes the downstream remote/origin address.Principal.BuilderclearSourceIp()Deprecated.Principal.BuilderclearUrlPath()A URL path on the incoming HTTP request.Principal.Builderclone()Principal.SetgetAndIds()A set of identifiers that all must match in order to define the downstream.Principal.Set.BuildergetAndIdsBuilder()A set of identifiers that all must match in order to define the downstream.Principal.SetOrBuildergetAndIdsOrBuilder()A set of identifiers that all must match in order to define the downstream.booleangetAny()When any is set, it matches any downstream.Principal.AuthenticatedgetAuthenticated()Authenticated attributes that identify the downstream.Principal.Authenticated.BuildergetAuthenticatedBuilder()Authenticated attributes that identify the downstream.Principal.AuthenticatedOrBuildergetAuthenticatedOrBuilder()Authenticated attributes that identify the downstream.PrincipalgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CidrRangegetDirectRemoteIp()A CIDR block that describes the downstream remote/origin address.CidrRange.BuildergetDirectRemoteIpBuilder()A CIDR block that describes the downstream remote/origin address.CidrRangeOrBuildergetDirectRemoteIpOrBuilder()A CIDR block that describes the downstream remote/origin address.HeaderMatchergetHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcher.BuildergetHeaderBuilder()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcherOrBuildergetHeaderOrBuilder()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.IdentifierCasegetIdentifierCase()MetadataMatchergetMetadata()Metadata that describes additional information about the principal.MetadataMatcher.BuildergetMetadataBuilder()Metadata that describes additional information about the principal.MetadataMatcherOrBuildergetMetadataOrBuilder()Metadata that describes additional information about the principal.PrincipalgetNotId()Negates matching the provided principal.Principal.BuildergetNotIdBuilder()Negates matching the provided principal.PrincipalOrBuildergetNotIdOrBuilder()Negates matching the provided principal.Principal.SetgetOrIds()A set of identifiers at least one must match in order to define the downstream.Principal.Set.BuildergetOrIdsBuilder()A set of identifiers at least one must match in order to define the downstream.Principal.SetOrBuildergetOrIdsOrBuilder()A set of identifiers at least one must match in order to define the downstream.CidrRangegetRemoteIp()A CIDR block that describes the downstream remote/origin address.CidrRange.BuildergetRemoteIpBuilder()A CIDR block that describes the downstream remote/origin address.CidrRangeOrBuildergetRemoteIpOrBuilder()A CIDR block that describes the downstream remote/origin address.CidrRangegetSourceIp()Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated.CidrRange.BuildergetSourceIpBuilder()Deprecated.CidrRangeOrBuildergetSourceIpOrBuilder()Deprecated.PathMatchergetUrlPath()A URL path on the incoming HTTP request.PathMatcher.BuildergetUrlPathBuilder()A URL path on the incoming HTTP request.PathMatcherOrBuildergetUrlPathOrBuilder()A URL path on the incoming HTTP request.booleanhasAndIds()A set of identifiers that all must match in order to define the downstream.booleanhasAny()When any is set, it matches any downstream.booleanhasAuthenticated()Authenticated attributes that identify the downstream.booleanhasDirectRemoteIp()A CIDR block that describes the downstream remote/origin address.booleanhasHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.booleanhasMetadata()Metadata that describes additional information about the principal.booleanhasNotId()Negates matching the provided principal.booleanhasOrIds()A set of identifiers at least one must match in order to define the downstream.booleanhasRemoteIp()A CIDR block that describes the downstream remote/origin address.booleanhasSourceIp()Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated.booleanhasUrlPath()A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Principal.BuildermergeAndIds(Principal.Set value)A set of identifiers that all must match in order to define the downstream.Principal.BuildermergeAuthenticated(Principal.Authenticated value)Authenticated attributes that identify the downstream.Principal.BuildermergeDirectRemoteIp(CidrRange value)A CIDR block that describes the downstream remote/origin address.Principal.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Principal.BuildermergeFrom(com.google.protobuf.Message other)Principal.BuildermergeFrom(Principal other)Principal.BuildermergeHeader(HeaderMatcher value)A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.BuildermergeMetadata(MetadataMatcher value)Metadata that describes additional information about the principal.Principal.BuildermergeNotId(Principal value)Negates matching the provided principal.Principal.BuildermergeOrIds(Principal.Set value)A set of identifiers at least one must match in order to define the downstream.Principal.BuildermergeRemoteIp(CidrRange value)A CIDR block that describes the downstream remote/origin address.Principal.BuildermergeSourceIp(CidrRange value)Deprecated.Principal.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Principal.BuildermergeUrlPath(PathMatcher value)A URL path on the incoming HTTP request.Principal.BuildersetAndIds(Principal.Set value)A set of identifiers that all must match in order to define the downstream.Principal.BuildersetAndIds(Principal.Set.Builder builderForValue)A set of identifiers that all must match in order to define the downstream.Principal.BuildersetAny(boolean value)When any is set, it matches any downstream.Principal.BuildersetAuthenticated(Principal.Authenticated value)Authenticated attributes that identify the downstream.Principal.BuildersetAuthenticated(Principal.Authenticated.Builder builderForValue)Authenticated attributes that identify the downstream.Principal.BuildersetDirectRemoteIp(CidrRange value)A CIDR block that describes the downstream remote/origin address.Principal.BuildersetDirectRemoteIp(CidrRange.Builder builderForValue)A CIDR block that describes the downstream remote/origin address.Principal.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Principal.BuildersetHeader(HeaderMatcher value)A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.BuildersetHeader(HeaderMatcher.Builder builderForValue)A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.BuildersetMetadata(MetadataMatcher value)Metadata that describes additional information about the principal.Principal.BuildersetMetadata(MetadataMatcher.Builder builderForValue)Metadata that describes additional information about the principal.Principal.BuildersetNotId(Principal value)Negates matching the provided principal.Principal.BuildersetNotId(Principal.Builder builderForValue)Negates matching the provided principal.Principal.BuildersetOrIds(Principal.Set value)A set of identifiers at least one must match in order to define the downstream.Principal.BuildersetOrIds(Principal.Set.Builder builderForValue)A set of identifiers at least one must match in order to define the downstream.Principal.BuildersetRemoteIp(CidrRange value)A CIDR block that describes the downstream remote/origin address.Principal.BuildersetRemoteIp(CidrRange.Builder builderForValue)A CIDR block that describes the downstream remote/origin address.Principal.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Principal.BuildersetSourceIp(CidrRange value)Deprecated.Principal.BuildersetSourceIp(CidrRange.Builder builderForValue)Deprecated.Principal.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Principal.BuildersetUrlPath(PathMatcher value)A URL path on the incoming HTTP request.Principal.BuildersetUrlPath(PathMatcher.Builder builderForValue)A URL path on the incoming HTTP request.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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.Builder<Principal.Builder>
-
clear
public Principal.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
getDefaultInstanceForType
public Principal getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Principal build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Principal buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Principal.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
setField
public Principal.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
clearField
public Principal.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
clearOneof
public Principal.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
setRepeatedField
public Principal.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
addRepeatedField
public Principal.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
mergeFrom
public Principal.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Principal.Builder>
-
mergeFrom
public Principal.Builder mergeFrom(Principal other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
mergeFrom
public Principal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Principal.Builder>- Throws:
IOException
-
getIdentifierCase
public Principal.IdentifierCase getIdentifierCase()
- Specified by:
getIdentifierCasein interfacePrincipalOrBuilder
-
clearIdentifier
public Principal.Builder clearIdentifier()
-
hasAndIds
public boolean hasAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;- Specified by:
hasAndIdsin 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.v2.Principal.Set and_ids = 1;- Specified by:
getAndIdsin interfacePrincipalOrBuilder- Returns:
- The andIds.
-
setAndIds
public Principal.Builder setAndIds(Principal.Set value)
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;
-
setAndIds
public Principal.Builder setAndIds(Principal.Set.Builder builderForValue)
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;
-
mergeAndIds
public Principal.Builder mergeAndIds(Principal.Set value)
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;
-
clearAndIds
public Principal.Builder clearAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;
-
getAndIdsBuilder
public Principal.Set.Builder getAndIdsBuilder()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;
-
getAndIdsOrBuilder
public Principal.SetOrBuilder getAndIdsOrBuilder()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.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.v2.Principal.Set or_ids = 2;- Specified by:
hasOrIdsin 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.v2.Principal.Set or_ids = 2;- Specified by:
getOrIdsin interfacePrincipalOrBuilder- Returns:
- The orIds.
-
setOrIds
public Principal.Builder setOrIds(Principal.Set value)
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;
-
setOrIds
public Principal.Builder setOrIds(Principal.Set.Builder builderForValue)
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;
-
mergeOrIds
public Principal.Builder mergeOrIds(Principal.Set value)
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;
-
clearOrIds
public Principal.Builder clearOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;
-
getOrIdsBuilder
public Principal.Set.Builder getOrIdsBuilder()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;
-
getOrIdsOrBuilder
public Principal.SetOrBuilder getOrIdsOrBuilder()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.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.
-
setAny
public Principal.Builder setAny(boolean value)
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
public Principal.Builder 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.v2.Principal.Authenticated authenticated = 4;- Specified by:
hasAuthenticatedin interfacePrincipalOrBuilder- Returns:
- Whether the authenticated field is set.
-
getAuthenticated
public Principal.Authenticated getAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;- Specified by:
getAuthenticatedin interfacePrincipalOrBuilder- Returns:
- The authenticated.
-
setAuthenticated
public Principal.Builder setAuthenticated(Principal.Authenticated value)
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;
-
setAuthenticated
public Principal.Builder setAuthenticated(Principal.Authenticated.Builder builderForValue)
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;
-
mergeAuthenticated
public Principal.Builder mergeAuthenticated(Principal.Authenticated value)
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;
-
clearAuthenticated
public Principal.Builder clearAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;
-
getAuthenticatedBuilder
public Principal.Authenticated.Builder getAuthenticatedBuilder()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;
-
getAuthenticatedOrBuilder
public Principal.AuthenticatedOrBuilder getAuthenticatedOrBuilder()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;- Specified by:
getAuthenticatedOrBuilderin interfacePrincipalOrBuilder
-
hasSourceIp
@Deprecated public boolean hasSourceIp()
Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated. See envoy/config/rbac/v2/rbac.proto;l=208A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];- Specified by:
hasSourceIpin interfacePrincipalOrBuilder- Returns:
- Whether the sourceIp field is set.
-
getSourceIp
@Deprecated public CidrRange getSourceIp()
Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated. See envoy/config/rbac/v2/rbac.proto;l=208A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];- Specified by:
getSourceIpin interfacePrincipalOrBuilder- Returns:
- The sourceIp.
-
setSourceIp
@Deprecated public Principal.Builder setSourceIp(CidrRange value)
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];
-
setSourceIp
@Deprecated public Principal.Builder setSourceIp(CidrRange.Builder builderForValue)
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];
-
mergeSourceIp
@Deprecated public Principal.Builder mergeSourceIp(CidrRange value)
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];
-
clearSourceIp
@Deprecated public Principal.Builder clearSourceIp()
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];
-
getSourceIpBuilder
@Deprecated public CidrRange.Builder getSourceIpBuilder()
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];
-
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.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];- 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_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;- Specified by:
hasDirectRemoteIpin 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_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;- Specified by:
getDirectRemoteIpin interfacePrincipalOrBuilder- Returns:
- The directRemoteIp.
-
setDirectRemoteIp
public Principal.Builder setDirectRemoteIp(CidrRange value)
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;
-
setDirectRemoteIp
public Principal.Builder setDirectRemoteIp(CidrRange.Builder builderForValue)
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;
-
mergeDirectRemoteIp
public Principal.Builder mergeDirectRemoteIp(CidrRange value)
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;
-
clearDirectRemoteIp
public Principal.Builder 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_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;
-
getDirectRemoteIpBuilder
public CidrRange.Builder 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_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;
-
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_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;- Specified by:
hasRemoteIpin 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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;- Specified by:
getRemoteIpin interfacePrincipalOrBuilder- Returns:
- The remoteIp.
-
setRemoteIp
public Principal.Builder setRemoteIp(CidrRange value)
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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;
-
setRemoteIp
public Principal.Builder setRemoteIp(CidrRange.Builder builderForValue)
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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;
-
mergeRemoteIp
public Principal.Builder mergeRemoteIp(CidrRange value)
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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;
-
clearRemoteIp
public Principal.Builder 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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;
-
getRemoteIpBuilder
public CidrRange.Builder 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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;
-
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_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.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.api.v2.route.HeaderMatcher header = 6;- Specified by:
hasHeaderin 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.api.v2.route.HeaderMatcher header = 6;- Specified by:
getHeaderin interfacePrincipalOrBuilder- Returns:
- The header.
-
setHeader
public Principal.Builder setHeader(HeaderMatcher value)
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.api.v2.route.HeaderMatcher header = 6;
-
setHeader
public Principal.Builder setHeader(HeaderMatcher.Builder builderForValue)
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.api.v2.route.HeaderMatcher header = 6;
-
mergeHeader
public Principal.Builder mergeHeader(HeaderMatcher value)
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.api.v2.route.HeaderMatcher header = 6;
-
clearHeader
public Principal.Builder 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.api.v2.route.HeaderMatcher header = 6;
-
getHeaderBuilder
public HeaderMatcher.Builder 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.api.v2.route.HeaderMatcher header = 6;
-
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.api.v2.route.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.PathMatcher url_path = 9;- Specified by:
hasUrlPathin 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.PathMatcher url_path = 9;- Specified by:
getUrlPathin interfacePrincipalOrBuilder- Returns:
- The urlPath.
-
setUrlPath
public Principal.Builder setUrlPath(PathMatcher value)
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;
-
setUrlPath
public Principal.Builder setUrlPath(PathMatcher.Builder builderForValue)
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;
-
mergeUrlPath
public Principal.Builder mergeUrlPath(PathMatcher value)
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;
-
clearUrlPath
public Principal.Builder clearUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;
-
getUrlPathBuilder
public PathMatcher.Builder getUrlPathBuilder()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;
-
getUrlPathOrBuilder
public PathMatcherOrBuilder getUrlPathOrBuilder()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;- Specified by:
getUrlPathOrBuilderin interfacePrincipalOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;- Specified by:
hasMetadatain interfacePrincipalOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public MetadataMatcher getMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;- Specified by:
getMetadatain interfacePrincipalOrBuilder- Returns:
- The metadata.
-
setMetadata
public Principal.Builder setMetadata(MetadataMatcher value)
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;
-
setMetadata
public Principal.Builder setMetadata(MetadataMatcher.Builder builderForValue)
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;
-
mergeMetadata
public Principal.Builder mergeMetadata(MetadataMatcher value)
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;
-
clearMetadata
public Principal.Builder clearMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;
-
getMetadataBuilder
public MetadataMatcher.Builder getMetadataBuilder()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;
-
getMetadataOrBuilder
public MetadataMatcherOrBuilder getMetadataOrBuilder()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;- Specified by:
getMetadataOrBuilderin 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.v2.Principal not_id = 8;- Specified by:
hasNotIdin 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.v2.Principal not_id = 8;- Specified by:
getNotIdin interfacePrincipalOrBuilder- Returns:
- The notId.
-
setNotId
public Principal.Builder setNotId(Principal value)
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.v2.Principal not_id = 8;
-
setNotId
public Principal.Builder setNotId(Principal.Builder builderForValue)
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.v2.Principal not_id = 8;
-
mergeNotId
public Principal.Builder mergeNotId(Principal value)
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.v2.Principal not_id = 8;
-
clearNotId
public Principal.Builder 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.v2.Principal not_id = 8;
-
getNotIdBuilder
public Principal.Builder 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.v2.Principal not_id = 8;
-
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.v2.Principal not_id = 8;- Specified by:
getNotIdOrBuilderin interfacePrincipalOrBuilder
-
setUnknownFields
public final Principal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
mergeUnknownFields
public final Principal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Principal.Builder>
-
-