class FunctionType extends Message

Function type with result and arg types.

Generated from protobuf message google.api.expr.v1alpha1.Type.FunctionType

Methods

__construct(array $data = NULL)

Constructor.

getResultType()

Result type of the function.

$this
setResultType(Type $var)

Result type of the function.

RepeatedField
getArgTypes()

Argument types of the function.

$this
setArgTypes(Type[]|RepeatedField $var)

Argument types of the function.

Details

at line 43
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type \Google\Api\Expr\V1alpha1\Type $result_type
      Result type of the function.
@type \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $arg_types
      Argument types of the function.

}

at line 54
Type getResultType()

Result type of the function.

Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1;

Return Value

Type

at line 66
$this setResultType(Type $var)

Result type of the function.

Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1;

Parameters

Type $var

Return Value

$this

at line 80
RepeatedField getArgTypes()

Argument types of the function.

Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2;

Return Value

RepeatedField

at line 92
$this setArgTypes(Type[]|RepeatedField $var)

Argument types of the function.

Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2;

Parameters

Type[]|RepeatedField $var

Return Value

$this