Package dev.cel.expr
Interface Expr.SelectOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Expr.Select,Expr.Select.Builder
- Enclosing class:
- Expr
public static interface Expr.SelectOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetField()Required.ByteStringgetFieldBytes()Required.ExprgetOperand()Required.ExprOrBuildergetOperandOrBuilder()Required.booleangetTestOnly()Whether the select is to be interpreted as a field presence test.booleanhasOperand()Required.-
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
-
hasOperand
boolean hasOperand()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.cel.expr.Expr operand = 1;- Returns:
- Whether the operand field is set.
-
getOperand
Expr getOperand()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.cel.expr.Expr operand = 1;- Returns:
- The operand.
-
getOperandOrBuilder
ExprOrBuilder getOperandOrBuilder()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.cel.expr.Expr operand = 1;
-
getField
java.lang.String getField()
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;- Returns:
- The field.
-
getFieldBytes
ByteString getFieldBytes()
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;- Returns:
- The bytes for field.
-
getTestOnly
boolean getTestOnly()
Whether the select is to be interpreted as a field presence test. This results from the macro `has(request.auth)`.
bool test_only = 3;- Returns:
- The testOnly.
-
-