Package com.google.api.expr.v1beta1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgs
(Iterable<? extends Expr> values) The arguments.The arguments.addArgs
(int index, Expr.Builder builderForValue) The arguments.The arguments.addArgs
(Expr.Builder builderForValue) The arguments.The arguments.Required.The target of an method call-style expression.getArgs
(int index) The arguments.int
The arguments.The arguments.Required.com.google.protobuf.ByteString
Required.The target of an method call-style expression.boolean
The target of an method call-style expression.mergeTarget
(Expr value) The target of an method call-style expression.removeArgs
(int index) The arguments.The arguments.setArgs
(int index, Expr.Builder builderForValue) The arguments.setFunction
(String value) Required.setFunctionBytes
(com.google.protobuf.ByteString value) Required.The target of an method call-style expression.setTarget
(Expr.Builder builderForValue) The target of an method call-style expression.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
-
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 interfaceExpr.CallOrBuilder
- Returns:
- Whether the target field is set.
-
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 interfaceExpr.CallOrBuilder
- Returns:
- The target.
-
setTarget
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
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
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
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
Required. The name of the function or method being called.
string function = 2 [json_name = "function"];
- Specified by:
getFunction
in interfaceExpr.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 interfaceExpr.CallOrBuilder
- Returns:
- The bytes for function.
-
setFunction
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
Required. The name of the function or method being called.
string function = 2 [json_name = "function"];
- Returns:
- This builder for chaining.
-
setFunctionBytes
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
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
- Specified by:
getArgsList
in interfaceExpr.CallOrBuilder
-
getArgsCount
public int getArgsCount()The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
- Specified by:
getArgsCount
in interfaceExpr.CallOrBuilder
-
getArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
- Specified by:
getArgs
in interfaceExpr.CallOrBuilder
-
setArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
setArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
addArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
addArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
addArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
addArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
addAllArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
clearArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-
removeArgs
The arguments.
repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
-