Interface CelConfigOrBuilder

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

@Generated public interface CelConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The CEL expression to evaluate.
    com.google.protobuf.ByteString
    The CEL expression to evaluate.

    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

    • getExpression

      String getExpression()
       The CEL expression to evaluate.
      
       The expression has access to the document and stream context.
      
       Available context variables:
       - document: The full PipeDoc object
       - stream: The PipeStream object (metadata, history, etc.)
      
       Example expressions:
       - "document.search_metadata.relevance_score * 100"
       - "document.search_metadata.title + ' - ' + document.search_metadata.author"
       - "stream.metadata.context_params['priority'] == 'high'"
       
      string expression = 1 [json_name = "expression"];
      Returns:
      The expression.
    • getExpressionBytes

      com.google.protobuf.ByteString getExpressionBytes()
       The CEL expression to evaluate.
      
       The expression has access to the document and stream context.
      
       Available context variables:
       - document: The full PipeDoc object
       - stream: The PipeStream object (metadata, history, etc.)
      
       Example expressions:
       - "document.search_metadata.relevance_score * 100"
       - "document.search_metadata.title + ' - ' + document.search_metadata.author"
       - "stream.metadata.context_params['priority'] == 'high'"
       
      string expression = 1 [json_name = "expression"];
      Returns:
      The bytes for expression.