
io.envoyproxy.envoy.config.rbac.v2alpha.RBACOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/rbac/v2alpha/rbac.proto
package io.envoyproxy.envoy.config.rbac.v2alpha;
public interface RBACOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.rbac.v2alpha.RBAC)
com.google.protobuf.MessageOrBuilder {
/**
*
* The action to take if a policy matches. The request is allowed if and only if:
* * `action` is "ALLOWED" and at least one policy matches
* * `action` is "DENY" and none of the policies match
*
*
* .envoy.config.rbac.v2alpha.RBAC.Action action = 1;
*/
int getActionValue();
/**
*
* The action to take if a policy matches. The request is allowed if and only if:
* * `action` is "ALLOWED" and at least one policy matches
* * `action` is "DENY" and none of the policies match
*
*
* .envoy.config.rbac.v2alpha.RBAC.Action action = 1;
*/
io.envoyproxy.envoy.config.rbac.v2alpha.RBAC.Action getAction();
/**
*
* Maps from policy name to policy. A match occurs when at least one policy matches the request.
*
*
* map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;
*/
int getPoliciesCount();
/**
*
* Maps from policy name to policy. A match occurs when at least one policy matches the request.
*
*
* map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;
*/
boolean containsPolicies(
java.lang.String key);
/**
* Use {@link #getPoliciesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getPolicies();
/**
*
* Maps from policy name to policy. A match occurs when at least one policy matches the request.
*
*
* map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;
*/
java.util.Map
getPoliciesMap();
/**
*
* Maps from policy name to policy. A match occurs when at least one policy matches the request.
*
*
* map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;
*/
io.envoyproxy.envoy.config.rbac.v2alpha.Policy getPoliciesOrDefault(
java.lang.String key,
io.envoyproxy.envoy.config.rbac.v2alpha.Policy defaultValue);
/**
*
* Maps from policy name to policy. A match occurs when at least one policy matches the request.
*
*
* map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;
*/
io.envoyproxy.envoy.config.rbac.v2alpha.Policy getPoliciesOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy