Package com.google.api.expr.v1alpha1
Class CheckedExpr
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.expr.v1alpha1.CheckedExpr
- All Implemented Interfaces:
CheckedExprOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class CheckedExpr
extends com.google.protobuf.GeneratedMessage
implements CheckedExprOrBuilder
A CEL expression which has been successfully type checked.Protobuf type
google.api.expr.v1alpha1.CheckedExpr
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A CEL expression which has been successfully type checked.private static final class
private static final class
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private static final CheckedExpr
private Expr
static final int
static final int
private Object
private byte
private static final com.google.protobuf.Parser
<CheckedExpr> static final int
private static final long
static final int
private SourceInfo
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
CheckedExpr
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsReferenceMap
(long key) A map from expression ids to resolved references.boolean
containsTypeMap
(long key) A map from expression ids to types.boolean
static CheckedExpr
static final com.google.protobuf.Descriptors.Descriptor
getExpr()
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.com.google.protobuf.Parser
<CheckedExpr> 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.int
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.int
hashCode()
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) final boolean
static CheckedExpr.Builder
static CheckedExpr.Builder
newBuilder
(CheckedExpr prototype) protected CheckedExpr.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) 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
(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 CheckedExpr
parseFrom
(ByteBuffer data) static CheckedExpr
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<CheckedExpr> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
REFERENCE_MAP_FIELD_NUMBER
public static final int REFERENCE_MAP_FIELD_NUMBER- See Also:
-
referenceMap_
-
TYPE_MAP_FIELD_NUMBER
public static final int TYPE_MAP_FIELD_NUMBER- See Also:
-
typeMap_
-
SOURCE_INFO_FIELD_NUMBER
public static final int SOURCE_INFO_FIELD_NUMBER- See Also:
-
sourceInfo_
-
EXPR_VERSION_FIELD_NUMBER
public static final int EXPR_VERSION_FIELD_NUMBER- See Also:
-
exprVersion_
-
EXPR_FIELD_NUMBER
public static final int EXPR_FIELD_NUMBER- See Also:
-
expr_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
CheckedExpr
private CheckedExpr(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
CheckedExpr
private CheckedExpr()
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
internalGetReferenceMap
-
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
-
internalGetTypeMap
-
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
-
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.
-
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
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CheckedExpr parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckedExpr parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckedExpr parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckedExpr parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckedExpr parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckedExpr parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CheckedExpr parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CheckedExpr parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CheckedExpr parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CheckedExpr.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-