Dialogflow/src/V2/ListEntityTypesResponse.php
public function setEntityTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType::class);
        $this->entity_types = $arr;

        return $this;
    }
public function setEntityTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType::class);
        $this->entity_types = $arr;

        return $this;
    }
public function setEntityTypes ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dialogflow \ V2 \ EntityType :: class ) ; $ this -> entity_types = $ arr ; return $ this ; }
The list of agent entity types. There will be a maximum number of items
returned based on the page_size field in the request.

Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;</code>
@param \Google\Cloud\Dialogflow\V2\EntityType[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The list of agent entity types . There will be a maximum number of items returned based on the page_size field in the request .