Interface MessageRestrictionsOrBuilder

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

public interface MessageRestrictionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasConfig

      boolean hasConfig()
       The core restriction to apply to this message type.
       The 'matcher' within RestrictionConfig will determine if the message is
       scrubbed/denied/allowed.
       
      .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig config = 1;
      Returns:
      Whether the config field is set.
    • getConfig

      RestrictionConfig getConfig()
       The core restriction to apply to this message type.
       The 'matcher' within RestrictionConfig will determine if the message is
       scrubbed/denied/allowed.
       
      .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig config = 1;
      Returns:
      The config.
    • getConfigOrBuilder

      RestrictionConfigOrBuilder getConfigOrBuilder()
       The core restriction to apply to this message type.
       The 'matcher' within RestrictionConfig will determine if the message is
       scrubbed/denied/allowed.
       
      .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig config = 1;
    • getFieldRestrictionsCount

      int getFieldRestrictionsCount()
       Restrictions that apply to specific fields within this message type.
       Key - field mask (e.g. "social_security_number").
       Value - The restriction configuration for that field.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2;
    • containsFieldRestrictions

      boolean containsFieldRestrictions(String key)
       Restrictions that apply to specific fields within this message type.
       Key - field mask (e.g. "social_security_number").
       Value - The restriction configuration for that field.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2;
    • getFieldRestrictions

      @Deprecated Map<String,RestrictionConfig> getFieldRestrictions()
      Deprecated.
    • getFieldRestrictionsMap

      Map<String,RestrictionConfig> getFieldRestrictionsMap()
       Restrictions that apply to specific fields within this message type.
       Key - field mask (e.g. "social_security_number").
       Value - The restriction configuration for that field.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2;
    • getFieldRestrictionsOrDefault

      RestrictionConfig getFieldRestrictionsOrDefault(String key, RestrictionConfig defaultValue)
       Restrictions that apply to specific fields within this message type.
       Key - field mask (e.g. "social_security_number").
       Value - The restriction configuration for that field.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2;
    • getFieldRestrictionsOrThrow

      RestrictionConfig getFieldRestrictionsOrThrow(String key)
       Restrictions that apply to specific fields within this message type.
       Key - field mask (e.g. "social_security_number").
       Value - The restriction configuration for that field.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2;