Package com.google.api.expr.v1beta1
Interface ParsedExprOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ParsedExpr
,ParsedExpr.Builder
public interface ParsedExprOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetExpr()
The parsed expression.The source info derived from input that generated the parsed `expr`.The syntax version of the source, e.g.com.google.protobuf.ByteString
The syntax version of the source, e.g.boolean
hasExpr()
The parsed expression.boolean
The source info derived from input that generated the parsed `expr`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasExpr
boolean hasExpr()The parsed expression.
.google.api.expr.v1beta1.Expr expr = 2 [json_name = "expr"];
- Returns:
- Whether the expr field is set.
-
getExpr
Expr getExpr()The parsed expression.
.google.api.expr.v1beta1.Expr expr = 2 [json_name = "expr"];
- Returns:
- The expr.
-
hasSourceInfo
boolean hasSourceInfo()The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1beta1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
- Returns:
- Whether the sourceInfo field is set.
-
getSourceInfo
SourceInfo getSourceInfo()The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1beta1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
- Returns:
- The sourceInfo.
-
getSyntaxVersion
String getSyntaxVersion()The syntax version of the source, e.g. `cel1`.
string syntax_version = 4 [json_name = "syntaxVersion"];
- Returns:
- The syntaxVersion.
-
getSyntaxVersionBytes
com.google.protobuf.ByteString getSyntaxVersionBytes()The syntax version of the source, e.g. `cel1`.
string syntax_version = 4 [json_name = "syntaxVersion"];
- Returns:
- The bytes for syntaxVersion.
-