Documentation

FunctionType extends Message
in package

Function type with result and arg types.

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

Table of Contents

Properties

$result_type  : mixed
Result type of the function.
$arg_types  : mixed
Argument types of the function.

Methods

__construct()  : mixed
Constructor.
clearResultType()  : mixed
getArgTypes()  : RepeatedField
Argument types of the function.
getResultType()  : Type|null
Result type of the function.
hasResultType()  : mixed
setArgTypes()  : $this
Argument types of the function.
setResultType()  : $this
Result type of the function.

Properties

$result_type

Result type of the function.

protected mixed $result_type = null

Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];

$arg_types

Argument types of the function.

private mixed $arg_types

Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

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

}

getArgTypes()

Argument types of the function.

public getArgTypes() : RepeatedField

Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];

Return values
RepeatedField

getResultType()

Result type of the function.

public getResultType() : Type|null

Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];

Return values
Type|null

setArgTypes()

Argument types of the function.

public setArgTypes(array<string|int, Type>|RepeatedField $var) : $this

Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];

Parameters
$var : array<string|int, Type>|RepeatedField
Return values
$this

setResultType()

Result type of the function.

public setResultType(Type $var) : $this

Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];

Parameters
$var : Type
Return values
$this

        
On this page

Search results