Package dev.cel.expr.conformance.test
Interface InputContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InputContext,InputContext.Builder
public interface InputContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA context expression representing a context proto variable.com.google.protobuf.ByteStringA context expression representing a context proto variable.com.google.protobuf.AnyA context message represents an input kind in the form of a proto message whose type is defined at runtime.com.google.protobuf.AnyOrBuilderA context message represents an input kind in the form of a proto message whose type is defined at runtime.booleanA context expression representing a context proto variable.booleanA context message represents an input kind in the form of a proto message whose type is defined at runtime.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasContextMessage
boolean hasContextMessage()A context message represents an input kind in the form of a proto message whose type is defined at runtime.
.google.protobuf.Any context_message = 1;- Returns:
- Whether the contextMessage field is set.
-
getContextMessage
com.google.protobuf.Any getContextMessage()A context message represents an input kind in the form of a proto message whose type is defined at runtime.
.google.protobuf.Any context_message = 1;- Returns:
- The contextMessage.
-
getContextMessageOrBuilder
com.google.protobuf.AnyOrBuilder getContextMessageOrBuilder()A context message represents an input kind in the form of a proto message whose type is defined at runtime.
.google.protobuf.Any context_message = 1; -
hasContextExpr
boolean hasContextExpr()A context expression representing a context proto variable. The fields of the input proto.Messages are used as top-level variables within an Activation. The expression is evaluated using the cel environment configured for the test suite.
string context_expr = 2;- Returns:
- Whether the contextExpr field is set.
-
getContextExpr
String getContextExpr()A context expression representing a context proto variable. The fields of the input proto.Messages are used as top-level variables within an Activation. The expression is evaluated using the cel environment configured for the test suite.
string context_expr = 2;- Returns:
- The contextExpr.
-
getContextExprBytes
com.google.protobuf.ByteString getContextExprBytes()A context expression representing a context proto variable. The fields of the input proto.Messages are used as top-level variables within an Activation. The expression is evaluated using the cel environment configured for the test suite.
string context_expr = 2;- Returns:
- The bytes for contextExpr.
-
getInputContextKindCase
InputContext.InputContextKindCase getInputContextKindCase()
-