io.envoyproxy.envoy.config.rbac.v2.PolicyOrBuilder Maven / Gradle / Ivy
// 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 PolicyOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.rbac.v2.Policy)
com.google.protobuf.MessageOrBuilder {
/**
*
* Required. The set of permissions that define a role. Each permission is matched with OR
* semantics. To match all actions for this policy, a single Permission with the `any` field set
* to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... }
*/
java.util.List
getPermissionsList();
/**
*
* Required. The set of permissions that define a role. Each permission is matched with OR
* semantics. To match all actions for this policy, a single Permission with the `any` field set
* to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.rbac.v2.Permission getPermissions(int index);
/**
*
* Required. The set of permissions that define a role. Each permission is matched with OR
* semantics. To match all actions for this policy, a single Permission with the `any` field set
* to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... }
*/
int getPermissionsCount();
/**
*
* Required. The set of permissions that define a role. Each permission is matched with OR
* semantics. To match all actions for this policy, a single Permission with the `any` field set
* to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... }
*/
java.util.List extends io.envoyproxy.envoy.config.rbac.v2.PermissionOrBuilder>
getPermissionsOrBuilderList();
/**
*
* Required. The set of permissions that define a role. Each permission is matched with OR
* semantics. To match all actions for this policy, a single Permission with the `any` field set
* to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.rbac.v2.PermissionOrBuilder getPermissionsOrBuilder(
int index);
/**
*
* Required. The set of principals that are assigned/denied the role based on “action”. Each
* principal is matched with OR semantics. To match all downstreams for this policy, a single
* Principal with the `any` field set to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... }
*/
java.util.List
getPrincipalsList();
/**
*
* Required. The set of principals that are assigned/denied the role based on “action”. Each
* principal is matched with OR semantics. To match all downstreams for this policy, a single
* Principal with the `any` field set to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.rbac.v2.Principal getPrincipals(int index);
/**
*
* Required. The set of principals that are assigned/denied the role based on “action”. Each
* principal is matched with OR semantics. To match all downstreams for this policy, a single
* Principal with the `any` field set to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... }
*/
int getPrincipalsCount();
/**
*
* Required. The set of principals that are assigned/denied the role based on “action”. Each
* principal is matched with OR semantics. To match all downstreams for this policy, a single
* Principal with the `any` field set to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... }
*/
java.util.List extends io.envoyproxy.envoy.config.rbac.v2.PrincipalOrBuilder>
getPrincipalsOrBuilderList();
/**
*
* Required. The set of principals that are assigned/denied the role based on “action”. Each
* principal is matched with OR semantics. To match all downstreams for this policy, a single
* Principal with the `any` field set to true should be used.
*
*
* repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.rbac.v2.PrincipalOrBuilder getPrincipalsOrBuilder(
int index);
/**
*
* An optional symbolic expression specifying an access control
* :ref:`condition <arch_overview_condition>`. The condition is combined
* with the permissions and the principals as a clause with AND semantics.
*
*
* .google.api.expr.v1alpha1.Expr condition = 3;
* @return Whether the condition field is set.
*/
boolean hasCondition();
/**
*
* An optional symbolic expression specifying an access control
* :ref:`condition <arch_overview_condition>`. The condition is combined
* with the permissions and the principals as a clause with AND semantics.
*
*
* .google.api.expr.v1alpha1.Expr condition = 3;
* @return The condition.
*/
com.google.api.expr.v1alpha1.Expr getCondition();
/**
*
* An optional symbolic expression specifying an access control
* :ref:`condition <arch_overview_condition>`. The condition is combined
* with the permissions and the principals as a clause with AND semantics.
*
*
* .google.api.expr.v1alpha1.Expr condition = 3;
*/
com.google.api.expr.v1alpha1.ExprOrBuilder getConditionOrBuilder();
}