Package com.google.api.expr.v1alpha1
Class CheckedExpr.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>
com.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
com.google.api.expr.v1alpha1.CheckedExpr.Builder
- All Implemented Interfaces:
CheckedExprOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
CheckedExpr
public static final class CheckedExpr.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
implements CheckedExprOrBuilder
A CEL expression which has been successfully type checked.Protobuf type
google.api.expr.v1alpha1.CheckedExpr
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Expr
private com.google.protobuf.SingleFieldBuilder
<Expr, Expr.Builder, ExprOrBuilder> private Object
private com.google.protobuf.MapFieldBuilder
<Long, ReferenceOrBuilder, Reference, Reference.Builder> private static final CheckedExpr.Builder.ReferenceMapConverter
private SourceInfo
private com.google.protobuf.SingleFieldBuilder
<SourceInfo, SourceInfo.Builder, SourceInfoOrBuilder> private com.google.protobuf.MapFieldBuilder
<Long, TypeOrBuilder, Type, Type.Builder> private static final CheckedExpr.Builder.TypeMapConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(CheckedExpr result) clear()
The checked expression.The expr version indicates the major / minor version number of the `expr` representation.The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.boolean
containsReferenceMap
(long key) A map from expression ids to resolved references.boolean
containsTypeMap
(long key) A map from expression ids to types.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getExpr()
The checked expression.The checked expression.private com.google.protobuf.SingleFieldBuilder
<Expr, Expr.Builder, ExprOrBuilder> The checked expression.The checked expression.The expr version indicates the major / minor version number of the `expr` representation.com.google.protobuf.ByteString
The expr version indicates the major / minor version number of the `expr` representation.Deprecated.Deprecated.Deprecated.int
A map from expression ids to resolved references.A map from expression ids to resolved references.getReferenceMapOrDefault
(long key, Reference defaultValue) A map from expression ids to resolved references.getReferenceMapOrThrow
(long key) A map from expression ids to resolved references.The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.private com.google.protobuf.SingleFieldBuilder
<SourceInfo, SourceInfo.Builder, SourceInfoOrBuilder> The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.Deprecated.int
A map from expression ids to types.A map from expression ids to types.getTypeMapOrDefault
(long key, Type defaultValue) A map from expression ids to types.getTypeMapOrThrow
(long key) A map from expression ids to types.boolean
hasExpr()
The checked expression.boolean
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) private com.google.protobuf.MapFieldBuilder
<Long, ReferenceOrBuilder, Reference, Reference.Builder> private com.google.protobuf.MapFieldBuilder
<Long, TypeOrBuilder, Type, Type.Builder> private com.google.protobuf.MapFieldBuilder
<Long, ReferenceOrBuilder, Reference, Reference.Builder> private com.google.protobuf.MapFieldBuilder
<Long, TypeOrBuilder, Type, Type.Builder> final boolean
private void
The checked expression.mergeFrom
(CheckedExpr other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeSourceInfo
(SourceInfo value) The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.putAllReferenceMap
(Map<Long, Reference> values) A map from expression ids to resolved references.putAllTypeMap
(Map<Long, Type> values) A map from expression ids to types.putReferenceMap
(long key, Reference value) A map from expression ids to resolved references.putReferenceMapBuilderIfAbsent
(long key) A map from expression ids to resolved references.putTypeMap
(long key, Type value) A map from expression ids to types.putTypeMapBuilderIfAbsent
(long key) A map from expression ids to types.removeReferenceMap
(long key) A map from expression ids to resolved references.removeTypeMap
(long key) A map from expression ids to types.The checked expression.setExpr
(Expr.Builder builderForValue) The checked expression.setExprVersion
(String value) The expr version indicates the major / minor version number of the `expr` representation.setExprVersionBytes
(com.google.protobuf.ByteString value) The expr version indicates the major / minor version number of the `expr` representation.setSourceInfo
(SourceInfo value) The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.setSourceInfo
(SourceInfo.Builder builderForValue) The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
Field Details
-
bitField0_
private int bitField0_ -
referenceMapConverter
-
referenceMap_
private com.google.protobuf.MapFieldBuilder<Long,ReferenceOrBuilder, referenceMap_Reference, Reference.Builder> -
typeMapConverter
-
typeMap_
-
sourceInfo_
-
sourceInfoBuilder_
private com.google.protobuf.SingleFieldBuilder<SourceInfo,SourceInfo.Builder, sourceInfoBuilder_SourceInfoOrBuilder> -
exprVersion_
-
expr_
-
exprBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
mergeFrom
public CheckedExpr.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>
- Throws:
IOException
-
internalGetReferenceMap
private com.google.protobuf.MapFieldBuilder<Long,ReferenceOrBuilder, internalGetReferenceMap()Reference, Reference.Builder> -
internalGetMutableReferenceMap
private com.google.protobuf.MapFieldBuilder<Long,ReferenceOrBuilder, internalGetMutableReferenceMap()Reference, Reference.Builder> -
getReferenceMapCount
public int getReferenceMapCount()Description copied from interface:CheckedExprOrBuilder
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
- Specified by:
getReferenceMapCount
in interfaceCheckedExprOrBuilder
-
containsReferenceMap
public boolean containsReferenceMap(long key) A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
- Specified by:
containsReferenceMap
in interfaceCheckedExprOrBuilder
-
getReferenceMap
Deprecated.UsegetReferenceMapMap()
instead.- Specified by:
getReferenceMap
in interfaceCheckedExprOrBuilder
-
getReferenceMapMap
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
- Specified by:
getReferenceMapMap
in interfaceCheckedExprOrBuilder
-
getReferenceMapOrDefault
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
- Specified by:
getReferenceMapOrDefault
in interfaceCheckedExprOrBuilder
-
getReferenceMapOrThrow
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
- Specified by:
getReferenceMapOrThrow
in interfaceCheckedExprOrBuilder
-
clearReferenceMap
-
removeReferenceMap
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
-
getMutableReferenceMap
Deprecated.Use alternate mutation accessors instead. -
putReferenceMap
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
-
putAllReferenceMap
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
-
putReferenceMapBuilderIfAbsent
A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
-
internalGetTypeMap
private com.google.protobuf.MapFieldBuilder<Long,TypeOrBuilder, internalGetTypeMap()Type, Type.Builder> -
internalGetMutableTypeMap
private com.google.protobuf.MapFieldBuilder<Long,TypeOrBuilder, internalGetMutableTypeMap()Type, Type.Builder> -
getTypeMapCount
public int getTypeMapCount()Description copied from interface:CheckedExprOrBuilder
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
- Specified by:
getTypeMapCount
in interfaceCheckedExprOrBuilder
-
containsTypeMap
public boolean containsTypeMap(long key) A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
- Specified by:
containsTypeMap
in interfaceCheckedExprOrBuilder
-
getTypeMap
Deprecated.UsegetTypeMapMap()
instead.- Specified by:
getTypeMap
in interfaceCheckedExprOrBuilder
-
getTypeMapMap
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
- Specified by:
getTypeMapMap
in interfaceCheckedExprOrBuilder
-
getTypeMapOrDefault
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
- Specified by:
getTypeMapOrDefault
in interfaceCheckedExprOrBuilder
-
getTypeMapOrThrow
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
- Specified by:
getTypeMapOrThrow
in interfaceCheckedExprOrBuilder
-
clearTypeMap
-
removeTypeMap
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
-
getMutableTypeMap
Deprecated.Use alternate mutation accessors instead. -
putTypeMap
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
-
putAllTypeMap
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
-
putTypeMapBuilderIfAbsent
A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
-
hasSourceInfo
public boolean hasSourceInfo()The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
- Specified by:
hasSourceInfo
in interfaceCheckedExprOrBuilder
- Returns:
- Whether the sourceInfo field is set.
-
getSourceInfo
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
- Specified by:
getSourceInfo
in interfaceCheckedExprOrBuilder
- Returns:
- The sourceInfo.
-
setSourceInfo
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
-
setSourceInfo
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
-
mergeSourceInfo
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
-
clearSourceInfo
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
-
getSourceInfoBuilder
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
-
getSourceInfoOrBuilder
The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
- Specified by:
getSourceInfoOrBuilder
in interfaceCheckedExprOrBuilder
-
getSourceInfoFieldBuilder
private com.google.protobuf.SingleFieldBuilder<SourceInfo,SourceInfo.Builder, getSourceInfoFieldBuilder()SourceInfoOrBuilder> The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.
.google.api.expr.v1alpha1.SourceInfo source_info = 5;
-
getExprVersion
The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation.
string expr_version = 6;
- Specified by:
getExprVersion
in interfaceCheckedExprOrBuilder
- Returns:
- The exprVersion.
-
getExprVersionBytes
public com.google.protobuf.ByteString getExprVersionBytes()The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation.
string expr_version = 6;
- Specified by:
getExprVersionBytes
in interfaceCheckedExprOrBuilder
- Returns:
- The bytes for exprVersion.
-
setExprVersion
The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation.
string expr_version = 6;
- Parameters:
value
- The exprVersion to set.- Returns:
- This builder for chaining.
-
clearExprVersion
The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation.
string expr_version = 6;
- Returns:
- This builder for chaining.
-
setExprVersionBytes
The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation.
string expr_version = 6;
- Parameters:
value
- The bytes for exprVersion to set.- Returns:
- This builder for chaining.
-
hasExpr
public boolean hasExpr()The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
- Specified by:
hasExpr
in interfaceCheckedExprOrBuilder
- Returns:
- Whether the expr field is set.
-
getExpr
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
- Specified by:
getExpr
in interfaceCheckedExprOrBuilder
- Returns:
- The expr.
-
setExpr
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
setExpr
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
mergeExpr
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
clearExpr
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
getExprBuilder
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
getExprOrBuilder
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
- Specified by:
getExprOrBuilder
in interfaceCheckedExprOrBuilder
-
getExprFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder, getExprFieldBuilder()ExprOrBuilder> The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-