Class Policy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Policy.Builder>
com.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
io.envoyproxy.envoy.config.rbac.v3.Policy.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PolicyOrBuilder
,Cloneable
- Enclosing class:
Policy
public static final class Policy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
implements PolicyOrBuilder
Policy specifies a role and the principals that are assigned/denied the role. A policy matches if and only if at least one of its permissions match the action taking place AND at least one of its principals match the downstream AND the condition is true if specified.Protobuf type
envoy.config.rbac.v3.Policy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private CheckedExpr
private com.google.protobuf.SingleFieldBuilder
<CheckedExpr, CheckedExpr.Builder, CheckedExprOrBuilder> private Expr
private com.google.protobuf.SingleFieldBuilder
<Expr, Expr.Builder, ExprOrBuilder> private List
<Permission> private com.google.protobuf.RepeatedFieldBuilder
<Permission, Permission.Builder, PermissionOrBuilder> private com.google.protobuf.RepeatedFieldBuilder
<Principal, Principal.Builder, PrincipalOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllPermissions
(Iterable<? extends Permission> values) Required.addAllPrincipals
(Iterable<? extends Principal> values) Required.addPermissions
(int index, Permission value) Required.addPermissions
(int index, Permission.Builder builderForValue) Required.addPermissions
(Permission value) Required.addPermissions
(Permission.Builder builderForValue) Required.Required.addPermissionsBuilder
(int index) Required.addPrincipals
(int index, Principal value) Required.addPrincipals
(int index, Principal.Builder builderForValue) Required.addPrincipals
(Principal value) Required.addPrincipals
(Principal.Builder builderForValue) Required.Required.addPrincipalsBuilder
(int index) Required.build()
private void
buildPartial0
(Policy result) private void
buildPartialRepeatedFields
(Policy result) clear()
[#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>`.Required.Required.private void
private void
[#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.private com.google.protobuf.SingleFieldBuilder
<CheckedExpr, CheckedExpr.Builder, CheckedExprOrBuilder> [#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>`.private com.google.protobuf.SingleFieldBuilder
<Expr, Expr.Builder, ExprOrBuilder> 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>`.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getPermissions
(int index) Required.getPermissionsBuilder
(int index) Required.Required.int
Required.private com.google.protobuf.RepeatedFieldBuilder
<Permission, Permission.Builder, PermissionOrBuilder> Required.getPermissionsOrBuilder
(int index) Required.List
<? extends PermissionOrBuilder> Required.getPrincipals
(int index) Required.getPrincipalsBuilder
(int index) Required.Required.int
Required.private com.google.protobuf.RepeatedFieldBuilder
<Principal, Principal.Builder, PrincipalOrBuilder> 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>`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeCheckedCondition
(CheckedExpr value) [#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.mergeCondition
(Expr value) An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) removePermissions
(int index) Required.removePrincipals
(int index) Required.setCheckedCondition
(CheckedExpr value) [#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.setCheckedCondition
(CheckedExpr.Builder builderForValue) [#not-implemented-hide:] An optional symbolic expression that has been successfully type checked.setCondition
(Expr value) An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.setCondition
(Expr.Builder builderForValue) An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.setPermissions
(int index, Permission value) Required.setPermissions
(int index, Permission.Builder builderForValue) Required.setPrincipals
(int index, Principal value) Required.setPrincipals
(int index, Principal.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
permissions_
-
permissionsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Permission,Permission.Builder, permissionsBuilder_PermissionOrBuilder> -
principals_
-
principalsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Principal,Principal.Builder, principalsBuilder_PrincipalOrBuilder> -
condition_
-
conditionBuilder_
-
checkedCondition_
-
checkedConditionBuilder_
private com.google.protobuf.SingleFieldBuilder<CheckedExpr,CheckedExpr.Builder, checkedConditionBuilder_CheckedExprOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Policy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
mergeFrom
public Policy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Policy.Builder>
- Throws:
IOException
-
ensurePermissionsIsMutable
private void ensurePermissionsIsMutable() -
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) = { ... }
- Specified by:
getPermissionsList
in interfacePolicyOrBuilder
-
getPermissionsCount
public 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) = { ... }
- Specified by:
getPermissionsCount
in interfacePolicyOrBuilder
-
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) = { ... }
- Specified by:
getPermissions
in interfacePolicyOrBuilder
-
setPermissions
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) = { ... }
-
setPermissions
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) = { ... }
-
addPermissions
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) = { ... }
-
addPermissions
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) = { ... }
-
addPermissions
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) = { ... }
-
addPermissions
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) = { ... }
-
addAllPermissions
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) = { ... }
-
clearPermissions
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) = { ... }
-
removePermissions
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) = { ... }
-
getPermissionsBuilder
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) = { ... }
- Specified by:
getPermissionsOrBuilder
in interfacePolicyOrBuilder
-
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) = { ... }
- Specified by:
getPermissionsOrBuilderList
in interfacePolicyOrBuilder
-
addPermissionsBuilder
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) = { ... }
-
addPermissionsBuilder
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) = { ... }
-
getPermissionsBuilderList
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) = { ... }
-
getPermissionsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Permission,Permission.Builder, getPermissionsFieldBuilder()PermissionOrBuilder> -
ensurePrincipalsIsMutable
private void ensurePrincipalsIsMutable() -
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) = { ... }
- Specified by:
getPrincipalsList
in interfacePolicyOrBuilder
-
getPrincipalsCount
public 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) = { ... }
- Specified by:
getPrincipalsCount
in interfacePolicyOrBuilder
-
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) = { ... }
- Specified by:
getPrincipals
in interfacePolicyOrBuilder
-
setPrincipals
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) = { ... }
-
setPrincipals
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) = { ... }
-
addPrincipals
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) = { ... }
-
addPrincipals
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) = { ... }
-
addPrincipals
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) = { ... }
-
addPrincipals
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) = { ... }
-
addAllPrincipals
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) = { ... }
-
clearPrincipals
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) = { ... }
-
removePrincipals
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) = { ... }
-
getPrincipalsBuilder
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) = { ... }
- Specified by:
getPrincipalsOrBuilder
in interfacePolicyOrBuilder
-
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) = { ... }
- Specified by:
getPrincipalsOrBuilderList
in interfacePolicyOrBuilder
-
addPrincipalsBuilder
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) = { ... }
-
addPrincipalsBuilder
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) = { ... }
-
getPrincipalsBuilderList
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) = { ... }
-
getPrincipalsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Principal,Principal.Builder, getPrincipalsFieldBuilder()PrincipalOrBuilder> -
hasCondition
public 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) = { ... }
- Specified by:
hasCondition
in interfacePolicyOrBuilder
- Returns:
- Whether the condition field is set.
-
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) = { ... }
- Specified by:
getCondition
in interfacePolicyOrBuilder
- Returns:
- The condition.
-
setCondition
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) = { ... }
-
setCondition
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) = { ... }
-
mergeCondition
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) = { ... }
-
clearCondition
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) = { ... }
-
getConditionBuilder
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) = { ... }
-
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) = { ... }
- Specified by:
getConditionOrBuilder
in interfacePolicyOrBuilder
-
getConditionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder, getConditionFieldBuilder()ExprOrBuilder> 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
public 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) = { ... }
- Specified by:
hasCheckedCondition
in interfacePolicyOrBuilder
- Returns:
- Whether the checkedCondition field is set.
-
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) = { ... }
- Specified by:
getCheckedCondition
in interfacePolicyOrBuilder
- Returns:
- The checkedCondition.
-
setCheckedCondition
[#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) = { ... }
-
setCheckedCondition
[#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) = { ... }
-
mergeCheckedCondition
[#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) = { ... }
-
clearCheckedCondition
[#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) = { ... }
-
getCheckedConditionBuilder
[#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) = { ... }
-
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) = { ... }
- Specified by:
getCheckedConditionOrBuilder
in interfacePolicyOrBuilder
-
getCheckedConditionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CheckedExpr,CheckedExpr.Builder, getCheckedConditionFieldBuilder()CheckedExprOrBuilder> [#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) = { ... }
-