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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckedExpr
getCheckedCondition()
[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.CheckedExprOrBuilder
getCheckedConditionOrBuilder()
[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.Expr
getCondition()
An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.ExprOrBuilder
getConditionOrBuilder()
An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.Permission
getPermissions(int index)
Required.int
getPermissionsCount()
Required.java.util.List<Permission>
getPermissionsList()
Required.PermissionOrBuilder
getPermissionsOrBuilder(int index)
Required.java.util.List<? extends PermissionOrBuilder>
getPermissionsOrBuilderList()
Required.Principal
getPrincipals(int index)
Required.int
getPrincipalsCount()
Required.java.util.List<Principal>
getPrincipalsList()
Required.PrincipalOrBuilder
getPrincipalsOrBuilder(int index)
Required.java.util.List<? extends PrincipalOrBuilder>
getPrincipalsOrBuilderList()
Required.boolean
hasCheckedCondition()
[#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.boolean
hasCondition()
An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPermissionsList
java.util.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
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.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
java.util.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
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.v3.Permission permissions = 1 [(.validate.rules) = { ... }
-
getPrincipalsList
java.util.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.v3.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.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
java.util.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
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.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) = { ... }
-
-