Interface NameMatcherOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The name that will be used in the RLS key_map to refer to this value.
    com.google.protobuf.ByteString
    The name that will be used in the RLS key_map to refer to this value.
    getNames(int index)
    Ordered list of names (headers or query parameter names) that can supply this value; the first one with a non-empty value is used.
    com.google.protobuf.ByteString
    getNamesBytes(int index)
    Ordered list of names (headers or query parameter names) that can supply this value; the first one with a non-empty value is used.
    int
    Ordered list of names (headers or query parameter names) that can supply this value; the first one with a non-empty value is used.
    Ordered list of names (headers or query parameter names) that can supply this value; the first one with a non-empty value is used.
    boolean
    If true, make this extraction required; the key builder will not match if no value is found.

    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

    • getKey

      String getKey()
       The name that will be used in the RLS key_map to refer to this value.
       If required_match is true, you may omit this field or set it to an empty
       string, in which case the matcher will require a match, but won't update
       the key_map.
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       The name that will be used in the RLS key_map to refer to this value.
       If required_match is true, you may omit this field or set it to an empty
       string, in which case the matcher will require a match, but won't update
       the key_map.
       
      string key = 1;
      Returns:
      The bytes for key.
    • getNamesList

      List<String> getNamesList()
       Ordered list of names (headers or query parameter names) that can supply
       this value; the first one with a non-empty value is used.
       
      repeated string names = 2;
      Returns:
      A list containing the names.
    • getNamesCount

      int getNamesCount()
       Ordered list of names (headers or query parameter names) that can supply
       this value; the first one with a non-empty value is used.
       
      repeated string names = 2;
      Returns:
      The count of names.
    • getNames

      String getNames(int index)
       Ordered list of names (headers or query parameter names) that can supply
       this value; the first one with a non-empty value is used.
       
      repeated string names = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      com.google.protobuf.ByteString getNamesBytes(int index)
       Ordered list of names (headers or query parameter names) that can supply
       this value; the first one with a non-empty value is used.
       
      repeated string names = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.
    • getRequiredMatch

      boolean getRequiredMatch()
       If true, make this extraction required; the key builder will not match
       if no value is found.
       
      bool required_match = 3;
      Returns:
      The requiredMatch.