Interface RBACOrBuilder

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

public interface RBACOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Maps from policy name to policy.
    The action to take if a policy matches.
    int
    The action to take if a policy matches.
    Deprecated.
    int
    Maps from policy name to policy.
    Maps from policy name to policy.
    getPoliciesOrDefault(String key, Policy defaultValue)
    Maps from policy name to policy.
    Maps from policy name to policy.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getActionValue

      int getActionValue()
       The action to take if a policy matches. The request is allowed if and only if:
      
         * `action` is "ALLOWED" and at least one policy matches
         * `action` is "DENY" and none of the policies match
       
      .envoy.config.rbac.v2.RBAC.Action action = 1;
      Returns:
      The enum numeric value on the wire for action.
    • getAction

      RBAC.Action getAction()
       The action to take if a policy matches. The request is allowed if and only if:
      
         * `action` is "ALLOWED" and at least one policy matches
         * `action` is "DENY" and none of the policies match
       
      .envoy.config.rbac.v2.RBAC.Action action = 1;
      Returns:
      The action.
    • getPoliciesCount

      int getPoliciesCount()
       Maps from policy name to policy. A match occurs when at least one policy matches the request.
       
      map<string, .envoy.config.rbac.v2.Policy> policies = 2;
    • containsPolicies

      boolean containsPolicies(String key)
       Maps from policy name to policy. A match occurs when at least one policy matches the request.
       
      map<string, .envoy.config.rbac.v2.Policy> policies = 2;
    • getPolicies

      @Deprecated Map<String,Policy> getPolicies()
      Deprecated.
      Use getPoliciesMap() instead.
    • getPoliciesMap

      Map<String,Policy> getPoliciesMap()
       Maps from policy name to policy. A match occurs when at least one policy matches the request.
       
      map<string, .envoy.config.rbac.v2.Policy> policies = 2;
    • getPoliciesOrDefault

      Policy getPoliciesOrDefault(String key, Policy defaultValue)
       Maps from policy name to policy. A match occurs when at least one policy matches the request.
       
      map<string, .envoy.config.rbac.v2.Policy> policies = 2;
    • getPoliciesOrThrow

      Policy getPoliciesOrThrow(String key)
       Maps from policy name to policy. A match occurs when at least one policy matches the request.
       
      map<string, .envoy.config.rbac.v2.Policy> policies = 2;