Package com.google.api.expr.v1alpha1
Class ParsedExpr.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ParsedExpr,ParsedExpr.Builder>
com.google.api.expr.v1alpha1.ParsedExpr.Builder
- All Implemented Interfaces:
ParsedExprOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- ParsedExpr
public static final class ParsedExpr.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ParsedExpr,ParsedExpr.Builder>
implements ParsedExprOrBuilder
An expression together with source information as returned by the parser.Protobuf type
google.api.expr.v1alpha1.ParsedExpr
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe parsed expression.The source info derived from input that generated the parsed `expr`.getExpr()
The parsed expression.The source info derived from input that generated the parsed `expr`.boolean
hasExpr()
The parsed expression.boolean
The source info derived from input that generated the parsed `expr`.The parsed expression.mergeSourceInfo
(SourceInfo value) The source info derived from input that generated the parsed `expr`.The parsed expression.setExpr
(Expr.Builder builderForValue) The parsed expression.setSourceInfo
(SourceInfo value) The source info derived from input that generated the parsed `expr`.setSourceInfo
(SourceInfo.Builder builderForValue) The source info derived from input that generated the parsed `expr`.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasExpr
public boolean hasExpr()The parsed expression.
.google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
- Specified by:
hasExpr
in interfaceParsedExprOrBuilder
- Returns:
- Whether the expr field is set.
-
getExpr
The parsed expression.
.google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
- Specified by:
getExpr
in interfaceParsedExprOrBuilder
- Returns:
- The expr.
-
setExpr
The parsed expression.
.google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
-
setExpr
The parsed expression.
.google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
-
mergeExpr
The parsed expression.
.google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
-
clearExpr
The parsed expression.
.google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
-
hasSourceInfo
public boolean hasSourceInfo()The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
- Specified by:
hasSourceInfo
in interfaceParsedExprOrBuilder
- Returns:
- Whether the sourceInfo field is set.
-
getSourceInfo
The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
- Specified by:
getSourceInfo
in interfaceParsedExprOrBuilder
- Returns:
- The sourceInfo.
-
setSourceInfo
The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
-
setSourceInfo
The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
-
mergeSourceInfo
The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
-
clearSourceInfo
The source info derived from input that generated the parsed `expr`.
.google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
-