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
      String getDescriptorKey()
      The key to use in the descriptor entry.
      com.google.protobuf.ByteString getDescriptorKeyBytes()
      The key to use in the descriptor entry.
      Descriptor.ExprSpecifierCase getExprSpecifierCase()  
      Expr getParsed()
      Parsed expression in AST form.
      ExprOrBuilder getParsedOrBuilder()
      Parsed expression in AST form.
      boolean getSkipIfError()
      If set to true, Envoy skips the descriptor if the expression evaluates to an error.
      String getText()
      Expression in a text form, e.g.
      com.google.protobuf.ByteString getTextBytes()
      Expression in a text form, e.g.
      boolean hasParsed()
      Parsed expression in AST form.
      • 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 Detail

      • getDescriptorKey

        String getDescriptorKey()
         The key to use in the descriptor entry.
         
        string descriptor_key = 1 [(.validate.rules) = { ... }
      • getDescriptorKeyBytes

        com.google.protobuf.ByteString getDescriptorKeyBytes()
         The key to use in the descriptor entry.
         
        string descriptor_key = 1 [(.validate.rules) = { ... }
      • 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;
      • getText

        String getText()
         Expression in a text form, e.g. "connection.requested_server_name".
         
        string text = 3 [(.validate.rules) = { ... }
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         Expression in a text form, e.g. "connection.requested_server_name".
         
        string text = 3 [(.validate.rules) = { ... }
      • hasParsed

        boolean hasParsed()
         Parsed expression in AST form.
         
        .google.api.expr.v1alpha1.Expr parsed = 4;
      • getParsed

        Expr getParsed()
         Parsed expression in AST form.
         
        .google.api.expr.v1alpha1.Expr parsed = 4;
      • getParsedOrBuilder

        ExprOrBuilder getParsedOrBuilder()
         Parsed expression in AST form.
         
        .google.api.expr.v1alpha1.Expr parsed = 4;