Package dev.cel.expr

Interface ReferenceOrBuilder

    • Method Detail

      • getName

        java.lang.String getName()
         The fully qualified name of the declaration.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        ByteString getNameBytes()
         The fully qualified name of the declaration.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getOverloadIdList

        java.util.List<java.lang.String> getOverloadIdList()
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Returns:
        A list containing the overloadId.
      • getOverloadIdCount

        int getOverloadIdCount()
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Returns:
        The count of overloadId.
      • getOverloadId

        java.lang.String getOverloadId​(int index)
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The overloadId at the given index.
      • getOverloadIdBytes

        ByteString getOverloadIdBytes​(int index)
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the overloadId at the given index.
      • hasValue

        boolean hasValue()
         For references to constants, this may contain the value of the
         constant if known at compile time.
         
        .cel.expr.Constant value = 4;
        Returns:
        Whether the value field is set.
      • getValue

        Constant getValue()
         For references to constants, this may contain the value of the
         constant if known at compile time.
         
        .cel.expr.Constant value = 4;
        Returns:
        The value.
      • getValueOrBuilder

        ConstantOrBuilder getValueOrBuilder()
         For references to constants, this may contain the value of the
         constant if known at compile time.
         
        .cel.expr.Constant value = 4;