Package dev.cel.expr
Interface Expr.CallOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Expr.Call
,Expr.Call.Builder
- Enclosing class:
Expr
public static interface Expr.CallOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs
(int index) The arguments.int
The arguments.The arguments.getArgsOrBuilder
(int index) The arguments.List
<? extends ExprOrBuilder> The arguments.Required.com.google.protobuf.ByteString
Required.The target of an method call-style expression.The target of an method call-style expression.boolean
The target of an method call-style expression.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
-
hasTarget
boolean hasTarget()The target of an method call-style expression. For example, `x` in `x.f()`.
.cel.expr.Expr target = 1;
- Returns:
- Whether the target field is set.
-
getTarget
Expr getTarget()The target of an method call-style expression. For example, `x` in `x.f()`.
.cel.expr.Expr target = 1;
- Returns:
- The target.
-
getTargetOrBuilder
ExprOrBuilder getTargetOrBuilder()The target of an method call-style expression. For example, `x` in `x.f()`.
.cel.expr.Expr target = 1;
-
getFunction
String getFunction()Required. The name of the function or method being called.
string function = 2;
- Returns:
- The function.
-
getFunctionBytes
com.google.protobuf.ByteString getFunctionBytes()Required. The name of the function or method being called.
string function = 2;
- Returns:
- The bytes for function.
-
getArgsList
The arguments.
repeated .cel.expr.Expr args = 3;
-
getArgs
The arguments.
repeated .cel.expr.Expr args = 3;
-
getArgsCount
int getArgsCount()The arguments.
repeated .cel.expr.Expr args = 3;
-
getArgsOrBuilderList
List<? extends ExprOrBuilder> getArgsOrBuilderList()The arguments.
repeated .cel.expr.Expr args = 3;
-
getArgsOrBuilder
The arguments.
repeated .cel.expr.Expr args = 3;
-