public abstract static class RoutineArgument.BuilderConstructors
Builder()
public Builder()Methods
build()
public abstract RoutineArgument build()Creates a RoutineArgument object.
| Returns | |
|---|---|
| Type | Description | 
| RoutineArgument | |
setDataType(StandardSQLDataType dataType)
public abstract RoutineArgument.Builder setDataType(StandardSQLDataType dataType)Sets the data type specification for the argument. It is required except for ANY_TYPE argument kinds.
| Parameter | |
|---|---|
| Name | Description | 
| dataType | StandardSQLDataType | 
| Returns | |
|---|---|
| Type | Description | 
| RoutineArgument.Builder | |
setKind(String kind)
public abstract RoutineArgument.Builder setKind(String kind)Sets the kind of argument.
A FIXED_TYPE argument is a fully specified type. It can be a struct or an array, but not a table.
An ANY_TYPE argument is any type. It can be a struct or an array, but not a table.
| Parameter | |
|---|---|
| Name | Description | 
| kind | String | 
| Returns | |
|---|---|
| Type | Description | 
| RoutineArgument.Builder | |
setMode(String mode)
public abstract RoutineArgument.Builder setMode(String mode)Optionally specifies the input/output mode of the argument.
An IN mode argument is input-only. An OUT mode argument is output-only. An INOUT mode argument is both an input and output.
| Parameter | |
|---|---|
| Name | Description | 
| mode | String | 
| Returns | |
|---|---|
| Type | Description | 
| RoutineArgument.Builder | |
setName(String name)
public abstract RoutineArgument.Builder setName(String name)Sets the argument name.
| Parameter | |
|---|---|
| Name | Description | 
| name | String | 
| Returns | |
|---|---|
| Type | Description | 
| RoutineArgument.Builder | |