// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/rbac/v3/rbac.proto
package io.envoyproxy.envoy.config.rbac.v3;
public interface PrincipalOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.rbac.v3.Principal)
com.google.protobuf.MessageOrBuilder {
/**
*
* A set of identifiers that all must match in order to define the
* downstream.
*
*
* .envoy.config.rbac.v3.Principal.Set and_ids = 1;
* @return Whether the andIds field is set.
*/
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;
* @return The andIds.
*/
io.envoyproxy.envoy.config.rbac.v3.Principal.Set getAndIds();
/**
*
* A set of identifiers that all must match in order to define the
* downstream.
*
*
* .envoy.config.rbac.v3.Principal.Set and_ids = 1;
*/
io.envoyproxy.envoy.config.rbac.v3.Principal.SetOrBuilder getAndIdsOrBuilder();
/**
*
* A set of identifiers at least one must match in order to define the
* downstream.
*
*
* .envoy.config.rbac.v3.Principal.Set or_ids = 2;
* @return Whether the orIds field is set.
*/
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;
* @return The orIds.
*/
io.envoyproxy.envoy.config.rbac.v3.Principal.Set getOrIds();
/**
*
* A set of identifiers at least one must match in order to define the
* downstream.
*
*
* .envoy.config.rbac.v3.Principal.Set or_ids = 2;
*/
io.envoyproxy.envoy.config.rbac.v3.Principal.SetOrBuilder getOrIdsOrBuilder();
/**
*
* When any is set, it matches any downstream.
*
*
* bool any = 3 [(.validate.rules) = { ... }
* @return Whether the any field is set.
*/
boolean hasAny();
/**
*
* When any is set, it matches any downstream.
*
*
* bool any = 3 [(.validate.rules) = { ... }
* @return The any.
*/
boolean getAny();
/**
*
* Authenticated attributes that identify the downstream.
*
*
* .envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
* @return Whether the authenticated field is set.
*/
boolean hasAuthenticated();
/**
*
* Authenticated attributes that identify the downstream.
*
*
* .envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
* @return The authenticated.
*/
io.envoyproxy.envoy.config.rbac.v3.Principal.Authenticated getAuthenticated();
/**
*
* Authenticated attributes that identify the downstream.
*
*
* .envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
*/
io.envoyproxy.envoy.config.rbac.v3.Principal.AuthenticatedOrBuilder getAuthenticatedOrBuilder();
/**
*
* 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"];
* @deprecated envoy.config.rbac.v3.Principal.source_ip is deprecated.
* See envoy/config/rbac/v3/rbac.proto;l=327
* @return Whether the sourceIp field is set.
*/
@java.lang.Deprecated boolean hasSourceIp();
/**
*
* 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"];
* @deprecated envoy.config.rbac.v3.Principal.source_ip is deprecated.
* See envoy/config/rbac/v3/rbac.proto;l=327
* @return The sourceIp.
*/
@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.CidrRange getSourceIp();
/**
*
* 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"];
*/
@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.CidrRangeOrBuilder getSourceIpOrBuilder();
/**
*
* 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;
* @return Whether the directRemoteIp field is set.
*/
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;
* @return The directRemoteIp.
*/
io.envoyproxy.envoy.config.core.v3.CidrRange getDirectRemoteIp();
/**
*
* A CIDR block that describes the downstream remote/origin address.
* Note: This is always the physical peer even if the
* :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` is
* inferred from for example the x-forwarder-for header, proxy protocol,
* etc.
*
*
* .envoy.config.core.v3.CidrRange direct_remote_ip = 10;
*/
io.envoyproxy.envoy.config.core.v3.CidrRangeOrBuilder getDirectRemoteIpOrBuilder();
/**
*
* 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;
* @return Whether the remoteIp field is set.
*/
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;
* @return The remoteIp.
*/
io.envoyproxy.envoy.config.core.v3.CidrRange getRemoteIp();
/**
*
* A CIDR block that describes the downstream remote/origin address.
* Note: This may not be the physical peer and could be different from the
* :ref:`direct_remote_ip
* <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the
* remote ip is inferred from for example the x-forwarder-for header, proxy
* protocol, etc.
*
*
* .envoy.config.core.v3.CidrRange remote_ip = 11;
*/
io.envoyproxy.envoy.config.core.v3.CidrRangeOrBuilder getRemoteIpOrBuilder();
/**
*
* 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;
* @return Whether the header field is set.
*/
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;
* @return The header.
*/
io.envoyproxy.envoy.config.route.v3.HeaderMatcher getHeader();
/**
*
* A header (or pseudo-header such as :path or :method) on the incoming HTTP
* request. Only available for HTTP request. Note: the pseudo-header :path
* includes the query and fragment string. Use the ``url_path`` field if you
* want to match the URL path without the query and fragment string.
*
*
* .envoy.config.route.v3.HeaderMatcher header = 6;
*/
io.envoyproxy.envoy.config.route.v3.HeaderMatcherOrBuilder getHeaderOrBuilder();
/**
*
* A URL path on the incoming HTTP request. Only available for HTTP.
*
*
* .envoy.type.matcher.v3.PathMatcher url_path = 9;
* @return Whether the urlPath field is set.
*/
boolean hasUrlPath();
/**
*
* A URL path on the incoming HTTP request. Only available for HTTP.
*
*
* .envoy.type.matcher.v3.PathMatcher url_path = 9;
* @return The urlPath.
*/
io.envoyproxy.envoy.type.matcher.v3.PathMatcher getUrlPath();
/**
*
* A URL path on the incoming HTTP request. Only available for HTTP.
*
*
* .envoy.type.matcher.v3.PathMatcher url_path = 9;
*/
io.envoyproxy.envoy.type.matcher.v3.PathMatcherOrBuilder getUrlPathOrBuilder();
/**
*
* Metadata that describes additional information about the principal.
*
*
* .envoy.type.matcher.v3.MetadataMatcher metadata = 7;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* Metadata that describes additional information about the principal.
*
*
* .envoy.type.matcher.v3.MetadataMatcher metadata = 7;
* @return The metadata.
*/
io.envoyproxy.envoy.type.matcher.v3.MetadataMatcher getMetadata();
/**
*
* Metadata that describes additional information about the principal.
*
*
* .envoy.type.matcher.v3.MetadataMatcher metadata = 7;
*/
io.envoyproxy.envoy.type.matcher.v3.MetadataMatcherOrBuilder getMetadataOrBuilder();
/**
*
* Identifies the principal using a filter state object.
*
*
* .envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
* @return Whether the filterState field is set.
*/
boolean hasFilterState();
/**
*
* Identifies the principal using a filter state object.
*
*
* .envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
* @return The filterState.
*/
io.envoyproxy.envoy.type.matcher.v3.FilterStateMatcher getFilterState();
/**
*
* Identifies the principal using a filter state object.
*
*
* .envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
*/
io.envoyproxy.envoy.type.matcher.v3.FilterStateMatcherOrBuilder getFilterStateOrBuilder();
/**
*
* 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;
* @return Whether the notId field is set.
*/
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;
* @return The notId.
*/
io.envoyproxy.envoy.config.rbac.v3.Principal getNotId();
/**
*
* Negates matching the provided principal. For instance, if the value of
* ``not_id`` would match, this principal would not match. Conversely, if the
* value of ``not_id`` would not match, this principal would match.
*
*
* .envoy.config.rbac.v3.Principal not_id = 8;
*/
io.envoyproxy.envoy.config.rbac.v3.PrincipalOrBuilder getNotIdOrBuilder();
public io.envoyproxy.envoy.config.rbac.v3.Principal.IdentifierCase getIdentifierCase();
}