Package com.google.api.expr.v1alpha1
Class CheckedExpr.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typegoogle.api.expr.v1alpha1.CheckedExpr
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CheckedExprbuild()CheckedExprbuildPartial()CheckedExpr.Builderclear()CheckedExpr.BuilderclearExpr()The checked expression.CheckedExpr.BuilderclearExprVersion()The expr version indicates the major / minor version number of the `expr` representation.CheckedExpr.BuilderclearReferenceMap()CheckedExpr.BuilderclearSourceInfo()The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.CheckedExpr.BuilderclearTypeMap()booleancontainsReferenceMap(long key)A map from expression ids to resolved references.booleancontainsTypeMap(long key)A map from expression ids to types.CheckedExprgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExprgetExpr()The checked expression.Expr.BuildergetExprBuilder()The checked expression.ExprOrBuildergetExprOrBuilder()The checked expression.java.lang.StringgetExprVersion()The expr version indicates the major / minor version number of the `expr` representation.com.google.protobuf.ByteStringgetExprVersionBytes()The expr version indicates the major / minor version number of the `expr` representation.java.util.Map<java.lang.Long,Reference>getMutableReferenceMap()Deprecated.java.util.Map<java.lang.Long,Type>getMutableTypeMap()Deprecated.java.util.Map<java.lang.Long,Reference>getReferenceMap()Deprecated.intgetReferenceMapCount()A map from expression ids to resolved references.java.util.Map<java.lang.Long,Reference>getReferenceMapMap()A map from expression ids to resolved references.ReferencegetReferenceMapOrDefault(long key, Reference defaultValue)A map from expression ids to resolved references.ReferencegetReferenceMapOrThrow(long key)A map from expression ids to resolved references.SourceInfogetSourceInfo()The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.SourceInfo.BuildergetSourceInfoBuilder()The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.SourceInfoOrBuildergetSourceInfoOrBuilder()The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.java.util.Map<java.lang.Long,Type>getTypeMap()Deprecated.intgetTypeMapCount()A map from expression ids to types.java.util.Map<java.lang.Long,Type>getTypeMapMap()A map from expression ids to types.TypegetTypeMapOrDefault(long key, Type defaultValue)A map from expression ids to types.TypegetTypeMapOrThrow(long key)A map from expression ids to types.booleanhasExpr()The checked expression.booleanhasSourceInfo()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.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()CheckedExpr.BuildermergeExpr(Expr value)The checked expression.CheckedExpr.BuildermergeFrom(CheckedExpr other)CheckedExpr.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CheckedExpr.BuildermergeFrom(com.google.protobuf.Message other)CheckedExpr.BuildermergeSourceInfo(SourceInfo value)The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.CheckedExpr.BuilderputAllReferenceMap(java.util.Map<java.lang.Long,Reference> values)A map from expression ids to resolved references.CheckedExpr.BuilderputAllTypeMap(java.util.Map<java.lang.Long,Type> values)A map from expression ids to types.CheckedExpr.BuilderputReferenceMap(long key, Reference value)A map from expression ids to resolved references.Reference.BuilderputReferenceMapBuilderIfAbsent(long key)A map from expression ids to resolved references.CheckedExpr.BuilderputTypeMap(long key, Type value)A map from expression ids to types.Type.BuilderputTypeMapBuilderIfAbsent(long key)A map from expression ids to types.CheckedExpr.BuilderremoveReferenceMap(long key)A map from expression ids to resolved references.CheckedExpr.BuilderremoveTypeMap(long key)A map from expression ids to types.CheckedExpr.BuildersetExpr(Expr value)The checked expression.CheckedExpr.BuildersetExpr(Expr.Builder builderForValue)The checked expression.CheckedExpr.BuildersetExprVersion(java.lang.String value)The expr version indicates the major / minor version number of the `expr` representation.CheckedExpr.BuildersetExprVersionBytes(com.google.protobuf.ByteString value)The expr version indicates the major / minor version number of the `expr` representation.CheckedExpr.BuildersetSourceInfo(SourceInfo value)The source info derived from input that generated the parsed `expr` and any optimizations made during the type-checking pass.CheckedExpr.BuildersetSourceInfo(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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
clear
public CheckedExpr.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
getDefaultInstanceForType
public CheckedExpr getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CheckedExpr build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CheckedExpr buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CheckedExpr.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>
-
mergeFrom
public CheckedExpr.Builder mergeFrom(CheckedExpr other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CheckedExpr.Builder>
-
mergeFrom
public CheckedExpr.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>- Throws:
java.io.IOException
-
getReferenceMapCount
public int getReferenceMapCount()
Description copied from interface:CheckedExprOrBuilderA 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:
getReferenceMapCountin 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:
containsReferenceMapin interfaceCheckedExprOrBuilder
-
getReferenceMap
@Deprecated public java.util.Map<java.lang.Long,Reference> getReferenceMap()
Deprecated.UsegetReferenceMapMap()instead.- Specified by:
getReferenceMapin interfaceCheckedExprOrBuilder
-
getReferenceMapMap
public java.util.Map<java.lang.Long,Reference> 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:
getReferenceMapMapin interfaceCheckedExprOrBuilder
-
getReferenceMapOrDefault
public Reference getReferenceMapOrDefault(long key, Reference defaultValue)
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:
getReferenceMapOrDefaultin interfaceCheckedExprOrBuilder
-
getReferenceMapOrThrow
public Reference getReferenceMapOrThrow(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:
getReferenceMapOrThrowin interfaceCheckedExprOrBuilder
-
clearReferenceMap
public CheckedExpr.Builder clearReferenceMap()
-
removeReferenceMap
public CheckedExpr.Builder removeReferenceMap(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;
-
getMutableReferenceMap
@Deprecated public java.util.Map<java.lang.Long,Reference> getMutableReferenceMap()
Deprecated.Use alternate mutation accessors instead.
-
putReferenceMap
public CheckedExpr.Builder putReferenceMap(long key, Reference value)
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
public CheckedExpr.Builder putAllReferenceMap(java.util.Map<java.lang.Long,Reference> values)
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
public Reference.Builder putReferenceMapBuilderIfAbsent(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;
-
getTypeMapCount
public int getTypeMapCount()
Description copied from interface:CheckedExprOrBuilderA 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:
getTypeMapCountin 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:
containsTypeMapin interfaceCheckedExprOrBuilder
-
getTypeMap
@Deprecated public java.util.Map<java.lang.Long,Type> getTypeMap()
Deprecated.UsegetTypeMapMap()instead.- Specified by:
getTypeMapin interfaceCheckedExprOrBuilder
-
getTypeMapMap
public java.util.Map<java.lang.Long,Type> 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:
getTypeMapMapin interfaceCheckedExprOrBuilder
-
getTypeMapOrDefault
public Type getTypeMapOrDefault(long key, Type defaultValue)
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:
getTypeMapOrDefaultin interfaceCheckedExprOrBuilder
-
getTypeMapOrThrow
public Type getTypeMapOrThrow(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:
getTypeMapOrThrowin interfaceCheckedExprOrBuilder
-
clearTypeMap
public CheckedExpr.Builder clearTypeMap()
-
removeTypeMap
public CheckedExpr.Builder removeTypeMap(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;
-
getMutableTypeMap
@Deprecated public java.util.Map<java.lang.Long,Type> getMutableTypeMap()
Deprecated.Use alternate mutation accessors instead.
-
putTypeMap
public CheckedExpr.Builder putTypeMap(long key, Type value)
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
public CheckedExpr.Builder putAllTypeMap(java.util.Map<java.lang.Long,Type> values)
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
public Type.Builder putTypeMapBuilderIfAbsent(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;
-
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:
hasSourceInfoin interfaceCheckedExprOrBuilder- Returns:
- Whether the sourceInfo field is set.
-
getSourceInfo
public SourceInfo 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:
getSourceInfoin interfaceCheckedExprOrBuilder- Returns:
- The sourceInfo.
-
setSourceInfo
public CheckedExpr.Builder setSourceInfo(SourceInfo value)
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
public CheckedExpr.Builder setSourceInfo(SourceInfo.Builder builderForValue)
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
public CheckedExpr.Builder mergeSourceInfo(SourceInfo value)
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
public CheckedExpr.Builder 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
public SourceInfo.Builder 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
public SourceInfoOrBuilder 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:
getSourceInfoOrBuilderin interfaceCheckedExprOrBuilder
-
getExprVersion
public java.lang.String 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:
getExprVersionin 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:
getExprVersionBytesin interfaceCheckedExprOrBuilder- Returns:
- The bytes for exprVersion.
-
setExprVersion
public CheckedExpr.Builder setExprVersion(java.lang.String value)
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
public CheckedExpr.Builder 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
public CheckedExpr.Builder setExprVersionBytes(com.google.protobuf.ByteString value)
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:
hasExprin interfaceCheckedExprOrBuilder- Returns:
- Whether the expr field is set.
-
getExpr
public Expr getExpr()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;- Specified by:
getExprin interfaceCheckedExprOrBuilder- Returns:
- The expr.
-
setExpr
public CheckedExpr.Builder setExpr(Expr value)
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
setExpr
public CheckedExpr.Builder setExpr(Expr.Builder builderForValue)
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
mergeExpr
public CheckedExpr.Builder mergeExpr(Expr value)
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
clearExpr
public CheckedExpr.Builder clearExpr()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
getExprBuilder
public Expr.Builder getExprBuilder()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;
-
getExprOrBuilder
public ExprOrBuilder getExprOrBuilder()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;- Specified by:
getExprOrBuilderin interfaceCheckedExprOrBuilder
-
-