Package dev.cel.expr
Class Expr.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
-
- dev.cel.expr.Expr.Builder
-
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ExprOrBuilder,java.lang.Cloneable
- Enclosing class:
- Expr
public static final class Expr.Builder extends GeneratedMessageV3.Builder<Expr.Builder> implements ExprOrBuilder
An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][cel.expr.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][cel.expr.Expr.Select] expression, and the function declaration `startsWith`.Protobuf typecel.expr.Expr
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.Exprbuild()Constructs the message based on the state of the Builder.ExprbuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.Expr.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.Expr.BuilderclearCallExpr()A call expression, including calls to predefined functions and operators.Expr.BuilderclearComprehensionExpr()A comprehension expression.Expr.BuilderclearConstExpr()A constant expression.Expr.BuilderclearExprKind()Expr.BuilderclearField(Descriptors.FieldDescriptor field)Clears the field.Expr.BuilderclearId()Required.Expr.BuilderclearIdentExpr()An identifier expression.Expr.BuilderclearListExpr()A list creation expression.Expr.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.Expr.BuilderclearSelectExpr()A field selection expression, e.g.Expr.BuilderclearStructExpr()A map or message creation expression.Expr.Builderclone()Clones the Builder.Expr.CallgetCallExpr()A call expression, including calls to predefined functions and operators.Expr.Call.BuildergetCallExprBuilder()A call expression, including calls to predefined functions and operators.Expr.CallOrBuildergetCallExprOrBuilder()A call expression, including calls to predefined functions and operators.Expr.ComprehensiongetComprehensionExpr()A comprehension expression.Expr.Comprehension.BuildergetComprehensionExprBuilder()A comprehension expression.Expr.ComprehensionOrBuildergetComprehensionExprOrBuilder()A comprehension expression.ConstantgetConstExpr()A constant expression.Constant.BuildergetConstExprBuilder()A constant expression.ConstantOrBuildergetConstExprOrBuilder()A constant expression.ExprgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.Expr.ExprKindCasegetExprKindCase()longgetId()Required.Expr.IdentgetIdentExpr()An identifier expression.Expr.Ident.BuildergetIdentExprBuilder()An identifier expression.Expr.IdentOrBuildergetIdentExprOrBuilder()An identifier expression.Expr.CreateListgetListExpr()A list creation expression.Expr.CreateList.BuildergetListExprBuilder()A list creation expression.Expr.CreateListOrBuildergetListExprOrBuilder()A list creation expression.Expr.SelectgetSelectExpr()A field selection expression, e.g.Expr.Select.BuildergetSelectExprBuilder()A field selection expression, e.g.Expr.SelectOrBuildergetSelectExprOrBuilder()A field selection expression, e.g.Expr.CreateStructgetStructExpr()A map or message creation expression.Expr.CreateStruct.BuildergetStructExprBuilder()A map or message creation expression.Expr.CreateStructOrBuildergetStructExprOrBuilder()A map or message creation expression.booleanhasCallExpr()A call expression, including calls to predefined functions and operators.booleanhasComprehensionExpr()A comprehension expression.booleanhasConstExpr()A constant expression.booleanhasIdentExpr()An identifier expression.booleanhasListExpr()A list creation expression.booleanhasSelectExpr()A field selection expression, e.g.booleanhasStructExpr()A map or message creation expression.protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.Expr.BuildermergeCallExpr(Expr.Call value)A call expression, including calls to predefined functions and operators.Expr.BuildermergeComprehensionExpr(Expr.Comprehension value)A comprehension expression.Expr.BuildermergeConstExpr(Constant value)A constant expression.Expr.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Expr.BuildermergeFrom(Message other)Mergeotherinto the message being built.Expr.BuildermergeFrom(Expr other)Expr.BuildermergeIdentExpr(Expr.Ident value)An identifier expression.Expr.BuildermergeListExpr(Expr.CreateList value)A list creation expression.Expr.BuildermergeSelectExpr(Expr.Select value)A field selection expression, e.g.Expr.BuildermergeStructExpr(Expr.CreateStruct value)A map or message creation expression.Expr.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.Expr.BuildersetCallExpr(Expr.Call value)A call expression, including calls to predefined functions and operators.Expr.BuildersetCallExpr(Expr.Call.Builder builderForValue)A call expression, including calls to predefined functions and operators.Expr.BuildersetComprehensionExpr(Expr.Comprehension value)A comprehension expression.Expr.BuildersetComprehensionExpr(Expr.Comprehension.Builder builderForValue)A comprehension expression.Expr.BuildersetConstExpr(Constant value)A constant expression.Expr.BuildersetConstExpr(Constant.Builder builderForValue)A constant expression.Expr.BuildersetField(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.Expr.BuildersetId(long value)Required.Expr.BuildersetIdentExpr(Expr.Ident value)An identifier expression.Expr.BuildersetIdentExpr(Expr.Ident.Builder builderForValue)An identifier expression.Expr.BuildersetListExpr(Expr.CreateList value)A list creation expression.Expr.BuildersetListExpr(Expr.CreateList.Builder builderForValue)A list creation expression.Expr.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given value.Expr.BuildersetSelectExpr(Expr.Select value)A field selection expression, e.g.Expr.BuildersetSelectExpr(Expr.Select.Builder builderForValue)A field selection expression, e.g.Expr.BuildersetStructExpr(Expr.CreateStruct value)A map or message creation expression.Expr.BuildersetStructExpr(Expr.CreateStruct.Builder builderForValue)A map or message creation expression.Expr.BuildersetUnknownFields(UnknownFieldSet unknownFields)Set theUnknownFieldSetfor this message.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<Expr.Builder>
-
clear
public Expr.Builder clear()
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Expr.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Expr.Builder>
-
getDefaultInstanceForType
public Expr getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public Expr build()
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public Expr buildPartial()
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public Expr.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Expr.Builder>- See Also:
Object.clone()
-
setField
public Expr.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderSets a field to the given value. The value must be of the correct type for this field, that is, the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)returns.- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Expr.Builder>
-
clearField
public Expr.Builder clearField(Descriptors.FieldDescriptor field)
Description copied from interface:Message.BuilderClears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Expr.Builder>
-
clearOneof
public Expr.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Description copied from class:AbstractMessage.BuilderTODO(jieluo): Clear it when all subclasses have implemented this method.- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Expr.Builder>
-
setRepeatedField
public Expr.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Description copied from interface:Message.BuilderSets an element of a repeated field to the given value. The value must be of the correct type for this field; that is, the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)returns.- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Expr.Builder>
-
addRepeatedField
public Expr.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderLikesetRepeatedField, but appends the value as a new element.- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Expr.Builder>
-
mergeFrom
public Expr.Builder mergeFrom(Message other)
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Expr.Builder>
-
mergeFrom
public Expr.Builder mergeFrom(Expr other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Expr.Builder>
-
mergeFrom
public Expr.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Expr.Builder>- Throws:
InvalidProtocolBufferException- the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.java.io.IOException- an I/O error reading from the stream
-
getExprKindCase
public Expr.ExprKindCase getExprKindCase()
- Specified by:
getExprKindCasein interfaceExprOrBuilder
-
clearExprKind
public Expr.Builder clearExprKind()
-
getId
public long getId()
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 a node in the parse tree.
int64 id = 2;- Specified by:
getIdin interfaceExprOrBuilder- Returns:
- The id.
-
setId
public Expr.Builder setId(long value)
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 a node in the parse tree.
int64 id = 2;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Expr.Builder clearId()
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 a node in the parse tree.
int64 id = 2;- Returns:
- This builder for chaining.
-
hasConstExpr
public boolean hasConstExpr()
A constant expression.
.cel.expr.Constant const_expr = 3;- Specified by:
hasConstExprin interfaceExprOrBuilder- Returns:
- Whether the constExpr field is set.
-
getConstExpr
public Constant getConstExpr()
A constant expression.
.cel.expr.Constant const_expr = 3;- Specified by:
getConstExprin interfaceExprOrBuilder- Returns:
- The constExpr.
-
setConstExpr
public Expr.Builder setConstExpr(Constant value)
A constant expression.
.cel.expr.Constant const_expr = 3;
-
setConstExpr
public Expr.Builder setConstExpr(Constant.Builder builderForValue)
A constant expression.
.cel.expr.Constant const_expr = 3;
-
mergeConstExpr
public Expr.Builder mergeConstExpr(Constant value)
A constant expression.
.cel.expr.Constant const_expr = 3;
-
clearConstExpr
public Expr.Builder clearConstExpr()
A constant expression.
.cel.expr.Constant const_expr = 3;
-
getConstExprBuilder
public Constant.Builder getConstExprBuilder()
A constant expression.
.cel.expr.Constant const_expr = 3;
-
getConstExprOrBuilder
public ConstantOrBuilder getConstExprOrBuilder()
A constant expression.
.cel.expr.Constant const_expr = 3;- Specified by:
getConstExprOrBuilderin interfaceExprOrBuilder
-
hasIdentExpr
public boolean hasIdentExpr()
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;- Specified by:
hasIdentExprin interfaceExprOrBuilder- Returns:
- Whether the identExpr field is set.
-
getIdentExpr
public Expr.Ident getIdentExpr()
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;- Specified by:
getIdentExprin interfaceExprOrBuilder- Returns:
- The identExpr.
-
setIdentExpr
public Expr.Builder setIdentExpr(Expr.Ident value)
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;
-
setIdentExpr
public Expr.Builder setIdentExpr(Expr.Ident.Builder builderForValue)
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;
-
mergeIdentExpr
public Expr.Builder mergeIdentExpr(Expr.Ident value)
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;
-
clearIdentExpr
public Expr.Builder clearIdentExpr()
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;
-
getIdentExprBuilder
public Expr.Ident.Builder getIdentExprBuilder()
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;
-
getIdentExprOrBuilder
public Expr.IdentOrBuilder getIdentExprOrBuilder()
An identifier expression.
.cel.expr.Expr.Ident ident_expr = 4;- Specified by:
getIdentExprOrBuilderin interfaceExprOrBuilder
-
hasSelectExpr
public boolean hasSelectExpr()
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;- Specified by:
hasSelectExprin interfaceExprOrBuilder- Returns:
- Whether the selectExpr field is set.
-
getSelectExpr
public Expr.Select getSelectExpr()
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;- Specified by:
getSelectExprin interfaceExprOrBuilder- Returns:
- The selectExpr.
-
setSelectExpr
public Expr.Builder setSelectExpr(Expr.Select value)
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;
-
setSelectExpr
public Expr.Builder setSelectExpr(Expr.Select.Builder builderForValue)
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;
-
mergeSelectExpr
public Expr.Builder mergeSelectExpr(Expr.Select value)
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;
-
clearSelectExpr
public Expr.Builder clearSelectExpr()
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;
-
getSelectExprBuilder
public Expr.Select.Builder getSelectExprBuilder()
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;
-
getSelectExprOrBuilder
public Expr.SelectOrBuilder getSelectExprOrBuilder()
A field selection expression, e.g. `request.auth`.
.cel.expr.Expr.Select select_expr = 5;- Specified by:
getSelectExprOrBuilderin interfaceExprOrBuilder
-
hasCallExpr
public boolean hasCallExpr()
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;- Specified by:
hasCallExprin interfaceExprOrBuilder- Returns:
- Whether the callExpr field is set.
-
getCallExpr
public Expr.Call getCallExpr()
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;- Specified by:
getCallExprin interfaceExprOrBuilder- Returns:
- The callExpr.
-
setCallExpr
public Expr.Builder setCallExpr(Expr.Call value)
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;
-
setCallExpr
public Expr.Builder setCallExpr(Expr.Call.Builder builderForValue)
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;
-
mergeCallExpr
public Expr.Builder mergeCallExpr(Expr.Call value)
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;
-
clearCallExpr
public Expr.Builder clearCallExpr()
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;
-
getCallExprBuilder
public Expr.Call.Builder getCallExprBuilder()
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;
-
getCallExprOrBuilder
public Expr.CallOrBuilder getCallExprOrBuilder()
A call expression, including calls to predefined functions and operators.
.cel.expr.Expr.Call call_expr = 6;- Specified by:
getCallExprOrBuilderin interfaceExprOrBuilder
-
hasListExpr
public boolean hasListExpr()
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;- Specified by:
hasListExprin interfaceExprOrBuilder- Returns:
- Whether the listExpr field is set.
-
getListExpr
public Expr.CreateList getListExpr()
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;- Specified by:
getListExprin interfaceExprOrBuilder- Returns:
- The listExpr.
-
setListExpr
public Expr.Builder setListExpr(Expr.CreateList value)
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;
-
setListExpr
public Expr.Builder setListExpr(Expr.CreateList.Builder builderForValue)
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;
-
mergeListExpr
public Expr.Builder mergeListExpr(Expr.CreateList value)
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;
-
clearListExpr
public Expr.Builder clearListExpr()
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;
-
getListExprBuilder
public Expr.CreateList.Builder getListExprBuilder()
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;
-
getListExprOrBuilder
public Expr.CreateListOrBuilder getListExprOrBuilder()
A list creation expression.
.cel.expr.Expr.CreateList list_expr = 7;- Specified by:
getListExprOrBuilderin interfaceExprOrBuilder
-
hasStructExpr
public boolean hasStructExpr()
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;- Specified by:
hasStructExprin interfaceExprOrBuilder- Returns:
- Whether the structExpr field is set.
-
getStructExpr
public Expr.CreateStruct getStructExpr()
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;- Specified by:
getStructExprin interfaceExprOrBuilder- Returns:
- The structExpr.
-
setStructExpr
public Expr.Builder setStructExpr(Expr.CreateStruct value)
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;
-
setStructExpr
public Expr.Builder setStructExpr(Expr.CreateStruct.Builder builderForValue)
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;
-
mergeStructExpr
public Expr.Builder mergeStructExpr(Expr.CreateStruct value)
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;
-
clearStructExpr
public Expr.Builder clearStructExpr()
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;
-
getStructExprBuilder
public Expr.CreateStruct.Builder getStructExprBuilder()
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;
-
getStructExprOrBuilder
public Expr.CreateStructOrBuilder getStructExprOrBuilder()
A map or message creation expression.
.cel.expr.Expr.CreateStruct struct_expr = 8;- Specified by:
getStructExprOrBuilderin interfaceExprOrBuilder
-
hasComprehensionExpr
public boolean hasComprehensionExpr()
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;- Specified by:
hasComprehensionExprin interfaceExprOrBuilder- Returns:
- Whether the comprehensionExpr field is set.
-
getComprehensionExpr
public Expr.Comprehension getComprehensionExpr()
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;- Specified by:
getComprehensionExprin interfaceExprOrBuilder- Returns:
- The comprehensionExpr.
-
setComprehensionExpr
public Expr.Builder setComprehensionExpr(Expr.Comprehension value)
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;
-
setComprehensionExpr
public Expr.Builder setComprehensionExpr(Expr.Comprehension.Builder builderForValue)
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;
-
mergeComprehensionExpr
public Expr.Builder mergeComprehensionExpr(Expr.Comprehension value)
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;
-
clearComprehensionExpr
public Expr.Builder clearComprehensionExpr()
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;
-
getComprehensionExprBuilder
public Expr.Comprehension.Builder getComprehensionExprBuilder()
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;
-
getComprehensionExprOrBuilder
public Expr.ComprehensionOrBuilder getComprehensionExprOrBuilder()
A comprehension expression.
.cel.expr.Expr.Comprehension comprehension_expr = 9;- Specified by:
getComprehensionExprOrBuilderin interfaceExprOrBuilder
-
setUnknownFields
public final Expr.Builder setUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Expr.Builder>
-
mergeUnknownFields
public final Expr.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Expr.Builder>
-
-