All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.config.rbac.v2.RBACOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/config/rbac/v2/rbac.proto

package io.envoyproxy.envoy.config.rbac.v2;

public interface RBACOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.config.rbac.v2.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.v2.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.v2.RBAC.Action action = 1; */ io.envoyproxy.envoy.config.rbac.v2.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.v2.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.v2.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.v2.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.v2.Policy> policies = 2; */ io.envoyproxy.envoy.config.rbac.v2.Policy getPoliciesOrDefault( java.lang.String key, io.envoyproxy.envoy.config.rbac.v2.Policy defaultValue); /** *
   * Maps from policy name to policy. A match occurs when at least one policy matches the request.
   * 
* * map<string, .envoy.config.rbac.v2.Policy> policies = 2; */ io.envoyproxy.envoy.config.rbac.v2.Policy getPoliciesOrThrow( java.lang.String key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy