Package com.google.api.expr.v1beta1
Class FunctionDecl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<FunctionDecl,FunctionDecl.Builder>
com.google.api.expr.v1beta1.FunctionDecl.Builder
- All Implemented Interfaces:
FunctionDeclOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- FunctionDecl
public static final class FunctionDecl.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<FunctionDecl,FunctionDecl.Builder>
implements FunctionDeclOrBuilder
A function declaration.Protobuf type
google.api.expr.v1beta1.FunctionDecl-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllArgs(Iterable<? extends IdentDecl> values) The function arguments.The function arguments.addArgs(int index, IdentDecl.Builder builderForValue) The function arguments.The function arguments.addArgs(IdentDecl.Builder builderForValue) The function arguments.The function arguments.If the first argument of the function is the receiver.Optional declared return type.getArgs(int index) The function arguments.intThe function arguments.The function arguments.booleanIf the first argument of the function is the receiver.Optional declared return type.booleanOptional declared return type.mergeReturnType(DeclType value) Optional declared return type.removeArgs(int index) The function arguments.The function arguments.setArgs(int index, IdentDecl.Builder builderForValue) The function arguments.setReceiverFunction(boolean value) If the first argument of the function is the receiver.setReturnType(DeclType value) Optional declared return type.setReturnType(DeclType.Builder builderForValue) Optional declared return type.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getArgsList
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"];- Specified by:
getArgsListin interfaceFunctionDeclOrBuilder
-
getArgsCount
public int getArgsCount()The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"];- Specified by:
getArgsCountin interfaceFunctionDeclOrBuilder
-
getArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"];- Specified by:
getArgsin interfaceFunctionDeclOrBuilder
-
setArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
setArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
addArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
addArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
addArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
addArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
addAllArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
clearArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
removeArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"]; -
hasReturnType
public boolean hasReturnType()Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"];- Specified by:
hasReturnTypein interfaceFunctionDeclOrBuilder- Returns:
- Whether the returnType field is set.
-
getReturnType
Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"];- Specified by:
getReturnTypein interfaceFunctionDeclOrBuilder- Returns:
- The returnType.
-
setReturnType
Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"]; -
setReturnType
Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"]; -
mergeReturnType
Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"]; -
clearReturnType
Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"]; -
getReceiverFunction
public boolean getReceiverFunction()If the first argument of the function is the receiver.
bool receiver_function = 3 [json_name = "receiverFunction"];- Specified by:
getReceiverFunctionin interfaceFunctionDeclOrBuilder- Returns:
- The receiverFunction.
-
setReceiverFunction
If the first argument of the function is the receiver.
bool receiver_function = 3 [json_name = "receiverFunction"];- Parameters:
value- The receiverFunction to set.- Returns:
- This builder for chaining.
-
clearReceiverFunction
If the first argument of the function is the receiver.
bool receiver_function = 3 [json_name = "receiverFunction"];- Returns:
- This builder for chaining.
-