shade.polaris.io.grpc.lookup.v1.NameMatcherOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/lookup/v1/rls_config.proto
package io.grpc.lookup.v1;
public interface NameMatcherOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.lookup.v1.NameMatcher)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return The key.
*/
java.lang.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;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
*
* 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;
* @return A list containing the names.
*/
java.util.List
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;
* @return The count of names.
*/
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;
* @param index The index of the element to return.
* @return The names at the given index.
*/
java.lang.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;
* @param index The index of the value to return.
* @return The bytes of the names at the given index.
*/
com.google.protobuf.ByteString
getNamesBytes(int index);
/**
*
* If true, make this extraction required; the key builder will not match
* if no value is found.
*
*
* bool required_match = 3;
* @return The requiredMatch.
*/
boolean getRequiredMatch();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy