Package dev.cel.expr
Class Expr.Comprehension.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Expr.Comprehension.Builder>
-
- dev.cel.expr.Expr.Comprehension.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Expr.ComprehensionOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Expr.Comprehension
public static final class Expr.Comprehension.Builder extends com.google.protobuf.GeneratedMessage.Builder<Expr.Comprehension.Builder> implements Expr.ComprehensionOrBuilder
A comprehension expression applied to a list or map. Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time. The following macros are supported within CEL: Aggregate type macros may be applied to all elements in a list or all keys in a map: * `all`, `exists`, `exists_one` - test a predicate expression against the inputs and return `true` if the predicate is satisfied for all, any, or only one value `list.all(x, x < 10)`. * `filter` - test a predicate expression against the inputs and return the subset of elements which satisfy the predicate: `payments.filter(p, p > 1000)`. * `map` - apply an expression to all elements in the input and return the output aggregate type: `[1, 2, 3].map(i, i * i)`. The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`. Comprehension evaluation can be best visualized as the following pseudocode: ``` let `accu_var` = `accu_init` for (let `iter_var` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` } return `result` ```
Protobuf typecel.expr.Expr.Comprehension
-
-
Field Summary
Fields Modifier and Type Field Description private Expr
accuInit_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
accuInitBuilder_
private java.lang.Object
accuVar_
private int
bitField0_
private Expr
iterRange_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
iterRangeBuilder_
private java.lang.Object
iterVar_
private Expr
loopCondition_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
loopConditionBuilder_
private Expr
loopStep_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
loopStepBuilder_
private Expr
result_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
resultBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr.Comprehension
build()
Expr.Comprehension
buildPartial()
private void
buildPartial0(Expr.Comprehension result)
Expr.Comprehension.Builder
clear()
Expr.Comprehension.Builder
clearAccuInit()
The initial value of the accumulator.Expr.Comprehension.Builder
clearAccuVar()
The name of the variable used for accumulation of the result.Expr.Comprehension.Builder
clearIterRange()
The range over which var iterates.Expr.Comprehension.Builder
clearIterVar()
The name of the iteration variable.Expr.Comprehension.Builder
clearLoopCondition()
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
clearLoopStep()
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
clearResult()
An expression which can contain accu_var.Expr
getAccuInit()
The initial value of the accumulator.Expr.Builder
getAccuInitBuilder()
The initial value of the accumulator.private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
getAccuInitFieldBuilder()
The initial value of the accumulator.ExprOrBuilder
getAccuInitOrBuilder()
The initial value of the accumulator.java.lang.String
getAccuVar()
The name of the variable used for accumulation of the result.com.google.protobuf.ByteString
getAccuVarBytes()
The name of the variable used for accumulation of the result.Expr.Comprehension
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Expr
getIterRange()
The range over which var iterates.Expr.Builder
getIterRangeBuilder()
The range over which var iterates.private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
getIterRangeFieldBuilder()
The range over which var iterates.ExprOrBuilder
getIterRangeOrBuilder()
The range over which var iterates.java.lang.String
getIterVar()
The name of the iteration variable.com.google.protobuf.ByteString
getIterVarBytes()
The name of the iteration variable.Expr
getLoopCondition()
An expression which can contain iter_var and accu_var.Expr.Builder
getLoopConditionBuilder()
An expression which can contain iter_var and accu_var.private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
getLoopConditionFieldBuilder()
An expression which can contain iter_var and accu_var.ExprOrBuilder
getLoopConditionOrBuilder()
An expression which can contain iter_var and accu_var.Expr
getLoopStep()
An expression which can contain iter_var and accu_var.Expr.Builder
getLoopStepBuilder()
An expression which can contain iter_var and accu_var.private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
getLoopStepFieldBuilder()
An expression which can contain iter_var and accu_var.ExprOrBuilder
getLoopStepOrBuilder()
An expression which can contain iter_var and accu_var.Expr
getResult()
An expression which can contain accu_var.Expr.Builder
getResultBuilder()
An expression which can contain accu_var.private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
getResultFieldBuilder()
An expression which can contain accu_var.ExprOrBuilder
getResultOrBuilder()
An expression which can contain accu_var.boolean
hasAccuInit()
The initial value of the accumulator.boolean
hasIterRange()
The range over which var iterates.boolean
hasLoopCondition()
An expression which can contain iter_var and accu_var.boolean
hasLoopStep()
An expression which can contain iter_var and accu_var.boolean
hasResult()
An expression which can contain accu_var.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Expr.Comprehension.Builder
mergeAccuInit(Expr value)
The initial value of the accumulator.Expr.Comprehension.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Expr.Comprehension.Builder
mergeFrom(com.google.protobuf.Message other)
Expr.Comprehension.Builder
mergeFrom(Expr.Comprehension other)
Expr.Comprehension.Builder
mergeIterRange(Expr value)
The range over which var iterates.Expr.Comprehension.Builder
mergeLoopCondition(Expr value)
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
mergeLoopStep(Expr value)
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
mergeResult(Expr value)
An expression which can contain accu_var.Expr.Comprehension.Builder
setAccuInit(Expr value)
The initial value of the accumulator.Expr.Comprehension.Builder
setAccuInit(Expr.Builder builderForValue)
The initial value of the accumulator.Expr.Comprehension.Builder
setAccuVar(java.lang.String value)
The name of the variable used for accumulation of the result.Expr.Comprehension.Builder
setAccuVarBytes(com.google.protobuf.ByteString value)
The name of the variable used for accumulation of the result.Expr.Comprehension.Builder
setIterRange(Expr value)
The range over which var iterates.Expr.Comprehension.Builder
setIterRange(Expr.Builder builderForValue)
The range over which var iterates.Expr.Comprehension.Builder
setIterVar(java.lang.String value)
The name of the iteration variable.Expr.Comprehension.Builder
setIterVarBytes(com.google.protobuf.ByteString value)
The name of the iteration variable.Expr.Comprehension.Builder
setLoopCondition(Expr value)
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
setLoopCondition(Expr.Builder builderForValue)
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
setLoopStep(Expr value)
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
setLoopStep(Expr.Builder builderForValue)
An expression which can contain iter_var and accu_var.Expr.Comprehension.Builder
setResult(Expr value)
An expression which can contain accu_var.Expr.Comprehension.Builder
setResult(Expr.Builder builderForValue)
An expression which can contain accu_var.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
iterVar_
private java.lang.Object iterVar_
-
iterRange_
private Expr iterRange_
-
iterRangeBuilder_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> iterRangeBuilder_
-
accuVar_
private java.lang.Object accuVar_
-
accuInit_
private Expr accuInit_
-
accuInitBuilder_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> accuInitBuilder_
-
loopCondition_
private Expr loopCondition_
-
loopConditionBuilder_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> loopConditionBuilder_
-
loopStep_
private Expr loopStep_
-
loopStepBuilder_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> loopStepBuilder_
-
result_
private Expr result_
-
resultBuilder_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> resultBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Expr.Comprehension.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Expr.Comprehension.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Expr.Comprehension.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Expr.Comprehension.Builder>
-
getDefaultInstanceForType
public Expr.Comprehension getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Expr.Comprehension build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Expr.Comprehension buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Expr.Comprehension result)
-
mergeFrom
public Expr.Comprehension.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Expr.Comprehension.Builder>
-
mergeFrom
public Expr.Comprehension.Builder mergeFrom(Expr.Comprehension other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Expr.Comprehension.Builder>
-
mergeFrom
public Expr.Comprehension.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Expr.Comprehension.Builder>
- Throws:
java.io.IOException
-
getIterVar
public java.lang.String getIterVar()
The name of the iteration variable.
string iter_var = 1;
- Specified by:
getIterVar
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The iterVar.
-
getIterVarBytes
public com.google.protobuf.ByteString getIterVarBytes()
The name of the iteration variable.
string iter_var = 1;
- Specified by:
getIterVarBytes
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The bytes for iterVar.
-
setIterVar
public Expr.Comprehension.Builder setIterVar(java.lang.String value)
The name of the iteration variable.
string iter_var = 1;
- Parameters:
value
- The iterVar to set.- Returns:
- This builder for chaining.
-
clearIterVar
public Expr.Comprehension.Builder clearIterVar()
The name of the iteration variable.
string iter_var = 1;
- Returns:
- This builder for chaining.
-
setIterVarBytes
public Expr.Comprehension.Builder setIterVarBytes(com.google.protobuf.ByteString value)
The name of the iteration variable.
string iter_var = 1;
- Parameters:
value
- The bytes for iterVar to set.- Returns:
- This builder for chaining.
-
hasIterRange
public boolean hasIterRange()
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
- Specified by:
hasIterRange
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- Whether the iterRange field is set.
-
getIterRange
public Expr getIterRange()
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
- Specified by:
getIterRange
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The iterRange.
-
setIterRange
public Expr.Comprehension.Builder setIterRange(Expr value)
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
-
setIterRange
public Expr.Comprehension.Builder setIterRange(Expr.Builder builderForValue)
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
-
mergeIterRange
public Expr.Comprehension.Builder mergeIterRange(Expr value)
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
-
clearIterRange
public Expr.Comprehension.Builder clearIterRange()
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
-
getIterRangeBuilder
public Expr.Builder getIterRangeBuilder()
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
-
getIterRangeOrBuilder
public ExprOrBuilder getIterRangeOrBuilder()
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
- Specified by:
getIterRangeOrBuilder
in interfaceExpr.ComprehensionOrBuilder
-
getIterRangeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> getIterRangeFieldBuilder()
The range over which var iterates.
.cel.expr.Expr iter_range = 2;
-
getAccuVar
public java.lang.String getAccuVar()
The name of the variable used for accumulation of the result.
string accu_var = 3;
- Specified by:
getAccuVar
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The accuVar.
-
getAccuVarBytes
public com.google.protobuf.ByteString getAccuVarBytes()
The name of the variable used for accumulation of the result.
string accu_var = 3;
- Specified by:
getAccuVarBytes
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The bytes for accuVar.
-
setAccuVar
public Expr.Comprehension.Builder setAccuVar(java.lang.String value)
The name of the variable used for accumulation of the result.
string accu_var = 3;
- Parameters:
value
- The accuVar to set.- Returns:
- This builder for chaining.
-
clearAccuVar
public Expr.Comprehension.Builder clearAccuVar()
The name of the variable used for accumulation of the result.
string accu_var = 3;
- Returns:
- This builder for chaining.
-
setAccuVarBytes
public Expr.Comprehension.Builder setAccuVarBytes(com.google.protobuf.ByteString value)
The name of the variable used for accumulation of the result.
string accu_var = 3;
- Parameters:
value
- The bytes for accuVar to set.- Returns:
- This builder for chaining.
-
hasAccuInit
public boolean hasAccuInit()
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
- Specified by:
hasAccuInit
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- Whether the accuInit field is set.
-
getAccuInit
public Expr getAccuInit()
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
- Specified by:
getAccuInit
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The accuInit.
-
setAccuInit
public Expr.Comprehension.Builder setAccuInit(Expr value)
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
-
setAccuInit
public Expr.Comprehension.Builder setAccuInit(Expr.Builder builderForValue)
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
-
mergeAccuInit
public Expr.Comprehension.Builder mergeAccuInit(Expr value)
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
-
clearAccuInit
public Expr.Comprehension.Builder clearAccuInit()
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
-
getAccuInitBuilder
public Expr.Builder getAccuInitBuilder()
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
-
getAccuInitOrBuilder
public ExprOrBuilder getAccuInitOrBuilder()
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
- Specified by:
getAccuInitOrBuilder
in interfaceExpr.ComprehensionOrBuilder
-
getAccuInitFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> getAccuInitFieldBuilder()
The initial value of the accumulator.
.cel.expr.Expr accu_init = 4;
-
hasLoopCondition
public boolean hasLoopCondition()
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
- Specified by:
hasLoopCondition
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- Whether the loopCondition field is set.
-
getLoopCondition
public Expr getLoopCondition()
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
- Specified by:
getLoopCondition
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The loopCondition.
-
setLoopCondition
public Expr.Comprehension.Builder setLoopCondition(Expr value)
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
-
setLoopCondition
public Expr.Comprehension.Builder setLoopCondition(Expr.Builder builderForValue)
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
-
mergeLoopCondition
public Expr.Comprehension.Builder mergeLoopCondition(Expr value)
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
-
clearLoopCondition
public Expr.Comprehension.Builder clearLoopCondition()
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
-
getLoopConditionBuilder
public Expr.Builder getLoopConditionBuilder()
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
-
getLoopConditionOrBuilder
public ExprOrBuilder getLoopConditionOrBuilder()
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
- Specified by:
getLoopConditionOrBuilder
in interfaceExpr.ComprehensionOrBuilder
-
getLoopConditionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> getLoopConditionFieldBuilder()
An expression which can contain iter_var and accu_var. Returns false when the result has been computed and may be used as a hint to short-circuit the remainder of the comprehension.
.cel.expr.Expr loop_condition = 5;
-
hasLoopStep
public boolean hasLoopStep()
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
- Specified by:
hasLoopStep
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- Whether the loopStep field is set.
-
getLoopStep
public Expr getLoopStep()
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
- Specified by:
getLoopStep
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The loopStep.
-
setLoopStep
public Expr.Comprehension.Builder setLoopStep(Expr value)
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
-
setLoopStep
public Expr.Comprehension.Builder setLoopStep(Expr.Builder builderForValue)
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
-
mergeLoopStep
public Expr.Comprehension.Builder mergeLoopStep(Expr value)
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
-
clearLoopStep
public Expr.Comprehension.Builder clearLoopStep()
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
-
getLoopStepBuilder
public Expr.Builder getLoopStepBuilder()
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
-
getLoopStepOrBuilder
public ExprOrBuilder getLoopStepOrBuilder()
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
- Specified by:
getLoopStepOrBuilder
in interfaceExpr.ComprehensionOrBuilder
-
getLoopStepFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> getLoopStepFieldBuilder()
An expression which can contain iter_var and accu_var. Computes the next value of accu_var.
.cel.expr.Expr loop_step = 6;
-
hasResult
public boolean hasResult()
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
- Specified by:
hasResult
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- Whether the result field is set.
-
getResult
public Expr getResult()
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
- Specified by:
getResult
in interfaceExpr.ComprehensionOrBuilder
- Returns:
- The result.
-
setResult
public Expr.Comprehension.Builder setResult(Expr value)
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
-
setResult
public Expr.Comprehension.Builder setResult(Expr.Builder builderForValue)
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
-
mergeResult
public Expr.Comprehension.Builder mergeResult(Expr value)
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
-
clearResult
public Expr.Comprehension.Builder clearResult()
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
-
getResultBuilder
public Expr.Builder getResultBuilder()
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
-
getResultOrBuilder
public ExprOrBuilder getResultOrBuilder()
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
- Specified by:
getResultOrBuilder
in interfaceExpr.ComprehensionOrBuilder
-
getResultFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> getResultFieldBuilder()
An expression which can contain accu_var. Computes the result.
.cel.expr.Expr result = 7;
-
-