public final class CheckedExpr extends com.google.protobuf.GeneratedMessageV3 implements CheckedExprOrBuilder
A CEL expression which has been successfully type checked.Protobuf type
google.api.expr.v1alpha1.CheckedExpr| Modifier and Type | Class and Description |
|---|---|
static class |
CheckedExpr.Builder
A CEL expression which has been successfully type checked.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXPR_FIELD_NUMBER |
static int |
REFERENCE_MAP_FIELD_NUMBER |
static int |
SOURCE_INFO_FIELD_NUMBER |
static int |
TYPE_MAP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsReferenceMap(long key)
A map from expression ids to resolved references.
|
boolean |
containsTypeMap(long key)
A map from expression ids to types.
|
boolean |
equals(Object obj) |
static CheckedExpr |
getDefaultInstance() |
CheckedExpr |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Expr |
getExpr()
The checked expression.
|
ExprOrBuilder |
getExprOrBuilder()
The checked expression.
|
com.google.protobuf.Parser<CheckedExpr> |
getParserForType() |
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.
|
int |
getSerializedSize() |
SourceInfo |
getSourceInfo()
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExpr()
The checked expression.
|
int |
hashCode() |
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) |
boolean |
isInitialized() |
static CheckedExpr.Builder |
newBuilder() |
static CheckedExpr.Builder |
newBuilder(CheckedExpr prototype) |
CheckedExpr.Builder |
newBuilderForType() |
protected CheckedExpr.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CheckedExpr |
parseDelimitedFrom(InputStream input) |
static CheckedExpr |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CheckedExpr |
parseFrom(byte[] data) |
static CheckedExpr |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CheckedExpr |
parseFrom(ByteBuffer data) |
static CheckedExpr |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CheckedExpr |
parseFrom(com.google.protobuf.ByteString data) |
static CheckedExpr |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CheckedExpr |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CheckedExpr |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CheckedExpr |
parseFrom(InputStream input) |
static CheckedExpr |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CheckedExpr> |
parser() |
CheckedExpr.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REFERENCE_MAP_FIELD_NUMBER
public static final int TYPE_MAP_FIELD_NUMBER
public static final int SOURCE_INFO_FIELD_NUMBER
public static final int EXPR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CheckedExpr parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CheckedExpr parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CheckedExpr parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CheckedExpr parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CheckedExpr parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CheckedExpr parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CheckedExpr parseFrom(InputStream input) throws IOException
IOExceptionpublic static CheckedExpr parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CheckedExpr parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CheckedExpr parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CheckedExpr parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CheckedExpr parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CheckedExpr.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CheckedExpr.Builder newBuilder()
public static CheckedExpr.Builder newBuilder(CheckedExpr prototype)
public CheckedExpr.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CheckedExpr.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CheckedExpr getDefaultInstance()
public static com.google.protobuf.Parser<CheckedExpr> parser()
public com.google.protobuf.Parser<CheckedExpr> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CheckedExpr getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.