Package com.google.api.expr.v1beta1
Interface FunctionDeclOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FunctionDecl
,FunctionDecl.Builder
public interface FunctionDeclOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs
(int index) The function arguments.int
The function arguments.The function arguments.boolean
If the first argument of the function is the receiver.Optional declared return type.boolean
Optional declared return type.Methods 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"];
-
getArgs
The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"];
-
getArgsCount
int getArgsCount()The function arguments.
repeated .google.api.expr.v1beta1.IdentDecl args = 1 [json_name = "args"];
-
hasReturnType
boolean hasReturnType()Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"];
- Returns:
- Whether the returnType field is set.
-
getReturnType
DeclType getReturnType()Optional declared return type.
.google.api.expr.v1beta1.DeclType return_type = 2 [json_name = "returnType"];
- Returns:
- The returnType.
-
getReceiverFunction
boolean getReceiverFunction()If the first argument of the function is the receiver.
bool receiver_function = 3 [json_name = "receiverFunction"];
- Returns:
- The receiverFunction.
-