public static final class CheckedExpr.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder> implements CheckedExprOrBuilder
A CEL expression which has been successfully type checked.Protobuf type
google.api.expr.v1alpha1.CheckedExpr| Modifier and Type | Method and Description |
|---|---|
CheckedExpr.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckedExpr |
build() |
CheckedExpr |
buildPartial() |
CheckedExpr.Builder |
clear() |
CheckedExpr.Builder |
clearExpr()
The checked expression.
|
CheckedExpr.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CheckedExpr.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CheckedExpr.Builder |
clearReferenceMap() |
CheckedExpr.Builder |
clearSourceInfo()
The source info derived from input that generated the parsed `expr` and
any optimizations made during the type-checking pass.
|
CheckedExpr.Builder |
clearTypeMap() |
CheckedExpr.Builder |
clone() |
boolean |
containsReferenceMap(long key)
A map from expression ids to resolved references.
|
boolean |
containsTypeMap(long key)
A map from expression ids to types.
|
CheckedExpr |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Expr |
getExpr()
The checked expression.
|
Expr.Builder |
getExprBuilder()
The checked expression.
|
ExprOrBuilder |
getExprOrBuilder()
The checked expression.
|
Map<Long,Reference> |
getMutableReferenceMap()
Deprecated.
|
Map<Long,Type> |
getMutableTypeMap()
Deprecated.
|
Map<Long,Reference> |
getReferenceMap()
Deprecated.
|
int |
getReferenceMapCount()
A map from expression ids to resolved references.
|
Map<Long,Reference> |
getReferenceMapMap()
A map from expression ids to resolved references.
|
Reference |
getReferenceMapOrDefault(long key,
Reference defaultValue)
A map from expression ids to resolved references.
|
Reference |
getReferenceMapOrThrow(long key)
A map from expression ids to resolved references.
|
SourceInfo |
getSourceInfo()
The source info derived from input that generated the parsed `expr` and
any optimizations made during the type-checking pass.
|
SourceInfo.Builder |
getSourceInfoBuilder()
The source info derived from input that generated the parsed `expr` and
any optimizations made during the type-checking pass.
|
SourceInfoOrBuilder |
getSourceInfoOrBuilder()
The source info derived from input that generated the parsed `expr` and
any optimizations made during the type-checking pass.
|
Map<Long,Type> |
getTypeMap()
Deprecated.
|
int |
getTypeMapCount()
A map from expression ids to types.
|
Map<Long,Type> |
getTypeMapMap()
A map from expression ids to types.
|
Type |
getTypeMapOrDefault(long key,
Type defaultValue)
A map from expression ids to types.
|
Type |
getTypeMapOrThrow(long key)
A map from expression ids to types.
|
boolean |
hasExpr()
The checked expression.
|
boolean |
hasSourceInfo()
The source info derived from input that generated the parsed `expr` and
any optimizations made during the type-checking pass.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
CheckedExpr.Builder |
mergeExpr(Expr value)
The checked expression.
|
CheckedExpr.Builder |
mergeFrom(CheckedExpr other) |
CheckedExpr.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CheckedExpr.Builder |
mergeFrom(com.google.protobuf.Message other) |
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.
|
CheckedExpr.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CheckedExpr.Builder |
putAllReferenceMap(Map<Long,Reference> values)
A map from expression ids to resolved references.
|
CheckedExpr.Builder |
putAllTypeMap(Map<Long,Type> values)
A map from expression ids to types.
|
CheckedExpr.Builder |
putReferenceMap(long key,
Reference value)
A map from expression ids to resolved references.
|
CheckedExpr.Builder |
putTypeMap(long key,
Type value)
A map from expression ids to types.
|
CheckedExpr.Builder |
removeReferenceMap(long key)
A map from expression ids to resolved references.
|
CheckedExpr.Builder |
removeTypeMap(long key)
A map from expression ids to types.
|
CheckedExpr.Builder |
setExpr(Expr.Builder builderForValue)
The checked expression.
|
CheckedExpr.Builder |
setExpr(Expr value)
The checked expression.
|
CheckedExpr.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckedExpr.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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.
|
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.
|
CheckedExpr.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CheckedExpr build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CheckedExpr buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CheckedExpr.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>public CheckedExpr.Builder mergeFrom(CheckedExpr other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public CheckedExpr.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckedExpr.Builder>IOExceptionpublic int getReferenceMapCount()
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;getReferenceMapCount in interface CheckedExprOrBuilderpublic 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;containsReferenceMap in interface CheckedExprOrBuilder@Deprecated public Map<Long,Reference> getReferenceMap()
getReferenceMapMap() instead.getReferenceMap in interface CheckedExprOrBuilderpublic Map<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;getReferenceMapMap in interface CheckedExprOrBuilderpublic 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;getReferenceMapOrDefault in interface CheckedExprOrBuilderpublic 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;getReferenceMapOrThrow in interface CheckedExprOrBuilderpublic CheckedExpr.Builder clearReferenceMap()
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;@Deprecated public Map<Long,Reference> getMutableReferenceMap()
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;public CheckedExpr.Builder putAllReferenceMap(Map<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;public int getTypeMapCount()
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;getTypeMapCount in interface CheckedExprOrBuilderpublic 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;containsTypeMap in interface CheckedExprOrBuilder@Deprecated public Map<Long,Type> getTypeMap()
getTypeMapMap() instead.getTypeMap in interface CheckedExprOrBuilderpublic Map<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;getTypeMapMap in interface CheckedExprOrBuilderpublic 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;getTypeMapOrDefault in interface CheckedExprOrBuilderpublic 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;getTypeMapOrThrow in interface CheckedExprOrBuilderpublic CheckedExpr.Builder clearTypeMap()
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;@Deprecated public Map<Long,Type> getMutableTypeMap()
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;public CheckedExpr.Builder putAllTypeMap(Map<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;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;hasSourceInfo in interface CheckedExprOrBuilderpublic 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;getSourceInfo in interface CheckedExprOrBuilderpublic 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;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;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;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;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;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;getSourceInfoOrBuilder in interface CheckedExprOrBuilderpublic boolean hasExpr()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;hasExpr in interface CheckedExprOrBuilderpublic Expr getExpr()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;getExpr in interface CheckedExprOrBuilderpublic 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;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;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;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;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;public ExprOrBuilder getExprOrBuilder()
The checked expression. Semantically equivalent to the parsed `expr`, but may have structural differences.
.google.api.expr.v1alpha1.Expr expr = 4;getExprOrBuilder in interface CheckedExprOrBuilderpublic final CheckedExpr.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>public final CheckedExpr.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckedExpr.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.