Documentation

ListType extends Message
in package

List type with typed elements, e.g. `list<example.proto.MyMessage>`.

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

Table of Contents

Properties

$elem_type  : mixed
The element type.

Methods

__construct()  : mixed
Constructor.
clearElemType()  : mixed
getElemType()  : Type|null
The element type.
hasElemType()  : mixed
setElemType()  : $this
The element type.

Properties

$elem_type

The element type.

protected mixed $elem_type = null

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

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 $elem_type
      The element type.

}

clearElemType()

public clearElemType() : mixed

getElemType()

The element type.

public getElemType() : Type|null

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

Return values
Type|null

hasElemType()

public hasElemType() : mixed

setElemType()

The element type.

public setElemType(Type $var) : $this

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

Parameters
$var : Type
Return values
$this

        
On this page

Search results