Package dev.cel.expr
Interface Expr.CreateListOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Expr.CreateList,Expr.CreateList.Builder
- Enclosing class:
- Expr
public static interface Expr.CreateListOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExprgetElements(int index)The elements part of the list.intgetElementsCount()The elements part of the list.java.util.List<Expr>getElementsList()The elements part of the list.ExprOrBuildergetElementsOrBuilder(int index)The elements part of the list.java.util.List<? extends ExprOrBuilder>getElementsOrBuilderList()The elements part of the list.intgetOptionalIndices(int index)The indices within the elements list which are marked as optional elements.intgetOptionalIndicesCount()The indices within the elements list which are marked as optional elements.java.util.List<java.lang.Integer>getOptionalIndicesList()The indices within the elements list which are marked as optional elements.-
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
-
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.
-
-