Class DenyRuleExplanation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
com.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.Builder
All Implemented Interfaces:
DenyRuleExplanationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DenyRuleExplanation

public static final class DenyRuleExplanation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder> implements DenyRuleExplanationOrBuilder
 Details about how a deny rule in a deny policy affects a principal's ability
 to use a permission.
 
Protobuf type google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
    • getDefaultInstanceForType

      public DenyRuleExplanation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DenyRuleExplanation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DenyRuleExplanation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DenyRuleExplanation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DenyRuleExplanation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DenyRuleExplanation.Builder>
    • mergeFrom

      public DenyRuleExplanation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DenyRuleExplanation.Builder>
      Throws:
      IOException
    • getDenyAccessStateValue

      public int getDenyAccessStateValue()
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDenyAccessStateValue in interface DenyRuleExplanationOrBuilder
      Returns:
      The enum numeric value on the wire for denyAccessState.
    • setDenyAccessStateValue

      public DenyRuleExplanation.Builder setDenyAccessStateValue(int value)
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for denyAccessState to set.
      Returns:
      This builder for chaining.
    • getDenyAccessState

      public DenyAccessState getDenyAccessState()
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDenyAccessState in interface DenyRuleExplanationOrBuilder
      Returns:
      The denyAccessState.
    • setDenyAccessState

      public DenyRuleExplanation.Builder setDenyAccessState(DenyAccessState value)
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The denyAccessState to set.
      Returns:
      This builder for chaining.
    • clearDenyAccessState

      public DenyRuleExplanation.Builder clearDenyAccessState()
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasCombinedDeniedPermission

      public boolean hasCombinedDeniedPermission()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
      Specified by:
      hasCombinedDeniedPermission in interface DenyRuleExplanationOrBuilder
      Returns:
      Whether the combinedDeniedPermission field is set.
    • getCombinedDeniedPermission

      public DenyRuleExplanation.AnnotatedPermissionMatching getCombinedDeniedPermission()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
      Specified by:
      getCombinedDeniedPermission in interface DenyRuleExplanationOrBuilder
      Returns:
      The combinedDeniedPermission.
    • setCombinedDeniedPermission

       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
    • setCombinedDeniedPermission

      public DenyRuleExplanation.Builder setCombinedDeniedPermission(DenyRuleExplanation.AnnotatedPermissionMatching.Builder builderForValue)
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
    • mergeCombinedDeniedPermission

       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
    • clearCombinedDeniedPermission

      public DenyRuleExplanation.Builder clearCombinedDeniedPermission()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
    • getCombinedDeniedPermissionBuilder

      public DenyRuleExplanation.AnnotatedPermissionMatching.Builder getCombinedDeniedPermissionBuilder()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
    • getCombinedDeniedPermissionOrBuilder

      public DenyRuleExplanation.AnnotatedPermissionMatchingOrBuilder getCombinedDeniedPermissionOrBuilder()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
      Specified by:
      getCombinedDeniedPermissionOrBuilder in interface DenyRuleExplanationOrBuilder
    • getDeniedPermissionsCount

      public int getDeniedPermissionsCount()
      Description copied from interface: DenyRuleExplanationOrBuilder
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
      Specified by:
      getDeniedPermissionsCount in interface DenyRuleExplanationOrBuilder
    • containsDeniedPermissions

      public boolean containsDeniedPermissions(String key)
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
      Specified by:
      containsDeniedPermissions in interface DenyRuleExplanationOrBuilder
    • getDeniedPermissions

      Deprecated.
      Specified by:
      getDeniedPermissions in interface DenyRuleExplanationOrBuilder
    • getDeniedPermissionsMap

      public Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> getDeniedPermissionsMap()
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
      Specified by:
      getDeniedPermissionsMap in interface DenyRuleExplanationOrBuilder
    • getDeniedPermissionsOrDefault

       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
      Specified by:
      getDeniedPermissionsOrDefault in interface DenyRuleExplanationOrBuilder
    • getDeniedPermissionsOrThrow

      public DenyRuleExplanation.AnnotatedPermissionMatching getDeniedPermissionsOrThrow(String key)
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
      Specified by:
      getDeniedPermissionsOrThrow in interface DenyRuleExplanationOrBuilder
    • clearDeniedPermissions

      public DenyRuleExplanation.Builder clearDeniedPermissions()
    • removeDeniedPermissions

      public DenyRuleExplanation.Builder removeDeniedPermissions(String key)
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • getMutableDeniedPermissions

      Deprecated.
      Use alternate mutation accessors instead.
    • putDeniedPermissions

       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • putAllDeniedPermissions

       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • putDeniedPermissionsBuilderIfAbsent

      public DenyRuleExplanation.AnnotatedPermissionMatching.Builder putDeniedPermissionsBuilderIfAbsent(String key)
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • hasCombinedExceptionPermission

      public boolean hasCombinedExceptionPermission()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
      Specified by:
      hasCombinedExceptionPermission in interface DenyRuleExplanationOrBuilder
      Returns:
      Whether the combinedExceptionPermission field is set.
    • getCombinedExceptionPermission

      public DenyRuleExplanation.AnnotatedPermissionMatching getCombinedExceptionPermission()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
      Specified by:
      getCombinedExceptionPermission in interface DenyRuleExplanationOrBuilder
      Returns:
      The combinedExceptionPermission.
    • setCombinedExceptionPermission

       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
    • setCombinedExceptionPermission

      public DenyRuleExplanation.Builder setCombinedExceptionPermission(DenyRuleExplanation.AnnotatedPermissionMatching.Builder builderForValue)
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
    • mergeCombinedExceptionPermission

      public DenyRuleExplanation.Builder mergeCombinedExceptionPermission(DenyRuleExplanation.AnnotatedPermissionMatching value)
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
    • clearCombinedExceptionPermission

      public DenyRuleExplanation.Builder clearCombinedExceptionPermission()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
    • getCombinedExceptionPermissionBuilder

      public DenyRuleExplanation.AnnotatedPermissionMatching.Builder getCombinedExceptionPermissionBuilder()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
    • getCombinedExceptionPermissionOrBuilder

      public DenyRuleExplanation.AnnotatedPermissionMatchingOrBuilder getCombinedExceptionPermissionOrBuilder()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
      Specified by:
      getCombinedExceptionPermissionOrBuilder in interface DenyRuleExplanationOrBuilder
    • getExceptionPermissionsCount

      public int getExceptionPermissionsCount()
      Description copied from interface: DenyRuleExplanationOrBuilder
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
      Specified by:
      getExceptionPermissionsCount in interface DenyRuleExplanationOrBuilder
    • containsExceptionPermissions

      public boolean containsExceptionPermissions(String key)
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
      Specified by:
      containsExceptionPermissions in interface DenyRuleExplanationOrBuilder
    • getExceptionPermissions

      Deprecated.
      Specified by:
      getExceptionPermissions in interface DenyRuleExplanationOrBuilder
    • getExceptionPermissionsMap

      public Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> getExceptionPermissionsMap()
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
      Specified by:
      getExceptionPermissionsMap in interface DenyRuleExplanationOrBuilder
    • getExceptionPermissionsOrDefault

       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
      Specified by:
      getExceptionPermissionsOrDefault in interface DenyRuleExplanationOrBuilder
    • getExceptionPermissionsOrThrow

      public DenyRuleExplanation.AnnotatedPermissionMatching getExceptionPermissionsOrThrow(String key)
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
      Specified by:
      getExceptionPermissionsOrThrow in interface DenyRuleExplanationOrBuilder
    • clearExceptionPermissions

      public DenyRuleExplanation.Builder clearExceptionPermissions()
    • removeExceptionPermissions

      public DenyRuleExplanation.Builder removeExceptionPermissions(String key)
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • getMutableExceptionPermissions

      @Deprecated public Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> getMutableExceptionPermissions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putExceptionPermissions

       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • putAllExceptionPermissions

       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • putExceptionPermissionsBuilderIfAbsent

      public DenyRuleExplanation.AnnotatedPermissionMatching.Builder putExceptionPermissionsBuilderIfAbsent(String key)
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • hasCombinedDeniedPrincipal

      public boolean hasCombinedDeniedPrincipal()
       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
      Specified by:
      hasCombinedDeniedPrincipal in interface DenyRuleExplanationOrBuilder
      Returns:
      Whether the combinedDeniedPrincipal field is set.
    • getCombinedDeniedPrincipal

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching getCombinedDeniedPrincipal()
       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
      Specified by:
      getCombinedDeniedPrincipal in interface DenyRuleExplanationOrBuilder
      Returns:
      The combinedDeniedPrincipal.
    • setCombinedDeniedPrincipal

       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
    • setCombinedDeniedPrincipal

       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
    • mergeCombinedDeniedPrincipal

       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
    • clearCombinedDeniedPrincipal

      public DenyRuleExplanation.Builder clearCombinedDeniedPrincipal()
       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
    • getCombinedDeniedPrincipalBuilder

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder getCombinedDeniedPrincipalBuilder()
       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
    • getCombinedDeniedPrincipalOrBuilder

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatchingOrBuilder getCombinedDeniedPrincipalOrBuilder()
       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
      Specified by:
      getCombinedDeniedPrincipalOrBuilder in interface DenyRuleExplanationOrBuilder
    • getDeniedPrincipalsCount

      public int getDeniedPrincipalsCount()
      Description copied from interface: DenyRuleExplanationOrBuilder
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
      Specified by:
      getDeniedPrincipalsCount in interface DenyRuleExplanationOrBuilder
    • containsDeniedPrincipals

      public boolean containsDeniedPrincipals(String key)
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
      Specified by:
      containsDeniedPrincipals in interface DenyRuleExplanationOrBuilder
    • getDeniedPrincipals

      Deprecated.
      Specified by:
      getDeniedPrincipals in interface DenyRuleExplanationOrBuilder
    • getDeniedPrincipalsMap

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
      Specified by:
      getDeniedPrincipalsMap in interface DenyRuleExplanationOrBuilder
    • getDeniedPrincipalsOrDefault

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
      Specified by:
      getDeniedPrincipalsOrDefault in interface DenyRuleExplanationOrBuilder
    • getDeniedPrincipalsOrThrow

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching getDeniedPrincipalsOrThrow(String key)
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
      Specified by:
      getDeniedPrincipalsOrThrow in interface DenyRuleExplanationOrBuilder
    • clearDeniedPrincipals

      public DenyRuleExplanation.Builder clearDeniedPrincipals()
    • removeDeniedPrincipals

      public DenyRuleExplanation.Builder removeDeniedPrincipals(String key)
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • getMutableDeniedPrincipals

      Deprecated.
      Use alternate mutation accessors instead.
    • putDeniedPrincipals

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • putAllDeniedPrincipals

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • putDeniedPrincipalsBuilderIfAbsent

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder putDeniedPrincipalsBuilderIfAbsent(String key)
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • hasCombinedExceptionPrincipal

      public boolean hasCombinedExceptionPrincipal()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
      Specified by:
      hasCombinedExceptionPrincipal in interface DenyRuleExplanationOrBuilder
      Returns:
      Whether the combinedExceptionPrincipal field is set.
    • getCombinedExceptionPrincipal

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching getCombinedExceptionPrincipal()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
      Specified by:
      getCombinedExceptionPrincipal in interface DenyRuleExplanationOrBuilder
      Returns:
      The combinedExceptionPrincipal.
    • setCombinedExceptionPrincipal

       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
    • setCombinedExceptionPrincipal

      public DenyRuleExplanation.Builder setCombinedExceptionPrincipal(DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder builderForValue)
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
    • mergeCombinedExceptionPrincipal

       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
    • clearCombinedExceptionPrincipal

      public DenyRuleExplanation.Builder clearCombinedExceptionPrincipal()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
    • getCombinedExceptionPrincipalBuilder

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder getCombinedExceptionPrincipalBuilder()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
    • getCombinedExceptionPrincipalOrBuilder

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatchingOrBuilder getCombinedExceptionPrincipalOrBuilder()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
      Specified by:
      getCombinedExceptionPrincipalOrBuilder in interface DenyRuleExplanationOrBuilder
    • getExceptionPrincipalsCount

      public int getExceptionPrincipalsCount()
      Description copied from interface: DenyRuleExplanationOrBuilder
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
      Specified by:
      getExceptionPrincipalsCount in interface DenyRuleExplanationOrBuilder
    • containsExceptionPrincipals

      public boolean containsExceptionPrincipals(String key)
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
      Specified by:
      containsExceptionPrincipals in interface DenyRuleExplanationOrBuilder
    • getExceptionPrincipals

      Deprecated.
      Specified by:
      getExceptionPrincipals in interface DenyRuleExplanationOrBuilder
    • getExceptionPrincipalsMap

      public Map<String,DenyRuleExplanation.AnnotatedDenyPrincipalMatching> getExceptionPrincipalsMap()
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
      Specified by:
      getExceptionPrincipalsMap in interface DenyRuleExplanationOrBuilder
    • getExceptionPrincipalsOrDefault

       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
      Specified by:
      getExceptionPrincipalsOrDefault in interface DenyRuleExplanationOrBuilder
    • getExceptionPrincipalsOrThrow

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching getExceptionPrincipalsOrThrow(String key)
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
      Specified by:
      getExceptionPrincipalsOrThrow in interface DenyRuleExplanationOrBuilder
    • clearExceptionPrincipals

      public DenyRuleExplanation.Builder clearExceptionPrincipals()
    • removeExceptionPrincipals

      public DenyRuleExplanation.Builder removeExceptionPrincipals(String key)
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • getMutableExceptionPrincipals

      Deprecated.
      Use alternate mutation accessors instead.
    • putExceptionPrincipals

       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • putAllExceptionPrincipals

       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • putExceptionPrincipalsBuilderIfAbsent

      public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder putExceptionPrincipalsBuilderIfAbsent(String key)
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • getRelevanceValue

      public int getRelevanceValue()
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Specified by:
      getRelevanceValue in interface DenyRuleExplanationOrBuilder
      Returns:
      The enum numeric value on the wire for relevance.
    • setRelevanceValue

      public DenyRuleExplanation.Builder setRelevanceValue(int value)
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Parameters:
      value - The enum numeric value on the wire for relevance to set.
      Returns:
      This builder for chaining.
    • getRelevance

      public HeuristicRelevance getRelevance()
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Specified by:
      getRelevance in interface DenyRuleExplanationOrBuilder
      Returns:
      The relevance.
    • setRelevance

      public DenyRuleExplanation.Builder setRelevance(HeuristicRelevance value)
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Parameters:
      value - The relevance to set.
      Returns:
      This builder for chaining.
    • clearRelevance

      public DenyRuleExplanation.Builder clearRelevance()
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Returns:
      This builder for chaining.
    • hasCondition

      public boolean hasCondition()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
      Specified by:
      hasCondition in interface DenyRuleExplanationOrBuilder
      Returns:
      Whether the condition field is set.
    • getCondition

      public Expr getCondition()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
      Specified by:
      getCondition in interface DenyRuleExplanationOrBuilder
      Returns:
      The condition.
    • setCondition

      public DenyRuleExplanation.Builder setCondition(Expr value)
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
    • setCondition

      public DenyRuleExplanation.Builder setCondition(Expr.Builder builderForValue)
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
    • mergeCondition

      public DenyRuleExplanation.Builder mergeCondition(Expr value)
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
    • clearCondition

      public DenyRuleExplanation.Builder clearCondition()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
    • getConditionBuilder

      public Expr.Builder getConditionBuilder()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
    • getConditionOrBuilder

      public ExprOrBuilder getConditionOrBuilder()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
      Specified by:
      getConditionOrBuilder in interface DenyRuleExplanationOrBuilder
    • hasConditionExplanation

      public boolean hasConditionExplanation()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
      Specified by:
      hasConditionExplanation in interface DenyRuleExplanationOrBuilder
      Returns:
      Whether the conditionExplanation field is set.
    • getConditionExplanation

      public ConditionExplanation getConditionExplanation()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
      Specified by:
      getConditionExplanation in interface DenyRuleExplanationOrBuilder
      Returns:
      The conditionExplanation.
    • setConditionExplanation

      public DenyRuleExplanation.Builder setConditionExplanation(ConditionExplanation value)
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
    • setConditionExplanation

      public DenyRuleExplanation.Builder setConditionExplanation(ConditionExplanation.Builder builderForValue)
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
    • mergeConditionExplanation

      public DenyRuleExplanation.Builder mergeConditionExplanation(ConditionExplanation value)
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
    • clearConditionExplanation

      public DenyRuleExplanation.Builder clearConditionExplanation()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
    • getConditionExplanationBuilder

      public ConditionExplanation.Builder getConditionExplanationBuilder()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
    • getConditionExplanationOrBuilder

      public ConditionExplanationOrBuilder getConditionExplanationOrBuilder()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
      Specified by:
      getConditionExplanationOrBuilder in interface DenyRuleExplanationOrBuilder