Package dev.cel.common.ast
Interface Expression.Struct.Entry<T extends Expression>
- 
- All Known Implementing Classes:
- CelExpr.CelStruct.Entry
 - Enclosing interface:
- Expression.Struct<E extends Expression.Struct.Entry<?>>
 
 public static interface Expression.Struct.Entry<T extends Expression>Represents an entry of the struct
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringfieldKey()Entry key kind.longid()Required.booleanoptionalEntry()Whether the key-value pair is optional.Tvalue()Required.
 
- 
- 
- 
Method Detail- 
idlong id() Required. An id assigned to this node by the parser which is unique in a given expression tree. This is used to associate type information and other attributes to the node.
 - 
fieldKeyjava.lang.String fieldKey() Entry key kind.
 - 
valueT value() Required. The value assigned to the key.If the optional_entry field is true, the expression must resolve to an optional-typed value. If the optional value is present, the key will be set; however, if the optional value is absent, the key will be unset. 
 - 
optionalEntryboolean optionalEntry() Whether the key-value pair is optional.
 
- 
 
-