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
  • Method Details

    • hasExpr

      public boolean hasExpr()
       The parsed expression.
       
      .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
      Specified by:
      hasExpr in interface ParsedExprOrBuilder
      Returns:
      Whether the expr field is set.
    • getExpr

      public Expr getExpr()
       The parsed expression.
       
      .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
      Specified by:
      getExpr in interface ParsedExprOrBuilder
      Returns:
      The expr.
    • setExpr

      public ParsedExpr.Builder setExpr(Expr value)
       The parsed expression.
       
      .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
    • setExpr

      public ParsedExpr.Builder setExpr(Expr.Builder builderForValue)
       The parsed expression.
       
      .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
    • mergeExpr

      public ParsedExpr.Builder mergeExpr(Expr value)
       The parsed expression.
       
      .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
    • clearExpr

      public ParsedExpr.Builder 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 interface ParsedExprOrBuilder
      Returns:
      Whether the sourceInfo field is set.
    • getSourceInfo

      public SourceInfo 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 interface ParsedExprOrBuilder
      Returns:
      The sourceInfo.
    • setSourceInfo

      public ParsedExpr.Builder setSourceInfo(SourceInfo value)
       The source info derived from input that generated the parsed `expr`.
       
      .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
    • setSourceInfo

      public ParsedExpr.Builder setSourceInfo(SourceInfo.Builder builderForValue)
       The source info derived from input that generated the parsed `expr`.
       
      .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
    • mergeSourceInfo

      public ParsedExpr.Builder mergeSourceInfo(SourceInfo value)
       The source info derived from input that generated the parsed `expr`.
       
      .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
    • clearSourceInfo

      public ParsedExpr.Builder clearSourceInfo()
       The source info derived from input that generated the parsed `expr`.
       
      .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];