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 Summary
Modifier and TypeMethodDescription[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.getPermissions
(int index) Required.int
Required.Required.getPermissionsOrBuilder
(int index) Required.List
<? extends PermissionOrBuilder> Required.getPrincipals
(int index) Required.int
Required.Required.getPrincipalsOrBuilder
(int index) Required.List
<? extends PrincipalOrBuilder> Required.boolean
[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.boolean
An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.v3.Permission permissions = 1 [(.validate.rules) = { ... }
-
getPermissions
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.v3.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.v3.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.v3.Permission permissions = 1 [(.validate.rules) = { ... }
-
getPermissionsOrBuilder
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.v3.Permission permissions = 1 [(.validate.rules) = { ... }
-
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.v3.Principal principals = 2 [(.validate.rules) = { ... }
-
getPrincipals
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.v3.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.v3.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.v3.Principal principals = 2 [(.validate.rules) = { ... }
-
getPrincipalsOrBuilder
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.v3.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. Only be used when checked_condition is not used.
.google.api.expr.v1alpha1.Expr condition = 3 [(.udpa.annotations.field_migrate) = { ... }
- 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. Only be used when checked_condition is not used.
.google.api.expr.v1alpha1.Expr condition = 3 [(.udpa.annotations.field_migrate) = { ... }
- 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. Only be used when checked_condition is not used.
.google.api.expr.v1alpha1.Expr condition = 3 [(.udpa.annotations.field_migrate) = { ... }
-
hasCheckedCondition
boolean hasCheckedCondition()[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked. Only be used when condition is not used.
.google.api.expr.v1alpha1.CheckedExpr checked_condition = 4 [(.udpa.annotations.field_migrate) = { ... }
- Returns:
- Whether the checkedCondition field is set.
-
getCheckedCondition
CheckedExpr getCheckedCondition()[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked. Only be used when condition is not used.
.google.api.expr.v1alpha1.CheckedExpr checked_condition = 4 [(.udpa.annotations.field_migrate) = { ... }
- Returns:
- The checkedCondition.
-
getCheckedConditionOrBuilder
CheckedExprOrBuilder getCheckedConditionOrBuilder()[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked. Only be used when condition is not used.
.google.api.expr.v1alpha1.CheckedExpr checked_condition = 4 [(.udpa.annotations.field_migrate) = { ... }
-