Package dev.cel.expr

Interface Expr.CreateListOrBuilder

    • Method Detail

      • getElementsList

        java.util.List<Expr> getElementsList()
         The elements part of the list.
         
        repeated .cel.expr.Expr elements = 1;
      • getElements

        Expr getElements​(int index)
         The elements part of the list.
         
        repeated .cel.expr.Expr elements = 1;
      • getElementsCount

        int getElementsCount()
         The elements part of the list.
         
        repeated .cel.expr.Expr elements = 1;
      • getElementsOrBuilderList

        java.util.List<? extends ExprOrBuilder> getElementsOrBuilderList()
         The elements part of the list.
         
        repeated .cel.expr.Expr elements = 1;
      • getElementsOrBuilder

        ExprOrBuilder getElementsOrBuilder​(int index)
         The elements part of the list.
         
        repeated .cel.expr.Expr elements = 1;
      • getOptionalIndicesList

        java.util.List<java.lang.Integer> getOptionalIndicesList()
         The indices within the elements list which are marked as optional
         elements.
         When an optional-typed value is present, the value it contains
         is included in the list. If the optional-typed value is absent, the list
         element is omitted from the CreateList result.
         
        repeated int32 optional_indices = 2;
        Returns:
        A list containing the optionalIndices.
      • getOptionalIndicesCount

        int getOptionalIndicesCount()
         The indices within the elements list which are marked as optional
         elements.
         When an optional-typed value is present, the value it contains
         is included in the list. If the optional-typed value is absent, the list
         element is omitted from the CreateList result.
         
        repeated int32 optional_indices = 2;
        Returns:
        The count of optionalIndices.
      • getOptionalIndices

        int getOptionalIndices​(int index)
         The indices within the elements list which are marked as optional
         elements.
         When an optional-typed value is present, the value it contains
         is included in the list. If the optional-typed value is absent, the list
         element is omitted from the CreateList result.
         
        repeated int32 optional_indices = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The optionalIndices at the given index.