Package dev.cel.expr
Class Expr.Call
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.cel.expr.Expr.Call
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Expr.CallOrBuilder,java.io.Serializable
- Enclosing class:
- Expr
public static final class Expr.Call extends com.google.protobuf.GeneratedMessage implements Expr.CallOrBuilder
A call expression, including calls to predefined functions and operators. For example, `value == 10`, `size(map_value)`.
Protobuf typecel.expr.Expr.Call- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpr.Call.BuilderA call expression, including calls to predefined functions and operators.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intARGS_FIELD_NUMBERstatic intFUNCTION_FIELD_NUMBERstatic intTARGET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ExprgetArgs(int index)The arguments.intgetArgsCount()The arguments.java.util.List<Expr>getArgsList()The arguments.ExprOrBuildergetArgsOrBuilder(int index)The arguments.java.util.List<? extends ExprOrBuilder>getArgsOrBuilderList()The arguments.static Expr.CallgetDefaultInstance()Expr.CallgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetFunction()Required.com.google.protobuf.ByteStringgetFunctionBytes()Required.com.google.protobuf.Parser<Expr.Call>getParserForType()intgetSerializedSize()ExprgetTarget()The target of an method call-style expression.ExprOrBuildergetTargetOrBuilder()The target of an method call-style expression.inthashCode()booleanhasTarget()The target of an method call-style expression.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Expr.Call.BuildernewBuilder()static Expr.Call.BuildernewBuilder(Expr.Call prototype)Expr.Call.BuildernewBuilderForType()protected Expr.Call.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static Expr.CallparseDelimitedFrom(java.io.InputStream input)static Expr.CallparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Expr.CallparseFrom(byte[] data)static Expr.CallparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Expr.CallparseFrom(com.google.protobuf.ByteString data)static Expr.CallparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Expr.CallparseFrom(com.google.protobuf.CodedInputStream input)static Expr.CallparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Expr.CallparseFrom(java.io.InputStream input)static Expr.CallparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Expr.CallparseFrom(java.nio.ByteBuffer data)static Expr.CallparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Expr.Call>parser()Expr.Call.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNCTION_FIELD_NUMBER
public static final int FUNCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasTarget
public boolean hasTarget()
The target of an method call-style expression. For example, `x` in `x.f()`.
.cel.expr.Expr target = 1;- Specified by:
hasTargetin interfaceExpr.CallOrBuilder- Returns:
- Whether the target field is set.
-
getTarget
public Expr getTarget()
The target of an method call-style expression. For example, `x` in `x.f()`.
.cel.expr.Expr target = 1;- Specified by:
getTargetin interfaceExpr.CallOrBuilder- Returns:
- The target.
-
getTargetOrBuilder
public ExprOrBuilder getTargetOrBuilder()
The target of an method call-style expression. For example, `x` in `x.f()`.
.cel.expr.Expr target = 1;- Specified by:
getTargetOrBuilderin interfaceExpr.CallOrBuilder
-
getFunction
public java.lang.String getFunction()
Required. The name of the function or method being called.
string function = 2;- Specified by:
getFunctionin interfaceExpr.CallOrBuilder- Returns:
- The function.
-
getFunctionBytes
public com.google.protobuf.ByteString getFunctionBytes()
Required. The name of the function or method being called.
string function = 2;- Specified by:
getFunctionBytesin interfaceExpr.CallOrBuilder- Returns:
- The bytes for function.
-
getArgsList
public java.util.List<Expr> getArgsList()
The arguments.
repeated .cel.expr.Expr args = 3;- Specified by:
getArgsListin interfaceExpr.CallOrBuilder
-
getArgsOrBuilderList
public java.util.List<? extends ExprOrBuilder> getArgsOrBuilderList()
The arguments.
repeated .cel.expr.Expr args = 3;- Specified by:
getArgsOrBuilderListin interfaceExpr.CallOrBuilder
-
getArgsCount
public int getArgsCount()
The arguments.
repeated .cel.expr.Expr args = 3;- Specified by:
getArgsCountin interfaceExpr.CallOrBuilder
-
getArgs
public Expr getArgs(int index)
The arguments.
repeated .cel.expr.Expr args = 3;- Specified by:
getArgsin interfaceExpr.CallOrBuilder
-
getArgsOrBuilder
public ExprOrBuilder getArgsOrBuilder(int index)
The arguments.
repeated .cel.expr.Expr args = 3;- Specified by:
getArgsOrBuilderin interfaceExpr.CallOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Expr.Call parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Expr.Call parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Expr.Call parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Expr.Call parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Expr.Call.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Expr.Call.Builder newBuilder()
-
newBuilder
public static Expr.Call.Builder newBuilder(Expr.Call prototype)
-
toBuilder
public Expr.Call.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Expr.Call.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Expr.Call getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Expr.Call> parser()
-
getParserForType
public com.google.protobuf.Parser<Expr.Call> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Expr.Call getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-