Interface PolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Policy, Policy.Builder

public interface PolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPermissionsList

      List<Permission> 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) = { ... }
    • getPermissions

      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) = { ... }
    • getPermissionsCount

      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) = { ... }
    • getPermissionsOrBuilderList

      List<? extends 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) = { ... }
    • getPermissionsOrBuilder

      PermissionOrBuilder getPermissionsOrBuilder(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) = { ... }
    • getPrincipalsList

      List<Principal> 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) = { ... }
    • getPrincipals

      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) = { ... }
    • getPrincipalsCount

      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) = { ... }
    • getPrincipalsOrBuilderList

      List<? extends 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) = { ... }
    • getPrincipalsOrBuilder

      PrincipalOrBuilder getPrincipalsOrBuilder(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) = { ... }
    • hasCondition

      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;
      Returns:
      Whether the condition field is set.
    • getCondition

      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;
      Returns:
      The condition.
    • getConditionOrBuilder

      ExprOrBuilder getConditionOrBuilder()
       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;