Interface DescriptorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Descriptor,Descriptor.Builder
public interface DescriptorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescriptorKey()The key to use in the descriptor entry.com.google.protobuf.ByteStringgetDescriptorKeyBytes()The key to use in the descriptor entry.Descriptor.ExprSpecifierCasegetExprSpecifierCase()ExprgetParsed()Parsed expression in AST form.ExprOrBuildergetParsedOrBuilder()Parsed expression in AST form.booleangetSkipIfError()If set to true, Envoy skips the descriptor if the expression evaluates to an error.StringgetText()Expression in a text form, e.g.com.google.protobuf.ByteStringgetTextBytes()Expression in a text form, e.g.booleanhasParsed()Parsed expression in AST form.booleanhasText()Expression in a text form, e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptorKey
String getDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }- Returns:
- The descriptorKey.
-
getDescriptorKeyBytes
com.google.protobuf.ByteString getDescriptorKeyBytes()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for descriptorKey.
-
getSkipIfError
boolean getSkipIfError()
If set to true, Envoy skips the descriptor if the expression evaluates to an error. By default, the rate limit is not applied when an expression produces an error.
bool skip_if_error = 2;- Returns:
- The skipIfError.
-
hasText
boolean hasText()
Expression in a text form, e.g. "connection.requested_server_name".
string text = 3 [(.validate.rules) = { ... }- Returns:
- Whether the text field is set.
-
getText
String getText()
Expression in a text form, e.g. "connection.requested_server_name".
string text = 3 [(.validate.rules) = { ... }- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
Expression in a text form, e.g. "connection.requested_server_name".
string text = 3 [(.validate.rules) = { ... }- Returns:
- The bytes for text.
-
hasParsed
boolean hasParsed()
Parsed expression in AST form.
.google.api.expr.v1alpha1.Expr parsed = 4;- Returns:
- Whether the parsed field is set.
-
getParsed
Expr getParsed()
Parsed expression in AST form.
.google.api.expr.v1alpha1.Expr parsed = 4;- Returns:
- The parsed.
-
getParsedOrBuilder
ExprOrBuilder getParsedOrBuilder()
Parsed expression in AST form.
.google.api.expr.v1alpha1.Expr parsed = 4;
-
getExprSpecifierCase
Descriptor.ExprSpecifierCase getExprSpecifierCase()
-
-