Class Expr.Call.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Expr.Call,Expr.Call.Builder>
com.google.api.expr.v1beta1.Expr.Call.Builder
All Implemented Interfaces:
Expr.CallOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
Expr.Call

public static final class Expr.Call.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Expr.Call,Expr.Call.Builder> implements Expr.CallOrBuilder
 A call expression, including calls to predefined functions and operators.

 For example, `value == 10`, `size(map_value)`.
 
Protobuf type google.api.expr.v1beta1.Expr.Call
  • Method Details

    • hasTarget

      public boolean hasTarget()
       The target of an method call-style expression. For example, `x` in
       `x.f()`.
       
      .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
      Specified by:
      hasTarget in interface Expr.CallOrBuilder
      Returns:
      Whether the target field is set.
    • getTarget

      public Expr getTarget()
       The target of an method call-style expression. For example, `x` in
       `x.f()`.
       
      .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
      Specified by:
      getTarget in interface Expr.CallOrBuilder
      Returns:
      The target.
    • setTarget

      public Expr.Call.Builder setTarget(Expr value)
       The target of an method call-style expression. For example, `x` in
       `x.f()`.
       
      .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
    • setTarget

      public Expr.Call.Builder setTarget(Expr.Builder builderForValue)
       The target of an method call-style expression. For example, `x` in
       `x.f()`.
       
      .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
    • mergeTarget

      public Expr.Call.Builder mergeTarget(Expr value)
       The target of an method call-style expression. For example, `x` in
       `x.f()`.
       
      .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
    • clearTarget

      public Expr.Call.Builder clearTarget()
       The target of an method call-style expression. For example, `x` in
       `x.f()`.
       
      .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
    • getFunction

      public String getFunction()
       Required. The name of the function or method being called.
       
      string function = 2 [json_name = "function"];
      Specified by:
      getFunction in interface Expr.CallOrBuilder
      Returns:
      The function.
    • getFunctionBytes

      public com.google.protobuf.ByteString getFunctionBytes()
       Required. The name of the function or method being called.
       
      string function = 2 [json_name = "function"];
      Specified by:
      getFunctionBytes in interface Expr.CallOrBuilder
      Returns:
      The bytes for function.
    • setFunction

      public Expr.Call.Builder setFunction(String value)
       Required. The name of the function or method being called.
       
      string function = 2 [json_name = "function"];
      Parameters:
      value - The function to set.
      Returns:
      This builder for chaining.
    • clearFunction

      public Expr.Call.Builder clearFunction()
       Required. The name of the function or method being called.
       
      string function = 2 [json_name = "function"];
      Returns:
      This builder for chaining.
    • setFunctionBytes

      public Expr.Call.Builder setFunctionBytes(com.google.protobuf.ByteString value)
       Required. The name of the function or method being called.
       
      string function = 2 [json_name = "function"];
      Parameters:
      value - The bytes for function to set.
      Returns:
      This builder for chaining.
    • getArgsList

      public List<Expr> getArgsList()
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
      Specified by:
      getArgsList in interface Expr.CallOrBuilder
    • getArgsCount

      public int getArgsCount()
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
      Specified by:
      getArgsCount in interface Expr.CallOrBuilder
    • getArgs

      public Expr getArgs(int index)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
      Specified by:
      getArgs in interface Expr.CallOrBuilder
    • setArgs

      public Expr.Call.Builder setArgs(int index, Expr value)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • setArgs

      public Expr.Call.Builder setArgs(int index, Expr.Builder builderForValue)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • addArgs

      public Expr.Call.Builder addArgs(Expr value)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • addArgs

      public Expr.Call.Builder addArgs(int index, Expr value)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • addArgs

      public Expr.Call.Builder addArgs(Expr.Builder builderForValue)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • addArgs

      public Expr.Call.Builder addArgs(int index, Expr.Builder builderForValue)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • addAllArgs

      public Expr.Call.Builder addAllArgs(Iterable<? extends Expr> values)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • clearArgs

      public Expr.Call.Builder clearArgs()
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
    • removeArgs

      public Expr.Call.Builder removeArgs(int index)
       The arguments.
       
      repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];